v1alpha1

package
v0.17.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	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 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 added in v0.5.0

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

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

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

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

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/crossplane-contrib/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/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 (*ProtocolMapperInitParameters) DeepCopy added in v0.5.0

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

func (*ProtocolMapperInitParameters) DeepCopyInto added in v0.5.0

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/crossplane-contrib/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/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 (*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 added in v0.5.0

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

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

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

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/crossplane-contrib/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/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 ID of the role to be added to this role mapper.
	// Id of the role to assign
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/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 added in v0.5.0

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

func (*RoleMapperInitParameters) DeepCopyInto added in v0.5.0

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/crossplane-contrib/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/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	// +kubebuilder:validation:Optional
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

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

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

	// The ID of the role to be added to this role mapper.
	// Id of the role to assign
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/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