Documentation ¶
Index ¶
- Constants
- Variables
- type Broker
- func (b *Broker) Bind(context context.Context, instanceID string, bindingID string, ...) (_ brokerapi.Binding, e error)
- func (b *Broker) Deprovision(context context.Context, instanceID string, ...) (_ brokerapi.DeprovisionServiceSpec, e error)
- func (b *Broker) LastOperation(_ context.Context, instanceID string, operationData string) (brokerapi.LastOperation, error)
- func (b *Broker) Provision(context context.Context, instanceID string, details brokerapi.ProvisionDetails, ...) (_ brokerapi.ProvisionedServiceSpec, e error)
- func (b *Broker) Services(_ context.Context) []brokerapi.Service
- func (b *Broker) Unbind(context context.Context, instanceID string, bindingID string, ...) (e error)
- func (b *Broker) Update(context context.Context, instanceID string, details brokerapi.UpdateDetails, ...) (brokerapi.UpdateServiceSpec, error)
- type ErrInvalidService
- type ErrInvalidSpecFile
- type ErrServiceNotFound
- type NoopControllerClient
- func (c *NoopControllerClient) ControllerGetCapabilities(ctx context.Context, in *csi.ControllerGetCapabilitiesRequest, ...) (*csi.ControllerGetCapabilitiesResponse, error)
- func (c *NoopControllerClient) ControllerPublishVolume(ctx context.Context, in *csi.ControllerPublishVolumeRequest, ...) (*csi.ControllerPublishVolumeResponse, error)
- func (c *NoopControllerClient) ControllerUnpublishVolume(ctx context.Context, in *csi.ControllerUnpublishVolumeRequest, ...) (*csi.ControllerUnpublishVolumeResponse, error)
- func (c *NoopControllerClient) CreateSnapshot(ctx context.Context, in *csi.CreateSnapshotRequest, opts ...grpc.CallOption) (*csi.CreateSnapshotResponse, error)
- func (c *NoopControllerClient) CreateVolume(ctx context.Context, in *csi.CreateVolumeRequest, opts ...grpc.CallOption) (*csi.CreateVolumeResponse, error)
- func (c *NoopControllerClient) DeleteSnapshot(ctx context.Context, in *csi.DeleteSnapshotRequest, opts ...grpc.CallOption) (*csi.DeleteSnapshotResponse, error)
- func (c *NoopControllerClient) DeleteVolume(ctx context.Context, in *csi.DeleteVolumeRequest, opts ...grpc.CallOption) (*csi.DeleteVolumeResponse, error)
- func (c *NoopControllerClient) GetCapacity(ctx context.Context, in *csi.GetCapacityRequest, opts ...grpc.CallOption) (*csi.GetCapacityResponse, error)
- func (c *NoopControllerClient) ListSnapshots(ctx context.Context, in *csi.ListSnapshotsRequest, opts ...grpc.CallOption) (*csi.ListSnapshotsResponse, error)
- func (c *NoopControllerClient) ListVolumes(ctx context.Context, in *csi.ListVolumesRequest, opts ...grpc.CallOption) (*csi.ListVolumesResponse, error)
- func (c *NoopControllerClient) ValidateVolumeCapabilities(ctx context.Context, in *csi.ValidateVolumeCapabilitiesRequest, ...) (*csi.ValidateVolumeCapabilitiesResponse, error)
- type NoopIdentityClient
- func (c *NoopIdentityClient) GetPluginCapabilities(ctx context.Context, in *csi.GetPluginCapabilitiesRequest, ...) (*csi.GetPluginCapabilitiesResponse, error)
- func (c *NoopIdentityClient) GetPluginInfo(ctx context.Context, in *csi.GetPluginInfoRequest, opts ...grpc.CallOption) (*csi.GetPluginInfoResponse, error)
- func (c *NoopIdentityClient) Probe(ctx context.Context, in *csi.ProbeRequest, opts ...grpc.CallOption) (*csi.ProbeResponse, error)
- type Service
- type ServiceFingerPrint
- type ServicesRegistry
Constants ¶
View Source
const ( PermissionVolumeMount = brokerapi.RequiredPermission("volume_mount") DefaultContainerPath = "/var/vcap/data" )
Variables ¶
View Source
var ErrEmptySpecFile = errors.New("At least one service must be provided in specfile")
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
func (*Broker) Deprovision ¶
func (b *Broker) Deprovision(context context.Context, instanceID string, details brokerapi.DeprovisionDetails, asyncAllowed bool) (_ brokerapi.DeprovisionServiceSpec, e error)
func (*Broker) LastOperation ¶
func (*Broker) Provision ¶
func (b *Broker) Provision(context context.Context, instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (_ brokerapi.ProvisionedServiceSpec, e error)
type ErrInvalidService ¶
type ErrInvalidService struct {
Index int
}
func (ErrInvalidService) Error ¶
func (e ErrInvalidService) Error() string
type ErrInvalidSpecFile ¶
type ErrInvalidSpecFile struct {
// contains filtered or unexported fields
}
func (ErrInvalidSpecFile) Error ¶
func (e ErrInvalidSpecFile) Error() string
type ErrServiceNotFound ¶
type ErrServiceNotFound struct {
ID string
}
func (ErrServiceNotFound) Error ¶
func (e ErrServiceNotFound) Error() string
type NoopControllerClient ¶
type NoopControllerClient struct{}
func (*NoopControllerClient) ControllerGetCapabilities ¶
func (c *NoopControllerClient) ControllerGetCapabilities(ctx context.Context, in *csi.ControllerGetCapabilitiesRequest, opts ...grpc.CallOption) (*csi.ControllerGetCapabilitiesResponse, error)
func (*NoopControllerClient) ControllerPublishVolume ¶
func (c *NoopControllerClient) ControllerPublishVolume(ctx context.Context, in *csi.ControllerPublishVolumeRequest, opts ...grpc.CallOption) (*csi.ControllerPublishVolumeResponse, error)
func (*NoopControllerClient) ControllerUnpublishVolume ¶
func (c *NoopControllerClient) ControllerUnpublishVolume(ctx context.Context, in *csi.ControllerUnpublishVolumeRequest, opts ...grpc.CallOption) (*csi.ControllerUnpublishVolumeResponse, error)
func (*NoopControllerClient) CreateSnapshot ¶
func (c *NoopControllerClient) CreateSnapshot(ctx context.Context, in *csi.CreateSnapshotRequest, opts ...grpc.CallOption) (*csi.CreateSnapshotResponse, error)
func (*NoopControllerClient) CreateVolume ¶
func (c *NoopControllerClient) CreateVolume(ctx context.Context, in *csi.CreateVolumeRequest, opts ...grpc.CallOption) (*csi.CreateVolumeResponse, error)
func (*NoopControllerClient) DeleteSnapshot ¶
func (c *NoopControllerClient) DeleteSnapshot(ctx context.Context, in *csi.DeleteSnapshotRequest, opts ...grpc.CallOption) (*csi.DeleteSnapshotResponse, error)
func (*NoopControllerClient) DeleteVolume ¶
func (c *NoopControllerClient) DeleteVolume(ctx context.Context, in *csi.DeleteVolumeRequest, opts ...grpc.CallOption) (*csi.DeleteVolumeResponse, error)
func (*NoopControllerClient) GetCapacity ¶
func (c *NoopControllerClient) GetCapacity(ctx context.Context, in *csi.GetCapacityRequest, opts ...grpc.CallOption) (*csi.GetCapacityResponse, error)
func (*NoopControllerClient) ListSnapshots ¶
func (c *NoopControllerClient) ListSnapshots(ctx context.Context, in *csi.ListSnapshotsRequest, opts ...grpc.CallOption) (*csi.ListSnapshotsResponse, error)
func (*NoopControllerClient) ListVolumes ¶
func (c *NoopControllerClient) ListVolumes(ctx context.Context, in *csi.ListVolumesRequest, opts ...grpc.CallOption) (*csi.ListVolumesResponse, error)
func (*NoopControllerClient) ValidateVolumeCapabilities ¶
func (c *NoopControllerClient) ValidateVolumeCapabilities(ctx context.Context, in *csi.ValidateVolumeCapabilitiesRequest, opts ...grpc.CallOption) (*csi.ValidateVolumeCapabilitiesResponse, error)
type NoopIdentityClient ¶
type NoopIdentityClient struct{}
func (*NoopIdentityClient) GetPluginCapabilities ¶
func (c *NoopIdentityClient) GetPluginCapabilities(ctx context.Context, in *csi.GetPluginCapabilitiesRequest, opts ...grpc.CallOption) (*csi.GetPluginCapabilitiesResponse, error)
func (*NoopIdentityClient) GetPluginInfo ¶
func (c *NoopIdentityClient) GetPluginInfo(ctx context.Context, in *csi.GetPluginInfoRequest, opts ...grpc.CallOption) (*csi.GetPluginInfoResponse, error)
func (*NoopIdentityClient) Probe ¶
func (c *NoopIdentityClient) Probe(ctx context.Context, in *csi.ProbeRequest, opts ...grpc.CallOption) (*csi.ProbeResponse, error)
type ServiceFingerPrint ¶
type ServicesRegistry ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.