Documentation ¶
Index ¶
- Variables
- func DeleteNamespace(namespace string)
- func FindNamespace(labelSelector map[string]string) (namespace string, err error)
- func Forward(appSpec utils.Apps, forwardPort string)
- func GetRestMapperAndDynamicClient() (*restmapper.DeferredDiscoveryRESTMapper, dynamic.Interface)
- func InstallOrDelete(sepYamlFiles []string, userDefinedNamespace string, isInstall bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Client *discoveryK8s.K8s K8sVersion string )
Functions ¶
func DeleteNamespace ¶
func DeleteNamespace(namespace string)
DeleteNamespace deletes all the namespaces in the v1 namespacelist
func FindNamespace ¶
FindNamespace returns the namespace for matching labels
func GetRestMapperAndDynamicClient ¶
func GetRestMapperAndDynamicClient() (*restmapper.DeferredDiscoveryRESTMapper, dynamic.Interface)
GetRestMapperAndDynamicClient creates the Rest Mapper and Dynamic Client Interface for the given cluster defined in the kubeconfig or from within the cluster and while deleting it just deletes resource-by-resource
func InstallOrDelete ¶
InstallOrDelete installs or deletes the unstructured data according to the isInstall boolean
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.