tasks

package
v1.10.0-preview3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCertTask

func NewCertTask() workflow.Task

NewCertTask init a Certs task to generate all of karmada certs

func NewCheckApiserverHealthTask

func NewCheckApiserverHealthTask() workflow.Task

NewCheckApiserverHealthTask init wait-apiserver task

func NewComponentTask

func NewComponentTask() workflow.Task

NewComponentTask init a components task

func NewEtcdTask

func NewEtcdTask() workflow.Task

NewEtcdTask init a etcd task to install etcd component

func NewKarmadaAggregatedApiserverTask

func NewKarmadaAggregatedApiserverTask() workflow.Task

NewKarmadaAggregatedApiserverTask inits a task to install karmada-aggregated-apiserver component

func NewKarmadaApiserverTask

func NewKarmadaApiserverTask() workflow.Task

NewKarmadaApiserverTask inits a task to install karmada-apiserver component

func NewKarmadaResourcesTask

func NewKarmadaResourcesTask() workflow.Task

NewKarmadaResourcesTask init KarmadaResources task

func NewNamespaceTask

func NewNamespaceTask() workflow.Task

NewNamespaceTask init a task to create namespace

func NewPrepareCrdsTask

func NewPrepareCrdsTask() workflow.Task

NewPrepareCrdsTask init a prepare-crds task

func NewRBACTask added in v1.7.0

func NewRBACTask() workflow.Task

NewRBACTask init a RBAC task, it will create clusterrole for view/edit karmada resources

func NewUploadCertsTask

func NewUploadCertsTask() workflow.Task

NewUploadCertsTask init a Upload-Certs task

func NewUploadKubeconfigTask

func NewUploadKubeconfigTask() workflow.Task

NewUploadKubeconfigTask init a task to upload karmada kubeconfig and all of karmada certs to secret

func NewWaitControlPlaneTask

func NewWaitControlPlaneTask() workflow.Task

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL