Documentation ¶
Index ¶
- func CleanupTmpDir(tmpDir string) error
- func CompressBackup(srcDir string) (string, error)
- func GetClusterObjects(dynamicClient dynamic.Interface, resource schema.GroupVersionResource) ([]*unstructured.Unstructured, error)
- func ProcessClusterScopedResources(dynamicClient dynamic.Interface, resources []schema.GroupVersionResource, ...) error
- func ProcessNamespaces(dynamicClient dynamic.Interface, namespaces []string, ...) error
- func StartBackup(clientset *kubernetes.Clientset, dynamicClient dynamic.Interface, ...) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupTmpDir ¶
func CompressBackup ¶
CompressBackup creates a tarball of the source directory and compresses it using gzip.
func GetClusterObjects ¶
func GetClusterObjects(dynamicClient dynamic.Interface, resource schema.GroupVersionResource) ([]*unstructured.Unstructured, error)
func ProcessNamespaces ¶
func StartBackup ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.