Documentation ¶
Index ¶
- Variables
- func DeleteObjectsList(c kube.CLIClient, dryRun bool, log clog.Logger, ...) error
- func DeleteResource(kc kube.CLIClient, dryRun bool, _ clog.Logger, obj *unstructured.Unstructured) error
- func GetPrunedResources(kc kube.CLIClient, dopName, dopNamespace string, includeClusterResources bool) ([]*unstructured.UnstructuredList, error)
- func NamespacedResources() []schema.GroupVersionKind
- func PrunedResourcesSchemas() []schema.GroupVersionKind
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClusterResources = []schema.GroupVersionKind{} ClusterCPResources = []schema.GroupVersionKind{} AllClusterResources = append(ClusterResources, gvk.CustomResourceDefinition.Kubernetes()) )
Functions ¶
func DeleteObjectsList ¶
func DeleteObjectsList(c kube.CLIClient, dryRun bool, log clog.Logger, objectsList []*unstructured.UnstructuredList) error
func DeleteResource ¶
func DeleteResource(kc kube.CLIClient, dryRun bool, _ clog.Logger, obj *unstructured.Unstructured) error
func GetPrunedResources ¶
func GetPrunedResources(kc kube.CLIClient, dopName, dopNamespace string, includeClusterResources bool) ([]*unstructured.UnstructuredList, error)
func NamespacedResources ¶
func NamespacedResources() []schema.GroupVersionKind
func PrunedResourcesSchemas ¶
func PrunedResourcesSchemas() []schema.GroupVersionKind
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.