scheduling

package
v2.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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name                string   `toml:"name"`
	ListenAddr          string   `toml:"listen-addr"`
	AdvertiseListenAddr string   `toml:"advertise-listen-addr"`
	BackendEndpoints    string   `toml:"backend-endpoints"`
	Security            Security `toml:"security"`
}

Config is the configuration for the scheduling. TODO: reduce duplicated code

func (*Config) Overlay

func (c *Config) Overlay(cluster *v1alpha1.Cluster, s *v1alpha1.Scheduling) error

func (*Config) Validate

func (c *Config) Validate() error

type Security

type Security struct {
	// CACertPath is the path of file that contains list of trusted SSL CAs.
	CACertPath string `toml:"cacert-path"`
	// CertPath is the path of file that contains X509 certificate in PEM format.
	CertPath string `toml:"cert-path"`
	// KeyPath is the path of file that contains X509 key in PEM format.
	KeyPath string `toml:"key-path"`
}

Jump to

Keyboard shortcuts

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