v1alpha1

package
v0.18.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Groups_Kind             = "Groups"
	Groups_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Groups_Kind}.String()
	Groups_KindAPIVersion   = Groups_Kind + "." + CRDGroupVersion.String()
	Groups_GroupVersionKind = CRDGroupVersion.WithKind(Groups_Kind)
)

Repository type metadata.

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Permissions_Kind             = "Permissions"
	Permissions_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Permissions_Kind}.String()
	Permissions_KindAPIVersion   = Permissions_Kind + "." + CRDGroupVersion.String()
	Permissions_GroupVersionKind = CRDGroupVersion.WithKind(Permissions_Kind)
)

Repository type metadata.

View Source
var (
	User_Kind             = "User"
	User_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: User_Kind}.String()
	User_KindAPIVersion   = User_Kind + "." + CRDGroupVersion.String()
	User_GroupVersionKind = CRDGroupVersion.WithKind(User_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type FederatedIdentityInitParameters added in v0.5.0

type FederatedIdentityInitParameters struct {

	// The name of the identity provider
	IdentityProvider *string `json:"identityProvider,omitempty" tf:"identity_provider,omitempty"`

	// The ID of the user defined in the identity provider
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`

	// The user name of the user defined in the identity provider
	UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"`
}

func (*FederatedIdentityInitParameters) DeepCopy added in v0.5.0

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

func (*FederatedIdentityInitParameters) DeepCopyInto added in v0.5.0

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

type FederatedIdentityObservation

type FederatedIdentityObservation struct {

	// The name of the identity provider
	IdentityProvider *string `json:"identityProvider,omitempty" tf:"identity_provider,omitempty"`

	// The ID of the user defined in the identity provider
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`

	// The user name of the user defined in the identity provider
	UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"`
}

func (*FederatedIdentityObservation) DeepCopy

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

func (*FederatedIdentityObservation) DeepCopyInto

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

type FederatedIdentityParameters

type FederatedIdentityParameters struct {

	// The name of the identity provider
	// +kubebuilder:validation:Optional
	IdentityProvider *string `json:"identityProvider" tf:"identity_provider,omitempty"`

	// The ID of the user defined in the identity provider
	// +kubebuilder:validation:Optional
	UserID *string `json:"userId" tf:"user_id,omitempty"`

	// The user name of the user defined in the identity provider
	// +kubebuilder:validation:Optional
	UserName *string `json:"userName" tf:"user_name,omitempty"`
}

func (*FederatedIdentityParameters) DeepCopy

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

func (*FederatedIdentityParameters) DeepCopyInto

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

type Groups added in v0.2.0

type Groups struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GroupsSpec   `json:"spec"`
	Status            GroupsStatus `json:"status,omitempty"`
}

Groups is the Schema for the Groupss 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 (*Groups) DeepCopy added in v0.2.0

func (in *Groups) DeepCopy() *Groups

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

func (*Groups) DeepCopyInto added in v0.2.0

func (in *Groups) DeepCopyInto(out *Groups)

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

func (*Groups) DeepCopyObject added in v0.2.0

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

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

func (*Groups) GetCondition added in v0.2.0

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

GetCondition of this Groups.

func (*Groups) GetConnectionDetailsMapping added in v0.2.0

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

GetConnectionDetailsMapping for this Groups

func (*Groups) GetDeletionPolicy added in v0.2.0

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

GetDeletionPolicy of this Groups.

func (*Groups) GetID added in v0.2.0

func (tr *Groups) GetID() string

GetID returns ID of underlying Terraform resource of this Groups

func (*Groups) GetInitParameters added in v0.5.0

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

GetInitParameters of this Groups

func (*Groups) GetManagementPolicies added in v0.2.0

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

GetManagementPolicies of this Groups.

func (*Groups) GetMergedParameters added in v0.6.0

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

GetInitParameters of this Groups

func (*Groups) GetObservation added in v0.2.0

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

GetObservation of this Groups

func (*Groups) GetParameters added in v0.2.0

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

GetParameters of this Groups

func (*Groups) GetProviderConfigReference added in v0.2.0

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

GetProviderConfigReference of this Groups.

func (*Groups) GetPublishConnectionDetailsTo added in v0.2.0

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

GetPublishConnectionDetailsTo of this Groups.

func (*Groups) GetTerraformResourceType added in v0.2.0

func (mg *Groups) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Groups

func (*Groups) GetTerraformSchemaVersion added in v0.2.0

func (tr *Groups) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Groups) GetWriteConnectionSecretToReference added in v0.2.0

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

GetWriteConnectionSecretToReference of this Groups.

func (*Groups) Hub added in v0.11.0

func (tr *Groups) Hub()

Hub marks this type as a conversion hub.

func (*Groups) LateInitialize added in v0.2.0

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

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

func (*Groups) ResolveReferences added in v0.2.0

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

ResolveReferences of this Groups.

func (*Groups) SetConditions added in v0.2.0

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

SetConditions of this Groups.

func (*Groups) SetDeletionPolicy added in v0.2.0

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

SetDeletionPolicy of this Groups.

func (*Groups) SetManagementPolicies added in v0.2.0

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

SetManagementPolicies of this Groups.

func (*Groups) SetObservation added in v0.2.0

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

SetObservation for this Groups

func (*Groups) SetParameters added in v0.2.0

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

SetParameters for this Groups

func (*Groups) SetProviderConfigReference added in v0.2.0

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

SetProviderConfigReference of this Groups.

func (*Groups) SetPublishConnectionDetailsTo added in v0.2.0

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

SetPublishConnectionDetailsTo of this Groups.

func (*Groups) SetWriteConnectionSecretToReference added in v0.2.0

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

SetWriteConnectionSecretToReference of this Groups.

type GroupsInitParameters added in v0.5.0

type GroupsInitParameters struct {

	// Indicates if the list of the user's groups is exhaustive. In this case, groups that are manually added to the user will be removed. Defaults to true.
	Exhaustive *bool `json:"exhaustive,omitempty" tf:"exhaustive,omitempty"`

	// A list of group IDs that the user is member of.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/group/v1alpha1.Group
	// +listType=set
	GroupIds []*string `json:"groupIds,omitempty" tf:"group_ids,omitempty"`

	// References to Group in group to populate groupIds.
	// +kubebuilder:validation:Optional
	GroupIdsRefs []v1.Reference `json:"groupIdsRefs,omitempty" tf:"-"`

	// Selector for a list of Group in group to populate groupIds.
	// +kubebuilder:validation:Optional
	GroupIdsSelector *v1.Selector `json:"groupIdsSelector,omitempty" tf:"-"`

	// The realm this group exists in.
	// +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 user this resource should manage groups for.
	// +crossplane:generate:reference:type=User
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`

	// Reference to a User to populate userId.
	// +kubebuilder:validation:Optional
	UserIDRef *v1.Reference `json:"userIdRef,omitempty" tf:"-"`

	// Selector for a User to populate userId.
	// +kubebuilder:validation:Optional
	UserIDSelector *v1.Selector `json:"userIdSelector,omitempty" tf:"-"`
}

func (*GroupsInitParameters) DeepCopy added in v0.5.0

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

func (*GroupsInitParameters) DeepCopyInto added in v0.5.0

func (in *GroupsInitParameters) DeepCopyInto(out *GroupsInitParameters)

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

type GroupsList added in v0.2.0

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

GroupsList contains a list of Groupss

func (*GroupsList) DeepCopy added in v0.2.0

func (in *GroupsList) DeepCopy() *GroupsList

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

func (*GroupsList) DeepCopyInto added in v0.2.0

func (in *GroupsList) DeepCopyInto(out *GroupsList)

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

func (*GroupsList) DeepCopyObject added in v0.2.0

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

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

func (*GroupsList) GetItems added in v0.2.0

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

GetItems of this GroupsList.

type GroupsObservation added in v0.2.0

type GroupsObservation struct {

	// Indicates if the list of the user's groups is exhaustive. In this case, groups that are manually added to the user will be removed. Defaults to true.
	Exhaustive *bool `json:"exhaustive,omitempty" tf:"exhaustive,omitempty"`

	// A list of group IDs that the user is member of.
	// +listType=set
	GroupIds []*string `json:"groupIds,omitempty" tf:"group_ids,omitempty"`

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

	// The realm this group exists in.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// The ID of the user this resource should manage groups for.
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`
}

func (*GroupsObservation) DeepCopy added in v0.2.0

func (in *GroupsObservation) DeepCopy() *GroupsObservation

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

func (*GroupsObservation) DeepCopyInto added in v0.2.0

func (in *GroupsObservation) DeepCopyInto(out *GroupsObservation)

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

type GroupsParameters added in v0.2.0

type GroupsParameters struct {

	// Indicates if the list of the user's groups is exhaustive. In this case, groups that are manually added to the user will be removed. Defaults to true.
	// +kubebuilder:validation:Optional
	Exhaustive *bool `json:"exhaustive,omitempty" tf:"exhaustive,omitempty"`

	// A list of group IDs that the user is member of.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/group/v1alpha1.Group
	// +kubebuilder:validation:Optional
	// +listType=set
	GroupIds []*string `json:"groupIds,omitempty" tf:"group_ids,omitempty"`

	// References to Group in group to populate groupIds.
	// +kubebuilder:validation:Optional
	GroupIdsRefs []v1.Reference `json:"groupIdsRefs,omitempty" tf:"-"`

	// Selector for a list of Group in group to populate groupIds.
	// +kubebuilder:validation:Optional
	GroupIdsSelector *v1.Selector `json:"groupIdsSelector,omitempty" tf:"-"`

	// The realm this group exists in.
	// +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 user this resource should manage groups for.
	// +crossplane:generate:reference:type=User
	// +kubebuilder:validation:Optional
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`

	// Reference to a User to populate userId.
	// +kubebuilder:validation:Optional
	UserIDRef *v1.Reference `json:"userIdRef,omitempty" tf:"-"`

	// Selector for a User to populate userId.
	// +kubebuilder:validation:Optional
	UserIDSelector *v1.Selector `json:"userIdSelector,omitempty" tf:"-"`
}

func (*GroupsParameters) DeepCopy added in v0.2.0

func (in *GroupsParameters) DeepCopy() *GroupsParameters

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

func (*GroupsParameters) DeepCopyInto added in v0.2.0

func (in *GroupsParameters) DeepCopyInto(out *GroupsParameters)

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

type GroupsSpec added in v0.2.0

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

GroupsSpec defines the desired state of Groups

func (*GroupsSpec) DeepCopy added in v0.2.0

func (in *GroupsSpec) DeepCopy() *GroupsSpec

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

func (*GroupsSpec) DeepCopyInto added in v0.2.0

func (in *GroupsSpec) DeepCopyInto(out *GroupsSpec)

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

type GroupsStatus added in v0.2.0

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

GroupsStatus defines the observed state of Groups.

func (*GroupsStatus) DeepCopy added in v0.2.0

func (in *GroupsStatus) DeepCopy() *GroupsStatus

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

func (*GroupsStatus) DeepCopyInto added in v0.2.0

func (in *GroupsStatus) DeepCopyInto(out *GroupsStatus)

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

type ImpersonateScopeInitParameters added in v0.11.0

type ImpersonateScopeInitParameters struct {

	// Decision strategy of the permission.
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*ImpersonateScopeInitParameters) DeepCopy added in v0.11.0

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

func (*ImpersonateScopeInitParameters) DeepCopyInto added in v0.11.0

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

type ImpersonateScopeObservation added in v0.11.0

type ImpersonateScopeObservation struct {

	// Decision strategy of the permission.
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*ImpersonateScopeObservation) DeepCopy added in v0.11.0

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

func (*ImpersonateScopeObservation) DeepCopyInto added in v0.11.0

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

type ImpersonateScopeParameters added in v0.11.0

type ImpersonateScopeParameters struct {

	// Decision strategy of the permission.
	// +kubebuilder:validation:Optional
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +kubebuilder:validation:Optional
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*ImpersonateScopeParameters) DeepCopy added in v0.11.0

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

func (*ImpersonateScopeParameters) DeepCopyInto added in v0.11.0

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

type InitialPasswordInitParameters added in v0.5.0

type InitialPasswordInitParameters struct {

	// If set to true, the initial password is set up for renewal on first use. Default to false.
	Temporary *bool `json:"temporary,omitempty" tf:"temporary,omitempty"`
}

func (*InitialPasswordInitParameters) DeepCopy added in v0.5.0

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

func (*InitialPasswordInitParameters) DeepCopyInto added in v0.5.0

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

type InitialPasswordObservation

type InitialPasswordObservation struct {

	// If set to true, the initial password is set up for renewal on first use. Default to false.
	Temporary *bool `json:"temporary,omitempty" tf:"temporary,omitempty"`
}

func (*InitialPasswordObservation) DeepCopy

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

func (*InitialPasswordObservation) DeepCopyInto

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

type InitialPasswordParameters

type InitialPasswordParameters struct {

	// If set to true, the initial password is set up for renewal on first use. Default to false.
	// +kubebuilder:validation:Optional
	Temporary *bool `json:"temporary,omitempty" tf:"temporary,omitempty"`

	// The initial password.
	// +kubebuilder:validation:Required
	ValueSecretRef v1.SecretKeySelector `json:"valueSecretRef" tf:"-"`
}

func (*InitialPasswordParameters) DeepCopy

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

func (*InitialPasswordParameters) DeepCopyInto

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

type ManageGroupMembershipScopeInitParameters added in v0.11.0

type ManageGroupMembershipScopeInitParameters struct {

	// Decision strategy of the permission.
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*ManageGroupMembershipScopeInitParameters) DeepCopy added in v0.11.0

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

func (*ManageGroupMembershipScopeInitParameters) DeepCopyInto added in v0.11.0

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

type ManageGroupMembershipScopeObservation added in v0.11.0

type ManageGroupMembershipScopeObservation struct {

	// Decision strategy of the permission.
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*ManageGroupMembershipScopeObservation) DeepCopy added in v0.11.0

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

func (*ManageGroupMembershipScopeObservation) DeepCopyInto added in v0.11.0

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

type ManageGroupMembershipScopeParameters added in v0.11.0

type ManageGroupMembershipScopeParameters struct {

	// Decision strategy of the permission.
	// +kubebuilder:validation:Optional
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +kubebuilder:validation:Optional
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*ManageGroupMembershipScopeParameters) DeepCopy added in v0.11.0

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

func (*ManageGroupMembershipScopeParameters) DeepCopyInto added in v0.11.0

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

type ManageScopeInitParameters added in v0.11.0

type ManageScopeInitParameters struct {

	// Decision strategy of the permission.
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*ManageScopeInitParameters) DeepCopy added in v0.11.0

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

func (*ManageScopeInitParameters) DeepCopyInto added in v0.11.0

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

type ManageScopeObservation added in v0.11.0

type ManageScopeObservation struct {

	// Decision strategy of the permission.
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*ManageScopeObservation) DeepCopy added in v0.11.0

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

func (*ManageScopeObservation) DeepCopyInto added in v0.11.0

func (in *ManageScopeObservation) DeepCopyInto(out *ManageScopeObservation)

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

type ManageScopeParameters added in v0.11.0

type ManageScopeParameters struct {

	// Decision strategy of the permission.
	// +kubebuilder:validation:Optional
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +kubebuilder:validation:Optional
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*ManageScopeParameters) DeepCopy added in v0.11.0

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

func (*ManageScopeParameters) DeepCopyInto added in v0.11.0

func (in *ManageScopeParameters) DeepCopyInto(out *ManageScopeParameters)

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

type MapRolesScopeInitParameters added in v0.11.0

type MapRolesScopeInitParameters struct {

	// Decision strategy of the permission.
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*MapRolesScopeInitParameters) DeepCopy added in v0.11.0

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

func (*MapRolesScopeInitParameters) DeepCopyInto added in v0.11.0

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

type MapRolesScopeObservation added in v0.11.0

type MapRolesScopeObservation struct {

	// Decision strategy of the permission.
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*MapRolesScopeObservation) DeepCopy added in v0.11.0

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

func (*MapRolesScopeObservation) DeepCopyInto added in v0.11.0

func (in *MapRolesScopeObservation) DeepCopyInto(out *MapRolesScopeObservation)

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

type MapRolesScopeParameters added in v0.11.0

type MapRolesScopeParameters struct {

	// Decision strategy of the permission.
	// +kubebuilder:validation:Optional
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +kubebuilder:validation:Optional
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*MapRolesScopeParameters) DeepCopy added in v0.11.0

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

func (*MapRolesScopeParameters) DeepCopyInto added in v0.11.0

func (in *MapRolesScopeParameters) DeepCopyInto(out *MapRolesScopeParameters)

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

type Permissions added in v0.11.0

type Permissions struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PermissionsSpec   `json:"spec"`
	Status            PermissionsStatus `json:"status,omitempty"`
}

Permissions is the Schema for the Permissionss 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 (*Permissions) DeepCopy added in v0.11.0

func (in *Permissions) DeepCopy() *Permissions

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

func (*Permissions) DeepCopyInto added in v0.11.0

func (in *Permissions) DeepCopyInto(out *Permissions)

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

func (*Permissions) DeepCopyObject added in v0.11.0

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

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

func (*Permissions) GetCondition added in v0.11.0

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

GetCondition of this Permissions.

func (*Permissions) GetConnectionDetailsMapping added in v0.11.0

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

GetConnectionDetailsMapping for this Permissions

func (*Permissions) GetDeletionPolicy added in v0.11.0

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

GetDeletionPolicy of this Permissions.

func (*Permissions) GetID added in v0.11.0

func (tr *Permissions) GetID() string

GetID returns ID of underlying Terraform resource of this Permissions

func (*Permissions) GetInitParameters added in v0.11.0

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

GetInitParameters of this Permissions

func (*Permissions) GetManagementPolicies added in v0.11.0

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

GetManagementPolicies of this Permissions.

func (*Permissions) GetMergedParameters added in v0.11.0

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

GetInitParameters of this Permissions

func (*Permissions) GetObservation added in v0.11.0

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

GetObservation of this Permissions

func (*Permissions) GetParameters added in v0.11.0

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

GetParameters of this Permissions

func (*Permissions) GetProviderConfigReference added in v0.11.0

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

GetProviderConfigReference of this Permissions.

func (*Permissions) GetPublishConnectionDetailsTo added in v0.11.0

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

GetPublishConnectionDetailsTo of this Permissions.

func (*Permissions) GetTerraformResourceType added in v0.11.0

func (mg *Permissions) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Permissions

func (*Permissions) GetTerraformSchemaVersion added in v0.11.0

func (tr *Permissions) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Permissions) GetWriteConnectionSecretToReference added in v0.11.0

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

GetWriteConnectionSecretToReference of this Permissions.

func (*Permissions) Hub added in v0.11.0

func (tr *Permissions) Hub()

Hub marks this type as a conversion hub.

func (*Permissions) LateInitialize added in v0.11.0

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

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

func (*Permissions) ResolveReferences added in v0.11.0

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

ResolveReferences of this Permissions.

func (*Permissions) SetConditions added in v0.11.0

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

SetConditions of this Permissions.

func (*Permissions) SetDeletionPolicy added in v0.11.0

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

SetDeletionPolicy of this Permissions.

func (*Permissions) SetManagementPolicies added in v0.11.0

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

SetManagementPolicies of this Permissions.

func (*Permissions) SetObservation added in v0.11.0

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

SetObservation for this Permissions

func (*Permissions) SetParameters added in v0.11.0

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

SetParameters for this Permissions

func (*Permissions) SetProviderConfigReference added in v0.11.0

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

SetProviderConfigReference of this Permissions.

func (*Permissions) SetPublishConnectionDetailsTo added in v0.11.0

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

SetPublishConnectionDetailsTo of this Permissions.

func (*Permissions) SetWriteConnectionSecretToReference added in v0.11.0

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

SetWriteConnectionSecretToReference of this Permissions.

type PermissionsInitParameters added in v0.11.0

type PermissionsInitParameters struct {

	// When specified, set the scope based impersonate permission.
	ImpersonateScope []ImpersonateScopeInitParameters `json:"impersonateScope,omitempty" tf:"impersonate_scope,omitempty"`

	// When specified, set the scope based manage_group_membership permission.
	ManageGroupMembershipScope []ManageGroupMembershipScopeInitParameters `json:"manageGroupMembershipScope,omitempty" tf:"manage_group_membership_scope,omitempty"`

	// When specified, set the scope based manage permission.
	ManageScope []ManageScopeInitParameters `json:"manageScope,omitempty" tf:"manage_scope,omitempty"`

	// When specified, set the scope based map_roles permission.
	MapRolesScope []MapRolesScopeInitParameters `json:"mapRolesScope,omitempty" tf:"map_roles_scope,omitempty"`

	// The realm in which to manage fine-grained user permissions.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

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

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

	// When specified, set the scope based user_impersonated permission.
	UserImpersonatedScope []UserImpersonatedScopeInitParameters `json:"userImpersonatedScope,omitempty" tf:"user_impersonated_scope,omitempty"`

	// When specified, set the scope based view permission.
	ViewScope []ViewScopeInitParameters `json:"viewScope,omitempty" tf:"view_scope,omitempty"`
}

func (*PermissionsInitParameters) DeepCopy added in v0.11.0

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

func (*PermissionsInitParameters) DeepCopyInto added in v0.11.0

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

type PermissionsList added in v0.11.0

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

PermissionsList contains a list of Permissionss

func (*PermissionsList) DeepCopy added in v0.11.0

func (in *PermissionsList) DeepCopy() *PermissionsList

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

func (*PermissionsList) DeepCopyInto added in v0.11.0

func (in *PermissionsList) DeepCopyInto(out *PermissionsList)

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

func (*PermissionsList) DeepCopyObject added in v0.11.0

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

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

func (*PermissionsList) GetItems added in v0.11.0

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

GetItems of this PermissionsList.

type PermissionsObservation added in v0.11.0

type PermissionsObservation struct {

	// Resource server id representing the realm management client on which these permissions are managed.
	// Resource server id representing the realm management client on which this permission is managed
	AuthorizationResourceServerID *string `json:"authorizationResourceServerId,omitempty" tf:"authorization_resource_server_id,omitempty"`

	// When true, this indicates that fine-grained user permissions are enabled. This will always be true.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

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

	// When specified, set the scope based impersonate permission.
	ImpersonateScope []ImpersonateScopeObservation `json:"impersonateScope,omitempty" tf:"impersonate_scope,omitempty"`

	// When specified, set the scope based manage_group_membership permission.
	ManageGroupMembershipScope []ManageGroupMembershipScopeObservation `json:"manageGroupMembershipScope,omitempty" tf:"manage_group_membership_scope,omitempty"`

	// When specified, set the scope based manage permission.
	ManageScope []ManageScopeObservation `json:"manageScope,omitempty" tf:"manage_scope,omitempty"`

	// When specified, set the scope based map_roles permission.
	MapRolesScope []MapRolesScopeObservation `json:"mapRolesScope,omitempty" tf:"map_roles_scope,omitempty"`

	// The realm in which to manage fine-grained user permissions.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// When specified, set the scope based user_impersonated permission.
	UserImpersonatedScope []UserImpersonatedScopeObservation `json:"userImpersonatedScope,omitempty" tf:"user_impersonated_scope,omitempty"`

	// When specified, set the scope based view permission.
	ViewScope []ViewScopeObservation `json:"viewScope,omitempty" tf:"view_scope,omitempty"`
}

func (*PermissionsObservation) DeepCopy added in v0.11.0

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

func (*PermissionsObservation) DeepCopyInto added in v0.11.0

func (in *PermissionsObservation) DeepCopyInto(out *PermissionsObservation)

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

type PermissionsParameters added in v0.11.0

type PermissionsParameters struct {

	// When specified, set the scope based impersonate permission.
	// +kubebuilder:validation:Optional
	ImpersonateScope []ImpersonateScopeParameters `json:"impersonateScope,omitempty" tf:"impersonate_scope,omitempty"`

	// When specified, set the scope based manage_group_membership permission.
	// +kubebuilder:validation:Optional
	ManageGroupMembershipScope []ManageGroupMembershipScopeParameters `json:"manageGroupMembershipScope,omitempty" tf:"manage_group_membership_scope,omitempty"`

	// When specified, set the scope based manage permission.
	// +kubebuilder:validation:Optional
	ManageScope []ManageScopeParameters `json:"manageScope,omitempty" tf:"manage_scope,omitempty"`

	// When specified, set the scope based map_roles permission.
	// +kubebuilder:validation:Optional
	MapRolesScope []MapRolesScopeParameters `json:"mapRolesScope,omitempty" tf:"map_roles_scope,omitempty"`

	// The realm in which to manage fine-grained user permissions.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	// +kubebuilder:validation:Optional
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

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

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

	// When specified, set the scope based user_impersonated permission.
	// +kubebuilder:validation:Optional
	UserImpersonatedScope []UserImpersonatedScopeParameters `json:"userImpersonatedScope,omitempty" tf:"user_impersonated_scope,omitempty"`

	// When specified, set the scope based view permission.
	// +kubebuilder:validation:Optional
	ViewScope []ViewScopeParameters `json:"viewScope,omitempty" tf:"view_scope,omitempty"`
}

func (*PermissionsParameters) DeepCopy added in v0.11.0

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

func (*PermissionsParameters) DeepCopyInto added in v0.11.0

func (in *PermissionsParameters) DeepCopyInto(out *PermissionsParameters)

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

type PermissionsSpec added in v0.11.0

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

PermissionsSpec defines the desired state of Permissions

func (*PermissionsSpec) DeepCopy added in v0.11.0

func (in *PermissionsSpec) DeepCopy() *PermissionsSpec

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

func (*PermissionsSpec) DeepCopyInto added in v0.11.0

func (in *PermissionsSpec) DeepCopyInto(out *PermissionsSpec)

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

type PermissionsStatus added in v0.11.0

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

PermissionsStatus defines the observed state of Permissions.

func (*PermissionsStatus) DeepCopy added in v0.11.0

func (in *PermissionsStatus) DeepCopy() *PermissionsStatus

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

func (*PermissionsStatus) DeepCopyInto added in v0.11.0

func (in *PermissionsStatus) DeepCopyInto(out *PermissionsStatus)

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

type User

type User 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.username) || (has(self.initProvider) && has(self.initProvider.username))",message="spec.forProvider.username is a required parameter"
	Spec   UserSpec   `json:"spec"`
	Status UserStatus `json:"status,omitempty"`
}

User is the Schema for the Users 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 (*User) DeepCopy

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

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

func (*User) DeepCopyObject

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

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

func (*User) GetCondition

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

GetCondition of this User.

func (*User) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this User

func (*User) GetDeletionPolicy

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

GetDeletionPolicy of this User.

func (*User) GetID

func (tr *User) GetID() string

GetID returns ID of underlying Terraform resource of this User

func (*User) GetInitParameters added in v0.5.0

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

GetInitParameters of this User

func (*User) GetManagementPolicies

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

GetManagementPolicies of this User.

func (*User) GetMergedParameters added in v0.6.0

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

GetInitParameters of this User

func (*User) GetObservation

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

GetObservation of this User

func (*User) GetParameters

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

GetParameters of this User

func (*User) GetProviderConfigReference

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

GetProviderConfigReference of this User.

func (*User) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this User.

func (*User) GetTerraformResourceType

func (mg *User) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this User

func (*User) GetTerraformSchemaVersion

func (tr *User) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*User) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this User.

func (*User) Hub added in v0.11.0

func (tr *User) Hub()

Hub marks this type as a conversion hub.

func (*User) LateInitialize

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

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

func (*User) ResolveReferences added in v0.2.0

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

ResolveReferences of this User.

func (*User) SetConditions

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

SetConditions of this User.

func (*User) SetDeletionPolicy

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

SetDeletionPolicy of this User.

func (*User) SetManagementPolicies

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

SetManagementPolicies of this User.

func (*User) SetObservation

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

SetObservation for this User

func (*User) SetParameters

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

SetParameters for this User

func (*User) SetProviderConfigReference

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

SetProviderConfigReference of this User.

func (*User) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this User.

func (*User) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this User.

type UserImpersonatedScopeInitParameters added in v0.11.0

type UserImpersonatedScopeInitParameters struct {

	// Decision strategy of the permission.
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*UserImpersonatedScopeInitParameters) DeepCopy added in v0.11.0

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

func (*UserImpersonatedScopeInitParameters) DeepCopyInto added in v0.11.0

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

type UserImpersonatedScopeObservation added in v0.11.0

type UserImpersonatedScopeObservation struct {

	// Decision strategy of the permission.
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*UserImpersonatedScopeObservation) DeepCopy added in v0.11.0

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

func (*UserImpersonatedScopeObservation) DeepCopyInto added in v0.11.0

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

type UserImpersonatedScopeParameters added in v0.11.0

type UserImpersonatedScopeParameters struct {

	// Decision strategy of the permission.
	// +kubebuilder:validation:Optional
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +kubebuilder:validation:Optional
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*UserImpersonatedScopeParameters) DeepCopy added in v0.11.0

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

func (*UserImpersonatedScopeParameters) DeepCopyInto added in v0.11.0

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

type UserInitParameters added in v0.5.0

type UserInitParameters struct {

	// A map representing attributes for the user. In order to add multivalue attributes, use ## to seperate the values. Max length for each value is 255 chars
	// +mapType=granular
	Attributes map[string]*string `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// The user's email.
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// Whether the email address was validated or not. Default to false.
	EmailVerified *bool `json:"emailVerified,omitempty" tf:"email_verified,omitempty"`

	// When false, this user cannot log in. Defaults to true.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// When specified, the user will be linked to a federated identity provider. Refer to the federated user example for more details.
	FederatedIdentity []FederatedIdentityInitParameters `json:"federatedIdentity,omitempty" tf:"federated_identity,omitempty"`

	// The user's first name.
	FirstName *string `json:"firstName,omitempty" tf:"first_name,omitempty"`

	// When given, the user's initial password will be set. This attribute is only respected during initial user creation.
	InitialPassword []InitialPasswordInitParameters `json:"initialPassword,omitempty" tf:"initial_password,omitempty"`

	// The user's last name.
	LastName *string `json:"lastName,omitempty" tf:"last_name,omitempty"`

	// The realm this user belongs to.
	// +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:"-"`

	// A list of required user actions.
	// +listType=set
	RequiredActions []*string `json:"requiredActions,omitempty" tf:"required_actions,omitempty"`

	// The unique username of this user.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*UserInitParameters) DeepCopy added in v0.5.0

func (in *UserInitParameters) DeepCopy() *UserInitParameters

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

func (*UserInitParameters) DeepCopyInto added in v0.5.0

func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters)

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

type UserList

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

UserList contains a list of Users

func (*UserList) DeepCopy

func (in *UserList) DeepCopy() *UserList

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

func (*UserList) DeepCopyInto

func (in *UserList) DeepCopyInto(out *UserList)

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

func (*UserList) DeepCopyObject

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

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

func (*UserList) GetItems

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

GetItems of this UserList.

type UserObservation

type UserObservation struct {

	// A map representing attributes for the user. In order to add multivalue attributes, use ## to seperate the values. Max length for each value is 255 chars
	// +mapType=granular
	Attributes map[string]*string `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// The user's email.
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// Whether the email address was validated or not. Default to false.
	EmailVerified *bool `json:"emailVerified,omitempty" tf:"email_verified,omitempty"`

	// When false, this user cannot log in. Defaults to true.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// When specified, the user will be linked to a federated identity provider. Refer to the federated user example for more details.
	FederatedIdentity []FederatedIdentityObservation `json:"federatedIdentity,omitempty" tf:"federated_identity,omitempty"`

	// The user's first name.
	FirstName *string `json:"firstName,omitempty" tf:"first_name,omitempty"`

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

	// When given, the user's initial password will be set. This attribute is only respected during initial user creation.
	InitialPassword []InitialPasswordObservation `json:"initialPassword,omitempty" tf:"initial_password,omitempty"`

	// The user's last name.
	LastName *string `json:"lastName,omitempty" tf:"last_name,omitempty"`

	// The realm this user belongs to.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// A list of required user actions.
	// +listType=set
	RequiredActions []*string `json:"requiredActions,omitempty" tf:"required_actions,omitempty"`

	// The unique username of this user.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*UserObservation) DeepCopy

func (in *UserObservation) DeepCopy() *UserObservation

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

func (*UserObservation) DeepCopyInto

func (in *UserObservation) DeepCopyInto(out *UserObservation)

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

type UserParameters

type UserParameters struct {

	// A map representing attributes for the user. In order to add multivalue attributes, use ## to seperate the values. Max length for each value is 255 chars
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Attributes map[string]*string `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// The user's email.
	// +kubebuilder:validation:Optional
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// Whether the email address was validated or not. Default to false.
	// +kubebuilder:validation:Optional
	EmailVerified *bool `json:"emailVerified,omitempty" tf:"email_verified,omitempty"`

	// When false, this user cannot log in. Defaults to true.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// When specified, the user will be linked to a federated identity provider. Refer to the federated user example for more details.
	// +kubebuilder:validation:Optional
	FederatedIdentity []FederatedIdentityParameters `json:"federatedIdentity,omitempty" tf:"federated_identity,omitempty"`

	// The user's first name.
	// +kubebuilder:validation:Optional
	FirstName *string `json:"firstName,omitempty" tf:"first_name,omitempty"`

	// When given, the user's initial password will be set. This attribute is only respected during initial user creation.
	// +kubebuilder:validation:Optional
	InitialPassword []InitialPasswordParameters `json:"initialPassword,omitempty" tf:"initial_password,omitempty"`

	// The user's last name.
	// +kubebuilder:validation:Optional
	LastName *string `json:"lastName,omitempty" tf:"last_name,omitempty"`

	// The realm this user belongs to.
	// +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:"-"`

	// A list of required user actions.
	// +kubebuilder:validation:Optional
	// +listType=set
	RequiredActions []*string `json:"requiredActions,omitempty" tf:"required_actions,omitempty"`

	// The unique username of this user.
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*UserParameters) DeepCopy

func (in *UserParameters) DeepCopy() *UserParameters

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

func (*UserParameters) DeepCopyInto

func (in *UserParameters) DeepCopyInto(out *UserParameters)

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

type UserSpec

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

UserSpec defines the desired state of User

func (*UserSpec) DeepCopy

func (in *UserSpec) DeepCopy() *UserSpec

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

func (*UserSpec) DeepCopyInto

func (in *UserSpec) DeepCopyInto(out *UserSpec)

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

type UserStatus

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

UserStatus defines the observed state of User.

func (*UserStatus) DeepCopy

func (in *UserStatus) DeepCopy() *UserStatus

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

func (*UserStatus) DeepCopyInto

func (in *UserStatus) DeepCopyInto(out *UserStatus)

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

type ViewScopeInitParameters added in v0.11.0

type ViewScopeInitParameters struct {

	// Decision strategy of the permission.
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*ViewScopeInitParameters) DeepCopy added in v0.11.0

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

func (*ViewScopeInitParameters) DeepCopyInto added in v0.11.0

func (in *ViewScopeInitParameters) DeepCopyInto(out *ViewScopeInitParameters)

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

type ViewScopeObservation added in v0.11.0

type ViewScopeObservation struct {

	// Decision strategy of the permission.
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*ViewScopeObservation) DeepCopy added in v0.11.0

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

func (*ViewScopeObservation) DeepCopyInto added in v0.11.0

func (in *ViewScopeObservation) DeepCopyInto(out *ViewScopeObservation)

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

type ViewScopeParameters added in v0.11.0

type ViewScopeParameters struct {

	// Decision strategy of the permission.
	// +kubebuilder:validation:Optional
	DecisionStrategy *string `json:"decisionStrategy,omitempty" tf:"decision_strategy,omitempty"`

	// Description of the permission.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Assigned policies to the permission. Each element within this list should be a policy ID.
	// +kubebuilder:validation:Optional
	// +listType=set
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*ViewScopeParameters) DeepCopy added in v0.11.0

func (in *ViewScopeParameters) DeepCopy() *ViewScopeParameters

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

func (*ViewScopeParameters) DeepCopyInto added in v0.11.0

func (in *ViewScopeParameters) DeepCopyInto(out *ViewScopeParameters)

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