options

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectOptions added in v0.1.0

type ConnectOptions struct {
	Global               bool
	DisableDNS           bool
	SSHPort              int
	Socke5Proxy          int
	CIDR                 string
	Method               string
	Dump2Hosts           bool
	Dump2HostsNamespaces cli.StringSlice
	Hosts                map[string]string
	ShareShadow          bool
	LocalDomain          string
}

ConnectOptions ...

type DaemonOptions

type DaemonOptions struct {
	KubeConfig       string
	Namespace        string
	Debug            bool
	Image            string
	Labels           string
	KubeOptions      cli.StringSlice
	RuntimeOptions   *RuntimeOptions
	RunOptions       *RunOptions
	ConnectOptions   *ConnectOptions
	ExchangeOptions  *ExchangeOptions
	MeshOptions      *MeshOptions
	DashboardOptions *dashboardOptions
	WaitTime         int
}

DaemonOptions cli options

func NewDaemonOptions

func NewDaemonOptions() *DaemonOptions

NewDaemonOptions return new cli default options

func NewRunDaemonOptions

func NewRunDaemonOptions(labels string, options *RunOptions) *DaemonOptions

NewRunDaemonOptions ...

type ExchangeOptions added in v0.1.0

type ExchangeOptions struct {
	Expose string
}

ExchangeOptions ...

type MeshOptions added in v0.1.0

type MeshOptions struct {
	Expose  string
	Version string
}

MeshOptions ...

type RunOptions

type RunOptions struct {
	Expose bool
	Port   int
}

RunOptions ...

type RuntimeOptions added in v0.1.0

type RuntimeOptions struct {
	PidFile  string
	UserHome string
	AppHome  string
	// Shadow deployment name
	Shadow string
	// ssh public key name of config map. format is kt-xxx(component)-public-key-xxx(version)
	SSHCM string
	// The origin app name
	Origin string
	// The origin repicas
	Replicas  int32
	Service   string
	Clientset kubernetes.Interface
}

RuntimeOptions ...

Jump to

Keyboard shortcuts

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