Documentation
¶
Index ¶
- func BuildUpstreamClusterState(client *huawei_cce.CceClient, cluster *huawei_cce_model.ShowClusterResponse, ...) (*ccev1.CCEClusterConfigSpec, error)
- func BuildUpstreamNodePoolConfigs(client *huawei_cce.CceClient, ...) ([]ccev1.CCENodePool, error)
- func CompareNodePool(a, b *ccev1.CCENodePool) bool
- func CompareVolume(a, b *ccev1.Volume) bool
- func NewHuaweiClientAuth(secretsCache wranglerv1.SecretCache, spec ccev1.CCEClusterConfigSpec) (*common.ClientAuth, error)
- func Register(ctx context.Context, secrets wranglerv1.SecretController, ...)
- type Handler
- type HuaweiDriver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildUpstreamClusterState ¶
func BuildUpstreamClusterState( client *huawei_cce.CceClient, cluster *huawei_cce_model.ShowClusterResponse, nodePools *huawei_cce_model.ListNodePoolsResponse, ) (*ccev1.CCEClusterConfigSpec, error)
func BuildUpstreamNodePoolConfigs ¶
func BuildUpstreamNodePoolConfigs( client *huawei_cce.CceClient, nodePoolsRes *huawei_cce_model.ListNodePoolsResponse, ) ([]ccev1.CCENodePool, error)
func CompareNodePool ¶
func CompareNodePool(a, b *ccev1.CCENodePool) bool
func CompareVolume ¶
func NewHuaweiClientAuth ¶
func NewHuaweiClientAuth( secretsCache wranglerv1.SecretCache, spec ccev1.CCEClusterConfigSpec, ) (*common.ClientAuth, error)
func Register ¶
func Register( ctx context.Context, secrets wranglerv1.SecretController, cce ccecontrollers.CCEClusterConfigController, )
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 ¶
type HuaweiDriver struct {
VPC *huawei_vpc.VpcClient
EIP *huawei_eip.EipClient
ELB *huawei_elb.ElbClient
CCE *huawei_cce.CceClient
VPCEP *huawei_vpcep.VpcepClient
DNS *huawei_dns.DnsClient
}
func NewHuaweiDriver ¶
func NewHuaweiDriver(auth *common.ClientAuth) *HuaweiDriver
Click to show internal directories.
Click to hide internal directories.