Documentation
¶
Index ¶
- type ResourceApplier
- type ResourceManager
- func (_m *ResourceManager) CreateResource(resource *unstructured.Unstructured, gvk schema.GroupVersionKind, ...) error
- func (_m *ResourceManager) DeleteCollectionOfResources(gvk schema.GroupVersionKind, opts v1.DeleteOptions, listOps v1.ListOptions) error
- func (_m *ResourceManager) GetResource(resourceName string, gvk schema.GroupVersionKind, opts v1.GetOptions) (*unstructured.Unstructured, error)
- func (_m *ResourceManager) UpdateResource(resource *unstructured.Unstructured, gvk schema.GroupVersionKind, ...) (*unstructured.Unstructured, error)
- type ResourceParser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceApplier ¶
ResourceApplier is an autogenerated mock type for the ResourceApplier type
func (*ResourceApplier) Apply ¶
func (_m *ResourceApplier) Apply(resource *unstructured.Unstructured) error
Apply provides a mock function with given fields: resource
type ResourceManager ¶
ResourceManager is an autogenerated mock type for the ResourceManager type
func (*ResourceManager) CreateResource ¶
func (_m *ResourceManager) CreateResource(resource *unstructured.Unstructured, gvk schema.GroupVersionKind, opts v1.CreateOptions) error
CreateResource provides a mock function with given fields: resource, gvk, opts
func (*ResourceManager) DeleteCollectionOfResources ¶
func (_m *ResourceManager) DeleteCollectionOfResources(gvk schema.GroupVersionKind, opts v1.DeleteOptions, listOps v1.ListOptions) error
DeleteCollectionOfResources provides a mock function with given fields: gvk, opts, listOps
func (*ResourceManager) GetResource ¶
func (_m *ResourceManager) GetResource(resourceName string, gvk schema.GroupVersionKind, opts v1.GetOptions) (*unstructured.Unstructured, error)
GetResource provides a mock function with given fields: resourceName, gvk, opts
func (*ResourceManager) UpdateResource ¶
func (_m *ResourceManager) UpdateResource(resource *unstructured.Unstructured, gvk schema.GroupVersionKind, opts v1.UpdateOptions) (*unstructured.Unstructured, error)
UpdateResource provides a mock function with given fields: resource, gvk, opts
type ResourceParser ¶
ResourceParser is an autogenerated mock type for the ResourceParser type
func (*ResourceParser) ParseFile ¶
func (_m *ResourceParser) ParseFile(path string) (*unstructured.Unstructured, error)
ParseUnstructuredResourceFrom provides a mock function with given fields: path