Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OpenSDSEndPoint environment variable name OpenSDSEndPoint = "OPENSDS_ENDPOINT" // OpenSDSAuthStrategy environment variable name OpenSDSAuthStrategy = "OPENSDS_AUTH_STRATEGY" )
View Source
const ( KVolumeName = "kubernetes.io/volumeName" KVolumeSize = "kubernetes.io/size" KAvailabilityZone = "kubernetes.io/availabilityZone" KVolumeId = "volumeId" KFsType = "kubernetes.io/type" )
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, authStrategy string) WarpOpensdsClient
func NewSdsClient ¶
func NewSdsClient(endpoint string, authStrategy string) WarpOpensdsClient
Click to show internal directories.
Click to hide internal directories.