Documentation
¶
Index ¶
- Constants
- Variables
- func ReconcileRemoveVPC(ctx context.Context, log logr.Logger, kubeclient client.Client, ...) (err error)
- func ReconcileRemoveVSwitch(ctx context.Context, log logr.Logger, kubeclient client.Client, ...) (err error)
- func ReconcileVPC(ctx context.Context, log logr.Logger, kubeclient client.Client, ...) (vpcID string, err error)
- func ReconcileVSwitch(ctx context.Context, log logr.Logger, kubeclient client.Client, ...) (vswitchIDs []*string, err error)
Constants ¶
View Source
const ( IndexAliyunPoolByUID = "IndexAliyunPoolByUID" IndexAliyunControlPlaneByUID = "IndexAliyunControlPlaneByUID" IndexVSwitchByAliyunPoolUID = "IndexVSwitchByAliyunPoolUID" IndexNodePoolByAliyunPoolUID = "IndexNodePoolByAliyunPoolUID" )
Variables ¶
View Source
var ErrorTimeout error = errors.New("delete timeout")
Functions ¶
func ReconcileRemoveVPC ¶
func ReconcileRemoveVPC( ctx context.Context, log logr.Logger, kubeclient client.Client, aliyunVPC *commonapi.VPC, timeout time.Duration, ) (err error)
ReconcileRemoveVPC ...
func ReconcileRemoveVSwitch ¶
func ReconcileVPC ¶
func ReconcileVPC( ctx context.Context, log logr.Logger, kubeclient client.Client, object runtime.Object, keyName string, aliyunVPC *commonapi.VPC, resourceSpec xpv1.ResourceSpec, ) (vpcID string, err error)
reconcileVPC ...
@param object: 一般为 aliyunManagedControlPlane 对象 @param keyName: .spec.clusterName 信息
func ReconcileVSwitch ¶
func ReconcileVSwitch( ctx context.Context, log logr.Logger, kubeclient client.Client, object runtime.Object, keyName string, resourceSpec xpv1.ResourceSpec, vSwitches *commonapi.VSwitches, vpcID string, ) (vswitchIDs []*string, err error)
ReconcileVSwitch ...
@param object: aliyunManagedControlPlane 或 aliyunManagedMachinePool 对象 @param keyName: ACK集群名称或NodePool名称
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.