greptimedbstandalone

package
v0.1.0-alpha.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(mgr ctrl.Manager, _ *options.Options) error

func UpdateStatus

func UpdateStatus(ctx context.Context, input *v1alpha1.GreptimeDBStandalone, kc client.Client, opts ...client.UpdateOption) 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) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type StandaloneDeployer

type StandaloneDeployer struct {
	Scheme *runtime.Scheme

	client.Client
	deployer.DefaultDeployer
}

func NewStandaloneDeployer

func NewStandaloneDeployer(mgr ctrl.Manager) *StandaloneDeployer

func (*StandaloneDeployer) CheckAndUpdateStatus

func (s *StandaloneDeployer) CheckAndUpdateStatus(ctx context.Context, crdObject client.Object) (bool, error)

func (*StandaloneDeployer) CleanUp

func (s *StandaloneDeployer) CleanUp(ctx context.Context, crdObject client.Object) error

func (*StandaloneDeployer) Generate

func (s *StandaloneDeployer) Generate(crdObject client.Object) ([]client.Object, error)

func (*StandaloneDeployer) NewBuilder

func (s *StandaloneDeployer) NewBuilder(crdObject client.Object) deployer.Builder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL