mount

package
v2.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CephFSMountOptions

type CephFSMountOptions struct {
	CephMonitors  string `mapstructure:"cephMonitors"`  // CephMonitors to use for mount cephfs
	CephSecretKey string `mapstructure:"cephSecretKey"` // CephSecretKey is necessary for authorization
	CephUser      string `mapstructure:"cephUser"`      // CephUser is necessary for authorization
	MdsNamespace  string `mapstructure:"mdsNamespace"`  // MdsNamespace the data pool for the cephfs mount
	MountPath     string `mapstructure:"mountPath"`     // MountPath of cephfs
}

func (CephFSMountOptions) Mount added in v2.16.0

func (co CephFSMountOptions) Mount(ctx context.Context) error

func (CephFSMountOptions) String added in v2.16.0

func (co CephFSMountOptions) String() string

func (CephFSMountOptions) Verify added in v2.6.0

func (co CephFSMountOptions) Verify() error

type Mounter

type Mounter interface {
	Mount(ctx context.Context) error
	String() string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL