Documentation ¶
Index ¶
- Constants
- func SetupController(mgr ctrl.Manager) error
- type ObjectsUserPipeline
- func (p *ObjectsUserPipeline) Create(ctx context.Context, mg resource.Managed) (managed.ExternalCreation, error)
- func (p *ObjectsUserPipeline) Delete(ctx context.Context, mg resource.Managed) error
- func (p *ObjectsUserPipeline) Observe(ctx context.Context, mg resource.Managed) (managed.ExternalObservation, error)
- func (p *ObjectsUserPipeline) Update(ctx context.Context, mg resource.Managed) (managed.ExternalUpdate, error)
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 ¶
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 ¶
func (p *ObjectsUserPipeline) Create(ctx context.Context, mg resource.Managed) (managed.ExternalCreation, error)
Create implements managed.ExternalClient.
func (*ObjectsUserPipeline) Observe ¶
func (p *ObjectsUserPipeline) Observe(ctx context.Context, mg resource.Managed) (managed.ExternalObservation, error)
Observe implements managed.ExternalClient.
func (*ObjectsUserPipeline) Update ¶
func (p *ObjectsUserPipeline) Update(ctx context.Context, mg resource.Managed) (managed.ExternalUpdate, error)
Update implements managed.ExternalClient.
Click to show internal directories.
Click to hide internal directories.