servicebinding

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceBindingRoot = "SERVICE_BINDING_ROOT"

ServiceBindingRoot points to the environment variable in the container which is used as the volume mount path. In the abscence of this environment variable, `/bindings` is used as the volume mount path. Refer: https://github.com/k8s-service-bindings/spec#reconciler-implementation

Variables

This section is empty.

Functions

This section is empty.

Types

type ProvisionedService

type ProvisionedService struct {
	Status Status `json:"status"`
}

ProvisionedService represents the duck-type which could any backing service

type Reconciler

type Reconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

Reconciler reconciles a ServiceBinding object

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile based on changes in the ServiceBinding CR or Provisioned Service Secret

func (*Reconciler) SetupWithManager

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

SetupWithManager setup controller with manager

type Status

type Status struct {
	Binding corev1.LocalObjectReference `json:"binding"`
}

Status of a ProvisionedService The name will be a reference to a secret

Jump to

Keyboard shortcuts

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