wormhole

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientCommand

func NewClientCommand() *cobra.Command

func NewCommand

func NewCommand(name string) *cobra.Command

func NewServerCommand

func NewServerCommand() *cobra.Command

Types

type ClientOptions

type ClientOptions struct {
	KubeConfig string
	Server     string
	Context    string
	ListenAddr string
}

func NewClientOptions

func NewClientOptions() *ClientOptions

func (*ClientOptions) BindFlags

func (o *ClientOptions) BindFlags(flags *pflag.FlagSet)

func (*ClientOptions) Complete

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

func (*ClientOptions) Run

func (o *ClientOptions) Run(c *cobra.Command) error

func (*ClientOptions) Validate

func (o *ClientOptions) Validate(c *cobra.Command, args []string) error

type ServerOptions

type ServerOptions struct {
	server.Options
}

func NewServerOptions

func NewServerOptions() *ServerOptions

func (*ServerOptions) BindFlags

func (o *ServerOptions) BindFlags(flags *pflag.FlagSet)

func (*ServerOptions) Complete

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

func (*ServerOptions) Run

func (o *ServerOptions) Run(c *cobra.Command) error

func (*ServerOptions) Validate

func (o *ServerOptions) Validate(c *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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