options

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateEdgePlatformAddress

func ValidateEdgePlatformAddress(options *YurtIoTDockOptions) error

func ValidateOptions

func ValidateOptions(options *YurtIoTDockOptions) error

Types

type YurtIoTDockOptions

type YurtIoTDockOptions struct {
	MetricsAddr          string
	ProbeAddr            string
	EnableLeaderElection bool
	Nodepool             string
	Namespace            string
	Version              string
	CoreDataAddr         string
	CoreMetadataAddr     string
	CoreCommandAddr      string
	EdgeSyncPeriod       uint
}

YurtIoTDockOptions is the main settings for the yurt-iot-dock

func NewYurtIoTDockOptions

func NewYurtIoTDockOptions() *YurtIoTDockOptions

func (*YurtIoTDockOptions) AddFlags

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

Jump to

Keyboard shortcuts

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