Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MachineAliases = []string{"machines", "mach", "machs"} MachineClassAliases = []string{"machineclasses", "mc", "mcs"} VolumeAliases = []string{"volumes", "vol", "vols"} NetworkInterfaceAliases = []string{"networkinterfaces", "nic", "nics"} )
View Source
var (
Renderer = renderer.NewRegistry()
)
Functions ¶
This section is empty.
Types ¶
type ClientFactory ¶
type ClientFactory interface {
New() (ori.MachineRuntimeClient, 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.MachineRuntimeClient, func() error, error)
type OutputOptions ¶
type OutputOptions struct {
Output string
}
func (*OutputOptions) AddFlags ¶
func (o *OutputOptions) AddFlags(fs *pflag.FlagSet)
func (*OutputOptions) Renderer ¶
func (o *OutputOptions) Renderer(ifEmpty string) (renderer.Renderer, error)
func (*OutputOptions) RendererOrNil ¶
func (o *OutputOptions) RendererOrNil() (renderer.Renderer, error)
Click to show internal directories.
Click to hide internal directories.