v1alpha1

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: EUPL-1.2 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the keycloak v1alpha1 API group +kubebuilder:object:generate=true +groupName=keycloak.libre.sh

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "keycloak.libre.sh", Version: "v1alpha1"}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Realm

type Realm struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RealmSpec   `json:"spec,omitempty"`
	Status RealmStatus `json:"status,omitempty"`
}

Realm is the Schema for the realms API

func (*Realm) AdminName

func (o *Realm) AdminName() string

func (*Realm) DeepCopy

func (in *Realm) DeepCopy() *Realm

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

func (*Realm) DeepCopyInto

func (in *Realm) DeepCopyInto(out *Realm)

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

func (*Realm) DeepCopyObject

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

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

func (*Realm) GetConditions

func (o *Realm) GetConditions() []metav1.Condition

func (*Realm) GetCurrentRealmName

func (o *Realm) GetCurrentRealmName() string

func (*Realm) GetImage

func (o *Realm) GetImage() string

func (*Realm) GetRealmName

func (o *Realm) GetRealmName() string

func (*Realm) GetSuspend

func (o *Realm) GetSuspend() bool

func (*Realm) GetVersion

func (o *Realm) GetVersion() string

func (*Realm) SetConditions

func (o *Realm) SetConditions(conditions []metav1.Condition)

func (*Realm) SetSuspend

func (o *Realm) SetSuspend(value bool)

func (*Realm) SetVersion

func (o *Realm) SetVersion(value string)

type RealmList

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

RealmList contains a list of Realm

func (*RealmList) DeepCopy

func (in *RealmList) DeepCopy() *RealmList

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

func (*RealmList) DeepCopyInto

func (in *RealmList) DeepCopyInto(out *RealmList)

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

func (*RealmList) DeepCopyObject

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

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

type RealmLocale

type RealmLocale struct {
	//+kubebuilder:validation:Optional
	//+kubebuilder:default="fr"
	Default string `json:"default"`
	//+kubebuilder:validation:Optional
	//+kubebuilder:validation:MinItems=1
	//+kubebuilder:default={"fr"}
	Available []string `json:"available"`
}

func (*RealmLocale) DeepCopy

func (in *RealmLocale) DeepCopy() *RealmLocale

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

func (*RealmLocale) DeepCopyInto

func (in *RealmLocale) DeepCopyInto(out *RealmLocale)

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

type RealmSpec

type RealmSpec struct {
	lshmeta.Spec `json:",inline"`
	// Keycloak provider name that is specified in KeycloakConfig
	// +kubebuilder:validation:Optional
	Provider string `json:"provider,omitempty"`
	// Disable realm
	// +kubebuilder:validation:Optional
	Disable bool `json:"disable,omitempty"`
	//+kubebuilder:validation:Optional
	Name string `json:"name,omitempty"`
	// Display Name for realm, if not set default de Realm Name
	// +kubebuilder:validation:Optional
	DisplayName string `json:"displayName,omitempty"`
	// Realm host, if not set it will be provider host.
	// +kubebuilder:validation:Optional
	Host string `json:"host,omitempty"`
	// If insecure https is disabled.
	// +kubebuilder:validation:Optional
	Insecure bool `json:"insecure,omitempty"`
	// Either we deploy and ingress for realm or not, host must be specified
	// +kubebuilder:validation:Optional
	Ingress bool `json:"ingress,omitempty"`
	// Are metrics enabled
	// +kubebuilder:validation:Optional
	Metrics bool `json:"metrics,omitempty"`
	// Keycloak themes
	// +kubebuilder:validation:Optional
	Themes RealmThemes `json:"themes,omitempty"`
	//+kubebuilder:validation:Optional
	Locale RealmLocale `json:"locale"`
	// Disable brute force
	// +kubebuilder:validation:Optional
	DisableBruteForce bool `json:"disableBruteForce,omitempty"`
}

RealmSpec defines the desired state of Realm

func (*RealmSpec) DeepCopy

func (in *RealmSpec) DeepCopy() *RealmSpec

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

func (*RealmSpec) DeepCopyInto

func (in *RealmSpec) DeepCopyInto(out *RealmSpec)

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

type RealmStatus

type RealmStatus struct {
	//+kubebuilder:validation:Optional
	//+patchMergeKey=type
	//+patchStrategy=merge
	//+listType=map
	//+listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty"`
	//+kubebuilder:validation:Optional
	Name string `json:"name,omitempty"`
}

RealmStatus defines the observed state of Realm

func (*RealmStatus) DeepCopy

func (in *RealmStatus) DeepCopy() *RealmStatus

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

func (*RealmStatus) DeepCopyInto

func (in *RealmStatus) DeepCopyInto(out *RealmStatus)

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

type RealmThemes

type RealmThemes struct {
	// Theme name for Login page
	// +kubebuilder:validation:Optional
	Login string `json:"login,omitempty"`
	// Theme name for Account page
	// +kubebuilder:validation:Optional
	Account string `json:"account,omitempty"`
	// Theme name for Admin Console page
	// +kubebuilder:validation:Optional
	Admin string `json:"admin,omitempty"`
	// Theme name for Email page
	// +kubebuilder:validation:Optional
	Email string `json:"email,omitempty"`
}

func (*RealmThemes) DeepCopy

func (in *RealmThemes) DeepCopy() *RealmThemes

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

func (*RealmThemes) DeepCopyInto

func (in *RealmThemes) DeepCopyInto(out *RealmThemes)

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