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: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "identityprovider.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 (
	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="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/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

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/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

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.

Jump to

Keyboard shortcuts

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