yurtappdaemon

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: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

Add creates a new YurtAppDaemon 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 Format

func Format(format string, args ...interface{}) string

func GetYurtAppDaemonCondition

GetYurtAppDaemonCondition returns the condition with the provided type.

func IsTolerationsAllTaints

func IsTolerationsAllTaints(tolerations []corev1.Toleration, taints []corev1.Taint) bool

func NewYurtAppDaemonCondition

func NewYurtAppDaemonCondition(condType unitv1alpha1.YurtAppDaemonConditionType, status corev1.ConditionStatus, reason, message string) *unitv1alpha1.YurtAppDaemonCondition

NewYurtAppDaemonCondition creates a new YurtAppDaemon condition.

func RemoveYurtAppDaemonCondition

func RemoveYurtAppDaemonCondition(status *unitv1alpha1.YurtAppDaemonStatus, condType unitv1alpha1.YurtAppDaemonConditionType)

RemoveYurtAppDaemonCondition removes the YurtAppDaemon condition with the provided type.

func SetYurtAppDaemonCondition

func SetYurtAppDaemonCondition(status *unitv1alpha1.YurtAppDaemonStatus, condition *unitv1alpha1.YurtAppDaemonCondition)

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

Types

type EnqueueYurtAppDaemonForNodePool

type EnqueueYurtAppDaemonForNodePool struct {
	// contains filtered or unexported fields
}

func (*EnqueueYurtAppDaemonForNodePool) Create

func (*EnqueueYurtAppDaemonForNodePool) Delete

func (*EnqueueYurtAppDaemonForNodePool) Generic

func (*EnqueueYurtAppDaemonForNodePool) Update

type ReconcileYurtAppDaemon

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

ReconcileYurtAppDaemon reconciles a YurtAppDaemon object

func (*ReconcileYurtAppDaemon) Reconcile

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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