controller

package
v0.0.0-...-aa3d048 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TKEClusterConfigKind = "TKEClusterConfig"
)

Variables

This section is empty.

Functions

func BuildUpstreamClusterState

func BuildUpstreamClusterState(driver *tcdriver.Driver, cluster *tkeapi.Cluster, nodePools []*tkeapi.NodePool) (*tkev1.TKEClusterConfigSpec, error)

func FixConfig

func FixConfig(driver *tcdriver.Driver, configSpec *tkev1.TKEClusterConfigSpec, cluster *tkeapi.Cluster, nodePools []*tkeapi.NodePool) *tkev1.TKEClusterConfigSpec

FixConfig fix fields for clusters

Types

type Handler

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

func (*Handler) OnTkeConfigChanged

func (h *Handler) OnTkeConfigChanged(key string, config *tkev1.TKEClusterConfig) (*tkev1.TKEClusterConfig, error)

func (*Handler) OnTkeConfigRemoved

func (h *Handler) OnTkeConfigRemoved(key string, config *tkev1.TKEClusterConfig) (*tkev1.TKEClusterConfig, error)

Jump to

Keyboard shortcuts

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