v1alpha1

package
v0.0.0-...-73c97c3 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=meidentityuser.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "meidentityuser.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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 (
	IdentityUser_Kind             = "IdentityUser"
	IdentityUser_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: IdentityUser_Kind}.String()
	IdentityUser_KindAPIVersion   = IdentityUser_Kind + "." + CRDGroupVersion.String()
	IdentityUser_GroupVersionKind = CRDGroupVersion.WithKind(IdentityUser_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type IdentityUser

type IdentityUser 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   IdentityUserSpec   `json:"spec"`
	Status IdentityUserStatus `json:"status,omitempty"`
}

IdentityUser is the Schema for the IdentityUsers 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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,ovh}

func (*IdentityUser) DeepCopy

func (in *IdentityUser) DeepCopy() *IdentityUser

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

func (*IdentityUser) DeepCopyInto

func (in *IdentityUser) DeepCopyInto(out *IdentityUser)

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

func (*IdentityUser) DeepCopyObject

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

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

func (*IdentityUser) GetCondition

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

GetCondition of this IdentityUser.

func (*IdentityUser) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this IdentityUser

func (*IdentityUser) GetDeletionPolicy

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

GetDeletionPolicy of this IdentityUser.

func (*IdentityUser) GetID

func (tr *IdentityUser) GetID() string

GetID returns ID of underlying Terraform resource of this IdentityUser

func (*IdentityUser) GetInitParameters

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

GetInitParameters of this IdentityUser

func (*IdentityUser) GetManagementPolicies

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

GetManagementPolicies of this IdentityUser.

func (*IdentityUser) GetObservation

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

GetObservation of this IdentityUser

func (*IdentityUser) GetParameters

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

GetParameters of this IdentityUser

func (*IdentityUser) GetProviderConfigReference

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

GetProviderConfigReference of this IdentityUser.

func (*IdentityUser) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this IdentityUser.

func (*IdentityUser) GetTerraformResourceType

func (mg *IdentityUser) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this IdentityUser

func (*IdentityUser) GetTerraformSchemaVersion

func (tr *IdentityUser) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*IdentityUser) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this IdentityUser.

func (*IdentityUser) LateInitialize

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

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

func (*IdentityUser) SetConditions

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

SetConditions of this IdentityUser.

func (*IdentityUser) SetDeletionPolicy

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

SetDeletionPolicy of this IdentityUser.

func (*IdentityUser) SetManagementPolicies

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

SetManagementPolicies of this IdentityUser.

func (*IdentityUser) SetObservation

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

SetObservation for this IdentityUser

func (*IdentityUser) SetParameters

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

SetParameters for this IdentityUser

func (*IdentityUser) SetProviderConfigReference

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

SetProviderConfigReference of this IdentityUser.

func (*IdentityUser) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this IdentityUser.

func (*IdentityUser) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this IdentityUser.

type IdentityUserInitParameters

type IdentityUserInitParameters 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
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

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

func (*IdentityUserInitParameters) DeepCopy

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

func (*IdentityUserInitParameters) DeepCopyInto

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

type IdentityUserList

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

IdentityUserList contains a list of IdentityUsers

func (*IdentityUserList) DeepCopy

func (in *IdentityUserList) DeepCopy() *IdentityUserList

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

func (*IdentityUserList) DeepCopyInto

func (in *IdentityUserList) DeepCopyInto(out *IdentityUserList)

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

func (*IdentityUserList) DeepCopyObject

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

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

func (*IdentityUserList) GetItems

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

GetItems of this IdentityUserList.

type IdentityUserObservation

type IdentityUserObservation 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 (*IdentityUserObservation) DeepCopy

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

func (*IdentityUserObservation) DeepCopyInto

func (in *IdentityUserObservation) DeepCopyInto(out *IdentityUserObservation)

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

type IdentityUserParameters

type IdentityUserParameters 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
	// +kubebuilder:validation:Optional
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	// 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 (*IdentityUserParameters) DeepCopy

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

func (*IdentityUserParameters) DeepCopyInto

func (in *IdentityUserParameters) DeepCopyInto(out *IdentityUserParameters)

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

type IdentityUserSpec

type IdentityUserSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     IdentityUserParameters `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 IdentityUserInitParameters `json:"initProvider,omitempty"`
}

IdentityUserSpec defines the desired state of IdentityUser

func (*IdentityUserSpec) DeepCopy

func (in *IdentityUserSpec) DeepCopy() *IdentityUserSpec

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

func (*IdentityUserSpec) DeepCopyInto

func (in *IdentityUserSpec) DeepCopyInto(out *IdentityUserSpec)

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

type IdentityUserStatus

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

IdentityUserStatus defines the observed state of IdentityUser.

func (*IdentityUserStatus) DeepCopy

func (in *IdentityUserStatus) DeepCopy() *IdentityUserStatus

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

func (*IdentityUserStatus) DeepCopyInto

func (in *IdentityUserStatus) DeepCopyInto(out *IdentityUserStatus)

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