options

package
v1.10.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreOptions

type CoreOptions struct {
	UseWebhook              bool
	CertDir                 string
	WebhookPort             int
	MetricsAddr             string
	EnableLeaderElection    bool
	LeaderElectionNamespace string
	LogFilePath             string
	LogFileMaxSize          uint64
	LogDebug                bool
	ControllerArgs          *oamcontroller.Args
	HealthAddr              string
	StorageDriver           string
	InformerSyncPeriod      time.Duration
	QPS                     float64
	Burst                   int
	LeaseDuration           time.Duration
	RenewDeadLine           time.Duration
	RetryPeriod             time.Duration
	EnableClusterGateway    bool
	EnableClusterMetrics    bool
	ClusterMetricsInterval  time.Duration
}

CoreOptions contains everything necessary to create and run vela-core

func NewCoreOptions

func NewCoreOptions() *CoreOptions

NewCoreOptions creates a new NewVelaCoreOptions object with default parameters

func (*CoreOptions) Flags

func (s *CoreOptions) Flags() cliflag.NamedFlagSets

Flags returns the complete NamedFlagSets

Jump to

Keyboard shortcuts

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