Documentation ¶
Index ¶
- func NewCertTask() workflow.Task
- func NewCheckApiserverHealthTask() workflow.Task
- func NewComponentTask() workflow.Task
- func NewEtcdTask() workflow.Task
- func NewKarmadaAggregatedApiserverTask() workflow.Task
- func NewKarmadaApiserverTask() workflow.Task
- func NewKarmadaResourcesTask() workflow.Task
- func NewNamespaceTask() workflow.Task
- func NewPrepareCrdsTask() workflow.Task
- func NewRBACTask() workflow.Task
- func NewUploadCertsTask() workflow.Task
- func NewUploadKubeconfigTask() workflow.Task
- func NewWaitControlPlaneTask() workflow.Task
- type InitData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCertTask ¶
NewCertTask init a Certs task to generate all of karmada certs
func NewCheckApiserverHealthTask ¶
NewCheckApiserverHealthTask init wait-apiserver task
func NewComponentTask ¶
NewComponentTask init a components task
func NewEtcdTask ¶
NewEtcdTask init a etcd task to install etcd component
func NewKarmadaAggregatedApiserverTask ¶
NewKarmadaAggregatedApiserverTask inits a task to install karmada-aggregated-apiserver component
func NewKarmadaApiserverTask ¶
NewKarmadaApiserverTask inits a task to install karmada-apiserver component
func NewKarmadaResourcesTask ¶
NewKarmadaResourcesTask init KarmadaResources task
func NewNamespaceTask ¶
NewNamespaceTask init a task to create namespace
func NewPrepareCrdsTask ¶
NewPrepareCrdsTask init a prepare-crds task
func NewRBACTask ¶ added in v1.7.0
NewRBACTask init a RBAC task, it will create clusterrole for view/edit karmada resources
func NewUploadCertsTask ¶
NewUploadCertsTask init a Upload-Certs task
func NewUploadKubeconfigTask ¶
NewUploadKubeconfigTask init a task to upload karmada kubeconfig and all of karmada certs to secret
func NewWaitControlPlaneTask ¶
NewWaitControlPlaneTask init wait-controlPlane task
Types ¶
type InitData ¶
type InitData interface { certs.CertStore GetName() string GetNamespace() string SetControlplaneConfig(config *rest.Config) ControlplaneConfig() *rest.Config ControlplaneAddress() string RemoteClient() clientset.Interface KarmadaClient() clientset.Interface DataDir() string CrdsRemoteURL() string KarmadaVersion() string Components() *operatorv1alpha1.KarmadaComponents FeatureGates() map[string]bool }
InitData is interface to operate the runData in workflow