Documentation ¶
Index ¶
- type Cephfs
- func (Cephfs) BuildNodePublishSecret(args *SecretArgs) (secret map[string]string, err error)
- func (Cephfs) BuildNodeStageSecret(args *SecretArgs) (secret map[string]string, err error)
- func (Cephfs) BuildVolumeContext(args *VolumeContextArgs) (volumeContext map[string]string, err error)
- func (Cephfs) GetOrGrantAccess(args *GrantAccessArgs) (accessRight *shares.AccessRight, err error)
- type GrantAccessArgs
- type NFS
- func (NFS) BuildNodePublishSecret(args *SecretArgs) (secret map[string]string, err error)
- func (NFS) BuildNodeStageSecret(args *SecretArgs) (secret map[string]string, err error)
- func (NFS) BuildVolumeContext(args *VolumeContextArgs) (volumeContext map[string]string, err error)
- func (NFS) GetOrGrantAccess(args *GrantAccessArgs) (*shares.AccessRight, error)
- type SecretArgs
- type ShareAdapter
- type VolumeContextArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cephfs ¶
type Cephfs struct{}
func (Cephfs) BuildNodePublishSecret ¶
func (Cephfs) BuildNodePublishSecret(args *SecretArgs) (secret map[string]string, err error)
func (Cephfs) BuildNodeStageSecret ¶
func (Cephfs) BuildNodeStageSecret(args *SecretArgs) (secret map[string]string, err error)
func (Cephfs) BuildVolumeContext ¶
func (Cephfs) BuildVolumeContext(args *VolumeContextArgs) (volumeContext map[string]string, err error)
func (Cephfs) GetOrGrantAccess ¶
func (Cephfs) GetOrGrantAccess(args *GrantAccessArgs) (accessRight *shares.AccessRight, err error)
type GrantAccessArgs ¶
type GrantAccessArgs struct { ManilaClient manilaclient.Interface Options *options.ControllerVolumeContext }
type NFS ¶
type NFS struct{}
func (NFS) BuildNodePublishSecret ¶
func (NFS) BuildNodePublishSecret(args *SecretArgs) (secret map[string]string, err error)
func (NFS) BuildNodeStageSecret ¶
func (NFS) BuildNodeStageSecret(args *SecretArgs) (secret map[string]string, err error)
func (NFS) BuildVolumeContext ¶
func (NFS) BuildVolumeContext(args *VolumeContextArgs) (volumeContext map[string]string, err error)
func (NFS) GetOrGrantAccess ¶
func (NFS) GetOrGrantAccess(args *GrantAccessArgs) (*shares.AccessRight, error)
type SecretArgs ¶
type SecretArgs struct {
AccessRight *shares.AccessRight
}
type ShareAdapter ¶
type ShareAdapter interface { // An access right is created for the share in case it doesn't exist yet. // Returns an existing or new access right for args.Share. GetOrGrantAccess(args *GrantAccessArgs) (accessRight *shares.AccessRight, err error) BuildVolumeContext(args *VolumeContextArgs) (volumeContext map[string]string, err error) BuildNodeStageSecret(args *SecretArgs) (secret map[string]string, err error) BuildNodePublishSecret(args *SecretArgs) (secret map[string]string, err error) }
type VolumeContextArgs ¶
type VolumeContextArgs struct { // Share adapters are responsible for choosing // an export location when building a volume context. Locations []shares.ExportLocation Options *options.NodeVolumeContext }
Click to show internal directories.
Click to hide internal directories.