app

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

func Run

func Run(ctx context.Context, opts Options) error

Types

type CephOptions

type CephOptions struct {
	Monitors    string
	User        string
	KeyFile     string
	KeyringFile string
	Pool        string
	Client      string

	ConnectTimeout time.Duration

	BurstFactor            int64
	BurstDurationInSeconds int64

	PopulatorBufferSize int64

	KeyEncryptionKeyPath string
}

type Options

type Options struct {
	Address string

	PathSupportedVolumeClasses string

	Ceph CephOptions
}

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

func (*Options) Defaults

func (o *Options) Defaults()

func (*Options) MarkFlagsRequired

func (o *Options) MarkFlagsRequired(cmd *cobra.Command)

Jump to

Keyboard shortcuts

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