mount

package
v2.11.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 5 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) Verify added in v2.6.0

func (co *CephFSMountOptions) Verify() error

type Mounter

type Mounter interface {
	Mount() error
	String() string
}

func CephFSMounter

func CephFSMounter(ctx context.Context, options CephFSMountOptions) Mounter

Jump to

Keyboard shortcuts

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