Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the keycloak v1alpha1 API group +kubebuilder:object:generate=true +groupName=keycloak.libre.sh
Index ¶
- Variables
- type Realm
- func (o *Realm) AdminName() string
- func (in *Realm) DeepCopy() *Realm
- func (in *Realm) DeepCopyInto(out *Realm)
- func (in *Realm) DeepCopyObject() runtime.Object
- func (o *Realm) GetConditions() []metav1.Condition
- func (o *Realm) GetCurrentRealmName() string
- func (o *Realm) GetImage() string
- func (o *Realm) GetRealmName() string
- func (o *Realm) GetSuspend() bool
- func (o *Realm) GetVersion() string
- func (o *Realm) SetConditions(conditions []metav1.Condition)
- func (o *Realm) SetSuspend(value bool)
- func (o *Realm) SetVersion(value string)
- type RealmList
- type RealmLocale
- type RealmSpec
- type RealmStatus
- type RealmThemes
Constants ¶
This section is empty.
Variables ¶
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) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Realm.
func (*Realm) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Realm) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Realm) GetConditions ¶
func (*Realm) GetCurrentRealmName ¶
func (*Realm) GetRealmName ¶
func (*Realm) GetSuspend ¶
func (*Realm) GetVersion ¶
func (*Realm) SetConditions ¶
func (*Realm) SetSuspend ¶
func (*Realm) SetVersion ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RealmList.
func (*RealmList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RealmList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RealmSpec.
func (*RealmSpec) DeepCopyInto ¶
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.