commands

package
v0.0.0-...-5506a95 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMountCmd

func NewMountCmd(rootOpts *config.RootOptions) *cobra.Command

NewMountCmd creates a new cobra.Command for the mount subcommand. TODO decide whether to use traditional mount -o flag format or to reuse emporous-go flags

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd creates a new cobra.Command for the command root.

func NewVersionCmd

func NewVersionCmd(rootOpts *config.RootOptions) *cobra.Command

NewVersionCmd creates a new cobra.Command for the version subcommand.

Types

type MountOptions

type MountOptions struct {
	*config.RootOptions
	Source         string
	MountPoint     string
	Insecure       bool
	PlainHTTP      bool
	Configs        []string
	AttributeQuery string
	NoVerify       bool
}

MountOptions describe configuration options that can be set using the pull subcommand.

func (*MountOptions) Complete

func (o *MountOptions) Complete(args []string) error

func (*MountOptions) Run

func (o *MountOptions) Run(ctx context.Context) error

func (*MountOptions) Validate

func (o *MountOptions) Validate() error

Jump to

Keyboard shortcuts

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