controllers

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Created  = "Created"
	Updated  = "Updated"
	Deleted  = "Deleted"
	Finished = "Finished"

	CreateInProgress = "CreateInProgress"
	UpdateInProgress = "UpdateInProgress"
	DeleteInProgress = "DeleteInProgress"
	InProgress       = "InProgress"

	CreateFailed = "CreateFailed"
	UpdateFailed = "UpdateFailed"
	DeleteFailed = "DeleteFailed"
	Failed       = "Failed"

	Blocked = "Blocked"
	Unknown = "Unknown"

	// Cred Rotation
	CredPreparing = "Preparing"
	CredRotating  = "Rotating"
)
View Source
const (
	TEXT    format = "text"
	JSON    format = "json"
	UNKNOWN format = "unknown"
)

Variables

This section is empty.

Functions

func GetLogger added in v0.2.0

func GetLogger(ctx context.Context) logr.Logger

func MarshalRawParameters added in v0.1.1

func MarshalRawParameters(in map[string]interface{}) ([]byte, error)

MarshalRawParameters marshals the specified map of parameters into JSON

func RandStringRunes added in v0.2.0

func RandStringRunes(n int) string

func UnmarshalRawParameters added in v0.1.1

func UnmarshalRawParameters(in []byte) (map[string]interface{}, error)

UnmarshalRawParameters produces a map structure from a given raw YAML/JSON input

Types

type BaseReconciler

type BaseReconciler struct {
	client.Client
	Log            logr.Logger
	Scheme         *runtime.Scheme
	SMClient       func() sm.Client
	Config         config.Config
	SecretResolver *secrets.SecretResolver
	Recorder       record.EventRecorder
}

type LogKey added in v0.2.0

type LogKey struct {
}

type SecretMetadataProperty added in v0.2.3

type SecretMetadataProperty struct {
	Name      string `json:"name"`
	Container bool   `json:"container,omitempty"`
	Format    string `json:"format"`
}

type ServiceBindingReconciler

type ServiceBindingReconciler struct {
	*BaseReconciler
}

ServiceBindingReconciler reconciles a ServiceBinding object

func (*ServiceBindingReconciler) Reconcile

func (*ServiceBindingReconciler) SetOwner

func (r *ServiceBindingReconciler) SetOwner(ctx context.Context, serviceInstance *servicesv1.ServiceInstance, serviceBinding *servicesv1.ServiceBinding) error

func (*ServiceBindingReconciler) SetupWithManager

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

type ServiceInstanceReconciler

type ServiceInstanceReconciler struct {
	*BaseReconciler
}

ServiceInstanceReconciler reconciles a ServiceInstance object

func (*ServiceInstanceReconciler) Reconcile

func (*ServiceInstanceReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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