Versions in this module Expand all Collapse all v0 v0.3.0 Jan 19, 2021 Changes in this version + const ConditionTypeDone + const ReasonFailedProcess + const ReasonSkipProcess + const ReasonSuccessfulProcess + const ReasonWaitingProcess + type CpManager struct + Cp map[string]Provider + func New() *CpManager + func (p *CpManager) GetProvider(name string) (Provider, error) + func (p *CpManager) Providers() []string + func (p *CpManager) Register(name string, provider Provider) + func (p *CpManager) RegisterHandler(mux *mux.PathRecorderMux) + type DelegateProvider struct + AfterCreateFunc func(ctx *common.ClusterContext) error + CreateHandlers []Handler + DeleteHandlers []Handler + PreCreateFunc func(ctx *common.ClusterContext) error + ProviderName string + UpdateHandlers []Handler + ValidateFunc func(ctx *common.ClusterContext) field.ErrorList + func (p *DelegateProvider) AfterCreate(ctx *common.ClusterContext) error + func (p *DelegateProvider) Name() string + func (p *DelegateProvider) OnCreate(ctx *common.ClusterContext) error + func (p *DelegateProvider) OnDelete(ctx *common.ClusterContext) error + func (p *DelegateProvider) OnUpdate(ctx *common.ClusterContext) error + func (p *DelegateProvider) PreCreate(ctx *common.ClusterContext) error + func (p *DelegateProvider) RegisterHandler(mux *mux.PathRecorderMux) + func (p *DelegateProvider) Validate(ctx *common.ClusterContext) field.ErrorList + type Handler func(ctx *common.ClusterContext) error + func (h Handler) Name() string + type Provider interface + AfterCreate func(ctx *common.ClusterContext) error + Name func() string + OnCreate func(ctx *common.ClusterContext) error + OnDelete func(ctx *common.ClusterContext) error + OnUpdate func(ctx *common.ClusterContext) error + PreCreate func(ctx *common.ClusterContext) error + RegisterHandler func(mux *mux.PathRecorderMux) + Validate func(ctx *common.ClusterContext) field.ErrorList