Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSharedDatastores ¶
func GetSharedDatastores(ctx context.Context, reqParams interface{}) ( []*cnsvsphere.DatastoreInfo, error)
Types ¶
type VanillaRetrieveTopologyInfoParams ¶
type VanillaRetrieveTopologyInfoParams struct { // VCHost is the vCenter IP/FQDN in which volume // provisioning is being attempted. VCHost string // NodeNames is the list of node names which have // access to the selected datastore. NodeNames []string // DatastoreURL is the selected datastore for which the topology // information needs to be retrieved. DatastoreURL string // RequestedTopologySegments represents the topology segments // which need to be satisfied during volume provisioning for a particular VC. RequestedTopologySegments []map[string]string // IsTopologyPreferentialDatastoresFSSEnabled determines the // state of topology-preferential-datastores FSS. IsTopologyPreferentialDatastoresFSSEnabled bool }
VanillaRetrieveTopologyInfoParams represents the params required to be able to call GetTopologyInfoFromNodes in vanilla cluster.
type VanillaSharedDatastoresParams ¶
type VanillaSharedDatastoresParams struct { // which volume provisioning is being attempted. Vcenter *cnsvsphere.VirtualCenter // which represent the accessibility requirements for the volume provisioning request. TopologySegmentsList []map[string]string // name given in the Storage Class on the attempted VC. StoragePolicyID string }
VanillaSharedDatastoresParams represents the params required to be able to call GetSharedDatastores function.
Click to show internal directories.
Click to hide internal directories.