options

package
v0.0.13-rc11-z5nctl3 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectOptions

type ConnectOptions struct {
	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 RunOptions

type RunOptions struct {
	Expose bool
	Port   int
}

RunOptions ...

type RuntimeOptions

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