Documentation ¶
Index ¶
- Constants
- func CompareClusterCondition(conditionA, conditionB kubeanclusterv1alpha1.ClusterCondition) bool
- func CompareClusterConditions(condAList, condBList []kubeanclusterv1alpha1.ClusterCondition) bool
- type Controller
- func (c *Controller) Reconcile(ctx context.Context, req controllerruntime.Request) (controllerruntime.Result, error)
- func (c *Controller) SetupWithManager(mgr controllerruntime.Manager) error
- func (c *Controller) Start(ctx context.Context) error
- func (c *Controller) UpdateStatus(cluster *kubeanclusterv1alpha1.KuBeanCluster) error
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 (c *Controller) Reconcile(ctx context.Context, req controllerruntime.Request) (controllerruntime.Result, error)
func (*Controller) SetupWithManager ¶
func (c *Controller) SetupWithManager(mgr controllerruntime.Manager) error
func (*Controller) UpdateStatus ¶
func (c *Controller) UpdateStatus(cluster *kubeanclusterv1alpha1.KuBeanCluster) error
Click to show internal directories.
Click to hide internal directories.