controller

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildUpstreamNodePoolConfigs

func BuildUpstreamNodePoolConfigs(
	nodePools *huawei_cce_model.ListNodePoolsResponse,
) ([]ccev1.CCENodePool, error)

func NewHuaweiClientAuth

func NewHuaweiClientAuth(
	secretsCache wranglerv1.SecretCache, spec *ccev1.CCEClusterConfigSpec,
) (*common.ClientAuth, error)

Types

type Handler

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

func (*Handler) OnCCEConfigChanged

func (h *Handler) OnCCEConfigChanged(_ string, config *ccev1.CCEClusterConfig) (*ccev1.CCEClusterConfig, error)

func (*Handler) OnCCEConfigRemoved

func (h *Handler) OnCCEConfigRemoved(_ string, config *ccev1.CCEClusterConfig) (*ccev1.CCEClusterConfig, error)

Jump to

Keyboard shortcuts

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