Documentation ¶
Index ¶
- func DeleteDisk(vcdClient *vcdsdk.Client, disk *types.Disk) error
- func DetachFromAllVms(vcdClient *vcdsdk.Client, vAppName string, disk *types.Disk, log logr.Logger) error
- func GetCursor(resp *http.Response) (string, error)
- func GetDiskByHref(vcdClient *vcdsdk.Client, diskHref string) (*types.Disk, error)
- func GetDiskRecordsOfClusterByDescription(vcdClient *vcdsdk.Client, clusterId string) ([]*types.DiskRecordType, error)
- func GetGateway(ctx context.Context, vcdClient *vcdsdk.Client, vcdCluster *capvcd.VCDCluster) (*vcdsdk.GatewayManager, error)
- func GetVCDClient(ctx context.Context, c client.Client, vcdCluster *capvcd.VCDCluster, ...) (*vcdsdk.Client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteDisk ¶ added in v0.3.0
func DetachFromAllVms ¶ added in v0.3.0
func GetCursor ¶ added in v0.2.0
GetCursor handles the paging mechanism for queries that may return a lot of items https://github.com/vmware/cloud-provider-for-cloud-director/blob/v1.2.0/pkg/vcdsdk/gateway.go#L199
func GetDiskByHref ¶ added in v0.3.0
func GetDiskRecordsOfClusterByDescription ¶ added in v0.3.0
func GetGateway ¶ added in v0.2.0
func GetGateway(ctx context.Context, vcdClient *vcdsdk.Client, vcdCluster *capvcd.VCDCluster) (*vcdsdk.GatewayManager, error)
GetGateway a helper function that creates and returns GatewayManager
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.