components

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package components contains some helper functions related to the components.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBrokenLinks = fmt.Errorf("broken links dependency detected")
)

Functions

func BuildEtcdComponent

func BuildEtcdComponent(conf BuildEtcdComponentConfig) (component internalversion.Component, err error)

func BuildKubeApiserverComponent

func BuildKubeApiserverComponent(conf BuildKubeApiserverComponentConfig) (component internalversion.Component, err error)

func BuildKubeControllerManagerComponent

func BuildKubeControllerManagerComponent(conf BuildKubeControllerManagerComponentConfig) (component internalversion.Component, err error)

func BuildKubeSchedulerComponent

func BuildKubeSchedulerComponent(conf BuildKubeSchedulerComponentConfig) (component internalversion.Component, err error)

func BuildKwokControllerComponent

func BuildKwokControllerComponent(conf BuildKwokControllerComponentConfig) (component internalversion.Component, err error)

func BuildPrometheusComponent

func BuildPrometheusComponent(conf BuildPrometheusComponentConfig) (component internalversion.Component, err error)
func GroupByLinks(components []internalversion.Component) ([][]internalversion.Component, error)

Types

type BuildEtcdComponentConfig

type BuildEtcdComponentConfig struct {
	Binary   string
	Image    string
	Version  version.Version
	DataPath string
	Workdir  string
	Address  string
	Port     uint32
	PeerPort uint32
}

type BuildKubeApiserverComponentConfig

type BuildKubeApiserverComponentConfig struct {
	Binary            string
	Image             string
	Version           version.Version
	Workdir           string
	Address           string
	Port              uint32
	EtcdAddress       string
	EtcdPort          uint32
	KubeRuntimeConfig string
	KubeFeatureGates  string
	SecurePort        bool
	KubeAuthorization bool
	AuditPolicyPath   string
	AuditLogPath      string
	CaCertPath        string
	AdminCertPath     string
	AdminKeyPath      string
}

type BuildKubeControllerManagerComponentConfig

type BuildKubeControllerManagerComponentConfig struct {
	Binary            string
	Image             string
	Version           version.Version
	Workdir           string
	Address           string
	Port              uint32
	SecurePort        bool
	CaCertPath        string
	AdminCertPath     string
	AdminKeyPath      string
	KubeAuthorization bool
	KubeconfigPath    string
	KubeFeatureGates  string
}

type BuildKubeSchedulerComponentConfig

type BuildKubeSchedulerComponentConfig struct {
	Binary           string
	Image            string
	Version          version.Version
	Workdir          string
	Address          string
	Port             uint32
	SecurePort       bool
	CaCertPath       string
	AdminCertPath    string
	AdminKeyPath     string
	ConfigPath       string
	KubeconfigPath   string
	KubeFeatureGates string
}

type BuildKwokControllerComponentConfig

type BuildKwokControllerComponentConfig struct {
	Binary         string
	Image          string
	Version        version.Version
	Workdir        string
	Port           uint32
	ConfigPath     string
	KubeconfigPath string
	AdminCertPath  string
	AdminKeyPath   string
	NodeName       string
}

type BuildPrometheusComponentConfig

type BuildPrometheusComponentConfig struct {
	Binary        string
	Image         string
	Version       version.Version
	Workdir       string
	Address       string
	Port          uint32
	ConfigPath    string
	AdminCertPath string
	AdminKeyPath  string
}

Jump to

Keyboard shortcuts

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