Documentation ¶
Index ¶
- func Setup(mgr ctrl.Manager, _ *options.Options) error
- func UpdateStatus(ctx context.Context, input *v1alpha1.GreptimeDBStandalone, kc client.Client, ...) error
- type Reconciler
- type StandaloneDeployer
- func (d *StandaloneDeployer) CheckAndUpdateStatus(ctx context.Context, crdObject client.Object) (bool, error)
- func (d *StandaloneDeployer) CleanUp(ctx context.Context, crdObject client.Object) error
- func (d *StandaloneDeployer) Generate(crdObject client.Object) ([]client.Object, error)
- func (d *StandaloneDeployer) NewBuilder(crdObject client.Object) deployer.Builder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateStatus ¶
func UpdateStatus(ctx context.Context, input *v1alpha1.GreptimeDBStandalone, kc client.Client, opts ...client.SubResourceUpdateOption) error
Types ¶
type Reconciler ¶
type Reconciler struct { client.Client Scheme *runtime.Scheme Deployer deployer.Deployer Recorder record.EventRecorder }
Reconciler reconciles a GreptimeDBStandalone object
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type StandaloneDeployer ¶
func NewStandaloneDeployer ¶
func NewStandaloneDeployer(mgr ctrl.Manager) *StandaloneDeployer
func (*StandaloneDeployer) CheckAndUpdateStatus ¶
func (*StandaloneDeployer) NewBuilder ¶
func (d *StandaloneDeployer) NewBuilder(crdObject client.Object) deployer.Builder
Click to show internal directories.
Click to hide internal directories.