Documentation ¶
Index ¶
- func Add(mgr *clusterprovider.CpManager, cfg *config.Config) error
- func ApplyCertsConfigmap(ctx *common.ClusterContext, pathCerts map[string][]byte) error
- func ApplyKubeMiscConfigmap(ctx *common.ClusterContext, pathKubeMisc map[string]string) error
- func GetAdvertiseAddress(ctx *common.ClusterContext) string
- func GetHPAReplicaCountOrDefault(client client.Client, name types.NamespacedName, defaultReplicaCount int32) int32
- func GetPodBindPort(ctx *common.ClusterContext) int32
- func GetSvcNodePort(ctx *common.ClusterContext) int32
- type Provider
- func (p *Provider) EnsureAddons(ctx *common.ClusterContext) error
- func (p *Provider) EnsureCerts(ctx *common.ClusterContext) error
- func (p *Provider) EnsureClusterComplete(ctx *common.ClusterContext) error
- func (p *Provider) EnsureCni(ctx *common.ClusterContext) error
- func (p *Provider) EnsureCopyFiles(ctctx *common.ClusterContext) error
- func (p *Provider) EnsureEtcd(ctx *common.ClusterContext) error
- func (p *Provider) EnsureExtKubeconfig(ctx *common.ClusterContext) error
- func (p *Provider) EnsureKubeMaster(ctx *common.ClusterContext) error
- func (p *Provider) EnsureKubeMisc(ctx *common.ClusterContext) error
- func (p *Provider) EnsureMetricsServer(ctx *common.ClusterContext) error
- func (p *Provider) EnsurePostInstallHook(ctx *common.ClusterContext) error
- func (p *Provider) EnsurePreInstallHook(ctx *common.ClusterContext) error
- func (p *Provider) PreCreate(ctx *common.ClusterContext) error
- func (p *Provider) RegisterHandler(mux *mux.PathRecorderMux)
- func (p *Provider) Validate(ctx *common.ClusterContext) field.ErrorList
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyCertsConfigmap ¶
func ApplyCertsConfigmap(ctx *common.ClusterContext, pathCerts map[string][]byte) error
func ApplyKubeMiscConfigmap ¶
func ApplyKubeMiscConfigmap(ctx *common.ClusterContext, pathKubeMisc map[string]string) error
func GetAdvertiseAddress ¶
func GetAdvertiseAddress(ctx *common.ClusterContext) string
func GetHPAReplicaCountOrDefault ¶
func GetHPAReplicaCountOrDefault(client client.Client, name types.NamespacedName, defaultReplicaCount int32) int32
GetHPAReplicaCountOrDefault get desired replica count from HPA if exists, returns the given default otherwise
func GetPodBindPort ¶
func GetPodBindPort(ctx *common.ClusterContext) int32
func GetSvcNodePort ¶
func GetSvcNodePort(ctx *common.ClusterContext) int32
Types ¶
type Provider ¶
type Provider struct { *clusterprovider.DelegateProvider Mgr *clusterprovider.CpManager Cfg *config.Config }
func NewProvider ¶
func (*Provider) EnsureAddons ¶
func (p *Provider) EnsureAddons(ctx *common.ClusterContext) error
func (*Provider) EnsureCerts ¶
func (p *Provider) EnsureCerts(ctx *common.ClusterContext) error
func (*Provider) EnsureClusterComplete ¶
func (p *Provider) EnsureClusterComplete(ctx *common.ClusterContext) error
func (*Provider) EnsureCopyFiles ¶
func (p *Provider) EnsureCopyFiles(ctctx *common.ClusterContext) error
func (*Provider) EnsureEtcd ¶
func (p *Provider) EnsureEtcd(ctx *common.ClusterContext) error
func (*Provider) EnsureExtKubeconfig ¶
func (p *Provider) EnsureExtKubeconfig(ctx *common.ClusterContext) error
func (*Provider) EnsureKubeMaster ¶
func (p *Provider) EnsureKubeMaster(ctx *common.ClusterContext) error
func (*Provider) EnsureKubeMisc ¶
func (p *Provider) EnsureKubeMisc(ctx *common.ClusterContext) error
func (*Provider) EnsureMetricsServer ¶
func (p *Provider) EnsureMetricsServer(ctx *common.ClusterContext) error
func (*Provider) EnsurePostInstallHook ¶
func (p *Provider) EnsurePostInstallHook(ctx *common.ClusterContext) error
func (*Provider) EnsurePreInstallHook ¶
func (p *Provider) EnsurePreInstallHook(ctx *common.ClusterContext) error
func (*Provider) RegisterHandler ¶
func (p *Provider) RegisterHandler(mux *mux.PathRecorderMux)
type Reconciler ¶
type Reconciler struct { Ctx *common.ClusterContext *Provider // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.