Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelConfigmap = "Configmap" LabelService = "Service" LabelDeployment = "Deployment" LabelFramework = "Framework" AnnotationServiceTopologyKey = "openyurt.io/topologyKeys" AnnotationServiceTopologyValueNodePool = "openyurt.io/nodepool" ConfigMapName = "common-variables" FrameworkName = "platformadmin-framework" FrameworkFinalizer = "kubernetes.io/platformadmin-framework" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PlatformAdminFramework ¶
type PlatformAdminFramework struct { runtime.TypeMeta `json:",inline"` Components []*config.Component `yaml:"components,omitempty" json:"components,omitempty"` ConfigMaps []corev1.ConfigMap `yaml:"configMaps,omitempty" json:"configMaps,omitempty"` // contains filtered or unexported fields }
PlatformAdminFramework is the framework of platformadmin, it contains all configs of configmaps, services and yurtappsets. PlatformAdmin will customize the configuration based on this structure.
func (*PlatformAdminFramework) DeepCopy ¶
func (p *PlatformAdminFramework) DeepCopy() PlatformAdminFramework
A function written to implement the yaml serializer interface, which is not actually useful
func (*PlatformAdminFramework) DeepCopyObject ¶
func (p *PlatformAdminFramework) DeepCopyObject() runtime.Object
A function written to implement the yaml serializer interface, which is not actually useful
type ReconcilePlatformAdmin ¶
type ReconcilePlatformAdmin struct { client.Client Configration config.PlatformAdminControllerConfiguration // contains filtered or unexported fields }
ReconcilePlatformAdmin reconciles a PlatformAdmin object.
func (*ReconcilePlatformAdmin) Reconcile ¶
func (r *ReconcilePlatformAdmin) Reconcile(ctx context.Context, request reconcile.Request) (_ reconcile.Result, reterr error)
Reconcile reads that state of the cluster for a PlatformAdmin object and makes changes based on the state read and what is in the PlatformAdmin.Spec
Click to show internal directories.
Click to hide internal directories.