Documentation ¶
Overview ¶
Package components contains some helper functions related to the components.
Index ¶
- Variables
- func BuildEtcdComponent(conf BuildEtcdComponentConfig) (component internalversion.Component, err error)
- func BuildKubeApiserverComponent(conf BuildKubeApiserverComponentConfig) (component internalversion.Component, err error)
- func BuildKubeControllerManagerComponent(conf BuildKubeControllerManagerComponentConfig) (component internalversion.Component, err error)
- func BuildKubeSchedulerComponent(conf BuildKubeSchedulerComponentConfig) (component internalversion.Component, err error)
- func BuildKwokControllerComponent(conf BuildKwokControllerComponentConfig) (component internalversion.Component, err error)
- func BuildPrometheusComponent(conf BuildPrometheusComponentConfig) (component internalversion.Component, err error)
- func GroupByLinks(components []internalversion.Component) ([][]internalversion.Component, error)
- type BuildEtcdComponentConfig
- type BuildKubeApiserverComponentConfig
- type BuildKubeControllerManagerComponentConfig
- type BuildKubeSchedulerComponentConfig
- type BuildKwokControllerComponentConfig
- type BuildPrometheusComponentConfig
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 ¶
func GroupByLinks(components []internalversion.Component) ([][]internalversion.Component, error)
Types ¶
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 }
Click to show internal directories.
Click to hide internal directories.