cmd

package
v0.0.13-rc13 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneDaemonOptions

func CloneDaemonOptions(o *ConnectOptions) *options.DaemonOptions

CloneDaemonOptions ...

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 NewRunCommand

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

NewRunCommand ...

Types

type ConnectOptions

type ConnectOptions struct {
	genericclioptions.IOStreams

	Image      string
	Method     string
	Debug      bool
	Labels     string
	Proxy      int
	DisableDNS bool
	Cidr       string
	Dump2hosts string

	Port    int
	Timeout int
	Global  bool
	// 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 {
	genericclioptions.IOStreams

	// global
	Labels string
	Image  string
	Debug  bool

	Timeout int

	// 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 MeshOptions

type MeshOptions struct {
	genericclioptions.IOStreams

	// global
	Labels string
	Image  string
	Debug  bool

	Timeout int

	// 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 RunOptions

type RunOptions struct {
	genericclioptions.IOStreams

	// global
	Labels string
	Image  string
	Debug  bool

	Timeout int

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

RunOptions ...

func NewRunOptions

func NewRunOptions(streams genericclioptions.IOStreams) *RunOptions

NewRunOptions ...

func (*RunOptions) Complete

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

Complete ...

func (*RunOptions) Run

func (o *RunOptions) Run() error

Run ...

Jump to

Keyboard shortcuts

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