option

package
v1.16.0-pre.3 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// PprofAddressAPIServer is the default value for pprof in the clustermesh-apiserver
	PprofAddress = "localhost"

	// PprofPortClusterMesh is the default value for pprof in the clustermesh-apiserver (clustermesh)
	PprofPortClusterMesh = 6063

	// PprofPortKVStoreMesh is the default value for pprof in clustermesh-apiserver (kvstoremesh)
	PprofPortKVStoreMesh = 6064
)

Variables

View Source
var DefaultLegacyClusterMeshConfig = LegacyClusterMeshConfig{
	Debug:          false,
	CRDWaitTimeout: 5 * time.Minute,
}
View Source
var DefaultLegacyKVStoreMeshConfig = LegacyKVStoreMeshConfig{
	Debug: false,
}

Functions

This section is empty.

Types

type LegacyClusterMeshConfig added in v1.15.0

type LegacyClusterMeshConfig struct {
	Debug          bool
	CRDWaitTimeout time.Duration
}

LegacyClusterMeshConfig is used to register the flags for the options which are still accessed through the global DaemonConfig variable.

func (LegacyClusterMeshConfig) Flags added in v1.15.0

func (def LegacyClusterMeshConfig) Flags(flags *pflag.FlagSet)

type LegacyKVStoreMeshConfig added in v1.15.0

type LegacyKVStoreMeshConfig struct {
	Debug bool
}

LegacyKVStoreMeshConfig is used to register the flags for the options which are still accessed through the global DaemonConfig variable.

func (LegacyKVStoreMeshConfig) Flags added in v1.15.0

func (def LegacyKVStoreMeshConfig) Flags(flags *pflag.FlagSet)

Jump to

Keyboard shortcuts

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