v1alpha1

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	DefaultGroups_Kind             = "DefaultGroups"
	DefaultGroups_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DefaultGroups_Kind}.String()
	DefaultGroups_KindAPIVersion   = DefaultGroups_Kind + "." + CRDGroupVersion.String()
	DefaultGroups_GroupVersionKind = CRDGroupVersion.WithKind(DefaultGroups_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 (
	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 DefaultGroups added in v0.18.0

type DefaultGroups struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DefaultGroupsSpec   `json:"spec"`
	Status            DefaultGroupsStatus `json:"status,omitempty"`
}

DefaultGroups is the Schema for the DefaultGroupss API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,keycloak}

func (*DefaultGroups) DeepCopy added in v0.18.0

func (in *DefaultGroups) DeepCopy() *DefaultGroups

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

func (*DefaultGroups) DeepCopyInto added in v0.18.0

func (in *DefaultGroups) DeepCopyInto(out *DefaultGroups)

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

func (*DefaultGroups) DeepCopyObject added in v0.18.0

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

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

func (*DefaultGroups) GetCondition added in v0.18.0

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

GetCondition of this DefaultGroups.

func (*DefaultGroups) GetConnectionDetailsMapping added in v0.18.0

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

GetConnectionDetailsMapping for this DefaultGroups

func (*DefaultGroups) GetDeletionPolicy added in v0.18.0

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

GetDeletionPolicy of this DefaultGroups.

func (*DefaultGroups) GetID added in v0.18.0

func (tr *DefaultGroups) GetID() string

GetID returns ID of underlying Terraform resource of this DefaultGroups

func (*DefaultGroups) GetInitParameters added in v0.18.0

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

GetInitParameters of this DefaultGroups

func (*DefaultGroups) GetManagementPolicies added in v0.18.0

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

GetManagementPolicies of this DefaultGroups.

func (*DefaultGroups) GetMergedParameters added in v0.18.0

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

GetInitParameters of this DefaultGroups

func (*DefaultGroups) GetObservation added in v0.18.0

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

GetObservation of this DefaultGroups

func (*DefaultGroups) GetParameters added in v0.18.0

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

GetParameters of this DefaultGroups

func (*DefaultGroups) GetProviderConfigReference added in v0.18.0

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

GetProviderConfigReference of this DefaultGroups.

func (*DefaultGroups) GetPublishConnectionDetailsTo added in v0.18.0

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

GetPublishConnectionDetailsTo of this DefaultGroups.

func (*DefaultGroups) GetTerraformResourceType added in v0.18.0

func (mg *DefaultGroups) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DefaultGroups

func (*DefaultGroups) GetTerraformSchemaVersion added in v0.18.0

func (tr *DefaultGroups) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DefaultGroups) GetWriteConnectionSecretToReference added in v0.18.0

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

GetWriteConnectionSecretToReference of this DefaultGroups.

func (*DefaultGroups) Hub added in v0.18.0

func (tr *DefaultGroups) Hub()

Hub marks this type as a conversion hub.

func (*DefaultGroups) LateInitialize added in v0.18.0

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

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

func (*DefaultGroups) ResolveReferences added in v0.18.0

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

ResolveReferences of this DefaultGroups.

func (*DefaultGroups) SetConditions added in v0.18.0

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

SetConditions of this DefaultGroups.

func (*DefaultGroups) SetDeletionPolicy added in v0.18.0

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

SetDeletionPolicy of this DefaultGroups.

func (*DefaultGroups) SetManagementPolicies added in v0.18.0

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

SetManagementPolicies of this DefaultGroups.

func (*DefaultGroups) SetObservation added in v0.18.0

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

SetObservation for this DefaultGroups

func (*DefaultGroups) SetParameters added in v0.18.0

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

SetParameters for this DefaultGroups

func (*DefaultGroups) SetProviderConfigReference added in v0.18.0

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

SetProviderConfigReference of this DefaultGroups.

func (*DefaultGroups) SetPublishConnectionDetailsTo added in v0.18.0

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

SetPublishConnectionDetailsTo of this DefaultGroups.

func (*DefaultGroups) SetWriteConnectionSecretToReference added in v0.18.0

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

SetWriteConnectionSecretToReference of this DefaultGroups.

type DefaultGroupsInitParameters added in v0.18.0

type DefaultGroupsInitParameters struct {

	// A set of group ids that should be default groups on the realm referenced by realm_id.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/group/v1alpha1.Group
	// +listType=set
	GroupIds []*string `json:"groupIds,omitempty" tf:"group_ids,omitempty"`

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

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

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

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

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

func (*DefaultGroupsInitParameters) DeepCopy added in v0.18.0

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

func (*DefaultGroupsInitParameters) DeepCopyInto added in v0.18.0

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

type DefaultGroupsList added in v0.18.0

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

DefaultGroupsList contains a list of DefaultGroupss

func (*DefaultGroupsList) DeepCopy added in v0.18.0

func (in *DefaultGroupsList) DeepCopy() *DefaultGroupsList

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

func (*DefaultGroupsList) DeepCopyInto added in v0.18.0

func (in *DefaultGroupsList) DeepCopyInto(out *DefaultGroupsList)

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

func (*DefaultGroupsList) DeepCopyObject added in v0.18.0

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

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

func (*DefaultGroupsList) GetItems added in v0.18.0

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

GetItems of this DefaultGroupsList.

type DefaultGroupsObservation added in v0.18.0

type DefaultGroupsObservation struct {

	// A set of group ids that should be default groups on the realm referenced by realm_id.
	// +listType=set
	GroupIds []*string `json:"groupIds,omitempty" tf:"group_ids,omitempty"`

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

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

func (*DefaultGroupsObservation) DeepCopy added in v0.18.0

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

func (*DefaultGroupsObservation) DeepCopyInto added in v0.18.0

func (in *DefaultGroupsObservation) DeepCopyInto(out *DefaultGroupsObservation)

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

type DefaultGroupsParameters added in v0.18.0

type DefaultGroupsParameters struct {

	// A set of group ids that should be default groups on the realm referenced by realm_id.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/group/v1alpha1.Group
	// +kubebuilder:validation:Optional
	// +listType=set
	GroupIds []*string `json:"groupIds,omitempty" tf:"group_ids,omitempty"`

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

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

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

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

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

func (*DefaultGroupsParameters) DeepCopy added in v0.18.0

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

func (*DefaultGroupsParameters) DeepCopyInto added in v0.18.0

func (in *DefaultGroupsParameters) DeepCopyInto(out *DefaultGroupsParameters)

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

type DefaultGroupsSpec added in v0.18.0

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

DefaultGroupsSpec defines the desired state of DefaultGroups

func (*DefaultGroupsSpec) DeepCopy added in v0.18.0

func (in *DefaultGroupsSpec) DeepCopy() *DefaultGroupsSpec

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

func (*DefaultGroupsSpec) DeepCopyInto added in v0.18.0

func (in *DefaultGroupsSpec) DeepCopyInto(out *DefaultGroupsSpec)

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

type DefaultGroupsStatus added in v0.18.0

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

DefaultGroupsStatus defines the observed state of DefaultGroups.

func (*DefaultGroupsStatus) DeepCopy added in v0.18.0

func (in *DefaultGroupsStatus) DeepCopy() *DefaultGroupsStatus

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

func (*DefaultGroupsStatus) DeepCopyInto added in v0.18.0

func (in *DefaultGroupsStatus) DeepCopyInto(out *DefaultGroupsStatus)

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="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,keycloak}

func (*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 {

	// Realm level roles assigned to new users by default.
	// Realm level roles assigned to new users.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/role/v1alpha1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name", false)
	// +listType=set
	DefaultRoles []*string `json:"defaultRoles,omitempty" tf:"default_roles,omitempty"`

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

	// Selector for a list of Role in role to populate defaultRoles.
	// +kubebuilder:validation:Optional
	DefaultRolesSelector *v1.Selector `json:"defaultRolesSelector,omitempty" tf:"-"`

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

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

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

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 {

	// Realm level roles assigned to new users by default.
	// Realm level roles assigned to new users.
	// +listType=set
	DefaultRoles []*string `json:"defaultRoles,omitempty" tf:"default_roles,omitempty"`

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

	// The realm this role exists within.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,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 {

	// Realm level roles assigned to new users by default.
	// Realm level roles assigned to new users.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/role/v1alpha1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name", false)
	// +kubebuilder:validation:Optional
	// +listType=set
	DefaultRoles []*string `json:"defaultRoles,omitempty" tf:"default_roles,omitempty"`

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

	// Selector for a list of Role in role to populate defaultRoles.
	// +kubebuilder:validation:Optional
	DefaultRolesSelector *v1.Selector `json:"defaultRolesSelector,omitempty" tf:"-"`

	// The realm this role exists within.
	// +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 (*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