util

package
v1.4.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	IndexerPathForNodepool = "spec.poolName"
)
View Source
const IotDockControlPlane = "platformadmin-controller"
View Source
const IotDockImage = "openyurt/yurt-iot-dock"
View Source
const IotDockName = "yurt-iot-dock"

Variables

This section is empty.

Functions

func DefaultVersion

func DefaultVersion(platformAdmin *iotv1alpha2.PlatformAdmin) (string, string, error)

func GetPlatformAdminCondition

GetPlatformAdminCondition returns the condition with the provided type.

func NewPlatformAdminCondition

func NewPlatformAdminCondition(condType iotv1alpha2.PlatformAdminConditionType, status corev1.ConditionStatus, reason, message string) *iotv1alpha2.PlatformAdminCondition

NewPlatformAdminCondition creates a new PlatformAdmin condition.

func RegisterFieldIndexers

func RegisterFieldIndexers(fi client.FieldIndexer) error

func SetPlatformAdminCondition

func SetPlatformAdminCondition(status *iotv1alpha2.PlatformAdminStatus, condition *iotv1alpha2.PlatformAdminCondition)

SetPlatformAdminCondition updates the PlatformAdmin 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

This section is empty.

Jump to

Keyboard shortcuts

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