uaa

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ServiceInstanceParamsSecret v1beta1.SecretKeyReference
	ServiceInstance             client.ObjectKey
	ServiceBinding              client.ObjectKey
	ClusterServiceClassName     string `envconfig:"default=xsuaa"`
	ClusterServicePlanName      string `envconfig:"default=z54zhz47zdx5loz51z6z58zhvcdz59-b207b177b40ffd4b314b30635590e0ad"`
}

Config holds configuration for the UAA domain

type Creator

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

Creator provides functionality for creating UAA Instance and Binding

func NewCreator

func NewCreator(cli client.Client, config Config) *Creator

NewCreator returns new instance of Creator

func (*Creator) EnsureUAABinding

func (p *Creator) EnsureUAABinding(ctx context.Context) error

EnsureUAABinding ensures that ServiceBinding is created and up to date. Additionally, wait until ServiceBinding is in a ready state.

func (*Creator) EnsureUAAInstance

func (p *Creator) EnsureUAAInstance(ctx context.Context) error

EnsureUAAInstance ensures that ServiceInstance is created and up to date. Additionally, wait until ServiceInstance is in a ready state.

type Waiter

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

Waiter waits until UAA ClusterServiceClass and ClusterServicePlan are available

func NewWaiter

func NewWaiter(cli client.Client, cfg Config) *Waiter

NewWaiter returns a new instance of Waiter

func (*Waiter) WaitForUAAClassAndPlan

func (w *Waiter) WaitForUAAClassAndPlan(ctx context.Context) error

WaitForUAAClassAndPlan waits for UAA class and plan

Jump to

Keyboard shortcuts

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