platformadmin

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

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

func Add

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

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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