v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=mapper.keycloak.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "mapper.keycloak.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	IdentityProviderMapper_Kind             = "IdentityProviderMapper"
	IdentityProviderMapper_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: IdentityProviderMapper_Kind}.String()
	IdentityProviderMapper_KindAPIVersion   = IdentityProviderMapper_Kind + "." + CRDGroupVersion.String()
	IdentityProviderMapper_GroupVersionKind = CRDGroupVersion.WithKind(IdentityProviderMapper_Kind)
)

Repository type metadata.

View Source
var (
	ProtocolMapper_Kind             = "ProtocolMapper"
	ProtocolMapper_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProtocolMapper_Kind}.String()
	ProtocolMapper_KindAPIVersion   = ProtocolMapper_Kind + "." + CRDGroupVersion.String()
	ProtocolMapper_GroupVersionKind = CRDGroupVersion.WithKind(ProtocolMapper_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.

Functions

This section is empty.

Types

type IdentityProviderMapper

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

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

func (*IdentityProviderMapper) DeepCopy

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

func (*IdentityProviderMapper) DeepCopyInto

func (in *IdentityProviderMapper) DeepCopyInto(out *IdentityProviderMapper)

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

func (*IdentityProviderMapper) DeepCopyObject

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

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

func (*IdentityProviderMapper) GetCondition

GetCondition of this IdentityProviderMapper.

func (*IdentityProviderMapper) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this IdentityProviderMapper

func (*IdentityProviderMapper) GetDeletionPolicy

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

GetDeletionPolicy of this IdentityProviderMapper.

func (*IdentityProviderMapper) GetID

func (tr *IdentityProviderMapper) GetID() string

GetID returns ID of underlying Terraform resource of this IdentityProviderMapper

func (*IdentityProviderMapper) GetInitParameters

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

GetInitParameters of this IdentityProviderMapper

func (*IdentityProviderMapper) GetManagementPolicies

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

GetManagementPolicies of this IdentityProviderMapper.

func (*IdentityProviderMapper) GetMergedParameters

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

GetInitParameters of this IdentityProviderMapper

func (*IdentityProviderMapper) GetObservation

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

GetObservation of this IdentityProviderMapper

func (*IdentityProviderMapper) GetParameters

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

GetParameters of this IdentityProviderMapper

func (*IdentityProviderMapper) GetProviderConfigReference

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

GetProviderConfigReference of this IdentityProviderMapper.

func (*IdentityProviderMapper) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this IdentityProviderMapper.

func (*IdentityProviderMapper) GetTerraformResourceType

func (mg *IdentityProviderMapper) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this IdentityProviderMapper

func (*IdentityProviderMapper) GetTerraformSchemaVersion

func (tr *IdentityProviderMapper) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*IdentityProviderMapper) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this IdentityProviderMapper.

func (*IdentityProviderMapper) Hub

func (tr *IdentityProviderMapper) Hub()

Hub marks this type as a conversion hub.

func (*IdentityProviderMapper) LateInitialize

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

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

func (*IdentityProviderMapper) ResolveReferences

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

ResolveReferences of this IdentityProviderMapper.

func (*IdentityProviderMapper) SetConditions

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

SetConditions of this IdentityProviderMapper.

func (*IdentityProviderMapper) SetDeletionPolicy

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

SetDeletionPolicy of this IdentityProviderMapper.

func (*IdentityProviderMapper) SetManagementPolicies

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

SetManagementPolicies of this IdentityProviderMapper.

func (*IdentityProviderMapper) SetObservation

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

SetObservation for this IdentityProviderMapper

func (*IdentityProviderMapper) SetParameters

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

SetParameters for this IdentityProviderMapper

func (*IdentityProviderMapper) SetProviderConfigReference

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

SetProviderConfigReference of this IdentityProviderMapper.

func (*IdentityProviderMapper) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this IdentityProviderMapper.

func (*IdentityProviderMapper) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this IdentityProviderMapper.

type IdentityProviderMapperInitParameters

type IdentityProviderMapperInitParameters struct {

	// Key/value attributes to add to the identity provider mapper model that is persisted to Keycloak. This can be used to extend the base model with new Keycloak features.
	// +mapType=granular
	ExtraConfig map[string]*string `json:"extraConfig,omitempty" tf:"extra_config,omitempty"`

	// The alias of the associated identity provider.
	// IDP Alias
	IdentityProviderAlias *string `json:"identityProviderAlias,omitempty" tf:"identity_provider_alias,omitempty"`

	// The type of the identity provider mapper. This can be a format string that includes a %s - this will be replaced by the provider id.
	// IDP Mapper Type
	IdentityProviderMapper *string `json:"identityProviderMapper,omitempty" tf:"identity_provider_mapper,omitempty"`

	// The name of the mapper.
	// IDP Mapper Name
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the realm.
	// Realm Name
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/realm/v1alpha1.Realm
	Realm *string `json:"realm,omitempty" tf:"realm,omitempty"`

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

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

func (*IdentityProviderMapperInitParameters) DeepCopy

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

func (*IdentityProviderMapperInitParameters) DeepCopyInto

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

type IdentityProviderMapperList

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

IdentityProviderMapperList contains a list of IdentityProviderMappers

func (*IdentityProviderMapperList) DeepCopy

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

func (*IdentityProviderMapperList) DeepCopyInto

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

func (*IdentityProviderMapperList) DeepCopyObject

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

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

func (*IdentityProviderMapperList) GetItems

GetItems of this IdentityProviderMapperList.

type IdentityProviderMapperObservation

type IdentityProviderMapperObservation struct {

	// Key/value attributes to add to the identity provider mapper model that is persisted to Keycloak. This can be used to extend the base model with new Keycloak features.
	// +mapType=granular
	ExtraConfig map[string]*string `json:"extraConfig,omitempty" tf:"extra_config,omitempty"`

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

	// The alias of the associated identity provider.
	// IDP Alias
	IdentityProviderAlias *string `json:"identityProviderAlias,omitempty" tf:"identity_provider_alias,omitempty"`

	// The type of the identity provider mapper. This can be a format string that includes a %s - this will be replaced by the provider id.
	// IDP Mapper Type
	IdentityProviderMapper *string `json:"identityProviderMapper,omitempty" tf:"identity_provider_mapper,omitempty"`

	// The name of the mapper.
	// IDP Mapper Name
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the realm.
	// Realm Name
	Realm *string `json:"realm,omitempty" tf:"realm,omitempty"`
}

func (*IdentityProviderMapperObservation) DeepCopy

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

func (*IdentityProviderMapperObservation) DeepCopyInto

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

type IdentityProviderMapperParameters

type IdentityProviderMapperParameters struct {

	// Key/value attributes to add to the identity provider mapper model that is persisted to Keycloak. This can be used to extend the base model with new Keycloak features.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	ExtraConfig map[string]*string `json:"extraConfig,omitempty" tf:"extra_config,omitempty"`

	// The alias of the associated identity provider.
	// IDP Alias
	// +kubebuilder:validation:Optional
	IdentityProviderAlias *string `json:"identityProviderAlias,omitempty" tf:"identity_provider_alias,omitempty"`

	// The type of the identity provider mapper. This can be a format string that includes a %s - this will be replaced by the provider id.
	// IDP Mapper Type
	// +kubebuilder:validation:Optional
	IdentityProviderMapper *string `json:"identityProviderMapper,omitempty" tf:"identity_provider_mapper,omitempty"`

	// The name of the mapper.
	// IDP Mapper Name
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the realm.
	// Realm Name
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/realm/v1alpha1.Realm
	// +kubebuilder:validation:Optional
	Realm *string `json:"realm,omitempty" tf:"realm,omitempty"`

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

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

func (*IdentityProviderMapperParameters) DeepCopy

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

func (*IdentityProviderMapperParameters) DeepCopyInto

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

type IdentityProviderMapperSpec

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

IdentityProviderMapperSpec defines the desired state of IdentityProviderMapper

func (*IdentityProviderMapperSpec) DeepCopy

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

func (*IdentityProviderMapperSpec) DeepCopyInto

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

type IdentityProviderMapperStatus

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

IdentityProviderMapperStatus defines the observed state of IdentityProviderMapper.

func (*IdentityProviderMapperStatus) DeepCopy

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

func (*IdentityProviderMapperStatus) DeepCopyInto

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

type ProtocolMapper

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

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

func (*ProtocolMapper) DeepCopy

func (in *ProtocolMapper) DeepCopy() *ProtocolMapper

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

func (*ProtocolMapper) DeepCopyInto

func (in *ProtocolMapper) DeepCopyInto(out *ProtocolMapper)

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

func (*ProtocolMapper) DeepCopyObject

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

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

func (*ProtocolMapper) GetCondition

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

GetCondition of this ProtocolMapper.

func (*ProtocolMapper) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ProtocolMapper

func (*ProtocolMapper) GetDeletionPolicy

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

GetDeletionPolicy of this ProtocolMapper.

func (*ProtocolMapper) GetID

func (tr *ProtocolMapper) GetID() string

GetID returns ID of underlying Terraform resource of this ProtocolMapper

func (*ProtocolMapper) GetInitParameters

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

GetInitParameters of this ProtocolMapper

func (*ProtocolMapper) GetManagementPolicies

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

GetManagementPolicies of this ProtocolMapper.

func (*ProtocolMapper) GetMergedParameters

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

GetInitParameters of this ProtocolMapper

func (*ProtocolMapper) GetObservation

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

GetObservation of this ProtocolMapper

func (*ProtocolMapper) GetParameters

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

GetParameters of this ProtocolMapper

func (*ProtocolMapper) GetProviderConfigReference

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

GetProviderConfigReference of this ProtocolMapper.

func (*ProtocolMapper) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ProtocolMapper.

func (*ProtocolMapper) GetTerraformResourceType

func (mg *ProtocolMapper) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProtocolMapper

func (*ProtocolMapper) GetTerraformSchemaVersion

func (tr *ProtocolMapper) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProtocolMapper) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ProtocolMapper.

func (*ProtocolMapper) Hub

func (tr *ProtocolMapper) Hub()

Hub marks this type as a conversion hub.

func (*ProtocolMapper) LateInitialize

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

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

func (*ProtocolMapper) ResolveReferences

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

ResolveReferences of this ProtocolMapper.

func (*ProtocolMapper) SetConditions

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

SetConditions of this ProtocolMapper.

func (*ProtocolMapper) SetDeletionPolicy

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

SetDeletionPolicy of this ProtocolMapper.

func (*ProtocolMapper) SetManagementPolicies

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

SetManagementPolicies of this ProtocolMapper.

func (*ProtocolMapper) SetObservation

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

SetObservation for this ProtocolMapper

func (*ProtocolMapper) SetParameters

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

SetParameters for this ProtocolMapper

func (*ProtocolMapper) SetProviderConfigReference

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

SetProviderConfigReference of this ProtocolMapper.

func (*ProtocolMapper) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ProtocolMapper.

func (*ProtocolMapper) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ProtocolMapper.

type ProtocolMapperInitParameters

type ProtocolMapperInitParameters struct {

	// The ID of the client this protocol mapper should be added to. Conflicts with client_scope_id. This argument is required if client_scope_id is not set.
	// The mapper's associated client. Cannot be used at the same time as client_scope_id.
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/openidclient/v1alpha1.Client
	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 ID of the client scope this protocol mapper should be added to. Conflicts with client_id. This argument is required if client_id is not set.
	// The mapper's associated client scope. Cannot be used at the same time as client_id.
	ClientScopeID *string `json:"clientScopeId,omitempty" tf:"client_scope_id,omitempty"`

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

	// The display name of this protocol mapper in the GUI.
	// A human-friendly name that will appear in the Keycloak console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The type of client (either openid-connect or saml). The type must match the type of the client.
	// The protocol of the client (openid-connect / saml).
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// The name of the protocol mapper. The protocol mapper must be compatible with the specified client.
	// The type of the protocol mapper.
	ProtocolMapper *string `json:"protocolMapper,omitempty" tf:"protocol_mapper,omitempty"`

	// The realm this protocol mapper exists within.
	// The realm id where the associated client or client scope exists.
	// +crossplane:generate:reference:type=github.com/viletay/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 (*ProtocolMapperInitParameters) DeepCopy

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

func (*ProtocolMapperInitParameters) DeepCopyInto

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

type ProtocolMapperList

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

ProtocolMapperList contains a list of ProtocolMappers

func (*ProtocolMapperList) DeepCopy

func (in *ProtocolMapperList) DeepCopy() *ProtocolMapperList

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

func (*ProtocolMapperList) DeepCopyInto

func (in *ProtocolMapperList) DeepCopyInto(out *ProtocolMapperList)

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

func (*ProtocolMapperList) DeepCopyObject

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

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

func (*ProtocolMapperList) GetItems

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

GetItems of this ProtocolMapperList.

type ProtocolMapperObservation

type ProtocolMapperObservation struct {

	// The ID of the client this protocol mapper should be added to. Conflicts with client_scope_id. This argument is required if client_scope_id is not set.
	// The mapper's associated client. Cannot be used at the same time as client_scope_id.
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// The ID of the client scope this protocol mapper should be added to. Conflicts with client_id. This argument is required if client_id is not set.
	// The mapper's associated client scope. Cannot be used at the same time as client_id.
	ClientScopeID *string `json:"clientScopeId,omitempty" tf:"client_scope_id,omitempty"`

	// A map with key / value pairs for configuring the protocol mapper. The supported keys depends 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 display name of this protocol mapper in the GUI.
	// A human-friendly name that will appear in the Keycloak console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The type of client (either openid-connect or saml). The type must match the type of the client.
	// The protocol of the client (openid-connect / saml).
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// The name of the protocol mapper. The protocol mapper must be compatible with the specified client.
	// The type of the protocol mapper.
	ProtocolMapper *string `json:"protocolMapper,omitempty" tf:"protocol_mapper,omitempty"`

	// The realm this protocol mapper exists within.
	// The realm id where the associated client or client scope exists.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`
}

func (*ProtocolMapperObservation) DeepCopy

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

func (*ProtocolMapperObservation) DeepCopyInto

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

type ProtocolMapperParameters

type ProtocolMapperParameters struct {

	// The ID of the client this protocol mapper should be added to. Conflicts with client_scope_id. This argument is required if client_scope_id is not set.
	// The mapper's associated client. Cannot be used at the same time as client_scope_id.
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/openidclient/v1alpha1.Client
	// +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 ID of the client scope this protocol mapper should be added to. Conflicts with client_id. This argument is required if client_id is not set.
	// The mapper's associated client scope. Cannot be used at the same time as client_id.
	// +kubebuilder:validation:Optional
	ClientScopeID *string `json:"clientScopeId,omitempty" tf:"client_scope_id,omitempty"`

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

	// The display name of this protocol mapper in the GUI.
	// A human-friendly name that will appear in the Keycloak console.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The type of client (either openid-connect or saml). The type must match the type of the client.
	// The protocol of the client (openid-connect / saml).
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// The name of the protocol mapper. The protocol mapper must be compatible with the specified client.
	// The type of the protocol mapper.
	// +kubebuilder:validation:Optional
	ProtocolMapper *string `json:"protocolMapper,omitempty" tf:"protocol_mapper,omitempty"`

	// The realm this protocol mapper exists within.
	// The realm id where the associated client or client scope exists.
	// +crossplane:generate:reference:type=github.com/viletay/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 (*ProtocolMapperParameters) DeepCopy

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

func (*ProtocolMapperParameters) DeepCopyInto

func (in *ProtocolMapperParameters) DeepCopyInto(out *ProtocolMapperParameters)

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

type ProtocolMapperSpec

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

ProtocolMapperSpec defines the desired state of ProtocolMapper

func (*ProtocolMapperSpec) DeepCopy

func (in *ProtocolMapperSpec) DeepCopy() *ProtocolMapperSpec

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

func (*ProtocolMapperSpec) DeepCopyInto

func (in *ProtocolMapperSpec) DeepCopyInto(out *ProtocolMapperSpec)

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

type ProtocolMapperStatus

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

ProtocolMapperStatus defines the observed state of ProtocolMapper.

func (*ProtocolMapperStatus) DeepCopy

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

func (*ProtocolMapperStatus) DeepCopyInto

func (in *ProtocolMapperStatus) DeepCopyInto(out *ProtocolMapperStatus)

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"`
	Spec              RoleMapperSpec   `json:"spec"`
	Status            RoleMapperStatus `json:"status,omitempty"`
}

RoleMapper is the Schema for the RoleMappers API. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder: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 {

	// The ID of the client this role mapper should be added to. Conflicts with client_scope_id. This argument is required if client_scope_id is not set.
	// The destination client of the role. Cannot be used at the same time as client_scope_id.
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/openidclient/v1alpha1.Client
	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 ID of the client scope this role mapper should be added to. Conflicts with client_id. This argument is required if client_id is not set.
	// The destination client scope of the role. Cannot be used at the same time as client_id.
	ClientScopeID *string `json:"clientScopeId,omitempty" tf:"client_scope_id,omitempty"`

	// The realm this role mapper exists within.
	// The realm id where the associated client or client scope exists.
	// +crossplane:generate:reference:type=github.com/viletay/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 ID of the role to be added to this role mapper.
	// Id of the role to assign
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/role/v1alpha1.Role
	RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"`

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

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

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 {

	// The ID of the client this role mapper should be added to. Conflicts with client_scope_id. This argument is required if client_scope_id is not set.
	// The destination client of the role. Cannot be used at the same time as client_scope_id.
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// The ID of the client scope this role mapper should be added to. Conflicts with client_id. This argument is required if client_id is not set.
	// The destination client scope of the role. Cannot be used at the same time as client_id.
	ClientScopeID *string `json:"clientScopeId,omitempty" tf:"client_scope_id,omitempty"`

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

	// The realm this role mapper exists within.
	// The realm id where the associated client or client scope exists.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// The ID of the role to be added to this role mapper.
	// Id of the role to assign
	RoleID *string `json:"roleId,omitempty" tf:"role_id,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 {

	// The ID of the client this role mapper should be added to. Conflicts with client_scope_id. This argument is required if client_scope_id is not set.
	// The destination client of the role. Cannot be used at the same time as client_scope_id.
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/openidclient/v1alpha1.Client
	// +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 ID of the client scope this role mapper should be added to. Conflicts with client_id. This argument is required if client_id is not set.
	// The destination client scope of the role. Cannot be used at the same time as client_id.
	// +kubebuilder:validation:Optional
	ClientScopeID *string `json:"clientScopeId,omitempty" tf:"client_scope_id,omitempty"`

	// The realm this role mapper exists within.
	// The realm id where the associated client or client scope exists.
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/realm/v1alpha1.Realm
	// +kubebuilder:validation:Optional
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

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

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

	// The ID of the role to be added to this role mapper.
	// Id of the role to assign
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/role/v1alpha1.Role
	// +kubebuilder:validation:Optional
	RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"`

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

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

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.

Jump to

Keyboard shortcuts

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