option

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ClusterName            = "" //"default"
	MetricsBindAddress     = ":9080"
	HealthProbeBindAddress = ":9081"
	PProfAddress           = ""
	ReconcileRate          = 10
	ReconcileBucket        = 100

	ReadinessEndpointName = "/readyz"
	LivenessEndpointName  = "/healthz"
	UnreadyDuration       = 30

	NlbAccessTypeDEP = "DirectEndpoint"
	NlbAccessTypeNP  = "NodePort"
	NlbAccessTypeVXL = "VXLan"

	SeviceTypeALB  = "alb"
	SeviceTypeNLB  = "nlb"
	SeviceTypeBoth = "both"
)

Variables

This section is empty.

Functions

func SetOptions

func SetOptions(option *Options) error

Types

type Options

type Options struct {
	ClusterName string

	ExternalLB *externalLB.Options

	RetryIntervalUnitForErrS int

	ForceRmFinalizer bool

	Namespaces       string
	NamespaceList    []string
	SkipNilSvcDelete bool

	MetricsAddr           string
	HealthProbeAddr       string
	ReadinessEndpointName string
	UnreadyDuration       int
	LivenessEndpointName  string
	PProfAddr             string
	ReconcileRate         int
	ReconcileBucket       int
}
var (
	Opts *Options
)

func NewOptions

func NewOptions() *Options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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