controller

package
v0.1.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildUpstreamNodePoolConfigs

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

func CompareNodePool

func CompareNodePool(a, b *ccev1.CCENodePool) bool

func CompareVolume

func CompareVolume(a, b *ccev1.CCENodeVolume) bool

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)

type HuaweiDriver

func NewHuaweiDriver

func NewHuaweiDriver(auth *common.ClientAuth) *HuaweiDriver

Jump to

Keyboard shortcuts

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