refresolver

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMariaDBAnnotationNotFound = errors.New("MariaDB annotation not found")
)

Functions

This section is empty.

Types

type RefResolver

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

func New

func New(client client.Client) *RefResolver

func (*RefResolver) Backup

func (*RefResolver) MariaDB

func (*RefResolver) MariaDBFromAnnotation added in v0.0.16

func (r *RefResolver) MariaDBFromAnnotation(ctx context.Context, objMeta metav1.ObjectMeta) (*mariadbv1alpha1.MariaDB, error)

func (*RefResolver) MaxScale added in v0.0.25

func (r *RefResolver) MaxScale(ctx context.Context, ref *corev1.ObjectReference,
	namespace string) (*mariadbv1alpha1.MaxScale, error)

func (*RefResolver) SecretKeyRef

func (r *RefResolver) SecretKeyRef(ctx context.Context, selector corev1.SecretKeySelector,
	namespace string) (string, error)

func (*RefResolver) SqlJob

Jump to

Keyboard shortcuts

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