Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { // Resource Operations // All operations support dry-run if the provider implementation supports it. // Dry-run can be enabled through provider-specific configuration options. GetK8sResources(kind, fieldSelector, labelSelector, namespace string) (interface{}, error) DeleteK8sResources(kind, name, namespace string) error CreateK8sResource(kind, name, namespace string, body interface{}) error PatchK8sResource(kind, name, namespace string, body interface{}) error // Schema Operations FindGVR(kind string) (schema.GroupVersionResource, error) GetOpenAPIResourceSpecs() (map[string][]string, error) CreateProviderForContext(context string) (Provider, error) }
Provider defines the interface for different backend implementations
Click to show internal directories.
Click to hide internal directories.