space

package
v2.11.26 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// WorkloadIdentityRole is the role that Workload Identity uses.
	WorkloadIdentityRole = "roles/iam.workloadIdentityUser"
)

Variables

This section is empty.

Functions

func NewController

func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl

NewController creates a new controller capable of reconciling Kf Spaces.

Types

type Reconciler

type Reconciler struct {
	*reconciler.Base
	// contains filtered or unexported fields
}

Reconciler reconciles a Space object with the K8s cluster.

func (*Reconciler) ApplyChanges

func (r *Reconciler) ApplyChanges(ctx context.Context, space *v1alpha1.Space) error

ApplyChanges updates the linked resources in the cluster with the current status of the Space.

func (*Reconciler) Healthy

func (r *Reconciler) Healthy(ctx context.Context) error

Healthy implements HealthChecker.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, key string) error

Reconcile is called by knative/pkg when a new event is observed by one of the watchers in the controller.

Directories

Path Synopsis
Package resources holds simple functions for synthesizing child resources from a Space.
Package resources holds simple functions for synthesizing child resources from a Space.

Jump to

Keyboard shortcuts

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