v1alpha1

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	CustomMapper_Kind             = "CustomMapper"
	CustomMapper_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CustomMapper_Kind}.String()
	CustomMapper_KindAPIVersion   = CustomMapper_Kind + "." + CRDGroupVersion.String()
	CustomMapper_GroupVersionKind = CRDGroupVersion.WithKind(CustomMapper_Kind)
)

Repository type metadata.

View Source
var (
	FullNameMapper_Kind             = "FullNameMapper"
	FullNameMapper_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: FullNameMapper_Kind}.String()
	FullNameMapper_KindAPIVersion   = FullNameMapper_Kind + "." + CRDGroupVersion.String()
	FullNameMapper_GroupVersionKind = CRDGroupVersion.WithKind(FullNameMapper_Kind)
)

Repository type metadata.

View Source
var (
	GroupMapper_Kind             = "GroupMapper"
	GroupMapper_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: GroupMapper_Kind}.String()
	GroupMapper_KindAPIVersion   = GroupMapper_Kind + "." + CRDGroupVersion.String()
	GroupMapper_GroupVersionKind = CRDGroupVersion.WithKind(GroupMapper_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 (
	HardcodedAttributeMapper_Kind             = "HardcodedAttributeMapper"
	HardcodedAttributeMapper_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: HardcodedAttributeMapper_Kind}.String()
	HardcodedAttributeMapper_KindAPIVersion   = HardcodedAttributeMapper_Kind + "." + CRDGroupVersion.String()
	HardcodedAttributeMapper_GroupVersionKind = CRDGroupVersion.WithKind(HardcodedAttributeMapper_Kind)
)

Repository type metadata.

View Source
var (
	HardcodedGroupMapper_Kind             = "HardcodedGroupMapper"
	HardcodedGroupMapper_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: HardcodedGroupMapper_Kind}.String()
	HardcodedGroupMapper_KindAPIVersion   = HardcodedGroupMapper_Kind + "." + CRDGroupVersion.String()
	HardcodedGroupMapper_GroupVersionKind = CRDGroupVersion.WithKind(HardcodedGroupMapper_Kind)
)

Repository type metadata.

View Source
var (
	HardcodedRoleMapper_Kind             = "HardcodedRoleMapper"
	HardcodedRoleMapper_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: HardcodedRoleMapper_Kind}.String()
	HardcodedRoleMapper_KindAPIVersion   = HardcodedRoleMapper_Kind + "." + CRDGroupVersion.String()
	HardcodedRoleMapper_GroupVersionKind = CRDGroupVersion.WithKind(HardcodedRoleMapper_Kind)
)

Repository type metadata.

View Source
var (
	MsadLdsUserAccountControlMapper_Kind             = "MsadLdsUserAccountControlMapper"
	MsadLdsUserAccountControlMapper_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MsadLdsUserAccountControlMapper_Kind}.String()
	MsadLdsUserAccountControlMapper_KindAPIVersion   = MsadLdsUserAccountControlMapper_Kind + "." + CRDGroupVersion.String()
	MsadLdsUserAccountControlMapper_GroupVersionKind = CRDGroupVersion.WithKind(MsadLdsUserAccountControlMapper_Kind)
)

Repository type metadata.

View Source
var (
	MsadUserAccountControlMapper_Kind             = "MsadUserAccountControlMapper"
	MsadUserAccountControlMapper_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MsadUserAccountControlMapper_Kind}.String()
	MsadUserAccountControlMapper_KindAPIVersion   = MsadUserAccountControlMapper_Kind + "." + CRDGroupVersion.String()
	MsadUserAccountControlMapper_GroupVersionKind = CRDGroupVersion.WithKind(MsadUserAccountControlMapper_Kind)
)

Repository type metadata.

View Source
var (
	RoleMapper_Kind             = "RoleMapper"
	RoleMapper_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RoleMapper_Kind}.String()
	RoleMapper_KindAPIVersion   = RoleMapper_Kind + "." + CRDGroupVersion.String()
	RoleMapper_GroupVersionKind = CRDGroupVersion.WithKind(RoleMapper_Kind)
)

Repository type metadata.

View Source
var (
	UserAttributeMapper_Kind             = "UserAttributeMapper"
	UserAttributeMapper_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: UserAttributeMapper_Kind}.String()
	UserAttributeMapper_KindAPIVersion   = UserAttributeMapper_Kind + "." + CRDGroupVersion.String()
	UserAttributeMapper_GroupVersionKind = CRDGroupVersion.WithKind(UserAttributeMapper_Kind)
)

Repository type metadata.

View Source
var (
	UserFederation_Kind             = "UserFederation"
	UserFederation_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: UserFederation_Kind}.String()
	UserFederation_KindAPIVersion   = UserFederation_Kind + "." + CRDGroupVersion.String()
	UserFederation_GroupVersionKind = CRDGroupVersion.WithKind(UserFederation_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type CacheInitParameters

type CacheInitParameters struct {

	// Day of the week the entry will become invalid on
	// Day of the week the entry will become invalid on.
	EvictionDay *float64 `json:"evictionDay,omitempty" tf:"eviction_day,omitempty"`

	// Hour of day the entry will become invalid on.
	// Hour of day the entry will become invalid on.
	EvictionHour *float64 `json:"evictionHour,omitempty" tf:"eviction_hour,omitempty"`

	// Minute of day the entry will become invalid on.
	// Minute of day the entry will become invalid on.
	EvictionMinute *float64 `json:"evictionMinute,omitempty" tf:"eviction_minute,omitempty"`

	// Max lifespan of cache entry (duration string).
	// Max lifespan of cache entry (duration string).
	MaxLifespan *string `json:"maxLifespan,omitempty" tf:"max_lifespan,omitempty"`

	// Can be one of DEFAULT, EVICT_DAILY, EVICT_WEEKLY, MAX_LIFESPAN, or NO_CACHE. Defaults to DEFAULT.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`
}

func (*CacheInitParameters) DeepCopy

func (in *CacheInitParameters) DeepCopy() *CacheInitParameters

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

func (*CacheInitParameters) DeepCopyInto

func (in *CacheInitParameters) DeepCopyInto(out *CacheInitParameters)

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

type CacheObservation

type CacheObservation struct {

	// Day of the week the entry will become invalid on
	// Day of the week the entry will become invalid on.
	EvictionDay *float64 `json:"evictionDay,omitempty" tf:"eviction_day,omitempty"`

	// Hour of day the entry will become invalid on.
	// Hour of day the entry will become invalid on.
	EvictionHour *float64 `json:"evictionHour,omitempty" tf:"eviction_hour,omitempty"`

	// Minute of day the entry will become invalid on.
	// Minute of day the entry will become invalid on.
	EvictionMinute *float64 `json:"evictionMinute,omitempty" tf:"eviction_minute,omitempty"`

	// Max lifespan of cache entry (duration string).
	// Max lifespan of cache entry (duration string).
	MaxLifespan *string `json:"maxLifespan,omitempty" tf:"max_lifespan,omitempty"`

	// Can be one of DEFAULT, EVICT_DAILY, EVICT_WEEKLY, MAX_LIFESPAN, or NO_CACHE. Defaults to DEFAULT.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`
}

func (*CacheObservation) DeepCopy

func (in *CacheObservation) DeepCopy() *CacheObservation

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

func (*CacheObservation) DeepCopyInto

func (in *CacheObservation) DeepCopyInto(out *CacheObservation)

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

type CacheParameters

type CacheParameters struct {

	// Day of the week the entry will become invalid on
	// Day of the week the entry will become invalid on.
	// +kubebuilder:validation:Optional
	EvictionDay *float64 `json:"evictionDay,omitempty" tf:"eviction_day,omitempty"`

	// Hour of day the entry will become invalid on.
	// Hour of day the entry will become invalid on.
	// +kubebuilder:validation:Optional
	EvictionHour *float64 `json:"evictionHour,omitempty" tf:"eviction_hour,omitempty"`

	// Minute of day the entry will become invalid on.
	// Minute of day the entry will become invalid on.
	// +kubebuilder:validation:Optional
	EvictionMinute *float64 `json:"evictionMinute,omitempty" tf:"eviction_minute,omitempty"`

	// Max lifespan of cache entry (duration string).
	// Max lifespan of cache entry (duration string).
	// +kubebuilder:validation:Optional
	MaxLifespan *string `json:"maxLifespan,omitempty" tf:"max_lifespan,omitempty"`

	// Can be one of DEFAULT, EVICT_DAILY, EVICT_WEEKLY, MAX_LIFESPAN, or NO_CACHE. Defaults to DEFAULT.
	// +kubebuilder:validation:Optional
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`
}

func (*CacheParameters) DeepCopy

func (in *CacheParameters) DeepCopy() *CacheParameters

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

func (*CacheParameters) DeepCopyInto

func (in *CacheParameters) DeepCopyInto(out *CacheParameters)

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

type CustomMapper

type CustomMapper 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"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerId) || (has(self.initProvider) && has(self.initProvider.providerId))",message="spec.forProvider.providerId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerType) || (has(self.initProvider) && has(self.initProvider.providerType))",message="spec.forProvider.providerType is a required parameter"
	Spec   CustomMapperSpec   `json:"spec"`
	Status CustomMapperStatus `json:"status,omitempty"`
}

CustomMapper is the Schema for the CustomMappers API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,keycloak}

func (*CustomMapper) DeepCopy

func (in *CustomMapper) DeepCopy() *CustomMapper

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

func (*CustomMapper) DeepCopyInto

func (in *CustomMapper) DeepCopyInto(out *CustomMapper)

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

func (*CustomMapper) DeepCopyObject

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

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

func (*CustomMapper) GetCondition

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

GetCondition of this CustomMapper.

func (*CustomMapper) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CustomMapper

func (*CustomMapper) GetDeletionPolicy

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

GetDeletionPolicy of this CustomMapper.

func (*CustomMapper) GetID

func (tr *CustomMapper) GetID() string

GetID returns ID of underlying Terraform resource of this CustomMapper

func (*CustomMapper) GetInitParameters

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

GetInitParameters of this CustomMapper

func (*CustomMapper) GetManagementPolicies

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

GetManagementPolicies of this CustomMapper.

func (*CustomMapper) GetMergedParameters

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

GetInitParameters of this CustomMapper

func (*CustomMapper) GetObservation

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

GetObservation of this CustomMapper

func (*CustomMapper) GetParameters

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

GetParameters of this CustomMapper

func (*CustomMapper) GetProviderConfigReference

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

GetProviderConfigReference of this CustomMapper.

func (*CustomMapper) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CustomMapper.

func (*CustomMapper) GetTerraformResourceType

func (mg *CustomMapper) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CustomMapper

func (*CustomMapper) GetTerraformSchemaVersion

func (tr *CustomMapper) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CustomMapper) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CustomMapper.

func (*CustomMapper) Hub

func (tr *CustomMapper) Hub()

Hub marks this type as a conversion hub.

func (*CustomMapper) LateInitialize

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

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

func (*CustomMapper) ResolveReferences

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

func (*CustomMapper) SetConditions

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

SetConditions of this CustomMapper.

func (*CustomMapper) SetDeletionPolicy

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

SetDeletionPolicy of this CustomMapper.

func (*CustomMapper) SetManagementPolicies

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

SetManagementPolicies of this CustomMapper.

func (*CustomMapper) SetObservation

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

SetObservation for this CustomMapper

func (*CustomMapper) SetParameters

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

SetParameters for this CustomMapper

func (*CustomMapper) SetProviderConfigReference

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

SetProviderConfigReference of this CustomMapper.

func (*CustomMapper) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CustomMapper.

func (*CustomMapper) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CustomMapper.

type CustomMapperInitParameters

type CustomMapperInitParameters struct {

	// A map with key / value pairs for configuring the LDAP mapper. The supported keys depend on the protocol mapper.
	// +mapType=granular
	Config map[string]*string `json:"config,omitempty" tf:"config,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The id of the LDAP mapper implemented in MapperFactory.
	// ID of the custom LDAP mapper.
	ProviderID *string `json:"providerId,omitempty" tf:"provider_id,omitempty"`

	// The fully-qualified Java class name of the custom LDAP mapper.
	// Fully-qualified name of the Java class implementing the custom LDAP mapper.
	ProviderType *string `json:"providerType,omitempty" tf:"provider_type,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	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:"-"`
}

func (*CustomMapperInitParameters) DeepCopy

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

func (*CustomMapperInitParameters) DeepCopyInto

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

type CustomMapperList

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

CustomMapperList contains a list of CustomMappers

func (*CustomMapperList) DeepCopy

func (in *CustomMapperList) DeepCopy() *CustomMapperList

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

func (*CustomMapperList) DeepCopyInto

func (in *CustomMapperList) DeepCopyInto(out *CustomMapperList)

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

func (*CustomMapperList) DeepCopyObject

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

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

func (*CustomMapperList) GetItems

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

GetItems of this CustomMapperList.

type CustomMapperObservation

type CustomMapperObservation struct {

	// A map with key / value pairs for configuring the LDAP mapper. The supported keys depend on the protocol mapper.
	// +mapType=granular
	Config map[string]*string `json:"config,omitempty" tf:"config,omitempty"`

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

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The id of the LDAP mapper implemented in MapperFactory.
	// ID of the custom LDAP mapper.
	ProviderID *string `json:"providerId,omitempty" tf:"provider_id,omitempty"`

	// The fully-qualified Java class name of the custom LDAP mapper.
	// Fully-qualified name of the Java class implementing the custom LDAP mapper.
	ProviderType *string `json:"providerType,omitempty" tf:"provider_type,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`
}

func (*CustomMapperObservation) DeepCopy

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

func (*CustomMapperObservation) DeepCopyInto

func (in *CustomMapperObservation) DeepCopyInto(out *CustomMapperObservation)

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

type CustomMapperParameters

type CustomMapperParameters struct {

	// A map with key / value pairs for configuring the LDAP mapper. The supported keys depend on the protocol mapper.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Config map[string]*string `json:"config,omitempty" tf:"config,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	// +kubebuilder:validation:Optional
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The id of the LDAP mapper implemented in MapperFactory.
	// ID of the custom LDAP mapper.
	// +kubebuilder:validation:Optional
	ProviderID *string `json:"providerId,omitempty" tf:"provider_id,omitempty"`

	// The fully-qualified Java class name of the custom LDAP mapper.
	// Fully-qualified name of the Java class implementing the custom LDAP mapper.
	// +kubebuilder:validation:Optional
	ProviderType *string `json:"providerType,omitempty" tf:"provider_type,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +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:"-"`
}

func (*CustomMapperParameters) DeepCopy

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

func (*CustomMapperParameters) DeepCopyInto

func (in *CustomMapperParameters) DeepCopyInto(out *CustomMapperParameters)

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

type CustomMapperSpec

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

CustomMapperSpec defines the desired state of CustomMapper

func (*CustomMapperSpec) DeepCopy

func (in *CustomMapperSpec) DeepCopy() *CustomMapperSpec

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

func (*CustomMapperSpec) DeepCopyInto

func (in *CustomMapperSpec) DeepCopyInto(out *CustomMapperSpec)

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

type CustomMapperStatus

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

CustomMapperStatus defines the observed state of CustomMapper.

func (*CustomMapperStatus) DeepCopy

func (in *CustomMapperStatus) DeepCopy() *CustomMapperStatus

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

func (*CustomMapperStatus) DeepCopyInto

func (in *CustomMapperStatus) DeepCopyInto(out *CustomMapperStatus)

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

type FullNameMapper

type FullNameMapper 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.ldapFullNameAttribute) || (has(self.initProvider) && has(self.initProvider.ldapFullNameAttribute))",message="spec.forProvider.ldapFullNameAttribute 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   FullNameMapperSpec   `json:"spec"`
	Status FullNameMapperStatus `json:"status,omitempty"`
}

FullNameMapper is the Schema for the FullNameMappers API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,keycloak}

func (*FullNameMapper) DeepCopy

func (in *FullNameMapper) DeepCopy() *FullNameMapper

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

func (*FullNameMapper) DeepCopyInto

func (in *FullNameMapper) DeepCopyInto(out *FullNameMapper)

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

func (*FullNameMapper) DeepCopyObject

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

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

func (*FullNameMapper) GetCondition

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

GetCondition of this FullNameMapper.

func (*FullNameMapper) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this FullNameMapper

func (*FullNameMapper) GetDeletionPolicy

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

GetDeletionPolicy of this FullNameMapper.

func (*FullNameMapper) GetID

func (tr *FullNameMapper) GetID() string

GetID returns ID of underlying Terraform resource of this FullNameMapper

func (*FullNameMapper) GetInitParameters

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

GetInitParameters of this FullNameMapper

func (*FullNameMapper) GetManagementPolicies

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

GetManagementPolicies of this FullNameMapper.

func (*FullNameMapper) GetMergedParameters

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

GetInitParameters of this FullNameMapper

func (*FullNameMapper) GetObservation

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

GetObservation of this FullNameMapper

func (*FullNameMapper) GetParameters

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

GetParameters of this FullNameMapper

func (*FullNameMapper) GetProviderConfigReference

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

GetProviderConfigReference of this FullNameMapper.

func (*FullNameMapper) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this FullNameMapper.

func (*FullNameMapper) GetTerraformResourceType

func (mg *FullNameMapper) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this FullNameMapper

func (*FullNameMapper) GetTerraformSchemaVersion

func (tr *FullNameMapper) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*FullNameMapper) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this FullNameMapper.

func (*FullNameMapper) Hub

func (tr *FullNameMapper) Hub()

Hub marks this type as a conversion hub.

func (*FullNameMapper) LateInitialize

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

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

func (*FullNameMapper) ResolveReferences

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

ResolveReferences of this FullNameMapper.

func (*FullNameMapper) SetConditions

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

SetConditions of this FullNameMapper.

func (*FullNameMapper) SetDeletionPolicy

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

SetDeletionPolicy of this FullNameMapper.

func (*FullNameMapper) SetManagementPolicies

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

SetManagementPolicies of this FullNameMapper.

func (*FullNameMapper) SetObservation

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

SetObservation for this FullNameMapper

func (*FullNameMapper) SetParameters

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

SetParameters for this FullNameMapper

func (*FullNameMapper) SetProviderConfigReference

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

SetProviderConfigReference of this FullNameMapper.

func (*FullNameMapper) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this FullNameMapper.

func (*FullNameMapper) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this FullNameMapper.

type FullNameMapperInitParameters

type FullNameMapperInitParameters struct {

	// The name of the LDAP attribute containing the user's full name.
	LdapFullNameAttribute *string `json:"ldapFullNameAttribute,omitempty" tf:"ldap_full_name_attribute,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// When true, updates to a user within Keycloak will not be written back to LDAP. Defaults to false.
	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	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:"-"`

	// When true, this mapper will only be used to write updates to LDAP. Defaults to false.
	WriteOnly *bool `json:"writeOnly,omitempty" tf:"write_only,omitempty"`
}

func (*FullNameMapperInitParameters) DeepCopy

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

func (*FullNameMapperInitParameters) DeepCopyInto

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

type FullNameMapperList

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

FullNameMapperList contains a list of FullNameMappers

func (*FullNameMapperList) DeepCopy

func (in *FullNameMapperList) DeepCopy() *FullNameMapperList

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

func (*FullNameMapperList) DeepCopyInto

func (in *FullNameMapperList) DeepCopyInto(out *FullNameMapperList)

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

func (*FullNameMapperList) DeepCopyObject

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

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

func (*FullNameMapperList) GetItems

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

GetItems of this FullNameMapperList.

type FullNameMapperObservation

type FullNameMapperObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the LDAP attribute containing the user's full name.
	LdapFullNameAttribute *string `json:"ldapFullNameAttribute,omitempty" tf:"ldap_full_name_attribute,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// When true, updates to a user within Keycloak will not be written back to LDAP. Defaults to false.
	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// When true, this mapper will only be used to write updates to LDAP. Defaults to false.
	WriteOnly *bool `json:"writeOnly,omitempty" tf:"write_only,omitempty"`
}

func (*FullNameMapperObservation) DeepCopy

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

func (*FullNameMapperObservation) DeepCopyInto

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

type FullNameMapperParameters

type FullNameMapperParameters struct {

	// The name of the LDAP attribute containing the user's full name.
	// +kubebuilder:validation:Optional
	LdapFullNameAttribute *string `json:"ldapFullNameAttribute,omitempty" tf:"ldap_full_name_attribute,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	// +kubebuilder:validation:Optional
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// When true, updates to a user within Keycloak will not be written back to LDAP. Defaults to false.
	// +kubebuilder:validation:Optional
	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +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:"-"`

	// When true, this mapper will only be used to write updates to LDAP. Defaults to false.
	// +kubebuilder:validation:Optional
	WriteOnly *bool `json:"writeOnly,omitempty" tf:"write_only,omitempty"`
}

func (*FullNameMapperParameters) DeepCopy

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

func (*FullNameMapperParameters) DeepCopyInto

func (in *FullNameMapperParameters) DeepCopyInto(out *FullNameMapperParameters)

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

type FullNameMapperSpec

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

FullNameMapperSpec defines the desired state of FullNameMapper

func (*FullNameMapperSpec) DeepCopy

func (in *FullNameMapperSpec) DeepCopy() *FullNameMapperSpec

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

func (*FullNameMapperSpec) DeepCopyInto

func (in *FullNameMapperSpec) DeepCopyInto(out *FullNameMapperSpec)

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

type FullNameMapperStatus

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

FullNameMapperStatus defines the observed state of FullNameMapper.

func (*FullNameMapperStatus) DeepCopy

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

func (*FullNameMapperStatus) DeepCopyInto

func (in *FullNameMapperStatus) DeepCopyInto(out *FullNameMapperStatus)

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

type GroupMapper

type GroupMapper 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.groupNameLdapAttribute) || (has(self.initProvider) && has(self.initProvider.groupNameLdapAttribute))",message="spec.forProvider.groupNameLdapAttribute is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.groupObjectClasses) || (has(self.initProvider) && has(self.initProvider.groupObjectClasses))",message="spec.forProvider.groupObjectClasses is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ldapGroupsDn) || (has(self.initProvider) && has(self.initProvider.ldapGroupsDn))",message="spec.forProvider.ldapGroupsDn is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.membershipLdapAttribute) || (has(self.initProvider) && has(self.initProvider.membershipLdapAttribute))",message="spec.forProvider.membershipLdapAttribute is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.membershipUserLdapAttribute) || (has(self.initProvider) && has(self.initProvider.membershipUserLdapAttribute))",message="spec.forProvider.membershipUserLdapAttribute 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   GroupMapperSpec   `json:"spec"`
	Status GroupMapperStatus `json:"status,omitempty"`
}

GroupMapper is the Schema for the GroupMappers API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,keycloak}

func (*GroupMapper) DeepCopy

func (in *GroupMapper) DeepCopy() *GroupMapper

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

func (*GroupMapper) DeepCopyInto

func (in *GroupMapper) DeepCopyInto(out *GroupMapper)

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

func (*GroupMapper) DeepCopyObject

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

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

func (*GroupMapper) GetCondition

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

GetCondition of this GroupMapper.

func (*GroupMapper) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this GroupMapper

func (*GroupMapper) GetDeletionPolicy

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

GetDeletionPolicy of this GroupMapper.

func (*GroupMapper) GetID

func (tr *GroupMapper) GetID() string

GetID returns ID of underlying Terraform resource of this GroupMapper

func (*GroupMapper) GetInitParameters

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

GetInitParameters of this GroupMapper

func (*GroupMapper) GetManagementPolicies

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

GetManagementPolicies of this GroupMapper.

func (*GroupMapper) GetMergedParameters

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

GetInitParameters of this GroupMapper

func (*GroupMapper) GetObservation

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

GetObservation of this GroupMapper

func (*GroupMapper) GetParameters

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

GetParameters of this GroupMapper

func (*GroupMapper) GetProviderConfigReference

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

GetProviderConfigReference of this GroupMapper.

func (*GroupMapper) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this GroupMapper.

func (*GroupMapper) GetTerraformResourceType

func (mg *GroupMapper) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this GroupMapper

func (*GroupMapper) GetTerraformSchemaVersion

func (tr *GroupMapper) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*GroupMapper) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this GroupMapper.

func (*GroupMapper) Hub

func (tr *GroupMapper) Hub()

Hub marks this type as a conversion hub.

func (*GroupMapper) LateInitialize

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

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

func (*GroupMapper) ResolveReferences

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

ResolveReferences of this GroupMapper.

func (*GroupMapper) SetConditions

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

SetConditions of this GroupMapper.

func (*GroupMapper) SetDeletionPolicy

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

SetDeletionPolicy of this GroupMapper.

func (*GroupMapper) SetManagementPolicies

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

SetManagementPolicies of this GroupMapper.

func (*GroupMapper) SetObservation

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

SetObservation for this GroupMapper

func (*GroupMapper) SetParameters

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

SetParameters for this GroupMapper

func (*GroupMapper) SetProviderConfigReference

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

SetProviderConfigReference of this GroupMapper.

func (*GroupMapper) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this GroupMapper.

func (*GroupMapper) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this GroupMapper.

type GroupMapperInitParameters

type GroupMapperInitParameters struct {

	// When true, groups that no longer exist within LDAP will be dropped in Keycloak during sync. Defaults to false.
	DropNonExistingGroupsDuringSync *bool `json:"dropNonExistingGroupsDuringSync,omitempty" tf:"drop_non_existing_groups_during_sync,omitempty"`

	// The name of the LDAP attribute that is used in group objects for the name and RDN of the group. Typically cn.
	GroupNameLdapAttribute *string `json:"groupNameLdapAttribute,omitempty" tf:"group_name_ldap_attribute,omitempty"`

	// List of strings representing the object classes for the group. Must contain at least one.
	GroupObjectClasses []*string `json:"groupObjectClasses,omitempty" tf:"group_object_classes,omitempty"`

	// When specified, adds an additional custom filter to be used when querying for groups. Must start with ( and end with ).
	GroupsLdapFilter *string `json:"groupsLdapFilter,omitempty" tf:"groups_ldap_filter,omitempty"`

	// Keycloak group path the LDAP groups are added to. For example if value /Applications/App1 is used, then LDAP groups will be available in Keycloak under group App1, which is the child of top level group Applications. The configured group path must already exist in Keycloak when creating this mapper.
	GroupsPath *string `json:"groupsPath,omitempty" tf:"groups_path,omitempty"`

	// When true, missing groups in the hierarchy will be ignored.
	IgnoreMissingGroups *bool `json:"ignoreMissingGroups,omitempty" tf:"ignore_missing_groups,omitempty"`

	// The LDAP DN where groups can be found.
	LdapGroupsDn *string `json:"ldapGroupsDn,omitempty" tf:"ldap_groups_dn,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Array of strings representing attributes on the LDAP group which will be mapped to attributes on the Keycloak group.
	MappedGroupAttributes []*string `json:"mappedGroupAttributes,omitempty" tf:"mapped_group_attributes,omitempty"`

	// Specifies the name of the LDAP attribute on the LDAP user that contains the groups the user is a member of. Defaults to memberOf.
	MemberofLdapAttribute *string `json:"memberofLdapAttribute,omitempty" tf:"memberof_ldap_attribute,omitempty"`

	// Can be one of DN or UID. Defaults to DN.
	MembershipAttributeType *string `json:"membershipAttributeType,omitempty" tf:"membership_attribute_type,omitempty"`

	// The name of the LDAP attribute that is used for membership mappings.
	MembershipLdapAttribute *string `json:"membershipLdapAttribute,omitempty" tf:"membership_ldap_attribute,omitempty"`

	// The name of the LDAP attribute on a user that is used for membership mappings.
	MembershipUserLdapAttribute *string `json:"membershipUserLdapAttribute,omitempty" tf:"membership_user_ldap_attribute,omitempty"`

	// Can be one of READ_ONLY, LDAP_ONLY or IMPORT. Defaults to READ_ONLY.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// When true, group inheritance will be propagated from LDAP to Keycloak. When false, all LDAP groups will be propagated as top level groups within Keycloak.
	PreserveGroupInheritance *bool `json:"preserveGroupInheritance,omitempty" tf:"preserve_group_inheritance,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	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:"-"`

	// Can be one of LOAD_GROUPS_BY_MEMBER_ATTRIBUTE, GET_GROUPS_FROM_USER_MEMBEROF_ATTRIBUTE, or LOAD_GROUPS_BY_MEMBER_ATTRIBUTE_RECURSIVELY. Defaults to LOAD_GROUPS_BY_MEMBER_ATTRIBUTE.
	UserRolesRetrieveStrategy *string `json:"userRolesRetrieveStrategy,omitempty" tf:"user_roles_retrieve_strategy,omitempty"`
}

func (*GroupMapperInitParameters) DeepCopy

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

func (*GroupMapperInitParameters) DeepCopyInto

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

type GroupMapperList

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

GroupMapperList contains a list of GroupMappers

func (*GroupMapperList) DeepCopy

func (in *GroupMapperList) DeepCopy() *GroupMapperList

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

func (*GroupMapperList) DeepCopyInto

func (in *GroupMapperList) DeepCopyInto(out *GroupMapperList)

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

func (*GroupMapperList) DeepCopyObject

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

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

func (*GroupMapperList) GetItems

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

GetItems of this GroupMapperList.

type GroupMapperObservation

type GroupMapperObservation struct {

	// When true, groups that no longer exist within LDAP will be dropped in Keycloak during sync. Defaults to false.
	DropNonExistingGroupsDuringSync *bool `json:"dropNonExistingGroupsDuringSync,omitempty" tf:"drop_non_existing_groups_during_sync,omitempty"`

	// The name of the LDAP attribute that is used in group objects for the name and RDN of the group. Typically cn.
	GroupNameLdapAttribute *string `json:"groupNameLdapAttribute,omitempty" tf:"group_name_ldap_attribute,omitempty"`

	// List of strings representing the object classes for the group. Must contain at least one.
	GroupObjectClasses []*string `json:"groupObjectClasses,omitempty" tf:"group_object_classes,omitempty"`

	// When specified, adds an additional custom filter to be used when querying for groups. Must start with ( and end with ).
	GroupsLdapFilter *string `json:"groupsLdapFilter,omitempty" tf:"groups_ldap_filter,omitempty"`

	// Keycloak group path the LDAP groups are added to. For example if value /Applications/App1 is used, then LDAP groups will be available in Keycloak under group App1, which is the child of top level group Applications. The configured group path must already exist in Keycloak when creating this mapper.
	GroupsPath *string `json:"groupsPath,omitempty" tf:"groups_path,omitempty"`

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

	// When true, missing groups in the hierarchy will be ignored.
	IgnoreMissingGroups *bool `json:"ignoreMissingGroups,omitempty" tf:"ignore_missing_groups,omitempty"`

	// The LDAP DN where groups can be found.
	LdapGroupsDn *string `json:"ldapGroupsDn,omitempty" tf:"ldap_groups_dn,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Array of strings representing attributes on the LDAP group which will be mapped to attributes on the Keycloak group.
	MappedGroupAttributes []*string `json:"mappedGroupAttributes,omitempty" tf:"mapped_group_attributes,omitempty"`

	// Specifies the name of the LDAP attribute on the LDAP user that contains the groups the user is a member of. Defaults to memberOf.
	MemberofLdapAttribute *string `json:"memberofLdapAttribute,omitempty" tf:"memberof_ldap_attribute,omitempty"`

	// Can be one of DN or UID. Defaults to DN.
	MembershipAttributeType *string `json:"membershipAttributeType,omitempty" tf:"membership_attribute_type,omitempty"`

	// The name of the LDAP attribute that is used for membership mappings.
	MembershipLdapAttribute *string `json:"membershipLdapAttribute,omitempty" tf:"membership_ldap_attribute,omitempty"`

	// The name of the LDAP attribute on a user that is used for membership mappings.
	MembershipUserLdapAttribute *string `json:"membershipUserLdapAttribute,omitempty" tf:"membership_user_ldap_attribute,omitempty"`

	// Can be one of READ_ONLY, LDAP_ONLY or IMPORT. Defaults to READ_ONLY.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// When true, group inheritance will be propagated from LDAP to Keycloak. When false, all LDAP groups will be propagated as top level groups within Keycloak.
	PreserveGroupInheritance *bool `json:"preserveGroupInheritance,omitempty" tf:"preserve_group_inheritance,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// Can be one of LOAD_GROUPS_BY_MEMBER_ATTRIBUTE, GET_GROUPS_FROM_USER_MEMBEROF_ATTRIBUTE, or LOAD_GROUPS_BY_MEMBER_ATTRIBUTE_RECURSIVELY. Defaults to LOAD_GROUPS_BY_MEMBER_ATTRIBUTE.
	UserRolesRetrieveStrategy *string `json:"userRolesRetrieveStrategy,omitempty" tf:"user_roles_retrieve_strategy,omitempty"`
}

func (*GroupMapperObservation) DeepCopy

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

func (*GroupMapperObservation) DeepCopyInto

func (in *GroupMapperObservation) DeepCopyInto(out *GroupMapperObservation)

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

type GroupMapperParameters

type GroupMapperParameters struct {

	// When true, groups that no longer exist within LDAP will be dropped in Keycloak during sync. Defaults to false.
	// +kubebuilder:validation:Optional
	DropNonExistingGroupsDuringSync *bool `json:"dropNonExistingGroupsDuringSync,omitempty" tf:"drop_non_existing_groups_during_sync,omitempty"`

	// The name of the LDAP attribute that is used in group objects for the name and RDN of the group. Typically cn.
	// +kubebuilder:validation:Optional
	GroupNameLdapAttribute *string `json:"groupNameLdapAttribute,omitempty" tf:"group_name_ldap_attribute,omitempty"`

	// List of strings representing the object classes for the group. Must contain at least one.
	// +kubebuilder:validation:Optional
	GroupObjectClasses []*string `json:"groupObjectClasses,omitempty" tf:"group_object_classes,omitempty"`

	// When specified, adds an additional custom filter to be used when querying for groups. Must start with ( and end with ).
	// +kubebuilder:validation:Optional
	GroupsLdapFilter *string `json:"groupsLdapFilter,omitempty" tf:"groups_ldap_filter,omitempty"`

	// Keycloak group path the LDAP groups are added to. For example if value /Applications/App1 is used, then LDAP groups will be available in Keycloak under group App1, which is the child of top level group Applications. The configured group path must already exist in Keycloak when creating this mapper.
	// +kubebuilder:validation:Optional
	GroupsPath *string `json:"groupsPath,omitempty" tf:"groups_path,omitempty"`

	// When true, missing groups in the hierarchy will be ignored.
	// +kubebuilder:validation:Optional
	IgnoreMissingGroups *bool `json:"ignoreMissingGroups,omitempty" tf:"ignore_missing_groups,omitempty"`

	// The LDAP DN where groups can be found.
	// +kubebuilder:validation:Optional
	LdapGroupsDn *string `json:"ldapGroupsDn,omitempty" tf:"ldap_groups_dn,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	// +kubebuilder:validation:Optional
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Array of strings representing attributes on the LDAP group which will be mapped to attributes on the Keycloak group.
	// +kubebuilder:validation:Optional
	MappedGroupAttributes []*string `json:"mappedGroupAttributes,omitempty" tf:"mapped_group_attributes,omitempty"`

	// Specifies the name of the LDAP attribute on the LDAP user that contains the groups the user is a member of. Defaults to memberOf.
	// +kubebuilder:validation:Optional
	MemberofLdapAttribute *string `json:"memberofLdapAttribute,omitempty" tf:"memberof_ldap_attribute,omitempty"`

	// Can be one of DN or UID. Defaults to DN.
	// +kubebuilder:validation:Optional
	MembershipAttributeType *string `json:"membershipAttributeType,omitempty" tf:"membership_attribute_type,omitempty"`

	// The name of the LDAP attribute that is used for membership mappings.
	// +kubebuilder:validation:Optional
	MembershipLdapAttribute *string `json:"membershipLdapAttribute,omitempty" tf:"membership_ldap_attribute,omitempty"`

	// The name of the LDAP attribute on a user that is used for membership mappings.
	// +kubebuilder:validation:Optional
	MembershipUserLdapAttribute *string `json:"membershipUserLdapAttribute,omitempty" tf:"membership_user_ldap_attribute,omitempty"`

	// Can be one of READ_ONLY, LDAP_ONLY or IMPORT. Defaults to READ_ONLY.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// When true, group inheritance will be propagated from LDAP to Keycloak. When false, all LDAP groups will be propagated as top level groups within Keycloak.
	// +kubebuilder:validation:Optional
	PreserveGroupInheritance *bool `json:"preserveGroupInheritance,omitempty" tf:"preserve_group_inheritance,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +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:"-"`

	// Can be one of LOAD_GROUPS_BY_MEMBER_ATTRIBUTE, GET_GROUPS_FROM_USER_MEMBEROF_ATTRIBUTE, or LOAD_GROUPS_BY_MEMBER_ATTRIBUTE_RECURSIVELY. Defaults to LOAD_GROUPS_BY_MEMBER_ATTRIBUTE.
	// +kubebuilder:validation:Optional
	UserRolesRetrieveStrategy *string `json:"userRolesRetrieveStrategy,omitempty" tf:"user_roles_retrieve_strategy,omitempty"`
}

func (*GroupMapperParameters) DeepCopy

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

func (*GroupMapperParameters) DeepCopyInto

func (in *GroupMapperParameters) DeepCopyInto(out *GroupMapperParameters)

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

type GroupMapperSpec

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

GroupMapperSpec defines the desired state of GroupMapper

func (*GroupMapperSpec) DeepCopy

func (in *GroupMapperSpec) DeepCopy() *GroupMapperSpec

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

func (*GroupMapperSpec) DeepCopyInto

func (in *GroupMapperSpec) DeepCopyInto(out *GroupMapperSpec)

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

type GroupMapperStatus

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

GroupMapperStatus defines the observed state of GroupMapper.

func (*GroupMapperStatus) DeepCopy

func (in *GroupMapperStatus) DeepCopy() *GroupMapperStatus

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

func (*GroupMapperStatus) DeepCopyInto

func (in *GroupMapperStatus) DeepCopyInto(out *GroupMapperStatus)

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

type HardcodedAttributeMapper

type HardcodedAttributeMapper 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.attributeName) || (has(self.initProvider) && has(self.initProvider.attributeName))",message="spec.forProvider.attributeName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.attributeValue) || (has(self.initProvider) && has(self.initProvider.attributeValue))",message="spec.forProvider.attributeValue 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   HardcodedAttributeMapperSpec   `json:"spec"`
	Status HardcodedAttributeMapperStatus `json:"status,omitempty"`
}

HardcodedAttributeMapper is the Schema for the HardcodedAttributeMappers API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,keycloak}

func (*HardcodedAttributeMapper) DeepCopy

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

func (*HardcodedAttributeMapper) DeepCopyInto

func (in *HardcodedAttributeMapper) DeepCopyInto(out *HardcodedAttributeMapper)

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

func (*HardcodedAttributeMapper) DeepCopyObject

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

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

func (*HardcodedAttributeMapper) GetCondition

GetCondition of this HardcodedAttributeMapper.

func (*HardcodedAttributeMapper) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this HardcodedAttributeMapper

func (*HardcodedAttributeMapper) GetDeletionPolicy

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

GetDeletionPolicy of this HardcodedAttributeMapper.

func (*HardcodedAttributeMapper) GetID

func (tr *HardcodedAttributeMapper) GetID() string

GetID returns ID of underlying Terraform resource of this HardcodedAttributeMapper

func (*HardcodedAttributeMapper) GetInitParameters

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

GetInitParameters of this HardcodedAttributeMapper

func (*HardcodedAttributeMapper) GetManagementPolicies

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

GetManagementPolicies of this HardcodedAttributeMapper.

func (*HardcodedAttributeMapper) GetMergedParameters

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

GetInitParameters of this HardcodedAttributeMapper

func (*HardcodedAttributeMapper) GetObservation

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

GetObservation of this HardcodedAttributeMapper

func (*HardcodedAttributeMapper) GetParameters

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

GetParameters of this HardcodedAttributeMapper

func (*HardcodedAttributeMapper) GetProviderConfigReference

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

GetProviderConfigReference of this HardcodedAttributeMapper.

func (*HardcodedAttributeMapper) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this HardcodedAttributeMapper.

func (*HardcodedAttributeMapper) GetTerraformResourceType

func (mg *HardcodedAttributeMapper) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this HardcodedAttributeMapper

func (*HardcodedAttributeMapper) GetTerraformSchemaVersion

func (tr *HardcodedAttributeMapper) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*HardcodedAttributeMapper) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this HardcodedAttributeMapper.

func (*HardcodedAttributeMapper) Hub

func (tr *HardcodedAttributeMapper) Hub()

Hub marks this type as a conversion hub.

func (*HardcodedAttributeMapper) LateInitialize

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

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

func (*HardcodedAttributeMapper) ResolveReferences

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

ResolveReferences of this HardcodedAttributeMapper.

func (*HardcodedAttributeMapper) SetConditions

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

SetConditions of this HardcodedAttributeMapper.

func (*HardcodedAttributeMapper) SetDeletionPolicy

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

SetDeletionPolicy of this HardcodedAttributeMapper.

func (*HardcodedAttributeMapper) SetManagementPolicies

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

SetManagementPolicies of this HardcodedAttributeMapper.

func (*HardcodedAttributeMapper) SetObservation

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

SetObservation for this HardcodedAttributeMapper

func (*HardcodedAttributeMapper) SetParameters

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

SetParameters for this HardcodedAttributeMapper

func (*HardcodedAttributeMapper) SetProviderConfigReference

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

SetProviderConfigReference of this HardcodedAttributeMapper.

func (*HardcodedAttributeMapper) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this HardcodedAttributeMapper.

func (*HardcodedAttributeMapper) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this HardcodedAttributeMapper.

type HardcodedAttributeMapperInitParameters

type HardcodedAttributeMapperInitParameters struct {

	// The name of the LDAP attribute to set.
	// Name of the LDAP attribute
	AttributeName *string `json:"attributeName,omitempty" tf:"attribute_name,omitempty"`

	// The value to set to the LDAP attribute. You can hardcode any value like 'foo'.
	// Value of the LDAP attribute. You can hardcode any value like 'foo'
	AttributeValue *string `json:"attributeValue,omitempty" tf:"attribute_value,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	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:"-"`
}

func (*HardcodedAttributeMapperInitParameters) DeepCopy

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

func (*HardcodedAttributeMapperInitParameters) DeepCopyInto

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

type HardcodedAttributeMapperList

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

HardcodedAttributeMapperList contains a list of HardcodedAttributeMappers

func (*HardcodedAttributeMapperList) DeepCopy

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

func (*HardcodedAttributeMapperList) DeepCopyInto

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

func (*HardcodedAttributeMapperList) DeepCopyObject

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

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

func (*HardcodedAttributeMapperList) GetItems

GetItems of this HardcodedAttributeMapperList.

type HardcodedAttributeMapperObservation

type HardcodedAttributeMapperObservation struct {

	// The name of the LDAP attribute to set.
	// Name of the LDAP attribute
	AttributeName *string `json:"attributeName,omitempty" tf:"attribute_name,omitempty"`

	// The value to set to the LDAP attribute. You can hardcode any value like 'foo'.
	// Value of the LDAP attribute. You can hardcode any value like 'foo'
	AttributeValue *string `json:"attributeValue,omitempty" tf:"attribute_value,omitempty"`

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

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`
}

func (*HardcodedAttributeMapperObservation) DeepCopy

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

func (*HardcodedAttributeMapperObservation) DeepCopyInto

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

type HardcodedAttributeMapperParameters

type HardcodedAttributeMapperParameters struct {

	// The name of the LDAP attribute to set.
	// Name of the LDAP attribute
	// +kubebuilder:validation:Optional
	AttributeName *string `json:"attributeName,omitempty" tf:"attribute_name,omitempty"`

	// The value to set to the LDAP attribute. You can hardcode any value like 'foo'.
	// Value of the LDAP attribute. You can hardcode any value like 'foo'
	// +kubebuilder:validation:Optional
	AttributeValue *string `json:"attributeValue,omitempty" tf:"attribute_value,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	// +kubebuilder:validation:Optional
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +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:"-"`
}

func (*HardcodedAttributeMapperParameters) DeepCopy

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

func (*HardcodedAttributeMapperParameters) DeepCopyInto

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

type HardcodedAttributeMapperSpec

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

HardcodedAttributeMapperSpec defines the desired state of HardcodedAttributeMapper

func (*HardcodedAttributeMapperSpec) DeepCopy

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

func (*HardcodedAttributeMapperSpec) DeepCopyInto

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

type HardcodedAttributeMapperStatus

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

HardcodedAttributeMapperStatus defines the observed state of HardcodedAttributeMapper.

func (*HardcodedAttributeMapperStatus) DeepCopy

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

func (*HardcodedAttributeMapperStatus) DeepCopyInto

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

type HardcodedGroupMapper

type HardcodedGroupMapper 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   HardcodedGroupMapperSpec   `json:"spec"`
	Status HardcodedGroupMapperStatus `json:"status,omitempty"`
}

HardcodedGroupMapper is the Schema for the HardcodedGroupMappers API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,keycloak}

func (*HardcodedGroupMapper) DeepCopy

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

func (*HardcodedGroupMapper) DeepCopyInto

func (in *HardcodedGroupMapper) DeepCopyInto(out *HardcodedGroupMapper)

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

func (*HardcodedGroupMapper) DeepCopyObject

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

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

func (*HardcodedGroupMapper) GetCondition

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

GetCondition of this HardcodedGroupMapper.

func (*HardcodedGroupMapper) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this HardcodedGroupMapper

func (*HardcodedGroupMapper) GetDeletionPolicy

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

GetDeletionPolicy of this HardcodedGroupMapper.

func (*HardcodedGroupMapper) GetID

func (tr *HardcodedGroupMapper) GetID() string

GetID returns ID of underlying Terraform resource of this HardcodedGroupMapper

func (*HardcodedGroupMapper) GetInitParameters

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

GetInitParameters of this HardcodedGroupMapper

func (*HardcodedGroupMapper) GetManagementPolicies

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

GetManagementPolicies of this HardcodedGroupMapper.

func (*HardcodedGroupMapper) GetMergedParameters

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

GetInitParameters of this HardcodedGroupMapper

func (*HardcodedGroupMapper) GetObservation

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

GetObservation of this HardcodedGroupMapper

func (*HardcodedGroupMapper) GetParameters

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

GetParameters of this HardcodedGroupMapper

func (*HardcodedGroupMapper) GetProviderConfigReference

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

GetProviderConfigReference of this HardcodedGroupMapper.

func (*HardcodedGroupMapper) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this HardcodedGroupMapper.

func (*HardcodedGroupMapper) GetTerraformResourceType

func (mg *HardcodedGroupMapper) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this HardcodedGroupMapper

func (*HardcodedGroupMapper) GetTerraformSchemaVersion

func (tr *HardcodedGroupMapper) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*HardcodedGroupMapper) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this HardcodedGroupMapper.

func (*HardcodedGroupMapper) Hub

func (tr *HardcodedGroupMapper) Hub()

Hub marks this type as a conversion hub.

func (*HardcodedGroupMapper) LateInitialize

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

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

func (*HardcodedGroupMapper) ResolveReferences

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

ResolveReferences of this HardcodedGroupMapper.

func (*HardcodedGroupMapper) SetConditions

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

SetConditions of this HardcodedGroupMapper.

func (*HardcodedGroupMapper) SetDeletionPolicy

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

SetDeletionPolicy of this HardcodedGroupMapper.

func (*HardcodedGroupMapper) SetManagementPolicies

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

SetManagementPolicies of this HardcodedGroupMapper.

func (*HardcodedGroupMapper) SetObservation

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

SetObservation for this HardcodedGroupMapper

func (*HardcodedGroupMapper) SetParameters

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

SetParameters for this HardcodedGroupMapper

func (*HardcodedGroupMapper) SetProviderConfigReference

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

SetProviderConfigReference of this HardcodedGroupMapper.

func (*HardcodedGroupMapper) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this HardcodedGroupMapper.

func (*HardcodedGroupMapper) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this HardcodedGroupMapper.

type HardcodedGroupMapperInitParameters

type HardcodedGroupMapperInitParameters struct {

	// The name of the group which should be assigned to the users.
	// Group to grant to user.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/group/v1alpha1.Group
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name", false)
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

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

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

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	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:"-"`
}

func (*HardcodedGroupMapperInitParameters) DeepCopy

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

func (*HardcodedGroupMapperInitParameters) DeepCopyInto

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

type HardcodedGroupMapperList

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

HardcodedGroupMapperList contains a list of HardcodedGroupMappers

func (*HardcodedGroupMapperList) DeepCopy

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

func (*HardcodedGroupMapperList) DeepCopyInto

func (in *HardcodedGroupMapperList) DeepCopyInto(out *HardcodedGroupMapperList)

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

func (*HardcodedGroupMapperList) DeepCopyObject

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

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

func (*HardcodedGroupMapperList) GetItems

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

GetItems of this HardcodedGroupMapperList.

type HardcodedGroupMapperObservation

type HardcodedGroupMapperObservation struct {

	// The name of the group which should be assigned to the users.
	// Group to grant to user.
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

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

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`
}

func (*HardcodedGroupMapperObservation) DeepCopy

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

func (*HardcodedGroupMapperObservation) DeepCopyInto

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

type HardcodedGroupMapperParameters

type HardcodedGroupMapperParameters struct {

	// The name of the group which should be assigned to the users.
	// Group to grant to user.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/group/v1alpha1.Group
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name", false)
	// +kubebuilder:validation:Optional
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

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

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

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	// +kubebuilder:validation:Optional
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +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:"-"`
}

func (*HardcodedGroupMapperParameters) DeepCopy

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

func (*HardcodedGroupMapperParameters) DeepCopyInto

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

type HardcodedGroupMapperSpec

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

HardcodedGroupMapperSpec defines the desired state of HardcodedGroupMapper

func (*HardcodedGroupMapperSpec) DeepCopy

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

func (*HardcodedGroupMapperSpec) DeepCopyInto

func (in *HardcodedGroupMapperSpec) DeepCopyInto(out *HardcodedGroupMapperSpec)

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

type HardcodedGroupMapperStatus

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

HardcodedGroupMapperStatus defines the observed state of HardcodedGroupMapper.

func (*HardcodedGroupMapperStatus) DeepCopy

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

func (*HardcodedGroupMapperStatus) DeepCopyInto

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

type HardcodedRoleMapper

type HardcodedRoleMapper 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   HardcodedRoleMapperSpec   `json:"spec"`
	Status HardcodedRoleMapperStatus `json:"status,omitempty"`
}

HardcodedRoleMapper is the Schema for the HardcodedRoleMappers API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,keycloak}

func (*HardcodedRoleMapper) DeepCopy

func (in *HardcodedRoleMapper) DeepCopy() *HardcodedRoleMapper

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

func (*HardcodedRoleMapper) DeepCopyInto

func (in *HardcodedRoleMapper) DeepCopyInto(out *HardcodedRoleMapper)

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

func (*HardcodedRoleMapper) DeepCopyObject

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

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

func (*HardcodedRoleMapper) GetCondition

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

GetCondition of this HardcodedRoleMapper.

func (*HardcodedRoleMapper) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this HardcodedRoleMapper

func (*HardcodedRoleMapper) GetDeletionPolicy

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

GetDeletionPolicy of this HardcodedRoleMapper.

func (*HardcodedRoleMapper) GetID

func (tr *HardcodedRoleMapper) GetID() string

GetID returns ID of underlying Terraform resource of this HardcodedRoleMapper

func (*HardcodedRoleMapper) GetInitParameters

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

GetInitParameters of this HardcodedRoleMapper

func (*HardcodedRoleMapper) GetManagementPolicies

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

GetManagementPolicies of this HardcodedRoleMapper.

func (*HardcodedRoleMapper) GetMergedParameters

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

GetInitParameters of this HardcodedRoleMapper

func (*HardcodedRoleMapper) GetObservation

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

GetObservation of this HardcodedRoleMapper

func (*HardcodedRoleMapper) GetParameters

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

GetParameters of this HardcodedRoleMapper

func (*HardcodedRoleMapper) GetProviderConfigReference

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

GetProviderConfigReference of this HardcodedRoleMapper.

func (*HardcodedRoleMapper) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this HardcodedRoleMapper.

func (*HardcodedRoleMapper) GetTerraformResourceType

func (mg *HardcodedRoleMapper) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this HardcodedRoleMapper

func (*HardcodedRoleMapper) GetTerraformSchemaVersion

func (tr *HardcodedRoleMapper) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*HardcodedRoleMapper) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this HardcodedRoleMapper.

func (*HardcodedRoleMapper) Hub

func (tr *HardcodedRoleMapper) Hub()

Hub marks this type as a conversion hub.

func (*HardcodedRoleMapper) LateInitialize

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

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

func (*HardcodedRoleMapper) ResolveReferences

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

ResolveReferences of this HardcodedRoleMapper.

func (*HardcodedRoleMapper) SetConditions

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

SetConditions of this HardcodedRoleMapper.

func (*HardcodedRoleMapper) SetDeletionPolicy

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

SetDeletionPolicy of this HardcodedRoleMapper.

func (*HardcodedRoleMapper) SetManagementPolicies

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

SetManagementPolicies of this HardcodedRoleMapper.

func (*HardcodedRoleMapper) SetObservation

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

SetObservation for this HardcodedRoleMapper

func (*HardcodedRoleMapper) SetParameters

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

SetParameters for this HardcodedRoleMapper

func (*HardcodedRoleMapper) SetProviderConfigReference

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

SetProviderConfigReference of this HardcodedRoleMapper.

func (*HardcodedRoleMapper) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this HardcodedRoleMapper.

func (*HardcodedRoleMapper) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this HardcodedRoleMapper.

type HardcodedRoleMapperInitParameters

type HardcodedRoleMapperInitParameters struct {

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	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 name of the role which should be assigned to the users. Client roles should use the format {{client_id}}.{{client_role_name}}.
	// Role to grant to user.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/role/v1alpha1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name", false)
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// Reference to a Role in role to populate role.
	// +kubebuilder:validation:Optional
	RoleRef *v1.Reference `json:"roleRef,omitempty" tf:"-"`

	// Selector for a Role in role to populate role.
	// +kubebuilder:validation:Optional
	RoleSelector *v1.Selector `json:"roleSelector,omitempty" tf:"-"`
}

func (*HardcodedRoleMapperInitParameters) DeepCopy

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

func (*HardcodedRoleMapperInitParameters) DeepCopyInto

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

type HardcodedRoleMapperList

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

HardcodedRoleMapperList contains a list of HardcodedRoleMappers

func (*HardcodedRoleMapperList) DeepCopy

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

func (*HardcodedRoleMapperList) DeepCopyInto

func (in *HardcodedRoleMapperList) DeepCopyInto(out *HardcodedRoleMapperList)

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

func (*HardcodedRoleMapperList) DeepCopyObject

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

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

func (*HardcodedRoleMapperList) GetItems

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

GetItems of this HardcodedRoleMapperList.

type HardcodedRoleMapperObservation

type HardcodedRoleMapperObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// The name of the role which should be assigned to the users. Client roles should use the format {{client_id}}.{{client_role_name}}.
	// Role to grant to user.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`
}

func (*HardcodedRoleMapperObservation) DeepCopy

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

func (*HardcodedRoleMapperObservation) DeepCopyInto

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

type HardcodedRoleMapperParameters

type HardcodedRoleMapperParameters struct {

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	// +kubebuilder:validation:Optional
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +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 name of the role which should be assigned to the users. Client roles should use the format {{client_id}}.{{client_role_name}}.
	// Role to grant to user.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/role/v1alpha1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name", false)
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// Reference to a Role in role to populate role.
	// +kubebuilder:validation:Optional
	RoleRef *v1.Reference `json:"roleRef,omitempty" tf:"-"`

	// Selector for a Role in role to populate role.
	// +kubebuilder:validation:Optional
	RoleSelector *v1.Selector `json:"roleSelector,omitempty" tf:"-"`
}

func (*HardcodedRoleMapperParameters) DeepCopy

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

func (*HardcodedRoleMapperParameters) DeepCopyInto

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

type HardcodedRoleMapperSpec

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

HardcodedRoleMapperSpec defines the desired state of HardcodedRoleMapper

func (*HardcodedRoleMapperSpec) DeepCopy

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

func (*HardcodedRoleMapperSpec) DeepCopyInto

func (in *HardcodedRoleMapperSpec) DeepCopyInto(out *HardcodedRoleMapperSpec)

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

type HardcodedRoleMapperStatus

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

HardcodedRoleMapperStatus defines the observed state of HardcodedRoleMapper.

func (*HardcodedRoleMapperStatus) DeepCopy

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

func (*HardcodedRoleMapperStatus) DeepCopyInto

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

type KerberosInitParameters

type KerberosInitParameters struct {

	// The name of the kerberos realm, e.g. FOO.LOCAL.
	// The name of the kerberos realm, e.g. FOO.LOCAL
	KerberosRealm *string `json:"kerberosRealm,omitempty" tf:"kerberos_realm,omitempty"`

	// Path to the kerberos keytab file on the server with credentials of the service principal.
	// Path to the kerberos keytab file on the server with credentials of the service principal.
	KeyTab *string `json:"keyTab,omitempty" tf:"key_tab,omitempty"`

	// The kerberos server principal, e.g. 'HTTP/host.foo.com@FOO.LOCAL'.
	// The kerberos server principal, e.g. 'HTTP/host.foo.com@FOO.LOCAL'.
	ServerPrincipal *string `json:"serverPrincipal,omitempty" tf:"server_principal,omitempty"`

	// Use kerberos login module instead of ldap service api. Defaults to false.
	// Use kerberos login module instead of ldap service api. Defaults to `false`.
	UseKerberosForPasswordAuthentication *bool `json:"useKerberosForPasswordAuthentication,omitempty" tf:"use_kerberos_for_password_authentication,omitempty"`
}

func (*KerberosInitParameters) DeepCopy

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

func (*KerberosInitParameters) DeepCopyInto

func (in *KerberosInitParameters) DeepCopyInto(out *KerberosInitParameters)

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

type KerberosObservation

type KerberosObservation struct {

	// The name of the kerberos realm, e.g. FOO.LOCAL.
	// The name of the kerberos realm, e.g. FOO.LOCAL
	KerberosRealm *string `json:"kerberosRealm,omitempty" tf:"kerberos_realm,omitempty"`

	// Path to the kerberos keytab file on the server with credentials of the service principal.
	// Path to the kerberos keytab file on the server with credentials of the service principal.
	KeyTab *string `json:"keyTab,omitempty" tf:"key_tab,omitempty"`

	// The kerberos server principal, e.g. 'HTTP/host.foo.com@FOO.LOCAL'.
	// The kerberos server principal, e.g. 'HTTP/host.foo.com@FOO.LOCAL'.
	ServerPrincipal *string `json:"serverPrincipal,omitempty" tf:"server_principal,omitempty"`

	// Use kerberos login module instead of ldap service api. Defaults to false.
	// Use kerberos login module instead of ldap service api. Defaults to `false`.
	UseKerberosForPasswordAuthentication *bool `json:"useKerberosForPasswordAuthentication,omitempty" tf:"use_kerberos_for_password_authentication,omitempty"`
}

func (*KerberosObservation) DeepCopy

func (in *KerberosObservation) DeepCopy() *KerberosObservation

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

func (*KerberosObservation) DeepCopyInto

func (in *KerberosObservation) DeepCopyInto(out *KerberosObservation)

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

type KerberosParameters

type KerberosParameters struct {

	// The name of the kerberos realm, e.g. FOO.LOCAL.
	// The name of the kerberos realm, e.g. FOO.LOCAL
	// +kubebuilder:validation:Optional
	KerberosRealm *string `json:"kerberosRealm" tf:"kerberos_realm,omitempty"`

	// Path to the kerberos keytab file on the server with credentials of the service principal.
	// Path to the kerberos keytab file on the server with credentials of the service principal.
	// +kubebuilder:validation:Optional
	KeyTab *string `json:"keyTab" tf:"key_tab,omitempty"`

	// The kerberos server principal, e.g. 'HTTP/host.foo.com@FOO.LOCAL'.
	// The kerberos server principal, e.g. 'HTTP/host.foo.com@FOO.LOCAL'.
	// +kubebuilder:validation:Optional
	ServerPrincipal *string `json:"serverPrincipal" tf:"server_principal,omitempty"`

	// Use kerberos login module instead of ldap service api. Defaults to false.
	// Use kerberos login module instead of ldap service api. Defaults to `false`.
	// +kubebuilder:validation:Optional
	UseKerberosForPasswordAuthentication *bool `json:"useKerberosForPasswordAuthentication,omitempty" tf:"use_kerberos_for_password_authentication,omitempty"`
}

func (*KerberosParameters) DeepCopy

func (in *KerberosParameters) DeepCopy() *KerberosParameters

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

func (*KerberosParameters) DeepCopyInto

func (in *KerberosParameters) DeepCopyInto(out *KerberosParameters)

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

type MsadLdsUserAccountControlMapper

type MsadLdsUserAccountControlMapper 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   MsadLdsUserAccountControlMapperSpec   `json:"spec"`
	Status MsadLdsUserAccountControlMapperStatus `json:"status,omitempty"`
}

MsadLdsUserAccountControlMapper is the Schema for the MsadLdsUserAccountControlMappers API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,keycloak}

func (*MsadLdsUserAccountControlMapper) DeepCopy

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

func (*MsadLdsUserAccountControlMapper) DeepCopyInto

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

func (*MsadLdsUserAccountControlMapper) DeepCopyObject

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

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

func (*MsadLdsUserAccountControlMapper) GetCondition

GetCondition of this MsadLdsUserAccountControlMapper.

func (*MsadLdsUserAccountControlMapper) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MsadLdsUserAccountControlMapper

func (*MsadLdsUserAccountControlMapper) GetDeletionPolicy

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

GetDeletionPolicy of this MsadLdsUserAccountControlMapper.

func (*MsadLdsUserAccountControlMapper) GetID

GetID returns ID of underlying Terraform resource of this MsadLdsUserAccountControlMapper

func (*MsadLdsUserAccountControlMapper) GetInitParameters

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

GetInitParameters of this MsadLdsUserAccountControlMapper

func (*MsadLdsUserAccountControlMapper) GetManagementPolicies

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

GetManagementPolicies of this MsadLdsUserAccountControlMapper.

func (*MsadLdsUserAccountControlMapper) GetMergedParameters

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

GetInitParameters of this MsadLdsUserAccountControlMapper

func (*MsadLdsUserAccountControlMapper) GetObservation

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

GetObservation of this MsadLdsUserAccountControlMapper

func (*MsadLdsUserAccountControlMapper) GetParameters

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

GetParameters of this MsadLdsUserAccountControlMapper

func (*MsadLdsUserAccountControlMapper) GetProviderConfigReference

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

GetProviderConfigReference of this MsadLdsUserAccountControlMapper.

func (*MsadLdsUserAccountControlMapper) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MsadLdsUserAccountControlMapper.

func (*MsadLdsUserAccountControlMapper) GetTerraformResourceType

func (mg *MsadLdsUserAccountControlMapper) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MsadLdsUserAccountControlMapper

func (*MsadLdsUserAccountControlMapper) GetTerraformSchemaVersion

func (tr *MsadLdsUserAccountControlMapper) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MsadLdsUserAccountControlMapper) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MsadLdsUserAccountControlMapper.

func (*MsadLdsUserAccountControlMapper) Hub

Hub marks this type as a conversion hub.

func (*MsadLdsUserAccountControlMapper) LateInitialize

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

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

func (*MsadLdsUserAccountControlMapper) ResolveReferences

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

ResolveReferences of this MsadLdsUserAccountControlMapper.

func (*MsadLdsUserAccountControlMapper) SetConditions

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

SetConditions of this MsadLdsUserAccountControlMapper.

func (*MsadLdsUserAccountControlMapper) SetDeletionPolicy

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

SetDeletionPolicy of this MsadLdsUserAccountControlMapper.

func (*MsadLdsUserAccountControlMapper) SetManagementPolicies

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

SetManagementPolicies of this MsadLdsUserAccountControlMapper.

func (*MsadLdsUserAccountControlMapper) SetObservation

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

SetObservation for this MsadLdsUserAccountControlMapper

func (*MsadLdsUserAccountControlMapper) SetParameters

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

SetParameters for this MsadLdsUserAccountControlMapper

func (*MsadLdsUserAccountControlMapper) SetProviderConfigReference

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

SetProviderConfigReference of this MsadLdsUserAccountControlMapper.

func (*MsadLdsUserAccountControlMapper) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MsadLdsUserAccountControlMapper.

func (*MsadLdsUserAccountControlMapper) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MsadLdsUserAccountControlMapper.

type MsadLdsUserAccountControlMapperInitParameters

type MsadLdsUserAccountControlMapperInitParameters struct {

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	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:"-"`
}

func (*MsadLdsUserAccountControlMapperInitParameters) DeepCopy

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

func (*MsadLdsUserAccountControlMapperInitParameters) DeepCopyInto

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

type MsadLdsUserAccountControlMapperList

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

MsadLdsUserAccountControlMapperList contains a list of MsadLdsUserAccountControlMappers

func (*MsadLdsUserAccountControlMapperList) DeepCopy

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

func (*MsadLdsUserAccountControlMapperList) DeepCopyInto

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

func (*MsadLdsUserAccountControlMapperList) DeepCopyObject

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

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

func (*MsadLdsUserAccountControlMapperList) GetItems

GetItems of this MsadLdsUserAccountControlMapperList.

type MsadLdsUserAccountControlMapperObservation

type MsadLdsUserAccountControlMapperObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`
}

func (*MsadLdsUserAccountControlMapperObservation) DeepCopy

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

func (*MsadLdsUserAccountControlMapperObservation) DeepCopyInto

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

type MsadLdsUserAccountControlMapperParameters

type MsadLdsUserAccountControlMapperParameters struct {

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	// +kubebuilder:validation:Optional
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +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:"-"`
}

func (*MsadLdsUserAccountControlMapperParameters) DeepCopy

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

func (*MsadLdsUserAccountControlMapperParameters) DeepCopyInto

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

type MsadLdsUserAccountControlMapperSpec

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

MsadLdsUserAccountControlMapperSpec defines the desired state of MsadLdsUserAccountControlMapper

func (*MsadLdsUserAccountControlMapperSpec) DeepCopy

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

func (*MsadLdsUserAccountControlMapperSpec) DeepCopyInto

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

type MsadLdsUserAccountControlMapperStatus

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

MsadLdsUserAccountControlMapperStatus defines the observed state of MsadLdsUserAccountControlMapper.

func (*MsadLdsUserAccountControlMapperStatus) DeepCopy

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

func (*MsadLdsUserAccountControlMapperStatus) DeepCopyInto

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

type MsadUserAccountControlMapper

type MsadUserAccountControlMapper 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   MsadUserAccountControlMapperSpec   `json:"spec"`
	Status MsadUserAccountControlMapperStatus `json:"status,omitempty"`
}

MsadUserAccountControlMapper is the Schema for the MsadUserAccountControlMappers API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,keycloak}

func (*MsadUserAccountControlMapper) DeepCopy

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

func (*MsadUserAccountControlMapper) DeepCopyInto

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

func (*MsadUserAccountControlMapper) DeepCopyObject

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

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

func (*MsadUserAccountControlMapper) GetCondition

GetCondition of this MsadUserAccountControlMapper.

func (*MsadUserAccountControlMapper) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MsadUserAccountControlMapper

func (*MsadUserAccountControlMapper) GetDeletionPolicy

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

GetDeletionPolicy of this MsadUserAccountControlMapper.

func (*MsadUserAccountControlMapper) GetID

GetID returns ID of underlying Terraform resource of this MsadUserAccountControlMapper

func (*MsadUserAccountControlMapper) GetInitParameters

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

GetInitParameters of this MsadUserAccountControlMapper

func (*MsadUserAccountControlMapper) GetManagementPolicies

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

GetManagementPolicies of this MsadUserAccountControlMapper.

func (*MsadUserAccountControlMapper) GetMergedParameters

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

GetInitParameters of this MsadUserAccountControlMapper

func (*MsadUserAccountControlMapper) GetObservation

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

GetObservation of this MsadUserAccountControlMapper

func (*MsadUserAccountControlMapper) GetParameters

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

GetParameters of this MsadUserAccountControlMapper

func (*MsadUserAccountControlMapper) GetProviderConfigReference

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

GetProviderConfigReference of this MsadUserAccountControlMapper.

func (*MsadUserAccountControlMapper) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MsadUserAccountControlMapper.

func (*MsadUserAccountControlMapper) GetTerraformResourceType

func (mg *MsadUserAccountControlMapper) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MsadUserAccountControlMapper

func (*MsadUserAccountControlMapper) GetTerraformSchemaVersion

func (tr *MsadUserAccountControlMapper) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MsadUserAccountControlMapper) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MsadUserAccountControlMapper.

func (*MsadUserAccountControlMapper) Hub

func (tr *MsadUserAccountControlMapper) Hub()

Hub marks this type as a conversion hub.

func (*MsadUserAccountControlMapper) LateInitialize

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

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

func (*MsadUserAccountControlMapper) ResolveReferences

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

ResolveReferences of this MsadUserAccountControlMapper.

func (*MsadUserAccountControlMapper) SetConditions

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

SetConditions of this MsadUserAccountControlMapper.

func (*MsadUserAccountControlMapper) SetDeletionPolicy

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

SetDeletionPolicy of this MsadUserAccountControlMapper.

func (*MsadUserAccountControlMapper) SetManagementPolicies

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

SetManagementPolicies of this MsadUserAccountControlMapper.

func (*MsadUserAccountControlMapper) SetObservation

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

SetObservation for this MsadUserAccountControlMapper

func (*MsadUserAccountControlMapper) SetParameters

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

SetParameters for this MsadUserAccountControlMapper

func (*MsadUserAccountControlMapper) SetProviderConfigReference

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

SetProviderConfigReference of this MsadUserAccountControlMapper.

func (*MsadUserAccountControlMapper) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MsadUserAccountControlMapper.

func (*MsadUserAccountControlMapper) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MsadUserAccountControlMapper.

type MsadUserAccountControlMapperInitParameters

type MsadUserAccountControlMapperInitParameters struct {

	// When true, advanced password policies, such as password hints and previous password history will be used when writing new passwords to AD. Defaults to false.
	LdapPasswordPolicyHintsEnabled *bool `json:"ldapPasswordPolicyHintsEnabled,omitempty" tf:"ldap_password_policy_hints_enabled,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	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:"-"`
}

func (*MsadUserAccountControlMapperInitParameters) DeepCopy

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

func (*MsadUserAccountControlMapperInitParameters) DeepCopyInto

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

type MsadUserAccountControlMapperList

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

MsadUserAccountControlMapperList contains a list of MsadUserAccountControlMappers

func (*MsadUserAccountControlMapperList) DeepCopy

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

func (*MsadUserAccountControlMapperList) DeepCopyInto

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

func (*MsadUserAccountControlMapperList) DeepCopyObject

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

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

func (*MsadUserAccountControlMapperList) GetItems

GetItems of this MsadUserAccountControlMapperList.

type MsadUserAccountControlMapperObservation

type MsadUserAccountControlMapperObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// When true, advanced password policies, such as password hints and previous password history will be used when writing new passwords to AD. Defaults to false.
	LdapPasswordPolicyHintsEnabled *bool `json:"ldapPasswordPolicyHintsEnabled,omitempty" tf:"ldap_password_policy_hints_enabled,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`
}

func (*MsadUserAccountControlMapperObservation) DeepCopy

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

func (*MsadUserAccountControlMapperObservation) DeepCopyInto

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

type MsadUserAccountControlMapperParameters

type MsadUserAccountControlMapperParameters struct {

	// When true, advanced password policies, such as password hints and previous password history will be used when writing new passwords to AD. Defaults to false.
	// +kubebuilder:validation:Optional
	LdapPasswordPolicyHintsEnabled *bool `json:"ldapPasswordPolicyHintsEnabled,omitempty" tf:"ldap_password_policy_hints_enabled,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	// +kubebuilder:validation:Optional
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +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:"-"`
}

func (*MsadUserAccountControlMapperParameters) DeepCopy

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

func (*MsadUserAccountControlMapperParameters) DeepCopyInto

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

type MsadUserAccountControlMapperSpec

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

MsadUserAccountControlMapperSpec defines the desired state of MsadUserAccountControlMapper

func (*MsadUserAccountControlMapperSpec) DeepCopy

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

func (*MsadUserAccountControlMapperSpec) DeepCopyInto

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

type MsadUserAccountControlMapperStatus

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

MsadUserAccountControlMapperStatus defines the observed state of MsadUserAccountControlMapper.

func (*MsadUserAccountControlMapperStatus) DeepCopy

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

func (*MsadUserAccountControlMapperStatus) DeepCopyInto

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

type RoleMapper

type RoleMapper 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.ldapRolesDn) || (has(self.initProvider) && has(self.initProvider.ldapRolesDn))",message="spec.forProvider.ldapRolesDn is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.membershipLdapAttribute) || (has(self.initProvider) && has(self.initProvider.membershipLdapAttribute))",message="spec.forProvider.membershipLdapAttribute is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.membershipUserLdapAttribute) || (has(self.initProvider) && has(self.initProvider.membershipUserLdapAttribute))",message="spec.forProvider.membershipUserLdapAttribute 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"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.roleNameLdapAttribute) || (has(self.initProvider) && has(self.initProvider.roleNameLdapAttribute))",message="spec.forProvider.roleNameLdapAttribute is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.roleObjectClasses) || (has(self.initProvider) && has(self.initProvider.roleObjectClasses))",message="spec.forProvider.roleObjectClasses is a required parameter"
	Spec   RoleMapperSpec   `json:"spec"`
	Status RoleMapperStatus `json:"status,omitempty"`
}

RoleMapper is the Schema for the RoleMappers API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,keycloak}

func (*RoleMapper) DeepCopy

func (in *RoleMapper) DeepCopy() *RoleMapper

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

func (*RoleMapper) DeepCopyInto

func (in *RoleMapper) DeepCopyInto(out *RoleMapper)

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

func (*RoleMapper) DeepCopyObject

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

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

func (*RoleMapper) GetCondition

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

GetCondition of this RoleMapper.

func (*RoleMapper) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RoleMapper

func (*RoleMapper) GetDeletionPolicy

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

GetDeletionPolicy of this RoleMapper.

func (*RoleMapper) GetID

func (tr *RoleMapper) GetID() string

GetID returns ID of underlying Terraform resource of this RoleMapper

func (*RoleMapper) GetInitParameters

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

GetInitParameters of this RoleMapper

func (*RoleMapper) GetManagementPolicies

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

GetManagementPolicies of this RoleMapper.

func (*RoleMapper) GetMergedParameters

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

GetInitParameters of this RoleMapper

func (*RoleMapper) GetObservation

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

GetObservation of this RoleMapper

func (*RoleMapper) GetParameters

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

GetParameters of this RoleMapper

func (*RoleMapper) GetProviderConfigReference

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

GetProviderConfigReference of this RoleMapper.

func (*RoleMapper) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RoleMapper.

func (*RoleMapper) GetTerraformResourceType

func (mg *RoleMapper) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RoleMapper

func (*RoleMapper) GetTerraformSchemaVersion

func (tr *RoleMapper) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RoleMapper) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RoleMapper.

func (*RoleMapper) Hub

func (tr *RoleMapper) Hub()

Hub marks this type as a conversion hub.

func (*RoleMapper) LateInitialize

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

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

func (*RoleMapper) ResolveReferences

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

ResolveReferences of this RoleMapper.

func (*RoleMapper) SetConditions

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

SetConditions of this RoleMapper.

func (*RoleMapper) SetDeletionPolicy

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

SetDeletionPolicy of this RoleMapper.

func (*RoleMapper) SetManagementPolicies

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

SetManagementPolicies of this RoleMapper.

func (*RoleMapper) SetObservation

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

SetObservation for this RoleMapper

func (*RoleMapper) SetParameters

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

SetParameters for this RoleMapper

func (*RoleMapper) SetProviderConfigReference

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

SetProviderConfigReference of this RoleMapper.

func (*RoleMapper) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RoleMapper.

func (*RoleMapper) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RoleMapper.

type RoleMapperInitParameters

type RoleMapperInitParameters struct {

	// When specified, LDAP role mappings will be mapped to client role mappings tied to this client ID. Can only be set if use_realm_roles_mapping is false.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/openidclient/v1alpha1.Client
	// +crossplane:generate:reference:extractor=github.com/crossplane-contrib/provider-keycloak/config/common.UUIDExtractor()
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Reference to a Client in openidclient to populate clientId.
	// +kubebuilder:validation:Optional
	ClientIDRef *v1.Reference `json:"clientIdRef,omitempty" tf:"-"`

	// Selector for a Client in openidclient to populate clientId.
	// +kubebuilder:validation:Optional
	ClientIDSelector *v1.Selector `json:"clientIdSelector,omitempty" tf:"-"`

	// The LDAP DN where roles can be found.
	LdapRolesDn *string `json:"ldapRolesDn,omitempty" tf:"ldap_roles_dn,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Specifies the name of the LDAP attribute on the LDAP user that contains the roles the user has. Defaults to memberOf. This is only used when
	MemberofLdapAttribute *string `json:"memberofLdapAttribute,omitempty" tf:"memberof_ldap_attribute,omitempty"`

	// Can be one of DN or UID. Defaults to DN.
	MembershipAttributeType *string `json:"membershipAttributeType,omitempty" tf:"membership_attribute_type,omitempty"`

	// The name of the LDAP attribute that is used for membership mappings.
	MembershipLdapAttribute *string `json:"membershipLdapAttribute,omitempty" tf:"membership_ldap_attribute,omitempty"`

	// The name of the LDAP attribute on a user that is used for membership mappings.
	MembershipUserLdapAttribute *string `json:"membershipUserLdapAttribute,omitempty" tf:"membership_user_ldap_attribute,omitempty"`

	// Can be one of READ_ONLY, LDAP_ONLY or IMPORT. Defaults to READ_ONLY.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	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 name of the LDAP attribute that is used in role objects for the name and RDN of the role. Typically cn.
	RoleNameLdapAttribute *string `json:"roleNameLdapAttribute,omitempty" tf:"role_name_ldap_attribute,omitempty"`

	// List of strings representing the object classes for the role. Must contain at least one.
	RoleObjectClasses []*string `json:"roleObjectClasses,omitempty" tf:"role_object_classes,omitempty"`

	// When specified, adds an additional custom filter to be used when querying for roles. Must start with ( and end with ).
	RolesLdapFilter *string `json:"rolesLdapFilter,omitempty" tf:"roles_ldap_filter,omitempty"`

	// When true, LDAP role mappings will be mapped to realm roles within Keycloak. Defaults to true.
	UseRealmRolesMapping *bool `json:"useRealmRolesMapping,omitempty" tf:"use_realm_roles_mapping,omitempty"`

	// Can be one of LOAD_ROLES_BY_MEMBER_ATTRIBUTE, GET_ROLES_FROM_USER_MEMBEROF_ATTRIBUTE, or LOAD_ROLES_BY_MEMBER_ATTRIBUTE_RECURSIVELY. Defaults to LOAD_ROLES_BY_MEMBER_ATTRIBUTE.
	UserRolesRetrieveStrategy *string `json:"userRolesRetrieveStrategy,omitempty" tf:"user_roles_retrieve_strategy,omitempty"`
}

func (*RoleMapperInitParameters) DeepCopy

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

func (*RoleMapperInitParameters) DeepCopyInto

func (in *RoleMapperInitParameters) DeepCopyInto(out *RoleMapperInitParameters)

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

type RoleMapperList

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

RoleMapperList contains a list of RoleMappers

func (*RoleMapperList) DeepCopy

func (in *RoleMapperList) DeepCopy() *RoleMapperList

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

func (*RoleMapperList) DeepCopyInto

func (in *RoleMapperList) DeepCopyInto(out *RoleMapperList)

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

func (*RoleMapperList) DeepCopyObject

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

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

func (*RoleMapperList) GetItems

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

GetItems of this RoleMapperList.

type RoleMapperObservation

type RoleMapperObservation struct {

	// When specified, LDAP role mappings will be mapped to client role mappings tied to this client ID. Can only be set if use_realm_roles_mapping is false.
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

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

	// The LDAP DN where roles can be found.
	LdapRolesDn *string `json:"ldapRolesDn,omitempty" tf:"ldap_roles_dn,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Specifies the name of the LDAP attribute on the LDAP user that contains the roles the user has. Defaults to memberOf. This is only used when
	MemberofLdapAttribute *string `json:"memberofLdapAttribute,omitempty" tf:"memberof_ldap_attribute,omitempty"`

	// Can be one of DN or UID. Defaults to DN.
	MembershipAttributeType *string `json:"membershipAttributeType,omitempty" tf:"membership_attribute_type,omitempty"`

	// The name of the LDAP attribute that is used for membership mappings.
	MembershipLdapAttribute *string `json:"membershipLdapAttribute,omitempty" tf:"membership_ldap_attribute,omitempty"`

	// The name of the LDAP attribute on a user that is used for membership mappings.
	MembershipUserLdapAttribute *string `json:"membershipUserLdapAttribute,omitempty" tf:"membership_user_ldap_attribute,omitempty"`

	// Can be one of READ_ONLY, LDAP_ONLY or IMPORT. Defaults to READ_ONLY.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// The name of the LDAP attribute that is used in role objects for the name and RDN of the role. Typically cn.
	RoleNameLdapAttribute *string `json:"roleNameLdapAttribute,omitempty" tf:"role_name_ldap_attribute,omitempty"`

	// List of strings representing the object classes for the role. Must contain at least one.
	RoleObjectClasses []*string `json:"roleObjectClasses,omitempty" tf:"role_object_classes,omitempty"`

	// When specified, adds an additional custom filter to be used when querying for roles. Must start with ( and end with ).
	RolesLdapFilter *string `json:"rolesLdapFilter,omitempty" tf:"roles_ldap_filter,omitempty"`

	// When true, LDAP role mappings will be mapped to realm roles within Keycloak. Defaults to true.
	UseRealmRolesMapping *bool `json:"useRealmRolesMapping,omitempty" tf:"use_realm_roles_mapping,omitempty"`

	// Can be one of LOAD_ROLES_BY_MEMBER_ATTRIBUTE, GET_ROLES_FROM_USER_MEMBEROF_ATTRIBUTE, or LOAD_ROLES_BY_MEMBER_ATTRIBUTE_RECURSIVELY. Defaults to LOAD_ROLES_BY_MEMBER_ATTRIBUTE.
	UserRolesRetrieveStrategy *string `json:"userRolesRetrieveStrategy,omitempty" tf:"user_roles_retrieve_strategy,omitempty"`
}

func (*RoleMapperObservation) DeepCopy

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

func (*RoleMapperObservation) DeepCopyInto

func (in *RoleMapperObservation) DeepCopyInto(out *RoleMapperObservation)

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

type RoleMapperParameters

type RoleMapperParameters struct {

	// When specified, LDAP role mappings will be mapped to client role mappings tied to this client ID. Can only be set if use_realm_roles_mapping is false.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/openidclient/v1alpha1.Client
	// +crossplane:generate:reference:extractor=github.com/crossplane-contrib/provider-keycloak/config/common.UUIDExtractor()
	// +kubebuilder:validation:Optional
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Reference to a Client in openidclient to populate clientId.
	// +kubebuilder:validation:Optional
	ClientIDRef *v1.Reference `json:"clientIdRef,omitempty" tf:"-"`

	// Selector for a Client in openidclient to populate clientId.
	// +kubebuilder:validation:Optional
	ClientIDSelector *v1.Selector `json:"clientIdSelector,omitempty" tf:"-"`

	// The LDAP DN where roles can be found.
	// +kubebuilder:validation:Optional
	LdapRolesDn *string `json:"ldapRolesDn,omitempty" tf:"ldap_roles_dn,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	// +kubebuilder:validation:Optional
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Specifies the name of the LDAP attribute on the LDAP user that contains the roles the user has. Defaults to memberOf. This is only used when
	// +kubebuilder:validation:Optional
	MemberofLdapAttribute *string `json:"memberofLdapAttribute,omitempty" tf:"memberof_ldap_attribute,omitempty"`

	// Can be one of DN or UID. Defaults to DN.
	// +kubebuilder:validation:Optional
	MembershipAttributeType *string `json:"membershipAttributeType,omitempty" tf:"membership_attribute_type,omitempty"`

	// The name of the LDAP attribute that is used for membership mappings.
	// +kubebuilder:validation:Optional
	MembershipLdapAttribute *string `json:"membershipLdapAttribute,omitempty" tf:"membership_ldap_attribute,omitempty"`

	// The name of the LDAP attribute on a user that is used for membership mappings.
	// +kubebuilder:validation:Optional
	MembershipUserLdapAttribute *string `json:"membershipUserLdapAttribute,omitempty" tf:"membership_user_ldap_attribute,omitempty"`

	// Can be one of READ_ONLY, LDAP_ONLY or IMPORT. Defaults to READ_ONLY.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +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 name of the LDAP attribute that is used in role objects for the name and RDN of the role. Typically cn.
	// +kubebuilder:validation:Optional
	RoleNameLdapAttribute *string `json:"roleNameLdapAttribute,omitempty" tf:"role_name_ldap_attribute,omitempty"`

	// List of strings representing the object classes for the role. Must contain at least one.
	// +kubebuilder:validation:Optional
	RoleObjectClasses []*string `json:"roleObjectClasses,omitempty" tf:"role_object_classes,omitempty"`

	// When specified, adds an additional custom filter to be used when querying for roles. Must start with ( and end with ).
	// +kubebuilder:validation:Optional
	RolesLdapFilter *string `json:"rolesLdapFilter,omitempty" tf:"roles_ldap_filter,omitempty"`

	// When true, LDAP role mappings will be mapped to realm roles within Keycloak. Defaults to true.
	// +kubebuilder:validation:Optional
	UseRealmRolesMapping *bool `json:"useRealmRolesMapping,omitempty" tf:"use_realm_roles_mapping,omitempty"`

	// Can be one of LOAD_ROLES_BY_MEMBER_ATTRIBUTE, GET_ROLES_FROM_USER_MEMBEROF_ATTRIBUTE, or LOAD_ROLES_BY_MEMBER_ATTRIBUTE_RECURSIVELY. Defaults to LOAD_ROLES_BY_MEMBER_ATTRIBUTE.
	// +kubebuilder:validation:Optional
	UserRolesRetrieveStrategy *string `json:"userRolesRetrieveStrategy,omitempty" tf:"user_roles_retrieve_strategy,omitempty"`
}

func (*RoleMapperParameters) DeepCopy

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

func (*RoleMapperParameters) DeepCopyInto

func (in *RoleMapperParameters) DeepCopyInto(out *RoleMapperParameters)

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

type RoleMapperSpec

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

RoleMapperSpec defines the desired state of RoleMapper

func (*RoleMapperSpec) DeepCopy

func (in *RoleMapperSpec) DeepCopy() *RoleMapperSpec

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

func (*RoleMapperSpec) DeepCopyInto

func (in *RoleMapperSpec) DeepCopyInto(out *RoleMapperSpec)

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

type RoleMapperStatus

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

RoleMapperStatus defines the observed state of RoleMapper.

func (*RoleMapperStatus) DeepCopy

func (in *RoleMapperStatus) DeepCopy() *RoleMapperStatus

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

func (*RoleMapperStatus) DeepCopyInto

func (in *RoleMapperStatus) DeepCopyInto(out *RoleMapperStatus)

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

type UserAttributeMapper

type UserAttributeMapper 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.ldapAttribute) || (has(self.initProvider) && has(self.initProvider.ldapAttribute))",message="spec.forProvider.ldapAttribute 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"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.userModelAttribute) || (has(self.initProvider) && has(self.initProvider.userModelAttribute))",message="spec.forProvider.userModelAttribute is a required parameter"
	Spec   UserAttributeMapperSpec   `json:"spec"`
	Status UserAttributeMapperStatus `json:"status,omitempty"`
}

UserAttributeMapper is the Schema for the UserAttributeMappers API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,keycloak}

func (*UserAttributeMapper) DeepCopy

func (in *UserAttributeMapper) DeepCopy() *UserAttributeMapper

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

func (*UserAttributeMapper) DeepCopyInto

func (in *UserAttributeMapper) DeepCopyInto(out *UserAttributeMapper)

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

func (*UserAttributeMapper) DeepCopyObject

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

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

func (*UserAttributeMapper) GetCondition

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

GetCondition of this UserAttributeMapper.

func (*UserAttributeMapper) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this UserAttributeMapper

func (*UserAttributeMapper) GetDeletionPolicy

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

GetDeletionPolicy of this UserAttributeMapper.

func (*UserAttributeMapper) GetID

func (tr *UserAttributeMapper) GetID() string

GetID returns ID of underlying Terraform resource of this UserAttributeMapper

func (*UserAttributeMapper) GetInitParameters

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

GetInitParameters of this UserAttributeMapper

func (*UserAttributeMapper) GetManagementPolicies

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

GetManagementPolicies of this UserAttributeMapper.

func (*UserAttributeMapper) GetMergedParameters

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

GetInitParameters of this UserAttributeMapper

func (*UserAttributeMapper) GetObservation

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

GetObservation of this UserAttributeMapper

func (*UserAttributeMapper) GetParameters

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

GetParameters of this UserAttributeMapper

func (*UserAttributeMapper) GetProviderConfigReference

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

GetProviderConfigReference of this UserAttributeMapper.

func (*UserAttributeMapper) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this UserAttributeMapper.

func (*UserAttributeMapper) GetTerraformResourceType

func (mg *UserAttributeMapper) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this UserAttributeMapper

func (*UserAttributeMapper) GetTerraformSchemaVersion

func (tr *UserAttributeMapper) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*UserAttributeMapper) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this UserAttributeMapper.

func (*UserAttributeMapper) Hub

func (tr *UserAttributeMapper) Hub()

Hub marks this type as a conversion hub.

func (*UserAttributeMapper) LateInitialize

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

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

func (*UserAttributeMapper) ResolveReferences

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

ResolveReferences of this UserAttributeMapper.

func (*UserAttributeMapper) SetConditions

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

SetConditions of this UserAttributeMapper.

func (*UserAttributeMapper) SetDeletionPolicy

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

SetDeletionPolicy of this UserAttributeMapper.

func (*UserAttributeMapper) SetManagementPolicies

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

SetManagementPolicies of this UserAttributeMapper.

func (*UserAttributeMapper) SetObservation

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

SetObservation for this UserAttributeMapper

func (*UserAttributeMapper) SetParameters

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

SetParameters for this UserAttributeMapper

func (*UserAttributeMapper) SetProviderConfigReference

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

SetProviderConfigReference of this UserAttributeMapper.

func (*UserAttributeMapper) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this UserAttributeMapper.

func (*UserAttributeMapper) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this UserAttributeMapper.

type UserAttributeMapperInitParameters

type UserAttributeMapperInitParameters struct {

	// When true, the value fetched from LDAP will override the value stored in Keycloak. Defaults to false.
	// When true, the value fetched from LDAP will override the value stored in Keycloak.
	AlwaysReadValueFromLdap *bool `json:"alwaysReadValueFromLdap,omitempty" tf:"always_read_value_from_ldap,omitempty"`

	// Default value to set in LDAP if is_mandatory_in_ldap is true and the value is empty.
	// Default value to set in LDAP if is_mandatory_in_ldap and the value is empty
	AttributeDefaultValue *string `json:"attributeDefaultValue,omitempty" tf:"attribute_default_value,omitempty"`

	// Should be true for binary LDAP attributes.
	// Should be true for binary LDAP attributes
	IsBinaryAttribute *bool `json:"isBinaryAttribute,omitempty" tf:"is_binary_attribute,omitempty"`

	// When true, this attribute must exist in LDAP. Defaults to false.
	// When true, this attribute must exist in LDAP.
	IsMandatoryInLdap *bool `json:"isMandatoryInLdap,omitempty" tf:"is_mandatory_in_ldap,omitempty"`

	// Name of the mapped attribute on the LDAP object.
	// Name of the mapped attribute on LDAP object.
	LdapAttribute *string `json:"ldapAttribute,omitempty" tf:"ldap_attribute,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// When true, this attribute is not saved back to LDAP when the user attribute is updated in Keycloak. Defaults to false.
	// When true, this attribute is not saved back to LDAP when the user attribute is updated in Keycloak.
	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	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:"-"`

	// Name of the user property or attribute you want to map the LDAP attribute into.
	// Name of the UserModel property or attribute you want to map the LDAP attribute into.
	UserModelAttribute *string `json:"userModelAttribute,omitempty" tf:"user_model_attribute,omitempty"`
}

func (*UserAttributeMapperInitParameters) DeepCopy

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

func (*UserAttributeMapperInitParameters) DeepCopyInto

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

type UserAttributeMapperList

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

UserAttributeMapperList contains a list of UserAttributeMappers

func (*UserAttributeMapperList) DeepCopy

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

func (*UserAttributeMapperList) DeepCopyInto

func (in *UserAttributeMapperList) DeepCopyInto(out *UserAttributeMapperList)

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

func (*UserAttributeMapperList) DeepCopyObject

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

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

func (*UserAttributeMapperList) GetItems

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

GetItems of this UserAttributeMapperList.

type UserAttributeMapperObservation

type UserAttributeMapperObservation struct {

	// When true, the value fetched from LDAP will override the value stored in Keycloak. Defaults to false.
	// When true, the value fetched from LDAP will override the value stored in Keycloak.
	AlwaysReadValueFromLdap *bool `json:"alwaysReadValueFromLdap,omitempty" tf:"always_read_value_from_ldap,omitempty"`

	// Default value to set in LDAP if is_mandatory_in_ldap is true and the value is empty.
	// Default value to set in LDAP if is_mandatory_in_ldap and the value is empty
	AttributeDefaultValue *string `json:"attributeDefaultValue,omitempty" tf:"attribute_default_value,omitempty"`

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

	// Should be true for binary LDAP attributes.
	// Should be true for binary LDAP attributes
	IsBinaryAttribute *bool `json:"isBinaryAttribute,omitempty" tf:"is_binary_attribute,omitempty"`

	// When true, this attribute must exist in LDAP. Defaults to false.
	// When true, this attribute must exist in LDAP.
	IsMandatoryInLdap *bool `json:"isMandatoryInLdap,omitempty" tf:"is_mandatory_in_ldap,omitempty"`

	// Name of the mapped attribute on the LDAP object.
	// Name of the mapped attribute on LDAP object.
	LdapAttribute *string `json:"ldapAttribute,omitempty" tf:"ldap_attribute,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// When true, this attribute is not saved back to LDAP when the user attribute is updated in Keycloak. Defaults to false.
	// When true, this attribute is not saved back to LDAP when the user attribute is updated in Keycloak.
	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// Name of the user property or attribute you want to map the LDAP attribute into.
	// Name of the UserModel property or attribute you want to map the LDAP attribute into.
	UserModelAttribute *string `json:"userModelAttribute,omitempty" tf:"user_model_attribute,omitempty"`
}

func (*UserAttributeMapperObservation) DeepCopy

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

func (*UserAttributeMapperObservation) DeepCopyInto

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

type UserAttributeMapperParameters

type UserAttributeMapperParameters struct {

	// When true, the value fetched from LDAP will override the value stored in Keycloak. Defaults to false.
	// When true, the value fetched from LDAP will override the value stored in Keycloak.
	// +kubebuilder:validation:Optional
	AlwaysReadValueFromLdap *bool `json:"alwaysReadValueFromLdap,omitempty" tf:"always_read_value_from_ldap,omitempty"`

	// Default value to set in LDAP if is_mandatory_in_ldap is true and the value is empty.
	// Default value to set in LDAP if is_mandatory_in_ldap and the value is empty
	// +kubebuilder:validation:Optional
	AttributeDefaultValue *string `json:"attributeDefaultValue,omitempty" tf:"attribute_default_value,omitempty"`

	// Should be true for binary LDAP attributes.
	// Should be true for binary LDAP attributes
	// +kubebuilder:validation:Optional
	IsBinaryAttribute *bool `json:"isBinaryAttribute,omitempty" tf:"is_binary_attribute,omitempty"`

	// When true, this attribute must exist in LDAP. Defaults to false.
	// When true, this attribute must exist in LDAP.
	// +kubebuilder:validation:Optional
	IsMandatoryInLdap *bool `json:"isMandatoryInLdap,omitempty" tf:"is_mandatory_in_ldap,omitempty"`

	// Name of the mapped attribute on the LDAP object.
	// Name of the mapped attribute on LDAP object.
	// +kubebuilder:validation:Optional
	LdapAttribute *string `json:"ldapAttribute,omitempty" tf:"ldap_attribute,omitempty"`

	// The ID of the LDAP user federation provider to attach this mapper to.
	// The ldap user federation provider to attach this mapper to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/ldap/v1alpha1.UserFederation
	// +kubebuilder:validation:Optional
	LdapUserFederationID *string `json:"ldapUserFederationId,omitempty" tf:"ldap_user_federation_id,omitempty"`

	// Reference to a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDRef *v1.Reference `json:"ldapUserFederationIdRef,omitempty" tf:"-"`

	// Selector for a UserFederation in ldap to populate ldapUserFederationId.
	// +kubebuilder:validation:Optional
	LdapUserFederationIDSelector *v1.Selector `json:"ldapUserFederationIdSelector,omitempty" tf:"-"`

	// Display name of this mapper when displayed in the console.
	// Display name of the mapper when displayed in the console.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// When true, this attribute is not saved back to LDAP when the user attribute is updated in Keycloak. Defaults to false.
	// When true, this attribute is not saved back to LDAP when the user attribute is updated in Keycloak.
	// +kubebuilder:validation:Optional
	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"`

	// The realm that this LDAP mapper will exist in.
	// The realm in which the ldap user federation provider exists.
	// +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:"-"`

	// Name of the user property or attribute you want to map the LDAP attribute into.
	// Name of the UserModel property or attribute you want to map the LDAP attribute into.
	// +kubebuilder:validation:Optional
	UserModelAttribute *string `json:"userModelAttribute,omitempty" tf:"user_model_attribute,omitempty"`
}

func (*UserAttributeMapperParameters) DeepCopy

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

func (*UserAttributeMapperParameters) DeepCopyInto

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

type UserAttributeMapperSpec

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

UserAttributeMapperSpec defines the desired state of UserAttributeMapper

func (*UserAttributeMapperSpec) DeepCopy

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

func (*UserAttributeMapperSpec) DeepCopyInto

func (in *UserAttributeMapperSpec) DeepCopyInto(out *UserAttributeMapperSpec)

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

type UserAttributeMapperStatus

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

UserAttributeMapperStatus defines the observed state of UserAttributeMapper.

func (*UserAttributeMapperStatus) DeepCopy

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

func (*UserAttributeMapperStatus) DeepCopyInto

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

type UserFederation

type UserFederation 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.connectionUrl) || (has(self.initProvider) && has(self.initProvider.connectionUrl))",message="spec.forProvider.connectionUrl 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"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rdnLdapAttribute) || (has(self.initProvider) && has(self.initProvider.rdnLdapAttribute))",message="spec.forProvider.rdnLdapAttribute is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.userObjectClasses) || (has(self.initProvider) && has(self.initProvider.userObjectClasses))",message="spec.forProvider.userObjectClasses is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.usernameLdapAttribute) || (has(self.initProvider) && has(self.initProvider.usernameLdapAttribute))",message="spec.forProvider.usernameLdapAttribute is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.usersDn) || (has(self.initProvider) && has(self.initProvider.usersDn))",message="spec.forProvider.usersDn is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.uuidLdapAttribute) || (has(self.initProvider) && has(self.initProvider.uuidLdapAttribute))",message="spec.forProvider.uuidLdapAttribute is a required parameter"
	Spec   UserFederationSpec   `json:"spec"`
	Status UserFederationStatus `json:"status,omitempty"`
}

UserFederation is the Schema for the UserFederations API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,keycloak}

func (*UserFederation) DeepCopy

func (in *UserFederation) DeepCopy() *UserFederation

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

func (*UserFederation) DeepCopyInto

func (in *UserFederation) DeepCopyInto(out *UserFederation)

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

func (*UserFederation) DeepCopyObject

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

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

func (*UserFederation) GetCondition

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

GetCondition of this UserFederation.

func (*UserFederation) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this UserFederation

func (*UserFederation) GetDeletionPolicy

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

GetDeletionPolicy of this UserFederation.

func (*UserFederation) GetID

func (tr *UserFederation) GetID() string

GetID returns ID of underlying Terraform resource of this UserFederation

func (*UserFederation) GetInitParameters

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

GetInitParameters of this UserFederation

func (*UserFederation) GetManagementPolicies

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

GetManagementPolicies of this UserFederation.

func (*UserFederation) GetMergedParameters

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

GetInitParameters of this UserFederation

func (*UserFederation) GetObservation

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

GetObservation of this UserFederation

func (*UserFederation) GetParameters

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

GetParameters of this UserFederation

func (*UserFederation) GetProviderConfigReference

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

GetProviderConfigReference of this UserFederation.

func (*UserFederation) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this UserFederation.

func (*UserFederation) GetTerraformResourceType

func (mg *UserFederation) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this UserFederation

func (*UserFederation) GetTerraformSchemaVersion

func (tr *UserFederation) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*UserFederation) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this UserFederation.

func (*UserFederation) Hub

func (tr *UserFederation) Hub()

Hub marks this type as a conversion hub.

func (*UserFederation) LateInitialize

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

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

func (*UserFederation) ResolveReferences

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

ResolveReferences of this UserFederation.

func (*UserFederation) SetConditions

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

SetConditions of this UserFederation.

func (*UserFederation) SetDeletionPolicy

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

SetDeletionPolicy of this UserFederation.

func (*UserFederation) SetManagementPolicies

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

SetManagementPolicies of this UserFederation.

func (*UserFederation) SetObservation

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

SetObservation for this UserFederation

func (*UserFederation) SetParameters

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

SetParameters for this UserFederation

func (*UserFederation) SetProviderConfigReference

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

SetProviderConfigReference of this UserFederation.

func (*UserFederation) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this UserFederation.

func (*UserFederation) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this UserFederation.

type UserFederationInitParameters

type UserFederationInitParameters struct {

	// The number of users to sync within a single transaction. Defaults to 1000.
	// The number of users to sync within a single transaction.
	BatchSizeForSync *float64 `json:"batchSizeForSync,omitempty" tf:"batch_size_for_sync,omitempty"`

	// Password of LDAP admin. This attribute must be set if bind_dn is set.
	// Password of LDAP admin.
	BindCredentialSecretRef *v1.SecretKeySelector `json:"bindCredentialSecretRef,omitempty" tf:"-"`

	// DN of LDAP admin, which will be used by Keycloak to access LDAP server. This attribute must be set if bind_credential is set.
	// DN of LDAP admin, which will be used by Keycloak to access LDAP server.
	BindDn *string `json:"bindDn,omitempty" tf:"bind_dn,omitempty"`

	// A block containing the cache settings.
	// Settings regarding cache policy for this realm.
	Cache []CacheInitParameters `json:"cache,omitempty" tf:"cache,omitempty"`

	// How frequently Keycloak should sync changed LDAP users, in seconds. Omit this property to disable periodic changed users sync.
	// How frequently Keycloak should sync changed LDAP users, in seconds. Omit this property to disable periodic changed users sync.
	ChangedSyncPeriod *float64 `json:"changedSyncPeriod,omitempty" tf:"changed_sync_period,omitempty"`

	// LDAP connection timeout in the format of a Go duration string.
	// LDAP connection timeout (duration string)
	ConnectionTimeout *string `json:"connectionTimeout,omitempty" tf:"connection_timeout,omitempty"`

	// Connection URL to the LDAP server.
	// Connection URL to the LDAP server.
	ConnectionURL *string `json:"connectionUrl,omitempty" tf:"connection_url,omitempty"`

	// Additional LDAP filter for filtering searched users. Must begin with ( and end with ).
	// Additional LDAP filter for filtering searched users. Must begin with '(' and end with ')'.
	CustomUserSearchFilter *string `json:"customUserSearchFilter,omitempty" tf:"custom_user_search_filter,omitempty"`

	// When true, the provider will delete the default mappers which are normally created by Keycloak when creating an LDAP user federation provider. Defaults to false.
	// When true, the provider will delete the default mappers which are normally created by Keycloak when creating an LDAP user federation provider.
	DeleteDefaultMappers *bool `json:"deleteDefaultMappers,omitempty" tf:"delete_default_mappers,omitempty"`

	// Can be one of READ_ONLY, WRITABLE, or UNSYNCED. UNSYNCED allows user data to be imported but not synced back to LDAP. Defaults to READ_ONLY.
	// READ_ONLY and WRITABLE are self-explanatory. UNSYNCED allows user data to be imported but not synced back to LDAP.
	EditMode *string `json:"editMode,omitempty" tf:"edit_mode,omitempty"`

	// When false, this provider will not be used when performing queries for users. Defaults to true.
	// When false, this provider will not be used when performing queries for users.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// How frequently Keycloak should sync all LDAP users, in seconds. Omit this property to disable periodic full sync.
	// How frequently Keycloak should sync all LDAP users, in seconds. Omit this property to disable periodic full sync.
	FullSyncPeriod *float64 `json:"fullSyncPeriod,omitempty" tf:"full_sync_period,omitempty"`

	// When true, LDAP users will be imported into the Keycloak database. Defaults to true.
	// When true, LDAP users will be imported into the Keycloak database.
	ImportEnabled *bool `json:"importEnabled,omitempty" tf:"import_enabled,omitempty"`

	// A block containing the kerberos settings.
	// Settings regarding kerberos authentication for this realm.
	Kerberos []KerberosInitParameters `json:"kerberos,omitempty" tf:"kerberos,omitempty"`

	// Display name of the provider when displayed in the console.
	// Display name of the provider when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// When true, Keycloak assumes the LDAP server supports pagination. Defaults to true.
	// When true, Keycloak assumes the LDAP server supports pagination.
	Pagination *bool `json:"pagination,omitempty" tf:"pagination,omitempty"`

	// Priority of this provider when looking up users. Lower values are first. Defaults to 0.
	// Priority of this provider when looking up users. Lower values are first.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// Name of the LDAP attribute to use as the relative distinguished name.
	// Name of the LDAP attribute to use as the relative distinguished name.
	RdnLdapAttribute *string `json:"rdnLdapAttribute,omitempty" tf:"rdn_ldap_attribute,omitempty"`

	// LDAP read timeout in the format of a Go duration string.
	// LDAP read timeout (duration string)
	ReadTimeout *string `json:"readTimeout,omitempty" tf:"read_timeout,omitempty"`

	// The realm that this provider will provide user federation for.
	// The realm this provider will provide user federation for.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	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:"-"`

	// Can be one of ONE_LEVEL or SUBTREE:
	// ONE_LEVEL: only search for users in the DN specified by user_dn. SUBTREE: search entire LDAP subtree.
	SearchScope *string `json:"searchScope,omitempty" tf:"search_scope,omitempty"`

	// When true, Keycloak will encrypt the connection to LDAP using STARTTLS, which will disable connection pooling.
	// When true, Keycloak will encrypt the connection to LDAP using STARTTLS, which will disable connection pooling.
	StartTLS *bool `json:"startTls,omitempty" tf:"start_tls,omitempty"`

	// When true, newly created users will be synced back to LDAP. Defaults to false.
	// When true, newly created users will be synced back to LDAP.
	SyncRegistrations *bool `json:"syncRegistrations,omitempty" tf:"sync_registrations,omitempty"`

	// If enabled, email provided by this provider is not verified even if verification is enabled for the realm.
	// If enabled, email provided by this provider is not verified even if verification is enabled for the realm.
	TrustEmail *bool `json:"trustEmail,omitempty" tf:"trust_email,omitempty"`

	// Name of the LDAP attribute to use as a unique object identifier for objects in LDAP.
	// Name of the LDAP attribute to use as a unique object identifier for objects in LDAP.
	UUIDLdapAttribute *string `json:"uuidLdapAttribute,omitempty" tf:"uuid_ldap_attribute,omitempty"`

	// When true, use the LDAPv3 Password Modify Extended Operation (RFC-3062).
	// When `true`, use the LDAPv3 Password Modify Extended Operation (RFC-3062).
	UsePasswordModifyExtendedOp *bool `json:"usePasswordModifyExtendedOp,omitempty" tf:"use_password_modify_extended_op,omitempty"`

	// Can be one of ALWAYS, ONLY_FOR_LDAPS, or NEVER:
	UseTruststoreSpi *string `json:"useTruststoreSpi,omitempty" tf:"use_truststore_spi,omitempty"`

	// Array of all values of LDAP objectClass attribute for users in LDAP. Must contain at least one.
	// All values of LDAP objectClass attribute for users in LDAP.
	UserObjectClasses []*string `json:"userObjectClasses,omitempty" tf:"user_object_classes,omitempty"`

	// Name of the LDAP attribute to use as the Keycloak username.
	// Name of the LDAP attribute to use as the Keycloak username.
	UsernameLdapAttribute *string `json:"usernameLdapAttribute,omitempty" tf:"username_ldap_attribute,omitempty"`

	// Full DN of LDAP tree where your users are.
	// Full DN of LDAP tree where your users are.
	UsersDn *string `json:"usersDn,omitempty" tf:"users_dn,omitempty"`

	// When true, Keycloak will validate passwords using the realm policy before updating it.
	// When true, Keycloak will validate passwords using the realm policy before updating it.
	ValidatePasswordPolicy *bool `json:"validatePasswordPolicy,omitempty" tf:"validate_password_policy,omitempty"`

	// Can be one of OTHER, EDIRECTORY, AD, RHDS, or TIVOLI. When this is selected in the GUI, it provides reasonable defaults for other fields. When used with the Keycloak API, this attribute does nothing, but is still required. Defaults to OTHER.
	// LDAP vendor. I am almost certain this field does nothing, but the UI indicates that it is required.
	Vendor *string `json:"vendor,omitempty" tf:"vendor,omitempty"`
}

func (*UserFederationInitParameters) DeepCopy

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

func (*UserFederationInitParameters) DeepCopyInto

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

type UserFederationList

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

UserFederationList contains a list of UserFederations

func (*UserFederationList) DeepCopy

func (in *UserFederationList) DeepCopy() *UserFederationList

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

func (*UserFederationList) DeepCopyInto

func (in *UserFederationList) DeepCopyInto(out *UserFederationList)

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

func (*UserFederationList) DeepCopyObject

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

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

func (*UserFederationList) GetItems

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

GetItems of this UserFederationList.

type UserFederationObservation

type UserFederationObservation struct {

	// The number of users to sync within a single transaction. Defaults to 1000.
	// The number of users to sync within a single transaction.
	BatchSizeForSync *float64 `json:"batchSizeForSync,omitempty" tf:"batch_size_for_sync,omitempty"`

	// DN of LDAP admin, which will be used by Keycloak to access LDAP server. This attribute must be set if bind_credential is set.
	// DN of LDAP admin, which will be used by Keycloak to access LDAP server.
	BindDn *string `json:"bindDn,omitempty" tf:"bind_dn,omitempty"`

	// A block containing the cache settings.
	// Settings regarding cache policy for this realm.
	Cache []CacheObservation `json:"cache,omitempty" tf:"cache,omitempty"`

	// How frequently Keycloak should sync changed LDAP users, in seconds. Omit this property to disable periodic changed users sync.
	// How frequently Keycloak should sync changed LDAP users, in seconds. Omit this property to disable periodic changed users sync.
	ChangedSyncPeriod *float64 `json:"changedSyncPeriod,omitempty" tf:"changed_sync_period,omitempty"`

	// LDAP connection timeout in the format of a Go duration string.
	// LDAP connection timeout (duration string)
	ConnectionTimeout *string `json:"connectionTimeout,omitempty" tf:"connection_timeout,omitempty"`

	// Connection URL to the LDAP server.
	// Connection URL to the LDAP server.
	ConnectionURL *string `json:"connectionUrl,omitempty" tf:"connection_url,omitempty"`

	// Additional LDAP filter for filtering searched users. Must begin with ( and end with ).
	// Additional LDAP filter for filtering searched users. Must begin with '(' and end with ')'.
	CustomUserSearchFilter *string `json:"customUserSearchFilter,omitempty" tf:"custom_user_search_filter,omitempty"`

	// When true, the provider will delete the default mappers which are normally created by Keycloak when creating an LDAP user federation provider. Defaults to false.
	// When true, the provider will delete the default mappers which are normally created by Keycloak when creating an LDAP user federation provider.
	DeleteDefaultMappers *bool `json:"deleteDefaultMappers,omitempty" tf:"delete_default_mappers,omitempty"`

	// Can be one of READ_ONLY, WRITABLE, or UNSYNCED. UNSYNCED allows user data to be imported but not synced back to LDAP. Defaults to READ_ONLY.
	// READ_ONLY and WRITABLE are self-explanatory. UNSYNCED allows user data to be imported but not synced back to LDAP.
	EditMode *string `json:"editMode,omitempty" tf:"edit_mode,omitempty"`

	// When false, this provider will not be used when performing queries for users. Defaults to true.
	// When false, this provider will not be used when performing queries for users.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// How frequently Keycloak should sync all LDAP users, in seconds. Omit this property to disable periodic full sync.
	// How frequently Keycloak should sync all LDAP users, in seconds. Omit this property to disable periodic full sync.
	FullSyncPeriod *float64 `json:"fullSyncPeriod,omitempty" tf:"full_sync_period,omitempty"`

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

	// When true, LDAP users will be imported into the Keycloak database. Defaults to true.
	// When true, LDAP users will be imported into the Keycloak database.
	ImportEnabled *bool `json:"importEnabled,omitempty" tf:"import_enabled,omitempty"`

	// A block containing the kerberos settings.
	// Settings regarding kerberos authentication for this realm.
	Kerberos []KerberosObservation `json:"kerberos,omitempty" tf:"kerberos,omitempty"`

	// Display name of the provider when displayed in the console.
	// Display name of the provider when displayed in the console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// When true, Keycloak assumes the LDAP server supports pagination. Defaults to true.
	// When true, Keycloak assumes the LDAP server supports pagination.
	Pagination *bool `json:"pagination,omitempty" tf:"pagination,omitempty"`

	// Priority of this provider when looking up users. Lower values are first. Defaults to 0.
	// Priority of this provider when looking up users. Lower values are first.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// Name of the LDAP attribute to use as the relative distinguished name.
	// Name of the LDAP attribute to use as the relative distinguished name.
	RdnLdapAttribute *string `json:"rdnLdapAttribute,omitempty" tf:"rdn_ldap_attribute,omitempty"`

	// LDAP read timeout in the format of a Go duration string.
	// LDAP read timeout (duration string)
	ReadTimeout *string `json:"readTimeout,omitempty" tf:"read_timeout,omitempty"`

	// The realm that this provider will provide user federation for.
	// The realm this provider will provide user federation for.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// Can be one of ONE_LEVEL or SUBTREE:
	// ONE_LEVEL: only search for users in the DN specified by user_dn. SUBTREE: search entire LDAP subtree.
	SearchScope *string `json:"searchScope,omitempty" tf:"search_scope,omitempty"`

	// When true, Keycloak will encrypt the connection to LDAP using STARTTLS, which will disable connection pooling.
	// When true, Keycloak will encrypt the connection to LDAP using STARTTLS, which will disable connection pooling.
	StartTLS *bool `json:"startTls,omitempty" tf:"start_tls,omitempty"`

	// When true, newly created users will be synced back to LDAP. Defaults to false.
	// When true, newly created users will be synced back to LDAP.
	SyncRegistrations *bool `json:"syncRegistrations,omitempty" tf:"sync_registrations,omitempty"`

	// If enabled, email provided by this provider is not verified even if verification is enabled for the realm.
	// If enabled, email provided by this provider is not verified even if verification is enabled for the realm.
	TrustEmail *bool `json:"trustEmail,omitempty" tf:"trust_email,omitempty"`

	// Name of the LDAP attribute to use as a unique object identifier for objects in LDAP.
	// Name of the LDAP attribute to use as a unique object identifier for objects in LDAP.
	UUIDLdapAttribute *string `json:"uuidLdapAttribute,omitempty" tf:"uuid_ldap_attribute,omitempty"`

	// When true, use the LDAPv3 Password Modify Extended Operation (RFC-3062).
	// When `true`, use the LDAPv3 Password Modify Extended Operation (RFC-3062).
	UsePasswordModifyExtendedOp *bool `json:"usePasswordModifyExtendedOp,omitempty" tf:"use_password_modify_extended_op,omitempty"`

	// Can be one of ALWAYS, ONLY_FOR_LDAPS, or NEVER:
	UseTruststoreSpi *string `json:"useTruststoreSpi,omitempty" tf:"use_truststore_spi,omitempty"`

	// Array of all values of LDAP objectClass attribute for users in LDAP. Must contain at least one.
	// All values of LDAP objectClass attribute for users in LDAP.
	UserObjectClasses []*string `json:"userObjectClasses,omitempty" tf:"user_object_classes,omitempty"`

	// Name of the LDAP attribute to use as the Keycloak username.
	// Name of the LDAP attribute to use as the Keycloak username.
	UsernameLdapAttribute *string `json:"usernameLdapAttribute,omitempty" tf:"username_ldap_attribute,omitempty"`

	// Full DN of LDAP tree where your users are.
	// Full DN of LDAP tree where your users are.
	UsersDn *string `json:"usersDn,omitempty" tf:"users_dn,omitempty"`

	// When true, Keycloak will validate passwords using the realm policy before updating it.
	// When true, Keycloak will validate passwords using the realm policy before updating it.
	ValidatePasswordPolicy *bool `json:"validatePasswordPolicy,omitempty" tf:"validate_password_policy,omitempty"`

	// Can be one of OTHER, EDIRECTORY, AD, RHDS, or TIVOLI. When this is selected in the GUI, it provides reasonable defaults for other fields. When used with the Keycloak API, this attribute does nothing, but is still required. Defaults to OTHER.
	// LDAP vendor. I am almost certain this field does nothing, but the UI indicates that it is required.
	Vendor *string `json:"vendor,omitempty" tf:"vendor,omitempty"`
}

func (*UserFederationObservation) DeepCopy

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

func (*UserFederationObservation) DeepCopyInto

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

type UserFederationParameters

type UserFederationParameters struct {

	// The number of users to sync within a single transaction. Defaults to 1000.
	// The number of users to sync within a single transaction.
	// +kubebuilder:validation:Optional
	BatchSizeForSync *float64 `json:"batchSizeForSync,omitempty" tf:"batch_size_for_sync,omitempty"`

	// Password of LDAP admin. This attribute must be set if bind_dn is set.
	// Password of LDAP admin.
	// +kubebuilder:validation:Optional
	BindCredentialSecretRef *v1.SecretKeySelector `json:"bindCredentialSecretRef,omitempty" tf:"-"`

	// DN of LDAP admin, which will be used by Keycloak to access LDAP server. This attribute must be set if bind_credential is set.
	// DN of LDAP admin, which will be used by Keycloak to access LDAP server.
	// +kubebuilder:validation:Optional
	BindDn *string `json:"bindDn,omitempty" tf:"bind_dn,omitempty"`

	// A block containing the cache settings.
	// Settings regarding cache policy for this realm.
	// +kubebuilder:validation:Optional
	Cache []CacheParameters `json:"cache,omitempty" tf:"cache,omitempty"`

	// How frequently Keycloak should sync changed LDAP users, in seconds. Omit this property to disable periodic changed users sync.
	// How frequently Keycloak should sync changed LDAP users, in seconds. Omit this property to disable periodic changed users sync.
	// +kubebuilder:validation:Optional
	ChangedSyncPeriod *float64 `json:"changedSyncPeriod,omitempty" tf:"changed_sync_period,omitempty"`

	// LDAP connection timeout in the format of a Go duration string.
	// LDAP connection timeout (duration string)
	// +kubebuilder:validation:Optional
	ConnectionTimeout *string `json:"connectionTimeout,omitempty" tf:"connection_timeout,omitempty"`

	// Connection URL to the LDAP server.
	// Connection URL to the LDAP server.
	// +kubebuilder:validation:Optional
	ConnectionURL *string `json:"connectionUrl,omitempty" tf:"connection_url,omitempty"`

	// Additional LDAP filter for filtering searched users. Must begin with ( and end with ).
	// Additional LDAP filter for filtering searched users. Must begin with '(' and end with ')'.
	// +kubebuilder:validation:Optional
	CustomUserSearchFilter *string `json:"customUserSearchFilter,omitempty" tf:"custom_user_search_filter,omitempty"`

	// When true, the provider will delete the default mappers which are normally created by Keycloak when creating an LDAP user federation provider. Defaults to false.
	// When true, the provider will delete the default mappers which are normally created by Keycloak when creating an LDAP user federation provider.
	// +kubebuilder:validation:Optional
	DeleteDefaultMappers *bool `json:"deleteDefaultMappers,omitempty" tf:"delete_default_mappers,omitempty"`

	// Can be one of READ_ONLY, WRITABLE, or UNSYNCED. UNSYNCED allows user data to be imported but not synced back to LDAP. Defaults to READ_ONLY.
	// READ_ONLY and WRITABLE are self-explanatory. UNSYNCED allows user data to be imported but not synced back to LDAP.
	// +kubebuilder:validation:Optional
	EditMode *string `json:"editMode,omitempty" tf:"edit_mode,omitempty"`

	// When false, this provider will not be used when performing queries for users. Defaults to true.
	// When false, this provider will not be used when performing queries for users.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// How frequently Keycloak should sync all LDAP users, in seconds. Omit this property to disable periodic full sync.
	// How frequently Keycloak should sync all LDAP users, in seconds. Omit this property to disable periodic full sync.
	// +kubebuilder:validation:Optional
	FullSyncPeriod *float64 `json:"fullSyncPeriod,omitempty" tf:"full_sync_period,omitempty"`

	// When true, LDAP users will be imported into the Keycloak database. Defaults to true.
	// When true, LDAP users will be imported into the Keycloak database.
	// +kubebuilder:validation:Optional
	ImportEnabled *bool `json:"importEnabled,omitempty" tf:"import_enabled,omitempty"`

	// A block containing the kerberos settings.
	// Settings regarding kerberos authentication for this realm.
	// +kubebuilder:validation:Optional
	Kerberos []KerberosParameters `json:"kerberos,omitempty" tf:"kerberos,omitempty"`

	// Display name of the provider when displayed in the console.
	// Display name of the provider when displayed in the console.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// When true, Keycloak assumes the LDAP server supports pagination. Defaults to true.
	// When true, Keycloak assumes the LDAP server supports pagination.
	// +kubebuilder:validation:Optional
	Pagination *bool `json:"pagination,omitempty" tf:"pagination,omitempty"`

	// Priority of this provider when looking up users. Lower values are first. Defaults to 0.
	// Priority of this provider when looking up users. Lower values are first.
	// +kubebuilder:validation:Optional
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// Name of the LDAP attribute to use as the relative distinguished name.
	// Name of the LDAP attribute to use as the relative distinguished name.
	// +kubebuilder:validation:Optional
	RdnLdapAttribute *string `json:"rdnLdapAttribute,omitempty" tf:"rdn_ldap_attribute,omitempty"`

	// LDAP read timeout in the format of a Go duration string.
	// LDAP read timeout (duration string)
	// +kubebuilder:validation:Optional
	ReadTimeout *string `json:"readTimeout,omitempty" tf:"read_timeout,omitempty"`

	// The realm that this provider will provide user federation for.
	// The realm this provider will provide user federation for.
	// +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:"-"`

	// Can be one of ONE_LEVEL or SUBTREE:
	// ONE_LEVEL: only search for users in the DN specified by user_dn. SUBTREE: search entire LDAP subtree.
	// +kubebuilder:validation:Optional
	SearchScope *string `json:"searchScope,omitempty" tf:"search_scope,omitempty"`

	// When true, Keycloak will encrypt the connection to LDAP using STARTTLS, which will disable connection pooling.
	// When true, Keycloak will encrypt the connection to LDAP using STARTTLS, which will disable connection pooling.
	// +kubebuilder:validation:Optional
	StartTLS *bool `json:"startTls,omitempty" tf:"start_tls,omitempty"`

	// When true, newly created users will be synced back to LDAP. Defaults to false.
	// When true, newly created users will be synced back to LDAP.
	// +kubebuilder:validation:Optional
	SyncRegistrations *bool `json:"syncRegistrations,omitempty" tf:"sync_registrations,omitempty"`

	// If enabled, email provided by this provider is not verified even if verification is enabled for the realm.
	// If enabled, email provided by this provider is not verified even if verification is enabled for the realm.
	// +kubebuilder:validation:Optional
	TrustEmail *bool `json:"trustEmail,omitempty" tf:"trust_email,omitempty"`

	// Name of the LDAP attribute to use as a unique object identifier for objects in LDAP.
	// Name of the LDAP attribute to use as a unique object identifier for objects in LDAP.
	// +kubebuilder:validation:Optional
	UUIDLdapAttribute *string `json:"uuidLdapAttribute,omitempty" tf:"uuid_ldap_attribute,omitempty"`

	// When true, use the LDAPv3 Password Modify Extended Operation (RFC-3062).
	// When `true`, use the LDAPv3 Password Modify Extended Operation (RFC-3062).
	// +kubebuilder:validation:Optional
	UsePasswordModifyExtendedOp *bool `json:"usePasswordModifyExtendedOp,omitempty" tf:"use_password_modify_extended_op,omitempty"`

	// Can be one of ALWAYS, ONLY_FOR_LDAPS, or NEVER:
	// +kubebuilder:validation:Optional
	UseTruststoreSpi *string `json:"useTruststoreSpi,omitempty" tf:"use_truststore_spi,omitempty"`

	// Array of all values of LDAP objectClass attribute for users in LDAP. Must contain at least one.
	// All values of LDAP objectClass attribute for users in LDAP.
	// +kubebuilder:validation:Optional
	UserObjectClasses []*string `json:"userObjectClasses,omitempty" tf:"user_object_classes,omitempty"`

	// Name of the LDAP attribute to use as the Keycloak username.
	// Name of the LDAP attribute to use as the Keycloak username.
	// +kubebuilder:validation:Optional
	UsernameLdapAttribute *string `json:"usernameLdapAttribute,omitempty" tf:"username_ldap_attribute,omitempty"`

	// Full DN of LDAP tree where your users are.
	// Full DN of LDAP tree where your users are.
	// +kubebuilder:validation:Optional
	UsersDn *string `json:"usersDn,omitempty" tf:"users_dn,omitempty"`

	// When true, Keycloak will validate passwords using the realm policy before updating it.
	// When true, Keycloak will validate passwords using the realm policy before updating it.
	// +kubebuilder:validation:Optional
	ValidatePasswordPolicy *bool `json:"validatePasswordPolicy,omitempty" tf:"validate_password_policy,omitempty"`

	// Can be one of OTHER, EDIRECTORY, AD, RHDS, or TIVOLI. When this is selected in the GUI, it provides reasonable defaults for other fields. When used with the Keycloak API, this attribute does nothing, but is still required. Defaults to OTHER.
	// LDAP vendor. I am almost certain this field does nothing, but the UI indicates that it is required.
	// +kubebuilder:validation:Optional
	Vendor *string `json:"vendor,omitempty" tf:"vendor,omitempty"`
}

func (*UserFederationParameters) DeepCopy

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

func (*UserFederationParameters) DeepCopyInto

func (in *UserFederationParameters) DeepCopyInto(out *UserFederationParameters)

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

type UserFederationSpec

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

UserFederationSpec defines the desired state of UserFederation

func (*UserFederationSpec) DeepCopy

func (in *UserFederationSpec) DeepCopy() *UserFederationSpec

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

func (*UserFederationSpec) DeepCopyInto

func (in *UserFederationSpec) DeepCopyInto(out *UserFederationSpec)

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

type UserFederationStatus

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

UserFederationStatus defines the observed state of UserFederation.

func (*UserFederationStatus) DeepCopy

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

func (*UserFederationStatus) DeepCopyInto

func (in *UserFederationStatus) DeepCopyInto(out *UserFederationStatus)

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