common

package
v0.1.1 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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VolumeAliases      = []string{"volumes", "vol", "vols"}
	VolumeClassAliases = []string{"volumechineclasses", "vc", "vcs"}
)
View Source
var Renderer = renderer.NewRegistry()

Functions

func NewOutputOptions

func NewOutputOptions() *clicommon.OutputOptions

Types

type ClientFactory

type ClientFactory interface {
	New() (ori.VolumeRuntimeClient, func() error, error)
}

type ClientOptions

type ClientOptions struct {
	Address string
}

func (*ClientOptions) AddFlags

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

func (*ClientOptions) New

func (o *ClientOptions) New() (ori.VolumeRuntimeClient, func() error, error)

Jump to

Keyboard shortcuts

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