yurtappset

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

Add creates a new YurtAppSet Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

func NewYurtAppSetCondition

func NewYurtAppSetCondition(condType unitv1beta1.YurtAppSetConditionType, status corev1.ConditionStatus, reason, message string) *unitv1beta1.YurtAppSetCondition

NewYurtAppSetCondition creates a new YurtAppSet condition.

func RemoveYurtAppSetCondition

func RemoveYurtAppSetCondition(status *unitv1beta1.YurtAppSetStatus, condType unitv1beta1.YurtAppSetConditionType)

RemoveYurtAppSetCondition removes the YurtAppSet condition with the provided type.

func SetYurtAppSetCondition

func SetYurtAppSetCondition(status *unitv1beta1.YurtAppSetStatus, condition *unitv1beta1.YurtAppSetCondition)

SetYurtAppSetCondition updates the YurtAppSet to include the provided condition. If the condition that we are about to add already exists and has the same status, reason then we are not going to update.

Types

type ReconcileYurtAppSet

type ReconcileYurtAppSet struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileYurtAppSet reconciles a YurtAppSet object

func (*ReconcileYurtAppSet) Reconcile

func (r *ReconcileYurtAppSet) Reconcile(_ context.Context, request reconcile.Request) (res reconcile.Result, err error)

Reconcile reads that state of the cluster for a YurtAppSet object and makes changes based on the state read and what is in the YurtAppSet.Spec

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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