Annotation Interface EnableMockOperator


@Retention(RUNTIME) @Import(TestConfiguration.class) @PropertyMapping("javaoperatorsdk.test") public @interface EnableMockOperator
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Define a list of files that contain CustomResourceDefinitions for the tested operator.
  • Element Details

    • crdPaths

      @PropertyMapping("crd-paths") String[] crdPaths
      Define a list of files that contain CustomResourceDefinitions for the tested operator. If the file to be loaded is shall be loaded from the classpath prefix it with 'classpath', otherwise provide a path relative to the current working directory.
      Returns:
      List of files
      Default:
      {}