v1alpha1

package
v0.49.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=me.ovh.edixos.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "me.ovh.edixos.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Group_Kind             = "Group"
	Group_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Group_Kind}.String()
	Group_KindAPIVersion   = Group_Kind + "." + CRDGroupVersion.String()
	Group_GroupVersionKind = CRDGroupVersion.WithKind(Group_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Oauth2Client_Kind             = "Oauth2Client"
	Oauth2Client_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Oauth2Client_Kind}.String()
	Oauth2Client_KindAPIVersion   = Oauth2Client_Kind + "." + CRDGroupVersion.String()
	Oauth2Client_GroupVersionKind = CRDGroupVersion.WithKind(Oauth2Client_Kind)
)

Repository type metadata.

View Source
var (
	User_Kind             = "User"
	User_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: User_Kind}.String()
	User_KindAPIVersion   = User_Kind + "." + CRDGroupVersion.String()
	User_GroupVersionKind = CRDGroupVersion.WithKind(User_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Group

type Group struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   GroupSpec   `json:"spec"`
	Status GroupStatus `json:"status,omitempty"`
}

Group is the Schema for the Groups API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,lb}

func (*Group) DeepCopy

func (in *Group) DeepCopy() *Group

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Group.

func (*Group) DeepCopyInto

func (in *Group) DeepCopyInto(out *Group)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Group) DeepCopyObject

func (in *Group) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Group) GetCondition

func (mg *Group) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Group.

func (*Group) GetConnectionDetailsMapping

func (tr *Group) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Group

func (*Group) GetDeletionPolicy

func (mg *Group) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Group.

func (*Group) GetID

func (tr *Group) GetID() string

GetID returns ID of underlying Terraform resource of this Group

func (*Group) GetInitParameters

func (tr *Group) GetInitParameters() (map[string]any, error)

GetInitParameters of this Group

func (*Group) GetManagementPolicies

func (mg *Group) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Group.

func (*Group) GetMergedParameters added in v0.39.0

func (tr *Group) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Group

func (*Group) GetObservation

func (tr *Group) GetObservation() (map[string]any, error)

GetObservation of this Group

func (*Group) GetParameters

func (tr *Group) GetParameters() (map[string]any, error)

GetParameters of this Group

func (*Group) GetProviderConfigReference

func (mg *Group) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Group.

func (*Group) GetPublishConnectionDetailsTo

func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Group.

func (*Group) GetTerraformResourceType

func (mg *Group) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Group

func (*Group) GetTerraformSchemaVersion

func (tr *Group) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Group) GetWriteConnectionSecretToReference

func (mg *Group) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Group.

func (*Group) Hub added in v0.39.0

func (tr *Group) Hub()

Hub marks this type as a conversion hub.

func (*Group) LateInitialize

func (tr *Group) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Group using its observed tfState. returns True if there are any spec changes for the resource.

func (*Group) SetConditions

func (mg *Group) SetConditions(c ...xpv1.Condition)

SetConditions of this Group.

func (*Group) SetDeletionPolicy

func (mg *Group) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Group.

func (*Group) SetManagementPolicies

func (mg *Group) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Group.

func (*Group) SetObservation

func (tr *Group) SetObservation(obs map[string]any) error

SetObservation for this Group

func (*Group) SetParameters

func (tr *Group) SetParameters(params map[string]any) error

SetParameters for this Group

func (*Group) SetProviderConfigReference

func (mg *Group) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Group.

func (*Group) SetPublishConnectionDetailsTo

func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Group.

func (*Group) SetWriteConnectionSecretToReference

func (mg *Group) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Group.

type GroupInitParameters

type GroupInitParameters struct {
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	Role *string `json:"role,omitempty" tf:"role,omitempty"`
}

func (*GroupInitParameters) DeepCopy

func (in *GroupInitParameters) DeepCopy() *GroupInitParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupInitParameters.

func (*GroupInitParameters) DeepCopyInto

func (in *GroupInitParameters) DeepCopyInto(out *GroupInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GroupList

type GroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Group `json:"items"`
}

GroupList contains a list of Groups

func (*GroupList) DeepCopy

func (in *GroupList) DeepCopy() *GroupList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupList.

func (*GroupList) DeepCopyInto

func (in *GroupList) DeepCopyInto(out *GroupList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GroupList) DeepCopyObject

func (in *GroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*GroupList) GetItems

func (l *GroupList) GetItems() []resource.Managed

GetItems of this GroupList.

type GroupObservation

type GroupObservation struct {
	Creation *string `json:"creation,omitempty" tf:"creation,omitempty"`

	DefaultGroup *bool `json:"defaultGroup,omitempty" tf:"default_group,omitempty"`

	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	LastUpdate *string `json:"lastUpdate,omitempty" tf:"last_update,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	Urn *string `json:"urn,omitempty" tf:"urn,omitempty"`
}

func (*GroupObservation) DeepCopy

func (in *GroupObservation) DeepCopy() *GroupObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupObservation.

func (*GroupObservation) DeepCopyInto

func (in *GroupObservation) DeepCopyInto(out *GroupObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GroupParameters

type GroupParameters struct {

	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`
}

func (*GroupParameters) DeepCopy

func (in *GroupParameters) DeepCopy() *GroupParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupParameters.

func (*GroupParameters) DeepCopyInto

func (in *GroupParameters) DeepCopyInto(out *GroupParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GroupSpec

type GroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     GroupParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider GroupInitParameters `json:"initProvider,omitempty"`
}

GroupSpec defines the desired state of Group

func (*GroupSpec) DeepCopy

func (in *GroupSpec) DeepCopy() *GroupSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSpec.

func (*GroupSpec) DeepCopyInto

func (in *GroupSpec) DeepCopyInto(out *GroupSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GroupStatus

type GroupStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        GroupObservation `json:"atProvider,omitempty"`
}

GroupStatus defines the observed state of Group.

func (*GroupStatus) DeepCopy

func (in *GroupStatus) DeepCopy() *GroupStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupStatus.

func (*GroupStatus) DeepCopyInto

func (in *GroupStatus) DeepCopyInto(out *GroupStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Oauth2Client added in v0.1.4

type Oauth2Client struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || (has(self.initProvider) && has(self.initProvider.description))",message="spec.forProvider.description is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.flow) || (has(self.initProvider) && has(self.initProvider.flow))",message="spec.forProvider.flow is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   Oauth2ClientSpec   `json:"spec"`
	Status Oauth2ClientStatus `json:"status,omitempty"`
}

Oauth2Client is the Schema for the Oauth2Clients API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,lb}

func (*Oauth2Client) DeepCopy added in v0.1.4

func (in *Oauth2Client) DeepCopy() *Oauth2Client

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2Client.

func (*Oauth2Client) DeepCopyInto added in v0.1.4

func (in *Oauth2Client) DeepCopyInto(out *Oauth2Client)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Oauth2Client) DeepCopyObject added in v0.1.4

func (in *Oauth2Client) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Oauth2Client) GetCondition added in v0.1.4

func (mg *Oauth2Client) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Oauth2Client.

func (*Oauth2Client) GetConnectionDetailsMapping added in v0.1.4

func (tr *Oauth2Client) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Oauth2Client

func (*Oauth2Client) GetDeletionPolicy added in v0.1.4

func (mg *Oauth2Client) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Oauth2Client.

func (*Oauth2Client) GetID added in v0.1.4

func (tr *Oauth2Client) GetID() string

GetID returns ID of underlying Terraform resource of this Oauth2Client

func (*Oauth2Client) GetInitParameters added in v0.1.4

func (tr *Oauth2Client) GetInitParameters() (map[string]any, error)

GetInitParameters of this Oauth2Client

func (*Oauth2Client) GetManagementPolicies added in v0.1.4

func (mg *Oauth2Client) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Oauth2Client.

func (*Oauth2Client) GetMergedParameters added in v0.39.0

func (tr *Oauth2Client) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Oauth2Client

func (*Oauth2Client) GetObservation added in v0.1.4

func (tr *Oauth2Client) GetObservation() (map[string]any, error)

GetObservation of this Oauth2Client

func (*Oauth2Client) GetParameters added in v0.1.4

func (tr *Oauth2Client) GetParameters() (map[string]any, error)

GetParameters of this Oauth2Client

func (*Oauth2Client) GetProviderConfigReference added in v0.1.4

func (mg *Oauth2Client) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Oauth2Client.

func (*Oauth2Client) GetPublishConnectionDetailsTo added in v0.1.4

func (mg *Oauth2Client) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Oauth2Client.

func (*Oauth2Client) GetTerraformResourceType added in v0.1.4

func (mg *Oauth2Client) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Oauth2Client

func (*Oauth2Client) GetTerraformSchemaVersion added in v0.1.4

func (tr *Oauth2Client) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Oauth2Client) GetWriteConnectionSecretToReference added in v0.1.4

func (mg *Oauth2Client) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Oauth2Client.

func (*Oauth2Client) Hub added in v0.39.0

func (tr *Oauth2Client) Hub()

Hub marks this type as a conversion hub.

func (*Oauth2Client) LateInitialize added in v0.1.4

func (tr *Oauth2Client) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Oauth2Client using its observed tfState. returns True if there are any spec changes for the resource.

func (*Oauth2Client) SetConditions added in v0.1.4

func (mg *Oauth2Client) SetConditions(c ...xpv1.Condition)

SetConditions of this Oauth2Client.

func (*Oauth2Client) SetDeletionPolicy added in v0.1.4

func (mg *Oauth2Client) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Oauth2Client.

func (*Oauth2Client) SetManagementPolicies added in v0.1.4

func (mg *Oauth2Client) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Oauth2Client.

func (*Oauth2Client) SetObservation added in v0.1.4

func (tr *Oauth2Client) SetObservation(obs map[string]any) error

SetObservation for this Oauth2Client

func (*Oauth2Client) SetParameters added in v0.1.4

func (tr *Oauth2Client) SetParameters(params map[string]any) error

SetParameters for this Oauth2Client

func (*Oauth2Client) SetProviderConfigReference added in v0.1.4

func (mg *Oauth2Client) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Oauth2Client.

func (*Oauth2Client) SetPublishConnectionDetailsTo added in v0.1.4

func (mg *Oauth2Client) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Oauth2Client.

func (*Oauth2Client) SetWriteConnectionSecretToReference added in v0.1.4

func (mg *Oauth2Client) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Oauth2Client.

type Oauth2ClientInitParameters added in v0.1.4

type Oauth2ClientInitParameters struct {

	// Callback URLs of the applications using this oauth2 client. Required if using the AUTHORIZATION_CODE flow.
	CallbackUrls []*string `json:"callbackUrls,omitempty" tf:"callback_urls,omitempty"`

	// A description of your oauth2 client.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// OAuth2 flow type implemented for this oauth2 client. Can be either AUTHORIZATION_CODE or CLIENT_CREDENTIALS
	Flow *string `json:"flow,omitempty" tf:"flow,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*Oauth2ClientInitParameters) DeepCopy added in v0.1.4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ClientInitParameters.

func (*Oauth2ClientInitParameters) DeepCopyInto added in v0.1.4

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Oauth2ClientList added in v0.1.4

type Oauth2ClientList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Oauth2Client `json:"items"`
}

Oauth2ClientList contains a list of Oauth2Clients

func (*Oauth2ClientList) DeepCopy added in v0.1.4

func (in *Oauth2ClientList) DeepCopy() *Oauth2ClientList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ClientList.

func (*Oauth2ClientList) DeepCopyInto added in v0.1.4

func (in *Oauth2ClientList) DeepCopyInto(out *Oauth2ClientList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Oauth2ClientList) DeepCopyObject added in v0.1.4

func (in *Oauth2ClientList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Oauth2ClientList) GetItems added in v0.1.4

func (l *Oauth2ClientList) GetItems() []resource.Managed

GetItems of this Oauth2ClientList.

type Oauth2ClientObservation added in v0.1.4

type Oauth2ClientObservation struct {

	// Callback URLs of the applications using this oauth2 client. Required if using the AUTHORIZATION_CODE flow.
	CallbackUrls []*string `json:"callbackUrls,omitempty" tf:"callback_urls,omitempty"`

	// Client ID for the oauth2 client, generated during the resource creation.
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// A description of your oauth2 client.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// OAuth2 flow type implemented for this oauth2 client. Can be either AUTHORIZATION_CODE or CLIENT_CREDENTIALS
	Flow *string `json:"flow,omitempty" tf:"flow,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// URN that will allow you to associate this oauth2 client with an access policy
	Identity *string `json:"identity,omitempty" tf:"identity,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*Oauth2ClientObservation) DeepCopy added in v0.1.4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ClientObservation.

func (*Oauth2ClientObservation) DeepCopyInto added in v0.1.4

func (in *Oauth2ClientObservation) DeepCopyInto(out *Oauth2ClientObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Oauth2ClientParameters added in v0.1.4

type Oauth2ClientParameters struct {

	// Callback URLs of the applications using this oauth2 client. Required if using the AUTHORIZATION_CODE flow.
	// +kubebuilder:validation:Optional
	CallbackUrls []*string `json:"callbackUrls,omitempty" tf:"callback_urls,omitempty"`

	// A description of your oauth2 client.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// OAuth2 flow type implemented for this oauth2 client. Can be either AUTHORIZATION_CODE or CLIENT_CREDENTIALS
	// +kubebuilder:validation:Optional
	Flow *string `json:"flow,omitempty" tf:"flow,omitempty"`

	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*Oauth2ClientParameters) DeepCopy added in v0.1.4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ClientParameters.

func (*Oauth2ClientParameters) DeepCopyInto added in v0.1.4

func (in *Oauth2ClientParameters) DeepCopyInto(out *Oauth2ClientParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Oauth2ClientSpec added in v0.1.4

type Oauth2ClientSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     Oauth2ClientParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider Oauth2ClientInitParameters `json:"initProvider,omitempty"`
}

Oauth2ClientSpec defines the desired state of Oauth2Client

func (*Oauth2ClientSpec) DeepCopy added in v0.1.4

func (in *Oauth2ClientSpec) DeepCopy() *Oauth2ClientSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ClientSpec.

func (*Oauth2ClientSpec) DeepCopyInto added in v0.1.4

func (in *Oauth2ClientSpec) DeepCopyInto(out *Oauth2ClientSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Oauth2ClientStatus added in v0.1.4

type Oauth2ClientStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        Oauth2ClientObservation `json:"atProvider,omitempty"`
}

Oauth2ClientStatus defines the observed state of Oauth2Client.

func (*Oauth2ClientStatus) DeepCopy added in v0.1.4

func (in *Oauth2ClientStatus) DeepCopy() *Oauth2ClientStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ClientStatus.

func (*Oauth2ClientStatus) DeepCopyInto added in v0.1.4

func (in *Oauth2ClientStatus) DeepCopyInto(out *Oauth2ClientStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type User

type User struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.email) || (has(self.initProvider) && has(self.initProvider.email))",message="spec.forProvider.email is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.login) || (has(self.initProvider) && has(self.initProvider.login))",message="spec.forProvider.login is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.passwordSecretRef)",message="spec.forProvider.passwordSecretRef is a required parameter"
	Spec   UserSpec   `json:"spec"`
	Status UserStatus `json:"status,omitempty"`
}

User is the Schema for the Users API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,lb}

func (*User) DeepCopy

func (in *User) DeepCopy() *User

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*User) DeepCopyObject

func (in *User) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*User) GetCondition

func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this User.

func (*User) GetConnectionDetailsMapping

func (tr *User) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this User

func (*User) GetDeletionPolicy

func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this User.

func (*User) GetID

func (tr *User) GetID() string

GetID returns ID of underlying Terraform resource of this User

func (*User) GetInitParameters

func (tr *User) GetInitParameters() (map[string]any, error)

GetInitParameters of this User

func (*User) GetManagementPolicies

func (mg *User) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this User.

func (*User) GetMergedParameters added in v0.39.0

func (tr *User) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this User

func (*User) GetObservation

func (tr *User) GetObservation() (map[string]any, error)

GetObservation of this User

func (*User) GetParameters

func (tr *User) GetParameters() (map[string]any, error)

GetParameters of this User

func (*User) GetProviderConfigReference

func (mg *User) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this User.

func (*User) GetPublishConnectionDetailsTo

func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this User.

func (*User) GetTerraformResourceType

func (mg *User) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this User

func (*User) GetTerraformSchemaVersion

func (tr *User) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*User) GetWriteConnectionSecretToReference

func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this User.

func (*User) Hub added in v0.39.0

func (tr *User) Hub()

Hub marks this type as a conversion hub.

func (*User) LateInitialize

func (tr *User) LateInitialize(attrs []byte) (bool, error)

LateInitialize this User using its observed tfState. returns True if there are any spec changes for the resource.

func (*User) ResolveReferences

func (mg *User) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this User.

func (*User) SetConditions

func (mg *User) SetConditions(c ...xpv1.Condition)

SetConditions of this User.

func (*User) SetDeletionPolicy

func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this User.

func (*User) SetManagementPolicies

func (mg *User) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this User.

func (*User) SetObservation

func (tr *User) SetObservation(obs map[string]any) error

SetObservation for this User

func (*User) SetParameters

func (tr *User) SetParameters(params map[string]any) error

SetParameters for this User

func (*User) SetProviderConfigReference

func (mg *User) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this User.

func (*User) SetPublishConnectionDetailsTo

func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this User.

func (*User) SetWriteConnectionSecretToReference

func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this User.

type UserInitParameters

type UserInitParameters struct {

	// User description
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// User's email
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// User's group
	// +crossplane:generate:reference:type=github.com/edixos/provider-ovh/apis/me/v1alpha1.Group
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	// Reference to a Group in me to populate group.
	// +kubebuilder:validation:Optional
	GroupRef *v1.Reference `json:"groupRef,omitempty" tf:"-"`

	// Selector for a Group in me to populate group.
	// +kubebuilder:validation:Optional
	GroupSelector *v1.Selector `json:"groupSelector,omitempty" tf:"-"`

	// User's login suffix
	Login *string `json:"login,omitempty" tf:"login,omitempty"`
}

func (*UserInitParameters) DeepCopy

func (in *UserInitParameters) DeepCopy() *UserInitParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInitParameters.

func (*UserInitParameters) DeepCopyInto

func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserList

type UserList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []User `json:"items"`
}

UserList contains a list of Users

func (*UserList) DeepCopy

func (in *UserList) DeepCopy() *UserList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.

func (*UserList) DeepCopyInto

func (in *UserList) DeepCopyInto(out *UserList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UserList) DeepCopyObject

func (in *UserList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*UserList) GetItems

func (l *UserList) GetItems() []resource.Managed

GetItems of this UserList.

type UserObservation

type UserObservation struct {

	// Creation date of this user
	Creation *string `json:"creation,omitempty" tf:"creation,omitempty"`

	// User description
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// User's email
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// User's group
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Last update of this user
	LastUpdate *string `json:"lastUpdate,omitempty" tf:"last_update,omitempty"`

	// User's login suffix
	Login *string `json:"login,omitempty" tf:"login,omitempty"`

	// When the user changed his password for the last time
	PasswordLastUpdate *string `json:"passwordLastUpdate,omitempty" tf:"password_last_update,omitempty"`

	// Current user's status
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	Urn *string `json:"urn,omitempty" tf:"urn,omitempty"`
}

func (*UserObservation) DeepCopy

func (in *UserObservation) DeepCopy() *UserObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserObservation.

func (*UserObservation) DeepCopyInto

func (in *UserObservation) DeepCopyInto(out *UserObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserParameters

type UserParameters struct {

	// User description
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// User's email
	// +kubebuilder:validation:Optional
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// User's group
	// +crossplane:generate:reference:type=github.com/edixos/provider-ovh/apis/me/v1alpha1.Group
	// +kubebuilder:validation:Optional
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	// Reference to a Group in me to populate group.
	// +kubebuilder:validation:Optional
	GroupRef *v1.Reference `json:"groupRef,omitempty" tf:"-"`

	// Selector for a Group in me to populate group.
	// +kubebuilder:validation:Optional
	GroupSelector *v1.Selector `json:"groupSelector,omitempty" tf:"-"`

	// User's login suffix
	// +kubebuilder:validation:Optional
	Login *string `json:"login,omitempty" tf:"login,omitempty"`

	// User's password
	// +kubebuilder:validation:Optional
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`
}

func (*UserParameters) DeepCopy

func (in *UserParameters) DeepCopy() *UserParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserParameters.

func (*UserParameters) DeepCopyInto

func (in *UserParameters) DeepCopyInto(out *UserParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserSpec

type UserSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     UserParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider UserInitParameters `json:"initProvider,omitempty"`
}

UserSpec defines the desired state of User

func (*UserSpec) DeepCopy

func (in *UserSpec) DeepCopy() *UserSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.

func (*UserSpec) DeepCopyInto

func (in *UserSpec) DeepCopyInto(out *UserSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserStatus

type UserStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        UserObservation `json:"atProvider,omitempty"`
}

UserStatus defines the observed state of User.

func (*UserStatus) DeepCopy

func (in *UserStatus) DeepCopy() *UserStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserStatus.

func (*UserStatus) DeepCopyInto

func (in *UserStatus) DeepCopyInto(out *UserStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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