package
1.12.0-alpha.0
Repository: https://github.com/karmada-io/karmada.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

AdminKubeconfigSecretName returns secret name of karmada-admin kubeconfig.
BuildClientFromSecretRef builds a clientset from the secret reference.
CreateBasic creates a basic, general KubeConfig object that then can be extended.
CreateWithCerts creates a KubeConfig object with access to the API server with client certificates.
DownloadFile Download files via URL.
EtcdCertSecretName returns secret name of etcd cert.
GetAPIServiceIP returns a valid node IP address.
GetControlplaneEndpoint parses an Endpoint and returns it as a string, or returns an error in case it cannot be parsed.
IsInCluster returns a bool represents whether the remote cluster is the local or not.
KarmadaAggregatedAPIServerName returns secret name of karmada-aggregated-apiserver.
KarmadaAPIServerName returns secret name of karmada-apiserver.
KarmadaCertSecretName returns secret name of karmada certs.
KarmadaControllerManagerName returns name of karmada-controller-manager.
KarmadaDeschedulerName returns name of karmada-descheduler.
KarmadaEtcdClientName returns name of karmada-etcd client.
KarmadaEtcdName returns name of karmada-etcd.
KarmadaMetricsAdapterName returns name of karmada-metric-adapter.
KarmadaSchedulerName returns name of karmada-scheduler.
KarmadaSearchAPIServerName returns secret name of karmada-search.
KarmadaSearchName returns name of karmada-search.
KarmadaWebhookName returns name of karmada-webhook.
KubeControllerManagerName returns name of kube-controller-manager.
ListFiles traverse directory files.
ListFileWithSuffix traverse directory files with suffix.
ParseTemplate validates and parses passed as argument template.
PathExists check whether the path is exist.
ReadYamlFile ready file given path with yaml format.
ReplaceYamlForReg replace content of yaml file with a Regexp.
Unpack unpack a given file to target path.
WebhookCertSecretName returns secret name of karmada-webhook cert.

# Structs

Downloader Download progress.
FileExtInfo file info with absolute path.

# Type aliases

Namefunc defines a function to generate resource name according to karmada resource name.