v1alpha1

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "group.keycloak.crossplane.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 (
	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:subresource:status +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 added in v0.5.0

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

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

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

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
	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.
	ParentID *string `json:"parentId,omitempty" tf:"parent_id,omitempty"`
}

func (*GroupInitParameters) DeepCopy added in v0.5.0

func (in *GroupInitParameters) DeepCopy() *GroupInitParameters

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

func (*GroupInitParameters) DeepCopyInto added in v0.5.0

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
	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
	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.
	// +kubebuilder:validation:Optional
	ParentID *string `json:"parentId,omitempty" tf:"parent_id,omitempty"`

	// 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:"-"`
}

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 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:subresource:status +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 added in v0.5.0

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

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

type MembershipsInitParameters struct {

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

func (*MembershipsInitParameters) DeepCopy added in v0.5.0

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

func (*MembershipsInitParameters) DeepCopyInto added in v0.5.0

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.
	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
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// 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:"-"`
}

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 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:subresource:status +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 added in v0.5.0

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

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

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"`
}

func (*RolesInitParameters) DeepCopy added in v0.5.0

func (in *RolesInitParameters) DeepCopy() *RolesInitParameters

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

func (*RolesInitParameters) DeepCopyInto added in v0.5.0

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.
	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/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 role IDs to map to the group.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/role/v1alpha1.Role
	// +kubebuilder:validation:Optional
	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.

Jump to

Keyboard shortcuts

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