cmd

package
v0.2.1-beta1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConnectCommand

func NewConnectCommand(streams genericclioptions.IOStreams, version string) *cobra.Command

NewConnectCommand ...

func NewExchangeCommand

func NewExchangeCommand(streams genericclioptions.IOStreams, version string) *cobra.Command

NewExchangeCommand ...

func NewMeshCommand

func NewMeshCommand(streams genericclioptions.IOStreams, version string) *cobra.Command

NewMeshCommand ...

func NewProvideCommand

func NewProvideCommand(streams genericclioptions.IOStreams, version string) *cobra.Command

NewProvideCommand ...

Types

type ConnectOptions

type ConnectOptions struct {
	GlobalOptions

	genericclioptions.IOStreams

	Method     string
	Labels     string
	Proxy      int
	DisableDNS bool
	Cidr       string
	Dump2hosts string
	Port       int
	TunName    string
	TunCidr    string
	// contains filtered or unexported fields
}

ConnectOptions ...

func NewConnectOptions

func NewConnectOptions(streams genericclioptions.IOStreams) *ConnectOptions

NewConnectOptions ...

func (*ConnectOptions) Complete

func (o *ConnectOptions) Complete(cmd *cobra.Command, args []string) error

Complete ...

func (*ConnectOptions) Run

func (o *ConnectOptions) Run() error

Run ...

type ExchangeOptions

type ExchangeOptions struct {
	GlobalOptions

	genericclioptions.IOStreams

	// exchange
	Target string
	Expose string
	// contains filtered or unexported fields
}

ExchangeOptions ...

func NewExchangeOptions

func NewExchangeOptions(streams genericclioptions.IOStreams) *ExchangeOptions

NewExchangeOptions ...

func (*ExchangeOptions) Complete

func (o *ExchangeOptions) Complete(cmd *cobra.Command, args []string) error

Complete ...

func (*ExchangeOptions) Run

func (o *ExchangeOptions) Run() error

Run ...

type GlobalOptions

type GlobalOptions struct {
	// global
	Labels string
	Image  string
	Debug  bool

	Timeout int
	// contains filtered or unexported fields
}

GlobalOptions ...

type MeshOptions

type MeshOptions struct {
	GlobalOptions

	genericclioptions.IOStreams

	// mesh
	Target  string
	Expose  string
	Version string
	// contains filtered or unexported fields
}

MeshOptions ...

func NewMeshOptions

func NewMeshOptions(streams genericclioptions.IOStreams) *MeshOptions

NewMeshOptions ...

func (*MeshOptions) Complete

func (o *MeshOptions) Complete(cmd *cobra.Command, args []string) error

Complete ...

func (*MeshOptions) Run

func (o *MeshOptions) Run() error

Run ...

type ProvideOptions

type ProvideOptions struct {
	GlobalOptions

	genericclioptions.IOStreams

	// run
	Expose   int
	External bool
	Target   string
	// contains filtered or unexported fields
}

ProvideOptions ...

func NewProvideOptions

func NewProvideOptions(streams genericclioptions.IOStreams) *ProvideOptions

NewProvideOptions ...

func (*ProvideOptions) Complete

func (o *ProvideOptions) Complete(cmd *cobra.Command, args []string) error

Complete ...

func (*ProvideOptions) Run

func (o *ProvideOptions) Run() error

Run ...

Jump to

Keyboard shortcuts

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