options

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentOptions

type AgentOptions struct {
	NodeName      string
	Kubeconfig    string
	VPNDriver     string
	RouteDriver   string
	ForwardNodeIP bool
}

AgentOptions has the information that required by the raven agent

func (*AgentOptions) AddFlags

func (o *AgentOptions) AddFlags(fs *pflag.FlagSet)

AddFlags returns flags for a specific yurttunnel-agent by section name

func (*AgentOptions) Config

func (o *AgentOptions) Config() (*config.Config, error)

Config return a raven agent config objective

func (*AgentOptions) Validate

func (o *AgentOptions) Validate() error

Validate validates the AgentOptions

Jump to

Keyboard shortcuts

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