config

package
v0.0.0-...-6111fc0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompletedConfig

type CompletedConfig struct {
	// contains filtered or unexported fields
}

type Config

type Config struct {
	// config is the scheduler server's configuration object.
	ComponentConfig config.GodelSchedulerConfiguration

	Client          clientset.Interface
	InformerFactory informers.SharedInformerFactory

	// godel crd client & informer
	GodelCrdClient          godelclient.Interface
	GodelCrdInformerFactory crdinformers.SharedInformerFactory

	KatalystCrdClient          katalystclient.Interface
	KatalystCrdInformerFactory katalystinformers.SharedInformerFactory

	// LoopbackClientConfig is a config for a privileged loopback connection
	LoopbackClientConfig *restclient.Config

	InsecureServing        *apiserver.DeprecatedInsecureServingInfo // nil will disable serving on an insecure port
	InsecureMetricsServing *apiserver.DeprecatedInsecureServingInfo // non-nil if metrics should be served independentl
	SecureServing          *apiserver.SecureServingInfo
	Authentication         apiserver.AuthenticationInfo
	Authorization          apiserver.AuthorizationInfo

	// LeaderElection is optional.
	LeaderElection *leaderelection.LeaderElectionConfig

	// EventBroadcaster is wrapper for event broadcaster, compatible with core.v1.Event and events.v1beta1.Event, used for Events.
	// It will be removed once the migration for events from core API to events API is done.
	// More details can be found at https://github.com/kubernetes/enhancements/blob/master/keps/sig-instrumentation/383-new-event-api-ga-graduation/README.md
	EventBroadcaster cmdutil.EventBroadcasterAdapter
}

func (*Config) Complete

func (c *Config) Complete() CompletedConfig

Jump to

Keyboard shortcuts

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