Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=identityprovider.keycloak.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type IdentityProviderMapper
- func (in *IdentityProviderMapper) DeepCopy() *IdentityProviderMapper
- func (in *IdentityProviderMapper) DeepCopyInto(out *IdentityProviderMapper)
- func (in *IdentityProviderMapper) DeepCopyObject() runtime.Object
- func (mg *IdentityProviderMapper) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *IdentityProviderMapper) GetConnectionDetailsMapping() map[string]string
- func (mg *IdentityProviderMapper) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *IdentityProviderMapper) GetID() string
- func (tr *IdentityProviderMapper) GetInitParameters() (map[string]any, error)
- func (mg *IdentityProviderMapper) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *IdentityProviderMapper) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *IdentityProviderMapper) GetObservation() (map[string]any, error)
- func (tr *IdentityProviderMapper) GetParameters() (map[string]any, error)
- func (mg *IdentityProviderMapper) GetProviderConfigReference() *xpv1.Reference
- func (mg *IdentityProviderMapper) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *IdentityProviderMapper) GetTerraformResourceType() string
- func (tr *IdentityProviderMapper) GetTerraformSchemaVersion() int
- func (mg *IdentityProviderMapper) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *IdentityProviderMapper) Hub()
- func (tr *IdentityProviderMapper) LateInitialize(attrs []byte) (bool, error)
- func (mg *IdentityProviderMapper) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *IdentityProviderMapper) SetConditions(c ...xpv1.Condition)
- func (mg *IdentityProviderMapper) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *IdentityProviderMapper) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *IdentityProviderMapper) SetObservation(obs map[string]any) error
- func (tr *IdentityProviderMapper) SetParameters(params map[string]any) error
- func (mg *IdentityProviderMapper) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *IdentityProviderMapper) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *IdentityProviderMapper) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type IdentityProviderMapperInitParameters
- type IdentityProviderMapperList
- type IdentityProviderMapperObservation
- type IdentityProviderMapperParameters
- type IdentityProviderMapperSpec
- type IdentityProviderMapperStatus
Constants ¶
const ( CRDGroup = "identityprovider.keycloak.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
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.
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="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 (*IdentityProviderMapper) DeepCopy ¶
func (in *IdentityProviderMapper) DeepCopy() *IdentityProviderMapper
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 ¶
func (mg *IdentityProviderMapper) GetCondition(ct xpv1.ConditionType) xpv1.Condition
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 ¶
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/crossplane-contrib/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 ¶
func (in *IdentityProviderMapperInitParameters) DeepCopy() *IdentityProviderMapperInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProviderMapperInitParameters.
func (*IdentityProviderMapperInitParameters) DeepCopyInto ¶
func (in *IdentityProviderMapperInitParameters) DeepCopyInto(out *IdentityProviderMapperInitParameters)
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 ¶
func (in *IdentityProviderMapperList) DeepCopy() *IdentityProviderMapperList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProviderMapperList.
func (*IdentityProviderMapperList) DeepCopyInto ¶
func (in *IdentityProviderMapperList) DeepCopyInto(out *IdentityProviderMapperList)
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 ¶
func (l *IdentityProviderMapperList) GetItems() []resource.Managed
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 ¶
func (in *IdentityProviderMapperObservation) DeepCopy() *IdentityProviderMapperObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProviderMapperObservation.
func (*IdentityProviderMapperObservation) DeepCopyInto ¶
func (in *IdentityProviderMapperObservation) DeepCopyInto(out *IdentityProviderMapperObservation)
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/crossplane-contrib/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 ¶
func (in *IdentityProviderMapperParameters) DeepCopy() *IdentityProviderMapperParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProviderMapperParameters.
func (*IdentityProviderMapperParameters) DeepCopyInto ¶
func (in *IdentityProviderMapperParameters) DeepCopyInto(out *IdentityProviderMapperParameters)
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 ¶
func (in *IdentityProviderMapperSpec) DeepCopy() *IdentityProviderMapperSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProviderMapperSpec.
func (*IdentityProviderMapperSpec) DeepCopyInto ¶
func (in *IdentityProviderMapperSpec) DeepCopyInto(out *IdentityProviderMapperSpec)
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 ¶
func (in *IdentityProviderMapperStatus) DeepCopy() *IdentityProviderMapperStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProviderMapperStatus.
func (*IdentityProviderMapperStatus) DeepCopyInto ¶
func (in *IdentityProviderMapperStatus) DeepCopyInto(out *IdentityProviderMapperStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.