Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CliCleaner ¶
type CliCleaner struct {
// contains filtered or unexported fields
}
Implements cleanup logic
func NewCliCleaner ¶
func NewCliCleaner(kubeconfigData string, namespaces []string, logger *zap.SugaredLogger, dropFinalizersOnlyForKymaCRs bool, crdsFinder KymaCRDsFinder) (*CliCleaner, error)
type KymaCRDsFinder ¶
type KymaCRDsFinder func() ([]schema.GroupVersionResource, error)
KymaCRDsFinder returns a list of all CRDs defined explicitly in Kyma sources/charts.
type KymaKube ¶
type KymaKube interface { Static() kubernetes.Interface Dynamic() dynamic.Interface // RestConfig provides the REST configuration of the kubernetes client RestConfig() *rest.Config }
taken from github.com/kyma-project/cli/internal/kube/kube.go
func NewFromConfigWithTimeout ¶
NewFromConfigWithTimeout creates a new Kubernetes client based on the given Kubeconfig provided by a file (out-of-cluster config). Allows to set a custom timeout for the Kubernetes HTTP client.
Click to show internal directories.
Click to hide internal directories.