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, error)
- 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 K8sClient
- type K8sCoreV1
- type K8sPersistentVolumeClaims
- type K8sPersistentVolumes
- type NfsConfig
- type Service
- type ServiceFingerPrint
- type Services
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 K8sClient ¶
type K8sClient interface { kubernetes.Interface }
type K8sCoreV1 ¶
type K8sCoreV1 interface { corev1.CoreV1Interface }
type K8sPersistentVolumeClaims ¶
type K8sPersistentVolumeClaims interface { corev1.PersistentVolumeClaimInterface }
type K8sPersistentVolumes ¶
type K8sPersistentVolumes interface { corev1.PersistentVolumeInterface }
type ServiceFingerPrint ¶
type ServiceFingerPrint struct { Name string Volume *v1.PersistentVolume }
Click to show internal directories.
Click to hide internal directories.