v1alpha1

package
v0.0.0-...-61945a2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 15 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 (
	// 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 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 {

	// Realm level roles assigned to new users by default.
	// Realm level roles assigned to new users.
	// +crossplane:generate:reference:type=github.com/stakater/provider-keycloak/apis/role/v1alpha1.Role
	// +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/stakater/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/stakater/provider-keycloak/apis/role/v1alpha1.Role
	// +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/stakater/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