postgresqlcontroller

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupController

func SetupController(mgr ctrl.Manager) error

SetupController adds a controller that reconciles managed resources.

func SetupWebhook

func SetupWebhook(mgr ctrl.Manager) error

SetupWebhook adds a webhook for managed resources.

Types

type Pipeline

type Pipeline struct {
	// contains filtered or unexported fields
}

Pipeline provisions IAMKeys on exoscale.com

func NewPipeline

func NewPipeline(client client.Client, recorder event.Recorder, exoscaleClient *exoscalesdk.Client) *Pipeline

NewPipeline returns a new instance of Pipeline.

func (*Pipeline) Create

Create implements managed.ExternalClient.

func (*Pipeline) Delete

func (p *Pipeline) Delete(ctx context.Context, mg resource.Managed) error

Delete implements managed.ExternalClient.

func (*Pipeline) Observe

Observe implements managed.ExternalClient.

func (*Pipeline) Update

Update implements managed.ExternalClient.

type PostgreSQLConnector

type PostgreSQLConnector struct {
	Kube     client.Client
	Recorder event.Recorder
}

func (*PostgreSQLConnector) Connect

Connect implements managed.ExternalConnecter.

type Validator

type Validator struct {
	// contains filtered or unexported fields
}

Validator validates admission requests.

func (*Validator) ValidateCreate

func (v *Validator) ValidateCreate(_ context.Context, obj runtime.Object) error

ValidateCreate implements admission.CustomValidator.

func (*Validator) ValidateDelete

func (v *Validator) ValidateDelete(_ context.Context, obj runtime.Object) error

ValidateDelete implements admission.CustomValidator.

func (*Validator) ValidateUpdate

func (v *Validator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) error

ValidateUpdate implements admission.CustomValidator.

Jump to

Keyboard shortcuts

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