reconcile

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JmxAuthSecretName = "reaper-jmx"
)

Variables

This section is empty.

Functions

func GetServiceName

func GetServiceName(reaperName string) string

func InitReconcilers

func InitReconcilers(client client.Client, scheme *runtime.Scheme)

Types

type DeploymentReconciler

type DeploymentReconciler interface {
	ReconcileDeployment(ctx context.Context, req ReaperRequest) (*ctrl.Result, error)
}

func GetDeploymentReconciler

func GetDeploymentReconciler() DeploymentReconciler

type ReaperRequest

type ReaperRequest struct {
	Reaper *api.Reaper

	Logger logr.Logger

	StatusManager *status.StatusManager
}

ReaperRequest containers the information necessary to perform reconciliation actions on a Reaper object.

type SchemaReconciler

type SchemaReconciler interface {
	ReconcileSchema(ctx context.Context, req ReaperRequest) (*ctrl.Result, error)
}

func GetSchemaReconciler

func GetSchemaReconciler() SchemaReconciler

type SecretsManager

type SecretsManager interface {
	GetJmxAuthCredentials(secret *corev1.Secret) (*corev1.EnvVar, *corev1.EnvVar, error)
	GetCassandraAuthCredentials(secret *corev1.Secret) (*corev1.EnvVar, *corev1.EnvVar, error)
}

func NewSecretsManager

func NewSecretsManager() SecretsManager

type ServiceReconciler

type ServiceReconciler interface {
	ReconcileService(ctx context.Context, req ReaperRequest) (*ctrl.Result, error)
}

func GetServiceReconciler

func GetServiceReconciler() ServiceReconciler

Jump to

Keyboard shortcuts

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