Documentation ¶
Index ¶
- Constants
- type CCM
- func (m *CCM) Enabled() bool
- func (m *CCM) Helm() *helm.Config
- func (m *CCM) LoadbalancersEnabled() bool
- func (m *CCM) Manage(ctx *program.Context, prov *kubernetes.Provider, mgmt *manager.ClusterManager) error
- func (m *CCM) Name() string
- func (m *CCM) SetClusterCIDR(cidr string)
- func (m *CCM) SetHelm(h *helm.Config)
- func (m *CCM) Supported(distr string) bool
- func (m *CCM) WithEnableNodeController() *CCM
- func (m *CCM) WithLoadbalancerPrivateIPUsage() *CCM
- func (m *CCM) WithNetworking() *CCM
- type Config
Constants ¶
View Source
const ( Name = "ccm" HelmRepo = "https://charts.hetzner.cloud" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CCM ¶
type CCM struct {
// contains filtered or unexported fields
}
func (*CCM) LoadbalancersEnabled ¶
func (*CCM) Manage ¶
func (m *CCM) Manage(ctx *program.Context, prov *kubernetes.Provider, mgmt *manager.ClusterManager) error
func (*CCM) SetClusterCIDR ¶
func (*CCM) WithEnableNodeController ¶
func (*CCM) WithLoadbalancerPrivateIPUsage ¶
func (*CCM) WithNetworking ¶
type Config ¶
type Config struct { // Enabled is a flag to enable or disable hcloud CCM. Enabled bool Helm *helm.Config // LoadbalancersEnabled is a flag to enable or disable loadbalancers management. Note: internal loadbalancer for k3s will be disabled. LoadbalancersEnabled bool `json:"loadbalancers-enabled" yaml:"loadbalancers-enabled"` // DefaultloadbalancerLocation is a default location for the loadbancers. LoadbalancersDefaultLocation string `json:"loadbalancers-default-location" yaml:"loadbalancers-default-location"` // Token is a hcloud token to access hcloud API for CCM. Token string }
Click to show internal directories.
Click to hide internal directories.