objectsusercontroller

package
v0.5.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CloudscaleAPITokenKey identifies the key in which the API token of the cloudscale.ch API is expected in a Secret.
	CloudscaleAPITokenKey = "CLOUDSCALE_API_TOKEN"
)
View Source
const (
	// UserIDAnnotationKey is the annotation key where the ObjectsUser ID is stored.
	UserIDAnnotationKey = "cloudscale.crossplane.io/user-id"
)

Variables

This section is empty.

Functions

func SetupController

func SetupController(mgr ctrl.Manager) error

SetupController adds a controller that reconciles cloudscalev1.ObjectsUser managed resources.

Types

type ObjectsUserPipeline

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

ObjectsUserPipeline provisions ObjectsUsers on cloudscale.ch

func NewPipeline

func NewPipeline(client client.Client, recorder event.Recorder, csClient *cloudscalesdk.Client) *ObjectsUserPipeline

NewPipeline returns a new instance of ObjectsUserPipeline.

func (*ObjectsUserPipeline) Create

Create implements managed.ExternalClient.

func (*ObjectsUserPipeline) Delete

Delete implements managed.ExternalClient.

func (*ObjectsUserPipeline) Observe

Observe implements managed.ExternalClient.

func (*ObjectsUserPipeline) Update

Update implements managed.ExternalClient.

Jump to

Keyboard shortcuts

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