Documentation ¶
Index ¶
- Constants
- func ExecuteRequest(ctx context.Context, method, host, path, access_key, access_secret string, ...) (*http.Response, error)
- func SetupController(mgr ctrl.Manager) error
- func SetupWebhook(mgr ctrl.Manager) error
- type IAMKeyPipeline
- func (p *IAMKeyPipeline) Create(ctx context.Context, mg resource.Managed) (managed.ExternalCreation, error)
- func (p *IAMKeyPipeline) Delete(ctx context.Context, mg resource.Managed) error
- func (p *IAMKeyPipeline) Observe(ctx context.Context, mg resource.Managed) (managed.ExternalObservation, error)
- func (p *IAMKeyPipeline) Update(ctx context.Context, mg resource.Managed) (managed.ExternalUpdate, error)
- type IAMKeyValidator
- type IamKeysList
- type IamRolesList
Constants ¶
View Source
const ( // KeyIDAnnotationKey is the annotation key where the IAMKey ID is stored. KeyIDAnnotationKey = "exoscale.crossplane.io/key-id" RoleIDAnnotationKey = "exoscale.crossplane.io/role-id" // BucketResourceType is the resource type bucket to which the IAMKey has access to. BucketResourceType = "bucket" //SOSResourceDomain is the resource domain to which the IAMKey has access to. SOSResourceDomain = "sos" )
Variables ¶
This section is empty.
Functions ¶
func ExecuteRequest ¶ added in v0.10.0
func SetupController ¶
SetupController adds a controller that reconciles exoscalev1.IAMKey managed resources.
func SetupWebhook ¶
SetupWebhook adds a webhook for Bucket managed resources.
Types ¶
type IAMKeyPipeline ¶
type IAMKeyPipeline struct {
// contains filtered or unexported fields
}
IAMKeyPipeline provisions IAMKeys on exoscale.com
func NewPipeline ¶
func NewPipeline(client client.Client, recorder event.Recorder, exoscaleClient *exoscalesdk.Client, apiKey, apiSecret string) *IAMKeyPipeline
NewPipeline returns a new instance of IAMKeyPipeline.
func (*IAMKeyPipeline) Create ¶
func (p *IAMKeyPipeline) Create(ctx context.Context, mg resource.Managed) (managed.ExternalCreation, error)
Create implements managed.ExternalClient.
func (*IAMKeyPipeline) Observe ¶
func (p *IAMKeyPipeline) Observe(ctx context.Context, mg resource.Managed) (managed.ExternalObservation, error)
Observe implements managed.ExternalClient.
func (*IAMKeyPipeline) Update ¶
func (p *IAMKeyPipeline) Update(ctx context.Context, mg resource.Managed) (managed.ExternalUpdate, error)
Update implements managed.ExternalClient. exoscale.com does not allow any updates on IAM keys.
type IAMKeyValidator ¶
type IAMKeyValidator struct {
// contains filtered or unexported fields
}
IAMKeyValidator validates admission requests.
func (*IAMKeyValidator) ValidateCreate ¶
ValidateCreate implements admission.CustomValidator.
func (*IAMKeyValidator) ValidateDelete ¶
ValidateDelete implements admission.CustomValidator.
func (*IAMKeyValidator) ValidateUpdate ¶
ValidateUpdate implements admission.CustomValidator.
type IamKeysList ¶ added in v0.10.0
type IamRolesList ¶ added in v0.10.0
Click to show internal directories.
Click to hide internal directories.