greptimedbstandalone

package
v0.1.3-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 26 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

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) (ctrl.Result, 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 (d *StandaloneDeployer) CheckAndUpdateStatus(ctx context.Context, crdObject client.Object) (bool, error)

func (*StandaloneDeployer) CleanUp

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

func (*StandaloneDeployer) Generate

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

func (*StandaloneDeployer) NewBuilder

func (d *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