Documentation
¶
Index ¶
- Constants
- func BuildUpstreamClusterState(driver *tcdriver.Driver, cluster *tkeapi.Cluster, nodePools []*tkeapi.NodePool) (*tkev1.TKEClusterConfigSpec, error)
- func FixConfig(driver *tcdriver.Driver, configSpec *tkev1.TKEClusterConfigSpec, ...) *tkev1.TKEClusterConfigSpec
- func Register(ctx context.Context, secrets wranglerv1.SecretController, ...)
- type Handler
Constants ¶
View Source
const (
TKEClusterConfigKind = "TKEClusterConfig"
)
Variables ¶
This section is empty.
Functions ¶
func FixConfig ¶
func FixConfig(driver *tcdriver.Driver, configSpec *tkev1.TKEClusterConfigSpec, cluster *tkeapi.Cluster, nodePools []*tkeapi.NodePool) *tkev1.TKEClusterConfigSpec
FixConfig fix fields for clusters
func Register ¶
func Register( ctx context.Context, secrets wranglerv1.SecretController, tke v12.TKEClusterConfigController)
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)
Click to show internal directories.
Click to hide internal directories.