package
0.0.0-20231116122426-dfc46506cdb0
Repository: https://github.com/openyurtio/api.git
Documentation: pkg.go.dev
# Functions
Resource is required by pkg/client/listers/...
SetDefaultPodSpec sets default pod spec.
TODO fix copy from https://github.com/contiv/client-go/blob/v2.0.0-alpha.1/pkg/api/v1/defaults.go#L104.
SetDefaultsNodePool set default values for NodePool.
SetDefaultsYurtAppDaemon set default values for YurtAppDaemon.
SetDefaultsYurtAppSet set default values for YurtAppSet.
SetDefaultsYurtStaticSet sets default values for YurtStaticSet.
# Constants
json patch.
No description provided by the author
AnnotationPatchKey indicates the patch for every sub pool.
NodePool related labels and annotations.
YurtAppSet & YurtAppDaemon related labels and annotations.
No description provided by the author
ControllerRevisionHashLabelKey is used to record the controller revision of current resource.
DefaultCloudNodePoolName defines the name of the default cloud nodepool.
DefaultEdgeNodePoolName defines the name of the default edge nodepool.
No description provided by the author
No description provided by the author
LabelCurrentNodePool indicates which nodepool the node is currently belonging to.
LabelCurrentYurtAppDaemon indicates which service the yurtappdaemon is currently belonging to.
LabelDesiredNodePool indicates which nodepool the node want to join.
No description provided by the author
PoolFailure is added to a YurtAppSet when one of its pools has failure during its own reconciling.
PoolNameLabelKey is used to record the name of current pool.
PoolProvisioned means all the expected pools are provisioned and unexpected pools are deleted.
PoolUpdated means all the pools are updated.
json patch.
json patch.
ServiceTopologyKey is the toplogy key that will be attached to node, the value will be the name of the nodepool.
SpecifiedDeleteKey indicates this object should be deleted, and the value could be the deletion option.
No description provided by the author
WorkLoadFailure is added to a YurtAppSet when one of its workload has failure during its own reconciling.
WorkLoadProvisioned means all the expected workload are provisioned.
WorkLoadUpdated means all the workload are updated.
# Variables
AddToScheme adds the types in this group-version to the given scheme.
GroupVersion is group version used to register these objects.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.
No description provided by the author
# Structs
DeploymentTemplateSpec defines the pool template of Deployment.
Describe detailed multi-region configuration of the subject Entry describe a set of nodepools and their shared or identical configurations.
ImageItem specifies the corresponding container and the claimed image.
Item represents configuration to be injected.
NodePool is the Schema for the nodepools API.
NodePoolList contains a list of NodePool.
NodePoolSpec defines the desired state of NodePool.
NodePoolStatus defines the observed state of NodePool.
No description provided by the author
Pool defines the detail of a pool.
StatefulSetTemplateSpec defines the pool template of StatefulSet.
Describe the object Entries belongs.
Topology defines the spread detail of each pool under YurtAppSet.
WorkloadTemplate defines the pool template under the YurtAppSet.
YurtAppDaemon is the Schema for the samples API.
YurtAppDaemonCondition describes current state of a YurtAppDaemon.
YurtAppDaemonList contains a list of YurtAppDaemon.
YurtAppDaemonSpec defines the desired state of YurtAppDaemon.
YurtAppDaemonStatus defines the observed state of YurtAppDaemon.
No description provided by the author
YurtAppOverriderList contains a list of YurtAppOverrider +kubebuilder:object:root=true.
YurtAppSet is the Schema for the yurtAppSets API.
YurtAppSetCondition describes current state of a YurtAppSet.
YurtAppSetList contains a list of YurtAppSet.
YurtAppSetSpec defines the desired state of YurtAppSet.
YurtAppSetStatus defines the observed state of YurtAppSet.
YurtStaticSet is the Schema for the yurtstaticsets API.
YurtStaticSetList contains a list of YurtStaticSet.
YurtStaticSetSpec defines the desired state of YurtStaticSet.
YurtStaticSetStatus defines the observed state of YurtStaticSet.
YurtStaticSetUpgradeStrategy defines a strategy to upgrade static pods.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
YurtAppDaemonConditionType indicates valid conditions type of a YurtAppDaemon.
YurtAppSetConditionType indicates valid conditions type of a YurtAppSet.
YurtStaticSetUpgradeStrategyType is a strategy according to which static pods gets upgraded.