options

package
v1.28.0-alpha.80 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package options xxx

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsoleProxyOption

type ConsoleProxyOption struct {
	conf.FileConfig
	conf.ServiceConfig
	conf.CertConfig
	conf.LicenseServerConfig
	conf.LogConfig
	conf.ProcessConfig

	Privilege      bool     `json:"privilege" value:"" usage:"container exec privilege"`
	Cmd            []string `json:"cmd" value:"" usage:"cosntainer exec cmd"`
	Tty            bool     `json:"tty" value:"" usage:"tty"`
	DockerEndpoint string   `json:"docker-endpoint" value:"" usage:"docker endpoint"`
	Ips            []string `json:"ips" value:"" usage:"IP white list"`
	IsAuth         bool     `json:"is-auth" value:"" usage:"is auth"`
	IsOneSession   bool     `json:"is-one-session" value:"" usage:"support just one session for an container"`

	Conf config.ConsoleProxyConfig
}

ConsoleProxyOption is option in flags

func NewConsoleProxyOption

func NewConsoleProxyOption() *ConsoleProxyOption

NewConsoleProxyOption create ConsoleProxyOption object

Jump to

Keyboard shortcuts

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