start

package
v0.0.0-...-87fd372 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChild

func NewChild() *cobra.Command

NewChild returns a new cobra.Command for starting child process.

func NewCmd

func NewCmd() *cobra.Command

NewCmd returns a new cobra.Command subcommand for Start related operations.

func NewDaemon

func NewDaemon() *cobra.Command

NewDaemon returns a new cobra.Command for starting daemon process.

Types

type ChildOptions

type ChildOptions struct {
	Env             []string
	CGroupProcsPath string
}

ChildOptions hold additional options for starting child process. The command with args should be submitted after dash (--)

type DaemonOptions

type DaemonOptions struct {
	GRPCAddr string
	TLS      TLSOptions
}

DaemonOptions holds options for starting daemon process.

type TLSOptions

type TLSOptions struct {
	Client struct {
		CAFilePath string
	}
	Server struct {
		CertFilePath string
		KeyFilePath  string
	}
}

TLSOptions holds mTLS related settings.

Jump to

Keyboard shortcuts

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