config

package
v0.0.0-...-1518e46 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildKubeConfig

func BuildKubeConfig() (*rest.Config, error)

Build the kubeconfig from inClusterConfig, falling back to default config if failed.

Types

type HealthzConfiguration

type HealthzConfiguration struct {
	HealthzHost string
	HealthzPort string
}

type KubezPprof

type KubezPprof struct {
	// Whether the ppof is started for main process
	Start bool
	// The port used for pprof
	Port string
}

type PixiuConfiguration

type PixiuConfiguration struct {
	metav1.TypeMeta

	LeaderClient    clientset.Interface
	InformerFactory informers.SharedInformerFactory

	// LeaderElection defines the configuration of leader election client.
	LeaderElection PixiuLeaderElectionConfiguration

	// event sink
	EventRecorder record.EventRecorder

	// Kubez pprof
	KubezPprof KubezPprof

	// Healthz Configuration
	Healthz HealthzConfiguration
}

type PixiuLeaderElectionConfiguration

type PixiuLeaderElectionConfiguration struct {
	componentbaseconfig.LeaderElectionConfiguration
}

PixiuLeaderElectionConfiguration expands LeaderElectionConfiguration to include scheduler specific configuration.

Jump to

Keyboard shortcuts

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