kubernetes: k8s.io/kubernetes/pkg/volume/vsphere_volume Index | Files

package vsphere_volume

import "k8s.io/kubernetes/pkg/volume/vsphere_volume"

Index

Package Files

attacher.go doc.go vsphere_volume.go vsphere_volume_block.go vsphere_volume_util.go vsphere_volume_util_linux.go

Constants

const (
    StoragePolicyName = "storagepolicyname"

    HostFailuresToTolerateCapability    = "hostfailurestotolerate"
    ForceProvisioningCapability         = "forceprovisioning"
    CacheReservationCapability          = "cachereservation"
    DiskStripesCapability               = "diskstripes"
    ObjectSpaceReservationCapability    = "objectspacereservation"
    IopsLimitCapability                 = "iopslimit"
    HostFailuresToTolerateCapabilityMin = 0
    HostFailuresToTolerateCapabilityMax = 3
    ForceProvisioningCapabilityMin      = 0
    ForceProvisioningCapabilityMax      = 1
    CacheReservationCapabilityMin       = 0
    CacheReservationCapabilityMax       = 100
    DiskStripesCapabilityMin            = 1
    DiskStripesCapabilityMax            = 12
    ObjectSpaceReservationCapabilityMin = 0
    ObjectSpaceReservationCapabilityMax = 100
    IopsLimitCapabilityMin              = 0
)

Variables

var ErrProbeVolume = errors.New("Error scanning attached volumes")

func ProbeVolumePlugins Uses

func ProbeVolumePlugins() []volume.VolumePlugin

This is the primary entrypoint for volume plugins.

type VolumeSpec Uses

type VolumeSpec struct {
    Path              string
    Size              int
    Fstype            string
    StoragePolicyID   string
    StoragePolicyName string
    Labels            map[string]string
}

type VsphereDiskUtil Uses

type VsphereDiskUtil struct{}

func (*VsphereDiskUtil) CreateVolume Uses

func (util *VsphereDiskUtil) CreateVolume(v *vsphereVolumeProvisioner, selectedNode *v1.Node, selectedZone []string) (volSpec *VolumeSpec, err error)

CreateVolume creates a vSphere volume.

func (*VsphereDiskUtil) DeleteVolume Uses

func (util *VsphereDiskUtil) DeleteVolume(vd *vsphereVolumeDeleter) error

DeleteVolume deletes a vSphere volume.

Package vsphere_volume imports 25 packages (graph) and is imported by 20 packages. Updated 2019-08-28. Refresh now. Tools for package owners.