v1alpha1

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Group_Kind             = "Group"
	Group_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Group_Kind}.String()
	Group_KindAPIVersion   = Group_Kind + "." + CRDGroupVersion.String()
	Group_GroupVersionKind = CRDGroupVersion.WithKind(Group_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 (
	Memberships_Kind             = "Memberships"
	Memberships_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Memberships_Kind}.String()
	Memberships_KindAPIVersion   = Memberships_Kind + "." + CRDGroupVersion.String()
	Memberships_GroupVersionKind = CRDGroupVersion.WithKind(Memberships_Kind)
)

Repository type metadata.

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 (
	Roles_Kind             = "Roles"
	Roles_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Roles_Kind}.String()
	Roles_KindAPIVersion   = Roles_Kind + "." + CRDGroupVersion.String()
	Roles_GroupVersionKind = CRDGroupVersion.WithKind(Roles_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Group

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

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

func (in *Group) DeepCopy() *Group

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

func (*Group) DeepCopyInto

func (in *Group) DeepCopyInto(out *Group)

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

func (*Group) DeepCopyObject

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

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

func (*Group) GetCondition

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

GetCondition of this Group.

func (*Group) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Group

func (*Group) GetDeletionPolicy

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

GetDeletionPolicy of this Group.

func (*Group) GetID

func (tr *Group) GetID() string

GetID returns ID of underlying Terraform resource of this Group

func (*Group) GetInitParameters

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

GetInitParameters of this Group

func (*Group) GetManagementPolicies

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

GetManagementPolicies of this Group.

func (*Group) GetMergedParameters

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

GetInitParameters of this Group

func (*Group) GetObservation

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

GetObservation of this Group

func (*Group) GetParameters

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

GetParameters of this Group

func (*Group) GetProviderConfigReference

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

GetProviderConfigReference of this Group.

func (*Group) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Group.

func (*Group) GetTerraformResourceType

func (mg *Group) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Group

func (*Group) GetTerraformSchemaVersion

func (tr *Group) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Group) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Group.

func (*Group) Hub

func (tr *Group) Hub()

Hub marks this type as a conversion hub.

func (*Group) LateInitialize

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

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

func (*Group) ResolveReferences

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

ResolveReferences of this Group.

func (*Group) SetConditions

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

SetConditions of this Group.

func (*Group) SetDeletionPolicy

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

SetDeletionPolicy of this Group.

func (*Group) SetManagementPolicies

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

SetManagementPolicies of this Group.

func (*Group) SetObservation

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

SetObservation for this Group

func (*Group) SetParameters

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

SetParameters for this Group

func (*Group) SetProviderConfigReference

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

SetProviderConfigReference of this Group.

func (*Group) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Group.

func (*Group) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Group.

type GroupInitParameters

type GroupInitParameters struct {

	// A map representing attributes for the group. 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 name of the group.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of this group's parent. If omitted, this group will be defined at the root level.
	// +crossplane:generate:reference:type=Group
	ParentID *string `json:"parentId,omitempty" tf:"parent_id,omitempty"`

	// Reference to a Group to populate parentId.
	// +kubebuilder:validation:Optional
	ParentIDRef *v1.Reference `json:"parentIdRef,omitempty" tf:"-"`

	// Selector for a Group to populate parentId.
	// +kubebuilder:validation:Optional
	ParentIDSelector *v1.Selector `json:"parentIdSelector,omitempty" tf:"-"`

	// The realm this group exists in.
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/realm/v1alpha1.Realm
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

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

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

func (*GroupInitParameters) DeepCopy

func (in *GroupInitParameters) DeepCopy() *GroupInitParameters

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

func (*GroupInitParameters) DeepCopyInto

func (in *GroupInitParameters) DeepCopyInto(out *GroupInitParameters)

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

type GroupList

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

GroupList contains a list of Groups

func (*GroupList) DeepCopy

func (in *GroupList) DeepCopy() *GroupList

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

func (*GroupList) DeepCopyInto

func (in *GroupList) DeepCopyInto(out *GroupList)

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

func (*GroupList) DeepCopyObject

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

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

func (*GroupList) GetItems

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

GetItems of this GroupList.

type GroupObservation

type GroupObservation struct {

	// A map representing attributes for the group. 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"`

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

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

	// The ID of this group's parent. If omitted, this group will be defined at the root level.
	ParentID *string `json:"parentId,omitempty" tf:"parent_id,omitempty"`

	// (Computed) The complete path of the group. For example, the child group's path in the example configuration would be /parent-group/child-group.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

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

func (*GroupObservation) DeepCopy

func (in *GroupObservation) DeepCopy() *GroupObservation

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

func (*GroupObservation) DeepCopyInto

func (in *GroupObservation) DeepCopyInto(out *GroupObservation)

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

type GroupParameters

type GroupParameters struct {

	// A map representing attributes for the group. 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 name of the group.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of this group's parent. If omitted, this group will be defined at the root level.
	// +crossplane:generate:reference:type=Group
	// +kubebuilder:validation:Optional
	ParentID *string `json:"parentId,omitempty" tf:"parent_id,omitempty"`

	// Reference to a Group to populate parentId.
	// +kubebuilder:validation:Optional
	ParentIDRef *v1.Reference `json:"parentIdRef,omitempty" tf:"-"`

	// Selector for a Group to populate parentId.
	// +kubebuilder:validation:Optional
	ParentIDSelector *v1.Selector `json:"parentIdSelector,omitempty" tf:"-"`

	// The realm this group exists in.
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/realm/v1alpha1.Realm
	// +kubebuilder:validation:Optional
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

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

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

func (*GroupParameters) DeepCopy

func (in *GroupParameters) DeepCopy() *GroupParameters

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

func (*GroupParameters) DeepCopyInto

func (in *GroupParameters) DeepCopyInto(out *GroupParameters)

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

type GroupSpec

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

GroupSpec defines the desired state of Group

func (*GroupSpec) DeepCopy

func (in *GroupSpec) DeepCopy() *GroupSpec

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

func (*GroupSpec) DeepCopyInto

func (in *GroupSpec) DeepCopyInto(out *GroupSpec)

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

type GroupStatus

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

GroupStatus defines the observed state of Group.

func (*GroupStatus) DeepCopy

func (in *GroupStatus) DeepCopy() *GroupStatus

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

func (*GroupStatus) DeepCopyInto

func (in *GroupStatus) DeepCopyInto(out *GroupStatus)

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

type ManageMembersScopeInitParameters

type ManageMembersScopeInitParameters 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 (*ManageMembersScopeInitParameters) DeepCopy

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

func (*ManageMembersScopeInitParameters) DeepCopyInto

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

type ManageMembersScopeObservation

type ManageMembersScopeObservation 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 (*ManageMembersScopeObservation) DeepCopy

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

func (*ManageMembersScopeObservation) DeepCopyInto

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

type ManageMembersScopeParameters

type ManageMembersScopeParameters 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 (*ManageMembersScopeParameters) DeepCopy

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

func (*ManageMembersScopeParameters) DeepCopyInto

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

type ManageMembershipScopeInitParameters

type ManageMembershipScopeInitParameters 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 (*ManageMembershipScopeInitParameters) DeepCopy

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

func (*ManageMembershipScopeInitParameters) DeepCopyInto

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

type ManageMembershipScopeObservation

type ManageMembershipScopeObservation 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 (*ManageMembershipScopeObservation) DeepCopy

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

func (*ManageMembershipScopeObservation) DeepCopyInto

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

type ManageMembershipScopeParameters

type ManageMembershipScopeParameters 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 (*ManageMembershipScopeParameters) DeepCopy

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

func (*ManageMembershipScopeParameters) DeepCopyInto

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

type ManageScopeInitParameters

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

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

func (*ManageScopeInitParameters) DeepCopyInto

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

type ManageScopeObservation

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

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

func (*ManageScopeObservation) DeepCopyInto

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

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

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

func (*ManageScopeParameters) DeepCopyInto

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

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

type Memberships

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

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

func (in *Memberships) DeepCopy() *Memberships

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

func (*Memberships) DeepCopyInto

func (in *Memberships) DeepCopyInto(out *Memberships)

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

func (*Memberships) DeepCopyObject

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

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

func (*Memberships) GetCondition

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

GetCondition of this Memberships.

func (*Memberships) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Memberships

func (*Memberships) GetDeletionPolicy

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

GetDeletionPolicy of this Memberships.

func (*Memberships) GetID

func (tr *Memberships) GetID() string

GetID returns ID of underlying Terraform resource of this Memberships

func (*Memberships) GetInitParameters

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

GetInitParameters of this Memberships

func (*Memberships) GetManagementPolicies

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

GetManagementPolicies of this Memberships.

func (*Memberships) GetMergedParameters

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

GetInitParameters of this Memberships

func (*Memberships) GetObservation

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

GetObservation of this Memberships

func (*Memberships) GetParameters

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

GetParameters of this Memberships

func (*Memberships) GetProviderConfigReference

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

GetProviderConfigReference of this Memberships.

func (*Memberships) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Memberships.

func (*Memberships) GetTerraformResourceType

func (mg *Memberships) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Memberships

func (*Memberships) GetTerraformSchemaVersion

func (tr *Memberships) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Memberships) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Memberships.

func (*Memberships) Hub

func (tr *Memberships) Hub()

Hub marks this type as a conversion hub.

func (*Memberships) LateInitialize

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

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

func (*Memberships) ResolveReferences

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

ResolveReferences of this Memberships.

func (*Memberships) SetConditions

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

SetConditions of this Memberships.

func (*Memberships) SetDeletionPolicy

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

SetDeletionPolicy of this Memberships.

func (*Memberships) SetManagementPolicies

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

SetManagementPolicies of this Memberships.

func (*Memberships) SetObservation

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

SetObservation for this Memberships

func (*Memberships) SetParameters

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

SetParameters for this Memberships

func (*Memberships) SetProviderConfigReference

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

SetProviderConfigReference of this Memberships.

func (*Memberships) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Memberships.

func (*Memberships) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Memberships.

type MembershipsInitParameters

type MembershipsInitParameters struct {

	// The ID of the group this resource should manage memberships for.
	// +crossplane:generate:reference:type=Group
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Reference to a Group to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDRef *v1.Reference `json:"groupIdRef,omitempty" tf:"-"`

	// Selector for a Group to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDSelector *v1.Selector `json:"groupIdSelector,omitempty" tf:"-"`

	// A list of usernames that belong to this group.
	// +listType=set
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// The realm this group exists in.
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/realm/v1alpha1.Realm
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

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

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

func (*MembershipsInitParameters) DeepCopy

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

func (*MembershipsInitParameters) DeepCopyInto

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

type MembershipsList

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

MembershipsList contains a list of Membershipss

func (*MembershipsList) DeepCopy

func (in *MembershipsList) DeepCopy() *MembershipsList

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

func (*MembershipsList) DeepCopyInto

func (in *MembershipsList) DeepCopyInto(out *MembershipsList)

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

func (*MembershipsList) DeepCopyObject

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

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

func (*MembershipsList) GetItems

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

GetItems of this MembershipsList.

type MembershipsObservation

type MembershipsObservation struct {

	// The ID of the group this resource should manage memberships for.
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

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

	// A list of usernames that belong to this group.
	// +listType=set
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

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

func (*MembershipsObservation) DeepCopy

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

func (*MembershipsObservation) DeepCopyInto

func (in *MembershipsObservation) DeepCopyInto(out *MembershipsObservation)

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

type MembershipsParameters

type MembershipsParameters struct {

	// The ID of the group this resource should manage memberships for.
	// +crossplane:generate:reference:type=Group
	// +kubebuilder:validation:Optional
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Reference to a Group to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDRef *v1.Reference `json:"groupIdRef,omitempty" tf:"-"`

	// Selector for a Group to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDSelector *v1.Selector `json:"groupIdSelector,omitempty" tf:"-"`

	// A list of usernames that belong to this group.
	// +kubebuilder:validation:Optional
	// +listType=set
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// The realm this group exists in.
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/realm/v1alpha1.Realm
	// +kubebuilder:validation:Optional
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

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

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

func (*MembershipsParameters) DeepCopy

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

func (*MembershipsParameters) DeepCopyInto

func (in *MembershipsParameters) DeepCopyInto(out *MembershipsParameters)

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

type MembershipsSpec

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

MembershipsSpec defines the desired state of Memberships

func (*MembershipsSpec) DeepCopy

func (in *MembershipsSpec) DeepCopy() *MembershipsSpec

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

func (*MembershipsSpec) DeepCopyInto

func (in *MembershipsSpec) DeepCopyInto(out *MembershipsSpec)

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

type MembershipsStatus

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

MembershipsStatus defines the observed state of Memberships.

func (*MembershipsStatus) DeepCopy

func (in *MembershipsStatus) DeepCopy() *MembershipsStatus

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

func (*MembershipsStatus) DeepCopyInto

func (in *MembershipsStatus) DeepCopyInto(out *MembershipsStatus)

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

type Permissions

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

func (in *Permissions) DeepCopy() *Permissions

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

func (*Permissions) DeepCopyInto

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

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

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

func (*Permissions) GetCondition

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

GetCondition of this Permissions.

func (*Permissions) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Permissions

func (*Permissions) GetDeletionPolicy

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

GetDeletionPolicy of this Permissions.

func (*Permissions) GetID

func (tr *Permissions) GetID() string

GetID returns ID of underlying Terraform resource of this Permissions

func (*Permissions) GetInitParameters

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

GetInitParameters of this Permissions

func (*Permissions) GetManagementPolicies

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

GetManagementPolicies of this Permissions.

func (*Permissions) GetMergedParameters

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

GetInitParameters of this Permissions

func (*Permissions) GetObservation

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

GetObservation of this Permissions

func (*Permissions) GetParameters

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

GetParameters of this Permissions

func (*Permissions) GetProviderConfigReference

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

GetProviderConfigReference of this Permissions.

func (*Permissions) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Permissions.

func (*Permissions) GetTerraformResourceType

func (mg *Permissions) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Permissions

func (*Permissions) GetTerraformSchemaVersion

func (tr *Permissions) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Permissions) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Permissions.

func (*Permissions) Hub

func (tr *Permissions) Hub()

Hub marks this type as a conversion hub.

func (*Permissions) LateInitialize

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

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

ResolveReferences of this Permissions.

func (*Permissions) SetConditions

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

SetConditions of this Permissions.

func (*Permissions) SetDeletionPolicy

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

SetDeletionPolicy of this Permissions.

func (*Permissions) SetManagementPolicies

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

SetManagementPolicies of this Permissions.

func (*Permissions) SetObservation

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

SetObservation for this Permissions

func (*Permissions) SetParameters

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

SetParameters for this Permissions

func (*Permissions) SetProviderConfigReference

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

SetProviderConfigReference of this Permissions.

func (*Permissions) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Permissions.

func (*Permissions) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Permissions.

type PermissionsInitParameters

type PermissionsInitParameters struct {

	// The id of the group.
	// +crossplane:generate:reference:type=Group
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Reference to a Group to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDRef *v1.Reference `json:"groupIdRef,omitempty" tf:"-"`

	// Selector for a Group to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDSelector *v1.Selector `json:"groupIdSelector,omitempty" tf:"-"`

	// Policies that decide if the admin can manage the users that belong to this group.
	ManageMembersScope []ManageMembersScopeInitParameters `json:"manageMembersScope,omitempty" tf:"manage_members_scope,omitempty"`

	// Policies that decide if an admin can change the membership of the group. Add or remove members from the group.
	ManageMembershipScope []ManageMembershipScopeInitParameters `json:"manageMembershipScope,omitempty" tf:"manage_membership_scope,omitempty"`

	// Policies that decide if the admin can manage the configuration of the group.
	ManageScope []ManageScopeInitParameters `json:"manageScope,omitempty" tf:"manage_scope,omitempty"`

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

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

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

	// Policies that decide if the admin can view the user details of members of the group.
	ViewMembersScope []ViewMembersScopeInitParameters `json:"viewMembersScope,omitempty" tf:"view_members_scope,omitempty"`

	// Policies that decide if the admin can view information about the group.
	ViewScope []ViewScopeInitParameters `json:"viewScope,omitempty" tf:"view_scope,omitempty"`
}

func (*PermissionsInitParameters) DeepCopy

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

func (*PermissionsInitParameters) DeepCopyInto

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

type PermissionsList

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

func (in *PermissionsList) DeepCopy() *PermissionsList

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

func (*PermissionsList) DeepCopyInto

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

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

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

func (*PermissionsList) GetItems

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

GetItems of this PermissionsList.

type PermissionsObservation

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 role permissions are enabled. This will always be true.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// The id of the group.
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

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

	// Policies that decide if the admin can manage the users that belong to this group.
	ManageMembersScope []ManageMembersScopeObservation `json:"manageMembersScope,omitempty" tf:"manage_members_scope,omitempty"`

	// Policies that decide if an admin can change the membership of the group. Add or remove members from the group.
	ManageMembershipScope []ManageMembershipScopeObservation `json:"manageMembershipScope,omitempty" tf:"manage_membership_scope,omitempty"`

	// Policies that decide if the admin can manage the configuration of the group.
	ManageScope []ManageScopeObservation `json:"manageScope,omitempty" tf:"manage_scope,omitempty"`

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

	// Policies that decide if the admin can view the user details of members of the group.
	ViewMembersScope []ViewMembersScopeObservation `json:"viewMembersScope,omitempty" tf:"view_members_scope,omitempty"`

	// Policies that decide if the admin can view information about the group.
	ViewScope []ViewScopeObservation `json:"viewScope,omitempty" tf:"view_scope,omitempty"`
}

func (*PermissionsObservation) DeepCopy

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

func (*PermissionsObservation) DeepCopyInto

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

type PermissionsParameters struct {

	// The id of the group.
	// +crossplane:generate:reference:type=Group
	// +kubebuilder:validation:Optional
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Reference to a Group to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDRef *v1.Reference `json:"groupIdRef,omitempty" tf:"-"`

	// Selector for a Group to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDSelector *v1.Selector `json:"groupIdSelector,omitempty" tf:"-"`

	// Policies that decide if the admin can manage the users that belong to this group.
	// +kubebuilder:validation:Optional
	ManageMembersScope []ManageMembersScopeParameters `json:"manageMembersScope,omitempty" tf:"manage_members_scope,omitempty"`

	// Policies that decide if an admin can change the membership of the group. Add or remove members from the group.
	// +kubebuilder:validation:Optional
	ManageMembershipScope []ManageMembershipScopeParameters `json:"manageMembershipScope,omitempty" tf:"manage_membership_scope,omitempty"`

	// Policies that decide if the admin can manage the configuration of the group.
	// +kubebuilder:validation:Optional
	ManageScope []ManageScopeParameters `json:"manageScope,omitempty" tf:"manage_scope,omitempty"`

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

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

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

	// Policies that decide if the admin can view the user details of members of the group.
	// +kubebuilder:validation:Optional
	ViewMembersScope []ViewMembersScopeParameters `json:"viewMembersScope,omitempty" tf:"view_members_scope,omitempty"`

	// Policies that decide if the admin can view information about the group.
	// +kubebuilder:validation:Optional
	ViewScope []ViewScopeParameters `json:"viewScope,omitempty" tf:"view_scope,omitempty"`
}

func (*PermissionsParameters) DeepCopy

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

func (*PermissionsParameters) DeepCopyInto

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

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

func (in *PermissionsSpec) DeepCopy() *PermissionsSpec

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

func (*PermissionsSpec) DeepCopyInto

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

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

PermissionsStatus defines the observed state of Permissions.

func (*PermissionsStatus) DeepCopy

func (in *PermissionsStatus) DeepCopy() *PermissionsStatus

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

func (*PermissionsStatus) DeepCopyInto

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

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

type Roles

type Roles struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RolesSpec   `json:"spec"`
	Status            RolesStatus `json:"status,omitempty"`
}

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

func (in *Roles) DeepCopy() *Roles

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

func (*Roles) DeepCopyInto

func (in *Roles) DeepCopyInto(out *Roles)

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

func (*Roles) DeepCopyObject

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

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

func (*Roles) GetCondition

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

GetCondition of this Roles.

func (*Roles) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Roles

func (*Roles) GetDeletionPolicy

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

GetDeletionPolicy of this Roles.

func (*Roles) GetID

func (tr *Roles) GetID() string

GetID returns ID of underlying Terraform resource of this Roles

func (*Roles) GetInitParameters

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

GetInitParameters of this Roles

func (*Roles) GetManagementPolicies

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

GetManagementPolicies of this Roles.

func (*Roles) GetMergedParameters

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

GetInitParameters of this Roles

func (*Roles) GetObservation

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

GetObservation of this Roles

func (*Roles) GetParameters

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

GetParameters of this Roles

func (*Roles) GetProviderConfigReference

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

GetProviderConfigReference of this Roles.

func (*Roles) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Roles.

func (*Roles) GetTerraformResourceType

func (mg *Roles) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Roles

func (*Roles) GetTerraformSchemaVersion

func (tr *Roles) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Roles) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Roles.

func (*Roles) Hub

func (tr *Roles) Hub()

Hub marks this type as a conversion hub.

func (*Roles) LateInitialize

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

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

func (*Roles) ResolveReferences

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

ResolveReferences of this Roles.

func (*Roles) SetConditions

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

SetConditions of this Roles.

func (*Roles) SetDeletionPolicy

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

SetDeletionPolicy of this Roles.

func (*Roles) SetManagementPolicies

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

SetManagementPolicies of this Roles.

func (*Roles) SetObservation

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

SetObservation for this Roles

func (*Roles) SetParameters

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

SetParameters for this Roles

func (*Roles) SetProviderConfigReference

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

SetProviderConfigReference of this Roles.

func (*Roles) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Roles.

func (*Roles) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Roles.

type RolesInitParameters

type RolesInitParameters struct {

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

	// The ID of the group this resource should manage roles for.
	// +crossplane:generate:reference:type=Group
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Reference to a Group to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDRef *v1.Reference `json:"groupIdRef,omitempty" tf:"-"`

	// Selector for a Group to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDSelector *v1.Selector `json:"groupIdSelector,omitempty" tf:"-"`

	// The realm this group exists in.
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/realm/v1alpha1.Realm
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

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

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

	// A list of role IDs to map to the group.
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/role/v1alpha1.Role
	// +listType=set
	RoleIds []*string `json:"roleIds,omitempty" tf:"role_ids,omitempty"`

	// References to Role in role to populate roleIds.
	// +kubebuilder:validation:Optional
	RoleIdsRefs []v1.Reference `json:"roleIdsRefs,omitempty" tf:"-"`

	// Selector for a list of Role in role to populate roleIds.
	// +kubebuilder:validation:Optional
	RoleIdsSelector *v1.Selector `json:"roleIdsSelector,omitempty" tf:"-"`
}

func (*RolesInitParameters) DeepCopy

func (in *RolesInitParameters) DeepCopy() *RolesInitParameters

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

func (*RolesInitParameters) DeepCopyInto

func (in *RolesInitParameters) DeepCopyInto(out *RolesInitParameters)

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

type RolesList

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

RolesList contains a list of Roless

func (*RolesList) DeepCopy

func (in *RolesList) DeepCopy() *RolesList

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

func (*RolesList) DeepCopyInto

func (in *RolesList) DeepCopyInto(out *RolesList)

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

func (*RolesList) DeepCopyObject

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

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

func (*RolesList) GetItems

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

GetItems of this RolesList.

type RolesObservation

type RolesObservation struct {

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

	// The ID of the group this resource should manage roles for.
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

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

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

	// A list of role IDs to map to the group.
	// +listType=set
	RoleIds []*string `json:"roleIds,omitempty" tf:"role_ids,omitempty"`
}

func (*RolesObservation) DeepCopy

func (in *RolesObservation) DeepCopy() *RolesObservation

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

func (*RolesObservation) DeepCopyInto

func (in *RolesObservation) DeepCopyInto(out *RolesObservation)

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

type RolesParameters

type RolesParameters struct {

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

	// The ID of the group this resource should manage roles for.
	// +crossplane:generate:reference:type=Group
	// +kubebuilder:validation:Optional
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Reference to a Group to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDRef *v1.Reference `json:"groupIdRef,omitempty" tf:"-"`

	// Selector for a Group to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDSelector *v1.Selector `json:"groupIdSelector,omitempty" tf:"-"`

	// The realm this group exists in.
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/realm/v1alpha1.Realm
	// +kubebuilder:validation:Optional
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

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

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

	// A list of role IDs to map to the group.
	// +crossplane:generate:reference:type=github.com/viletay/provider-keycloak/apis/role/v1alpha1.Role
	// +kubebuilder:validation:Optional
	// +listType=set
	RoleIds []*string `json:"roleIds,omitempty" tf:"role_ids,omitempty"`

	// References to Role in role to populate roleIds.
	// +kubebuilder:validation:Optional
	RoleIdsRefs []v1.Reference `json:"roleIdsRefs,omitempty" tf:"-"`

	// Selector for a list of Role in role to populate roleIds.
	// +kubebuilder:validation:Optional
	RoleIdsSelector *v1.Selector `json:"roleIdsSelector,omitempty" tf:"-"`
}

func (*RolesParameters) DeepCopy

func (in *RolesParameters) DeepCopy() *RolesParameters

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

func (*RolesParameters) DeepCopyInto

func (in *RolesParameters) DeepCopyInto(out *RolesParameters)

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

type RolesSpec

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

RolesSpec defines the desired state of Roles

func (*RolesSpec) DeepCopy

func (in *RolesSpec) DeepCopy() *RolesSpec

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

func (*RolesSpec) DeepCopyInto

func (in *RolesSpec) DeepCopyInto(out *RolesSpec)

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

type RolesStatus

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

RolesStatus defines the observed state of Roles.

func (*RolesStatus) DeepCopy

func (in *RolesStatus) DeepCopy() *RolesStatus

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

func (*RolesStatus) DeepCopyInto

func (in *RolesStatus) DeepCopyInto(out *RolesStatus)

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

type ViewMembersScopeInitParameters

type ViewMembersScopeInitParameters 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 (*ViewMembersScopeInitParameters) DeepCopy

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

func (*ViewMembersScopeInitParameters) DeepCopyInto

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

type ViewMembersScopeObservation

type ViewMembersScopeObservation 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 (*ViewMembersScopeObservation) DeepCopy

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

func (*ViewMembersScopeObservation) DeepCopyInto

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

type ViewMembersScopeParameters

type ViewMembersScopeParameters 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 (*ViewMembersScopeParameters) DeepCopy

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

func (*ViewMembersScopeParameters) DeepCopyInto

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

type ViewScopeInitParameters

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

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

func (*ViewScopeInitParameters) DeepCopyInto

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

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

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

func (*ViewScopeObservation) DeepCopyInto

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

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

func (in *ViewScopeParameters) DeepCopy() *ViewScopeParameters

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

func (*ViewScopeParameters) DeepCopyInto

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