options

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	NodeName                string
	MetricsBindAddr         string
	APIServerAddress        string
	TransHealthCheckTimeout time.Duration
}

Options has all the params needed to run the YurtCluster operator agent

func NewDefaultOptions

func NewDefaultOptions() *Options

NewDefaultOptions builds a default options for YurtCluster operator agent

func (*Options) ParseFlags

func (o *Options) ParseFlags() *Options

ParseFlags parses the command-line flags and return the final options

Jump to

Keyboard shortcuts

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