cluster

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RequeueAfter = time.Second * 5
)

Variables

This section is empty.

Functions

func CompareClusterCondition

func CompareClusterCondition(conditionA, conditionB kubeanclusterv1alpha1.ClusterCondition) bool

func CompareClusterConditions

func CompareClusterConditions(condAList, condBList []kubeanclusterv1alpha1.ClusterCondition) bool

Types

type Controller

type Controller struct {
	client.Client
	ClientSet           *kubernetes.Clientset
	KubeanClusterSet    *kubeanClusterClientSet.Clientset
	KubeanClusterOpsSet *kubeanClusterOpsClientSet.Clientset
}

func (*Controller) Reconcile

func (*Controller) SetupWithManager

func (c *Controller) SetupWithManager(mgr controllerruntime.Manager) error

func (*Controller) Start

func (c *Controller) Start(ctx context.Context) error

func (*Controller) UpdateStatus

func (c *Controller) UpdateStatus(cluster *kubeanclusterv1alpha1.KuBeanCluster) error

Jump to

Keyboard shortcuts

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