Documentation
¶
Index ¶
- Constants
- Variables
- func NewDoguDeleteManager(client client.Client, operatorConfig *config.OperatorConfig, ...) (*doguDeleteManager, error)
- func NewDoguInstallManager(client client.Client, operatorConfig *config.OperatorConfig, ...) (*doguInstallManager, error)
- func NewDoguReconciler(client client.Client, scheme *runtime.Scheme, doguManager manager) *doguReconciler
- func NewDoguRequeueHandler(client client.Client, reporter statusReporter) *doguRequeueHandler
- type CesDoguRegistrator
- type DoguManager
- type DoguSecretsHandler
Constants ¶
const ( Install operation = iota Upgrade Delete Ignore )
Variables ¶
var NewManager = NewDoguManager
NewManager is an alias mainly used for testing the main package
Functions ¶
func NewDoguDeleteManager ¶ added in v0.9.0
func NewDoguDeleteManager(client client.Client, operatorConfig *config.OperatorConfig, cesRegistry cesregistry.Registry) (*doguDeleteManager, error)
NewDoguDeleteManager creates a new instance of doguDeleteManager.
func NewDoguInstallManager ¶ added in v0.9.0
func NewDoguInstallManager(client client.Client, operatorConfig *config.OperatorConfig, cesRegistry cesregistry.Registry) (*doguInstallManager, error)
NewDoguInstallManager creates a new instance of doguInstallManager.
func NewDoguReconciler ¶
func NewDoguReconciler(client client.Client, scheme *runtime.Scheme, doguManager manager) *doguReconciler
NewDoguReconciler creates a new reconciler instance for the dogu resource
func NewDoguRequeueHandler ¶ added in v0.3.0
NewDoguRequeueHandler creates a new dogu requeue handler.
Types ¶
type CesDoguRegistrator ¶ added in v0.2.0
type CesDoguRegistrator struct {
// contains filtered or unexported fields
}
CesDoguRegistrator is responsible for register dogus in the cluster
func (*CesDoguRegistrator) RegisterDogu ¶ added in v0.2.0
func (c *CesDoguRegistrator) RegisterDogu(ctx context.Context, doguResource *k8sv1.Dogu, dogu *core.Dogu) error
RegisterDogu registers a dogu in a cluster. It generates key pairs and configures the dogu registry
func (*CesDoguRegistrator) UnregisterDogu ¶ added in v0.2.0
func (c *CesDoguRegistrator) UnregisterDogu(dogu string) error
UnregisterDogu deletes a dogu from the dogu registry
type DoguManager ¶
type DoguManager struct {
// contains filtered or unexported fields
}
DoguManager is a central unit in the process of handling dogu custom resources The DoguManager creates, updates and deletes dogus
func NewDoguManager ¶
func NewDoguManager(client client.Client, operatorConfig *config.OperatorConfig, cesRegistry cesregistry.Registry) (*DoguManager, error)
NewDoguManager creates a new instance of DoguManager