Documentation ¶
Index ¶
Constants ¶
View Source
const ( KVolumeName = "kubernetes.io/volumeName" KVolumeSize = "kubernetes.io/size" KAvailabilityZone = "kubernetes.io/availabilityZone" KVolumeId = "volumeId" KFsType = "kubernetes.io/type" )
View Source
const (
// OpenSDSEndPoint environment variable name
OpenSDSEndPoint = "OPENSDS_ENDPOINT"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { }
func (*FakeClient) Delete ¶
func (c *FakeClient) Delete(volumeId string) error
type WarpOpensdsClient ¶
type WarpOpensdsClient interface { Provision(opts map[string]string) (string, error) Delete(volumeId string) error }
func NewFakeClient ¶
func NewFakeClient(endpoint string) WarpOpensdsClient
func NewSdsClient ¶
func NewSdsClient(endpoint string) WarpOpensdsClient
Click to show internal directories.
Click to hide internal directories.