v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Groups_Kind             = "Groups"
	Groups_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Groups_Kind}.String()
	Groups_KindAPIVersion   = Groups_Kind + "." + CRDGroupVersion.String()
	Groups_GroupVersionKind = CRDGroupVersion.WithKind(Groups_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 (
	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 FederatedIdentityInitParameters added in v0.5.0

type FederatedIdentityInitParameters struct {

	// The name of the identity provider
	IdentityProvider *string `json:"identityProvider,omitempty" tf:"identity_provider,omitempty"`

	// The ID of the user defined in the identity provider
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`

	// The user name of the user defined in the identity provider
	UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"`
}

func (*FederatedIdentityInitParameters) DeepCopy added in v0.5.0

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

func (*FederatedIdentityInitParameters) DeepCopyInto added in v0.5.0

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

type FederatedIdentityObservation

type FederatedIdentityObservation struct {

	// The name of the identity provider
	IdentityProvider *string `json:"identityProvider,omitempty" tf:"identity_provider,omitempty"`

	// The ID of the user defined in the identity provider
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`

	// The user name of the user defined in the identity provider
	UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"`
}

func (*FederatedIdentityObservation) DeepCopy

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

func (*FederatedIdentityObservation) DeepCopyInto

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

type FederatedIdentityParameters

type FederatedIdentityParameters struct {

	// The name of the identity provider
	// +kubebuilder:validation:Optional
	IdentityProvider *string `json:"identityProvider" tf:"identity_provider,omitempty"`

	// The ID of the user defined in the identity provider
	// +kubebuilder:validation:Optional
	UserID *string `json:"userId" tf:"user_id,omitempty"`

	// The user name of the user defined in the identity provider
	// +kubebuilder:validation:Optional
	UserName *string `json:"userName" tf:"user_name,omitempty"`
}

func (*FederatedIdentityParameters) DeepCopy

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

func (*FederatedIdentityParameters) DeepCopyInto

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

type Groups added in v0.2.0

type Groups struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GroupsSpec   `json:"spec"`
	Status            GroupsStatus `json:"status,omitempty"`
}

Groups is the Schema for the Groupss API. +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,keycloak}

func (*Groups) DeepCopy added in v0.2.0

func (in *Groups) DeepCopy() *Groups

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

func (*Groups) DeepCopyInto added in v0.2.0

func (in *Groups) DeepCopyInto(out *Groups)

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

func (*Groups) DeepCopyObject added in v0.2.0

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

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

func (*Groups) GetCondition added in v0.2.0

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

GetCondition of this Groups.

func (*Groups) GetConnectionDetailsMapping added in v0.2.0

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

GetConnectionDetailsMapping for this Groups

func (*Groups) GetDeletionPolicy added in v0.2.0

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

GetDeletionPolicy of this Groups.

func (*Groups) GetID added in v0.2.0

func (tr *Groups) GetID() string

GetID returns ID of underlying Terraform resource of this Groups

func (*Groups) GetInitParameters added in v0.5.0

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

GetInitParameters of this Groups

func (*Groups) GetManagementPolicies added in v0.2.0

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

GetManagementPolicies of this Groups.

func (*Groups) GetObservation added in v0.2.0

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

GetObservation of this Groups

func (*Groups) GetParameters added in v0.2.0

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

GetParameters of this Groups

func (*Groups) GetProviderConfigReference added in v0.2.0

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

GetProviderConfigReference of this Groups.

func (*Groups) GetPublishConnectionDetailsTo added in v0.2.0

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

GetPublishConnectionDetailsTo of this Groups.

func (*Groups) GetTerraformResourceType added in v0.2.0

func (mg *Groups) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Groups

func (*Groups) GetTerraformSchemaVersion added in v0.2.0

func (tr *Groups) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Groups) GetWriteConnectionSecretToReference added in v0.2.0

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

GetWriteConnectionSecretToReference of this Groups.

func (*Groups) LateInitialize added in v0.2.0

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

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

func (*Groups) ResolveReferences added in v0.2.0

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

ResolveReferences of this Groups.

func (*Groups) SetConditions added in v0.2.0

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

SetConditions of this Groups.

func (*Groups) SetDeletionPolicy added in v0.2.0

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

SetDeletionPolicy of this Groups.

func (*Groups) SetManagementPolicies added in v0.2.0

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

SetManagementPolicies of this Groups.

func (*Groups) SetObservation added in v0.2.0

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

SetObservation for this Groups

func (*Groups) SetParameters added in v0.2.0

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

SetParameters for this Groups

func (*Groups) SetProviderConfigReference added in v0.2.0

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

SetProviderConfigReference of this Groups.

func (*Groups) SetPublishConnectionDetailsTo added in v0.2.0

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

SetPublishConnectionDetailsTo of this Groups.

func (*Groups) SetWriteConnectionSecretToReference added in v0.2.0

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

SetWriteConnectionSecretToReference of this Groups.

type GroupsInitParameters added in v0.5.0

type GroupsInitParameters struct {

	// Indicates if the list of the user's groups is exhaustive. In this case, groups that are manually added to the user will be removed. Defaults to true.
	Exhaustive *bool `json:"exhaustive,omitempty" tf:"exhaustive,omitempty"`
}

func (*GroupsInitParameters) DeepCopy added in v0.5.0

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

func (*GroupsInitParameters) DeepCopyInto added in v0.5.0

func (in *GroupsInitParameters) DeepCopyInto(out *GroupsInitParameters)

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

type GroupsList added in v0.2.0

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

GroupsList contains a list of Groupss

func (*GroupsList) DeepCopy added in v0.2.0

func (in *GroupsList) DeepCopy() *GroupsList

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

func (*GroupsList) DeepCopyInto added in v0.2.0

func (in *GroupsList) DeepCopyInto(out *GroupsList)

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

func (*GroupsList) DeepCopyObject added in v0.2.0

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

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

func (*GroupsList) GetItems added in v0.2.0

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

GetItems of this GroupsList.

type GroupsObservation added in v0.2.0

type GroupsObservation struct {

	// Indicates if the list of the user's groups is exhaustive. In this case, groups that are manually added to the user will be removed. Defaults to true.
	Exhaustive *bool `json:"exhaustive,omitempty" tf:"exhaustive,omitempty"`

	// A list of group IDs that the user is member of.
	GroupIds []*string `json:"groupIds,omitempty" tf:"group_ids,omitempty"`

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

	// The realm this group exists in.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// The ID of the user this resource should manage groups for.
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`
}

func (*GroupsObservation) DeepCopy added in v0.2.0

func (in *GroupsObservation) DeepCopy() *GroupsObservation

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

func (*GroupsObservation) DeepCopyInto added in v0.2.0

func (in *GroupsObservation) DeepCopyInto(out *GroupsObservation)

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

type GroupsParameters added in v0.2.0

type GroupsParameters struct {

	// Indicates if the list of the user's groups is exhaustive. In this case, groups that are manually added to the user will be removed. Defaults to true.
	// +kubebuilder:validation:Optional
	Exhaustive *bool `json:"exhaustive,omitempty" tf:"exhaustive,omitempty"`

	// A list of group IDs that the user is member of.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/group/v1alpha1.Group
	// +kubebuilder:validation:Optional
	GroupIds []*string `json:"groupIds,omitempty" tf:"group_ids,omitempty"`

	// References to Group in group to populate groupIds.
	// +kubebuilder:validation:Optional
	GroupIdsRefs []v1.Reference `json:"groupIdsRefs,omitempty" tf:"-"`

	// Selector for a list of Group in group to populate groupIds.
	// +kubebuilder:validation:Optional
	GroupIdsSelector *v1.Selector `json:"groupIdsSelector,omitempty" tf:"-"`

	// The realm this group exists in.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	// +kubebuilder:validation:Optional
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// Reference to a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDRef *v1.Reference `json:"realmIdRef,omitempty" tf:"-"`

	// Selector for a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDSelector *v1.Selector `json:"realmIdSelector,omitempty" tf:"-"`

	// The ID of the user this resource should manage groups for.
	// +crossplane:generate:reference:type=User
	// +kubebuilder:validation:Optional
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`

	// Reference to a User to populate userId.
	// +kubebuilder:validation:Optional
	UserIDRef *v1.Reference `json:"userIdRef,omitempty" tf:"-"`

	// Selector for a User to populate userId.
	// +kubebuilder:validation:Optional
	UserIDSelector *v1.Selector `json:"userIdSelector,omitempty" tf:"-"`
}

func (*GroupsParameters) DeepCopy added in v0.2.0

func (in *GroupsParameters) DeepCopy() *GroupsParameters

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

func (*GroupsParameters) DeepCopyInto added in v0.2.0

func (in *GroupsParameters) DeepCopyInto(out *GroupsParameters)

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

type GroupsSpec added in v0.2.0

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

GroupsSpec defines the desired state of Groups

func (*GroupsSpec) DeepCopy added in v0.2.0

func (in *GroupsSpec) DeepCopy() *GroupsSpec

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

func (*GroupsSpec) DeepCopyInto added in v0.2.0

func (in *GroupsSpec) DeepCopyInto(out *GroupsSpec)

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

type GroupsStatus added in v0.2.0

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

GroupsStatus defines the observed state of Groups.

func (*GroupsStatus) DeepCopy added in v0.2.0

func (in *GroupsStatus) DeepCopy() *GroupsStatus

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

func (*GroupsStatus) DeepCopyInto added in v0.2.0

func (in *GroupsStatus) DeepCopyInto(out *GroupsStatus)

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

type InitialPasswordInitParameters added in v0.5.0

type InitialPasswordInitParameters struct {

	// If set to true, the initial password is set up for renewal on first use. Default to false.
	Temporary *bool `json:"temporary,omitempty" tf:"temporary,omitempty"`
}

func (*InitialPasswordInitParameters) DeepCopy added in v0.5.0

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

func (*InitialPasswordInitParameters) DeepCopyInto added in v0.5.0

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

type InitialPasswordObservation

type InitialPasswordObservation struct {

	// If set to true, the initial password is set up for renewal on first use. Default to false.
	Temporary *bool `json:"temporary,omitempty" tf:"temporary,omitempty"`
}

func (*InitialPasswordObservation) DeepCopy

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

func (*InitialPasswordObservation) DeepCopyInto

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

type InitialPasswordParameters

type InitialPasswordParameters struct {

	// If set to true, the initial password is set up for renewal on first use. Default to false.
	// +kubebuilder:validation:Optional
	Temporary *bool `json:"temporary,omitempty" tf:"temporary,omitempty"`

	// The initial password.
	// +kubebuilder:validation:Required
	ValueSecretRef v1.SecretKeySelector `json:"valueSecretRef" tf:"-"`
}

func (*InitialPasswordParameters) DeepCopy

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

func (*InitialPasswordParameters) DeepCopyInto

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.username) || (has(self.initProvider) && has(self.initProvider.username))",message="spec.forProvider.username is a required parameter"
	Spec   UserSpec   `json:"spec"`
	Status UserStatus `json:"status,omitempty"`
}

User is the Schema for the Users API. +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,keycloak}

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 added in v0.5.0

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) 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) 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 added in v0.2.0

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 added in v0.5.0

type UserInitParameters struct {

	// A map representing attributes for the user. In order to add multivalue attributes, use ## to seperate the values. Max length for each value is 255 chars
	Attributes map[string]*string `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// The user's email.
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// Whether the email address was validated or not. Default to false.
	EmailVerified *bool `json:"emailVerified,omitempty" tf:"email_verified,omitempty"`

	// When false, this user cannot log in. Defaults to true.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// When specified, the user will be linked to a federated identity provider. Refer to the federated user example for more details.
	FederatedIdentity []FederatedIdentityInitParameters `json:"federatedIdentity,omitempty" tf:"federated_identity,omitempty"`

	// The user's first name.
	FirstName *string `json:"firstName,omitempty" tf:"first_name,omitempty"`

	// When given, the user's initial password will be set. This attribute is only respected during initial user creation.
	InitialPassword []InitialPasswordInitParameters `json:"initialPassword,omitempty" tf:"initial_password,omitempty"`

	// The user's last name.
	LastName *string `json:"lastName,omitempty" tf:"last_name,omitempty"`

	// The unique username of this user.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*UserInitParameters) DeepCopy added in v0.5.0

func (in *UserInitParameters) DeepCopy() *UserInitParameters

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

func (*UserInitParameters) DeepCopyInto added in v0.5.0

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 {

	// A map representing attributes for the user. In order to add multivalue attributes, use ## to seperate the values. Max length for each value is 255 chars
	Attributes map[string]*string `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// The user's email.
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// Whether the email address was validated or not. Default to false.
	EmailVerified *bool `json:"emailVerified,omitempty" tf:"email_verified,omitempty"`

	// When false, this user cannot log in. Defaults to true.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// When specified, the user will be linked to a federated identity provider. Refer to the federated user example for more details.
	FederatedIdentity []FederatedIdentityObservation `json:"federatedIdentity,omitempty" tf:"federated_identity,omitempty"`

	// The user's first name.
	FirstName *string `json:"firstName,omitempty" tf:"first_name,omitempty"`

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

	// When given, the user's initial password will be set. This attribute is only respected during initial user creation.
	InitialPassword []InitialPasswordObservation `json:"initialPassword,omitempty" tf:"initial_password,omitempty"`

	// The user's last name.
	LastName *string `json:"lastName,omitempty" tf:"last_name,omitempty"`

	// The realm this user belongs to.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// The unique username of this user.
	Username *string `json:"username,omitempty" tf:"username,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 {

	// A map representing attributes for the user. In order to add multivalue attributes, use ## to seperate the values. Max length for each value is 255 chars
	// +kubebuilder:validation:Optional
	Attributes map[string]*string `json:"attributes,omitempty" tf:"attributes,omitempty"`

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

	// Whether the email address was validated or not. Default to false.
	// +kubebuilder:validation:Optional
	EmailVerified *bool `json:"emailVerified,omitempty" tf:"email_verified,omitempty"`

	// When false, this user cannot log in. Defaults to true.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// When specified, the user will be linked to a federated identity provider. Refer to the federated user example for more details.
	// +kubebuilder:validation:Optional
	FederatedIdentity []FederatedIdentityParameters `json:"federatedIdentity,omitempty" tf:"federated_identity,omitempty"`

	// The user's first name.
	// +kubebuilder:validation:Optional
	FirstName *string `json:"firstName,omitempty" tf:"first_name,omitempty"`

	// When given, the user's initial password will be set. This attribute is only respected during initial user creation.
	// +kubebuilder:validation:Optional
	InitialPassword []InitialPasswordParameters `json:"initialPassword,omitempty" tf:"initial_password,omitempty"`

	// The user's last name.
	// +kubebuilder:validation:Optional
	LastName *string `json:"lastName,omitempty" tf:"last_name,omitempty"`

	// The realm this user belongs to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	// +kubebuilder:validation:Optional
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// Reference to a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDRef *v1.Reference `json:"realmIdRef,omitempty" tf:"-"`

	// Selector for a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDSelector *v1.Selector `json:"realmIdSelector,omitempty" tf:"-"`

	// The unique username of this user.
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

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