v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "keycloak.appuio.io", 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 AttributeSync

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

	Spec   AttributeSyncSpec   `json:"spec,omitempty"`
	Status AttributeSyncStatus `json:"status,omitempty"`
}

AttributeSync is the Schema for the attributesyncs API

func (*AttributeSync) DeepCopy

func (in *AttributeSync) DeepCopy() *AttributeSync

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

func (*AttributeSync) DeepCopyInto

func (in *AttributeSync) DeepCopyInto(out *AttributeSync)

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

func (*AttributeSync) DeepCopyObject

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

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

func (*AttributeSync) GetCaSecret

func (a *AttributeSync) GetCaSecret() *corev1.SecretReference

func (*AttributeSync) GetConditions

func (a *AttributeSync) GetConditions() []metav1.Condition

func (*AttributeSync) GetCredentialsSecret

func (a *AttributeSync) GetCredentialsSecret() corev1.SecretReference

func (*AttributeSync) GetLoginRealm

func (a *AttributeSync) GetLoginRealm() string

func (*AttributeSync) SetConditions

func (a *AttributeSync) SetConditions(conditions []metav1.Condition)

type AttributeSyncList

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

AttributeSyncList contains a list of AttributeSync

func (*AttributeSyncList) DeepCopy

func (in *AttributeSyncList) DeepCopy() *AttributeSyncList

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

func (*AttributeSyncList) DeepCopyInto

func (in *AttributeSyncList) DeepCopyInto(out *AttributeSyncList)

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

func (*AttributeSyncList) DeepCopyObject

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

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

type AttributeSyncSpec

type AttributeSyncSpec struct {
	// CaSecret is a reference to a secret containing a CA certificate to communicate to the Keycloak server
	// +kubebuilder:validation:Optional
	CaSecret *corev1.SecretReference `json:"caSecret,omitempty"`

	// CredentialsSecret is a reference to a secret containing authentication details for the Keycloak server
	// +kubebuilder:validation:Required
	CredentialsSecret corev1.SecretReference `json:"credentialsSecret"`

	// LoginRealm is the Keycloak realm to authenticate against
	// +kubebuilder:validation:Optional
	LoginRealm string `json:"loginRealm,omitempty"`

	// Realm is the realm containing the groups to synchronize against
	// +kubebuilder:validation:Required
	Realm string `json:"realm"`

	// URL is the location of the Keycloak server
	// +kubebuilder:validation:Required
	URL string `json:"url"`

	// Attribute specifies the attribute to sync
	// +kubebuilder:validation:Required
	Attribute string `json:"attribute"`

	// TargetLabel specifies the label to sync the attribute to
	// +kubebuilder:validation:Optional
	TargetLabel string `json:"targetLabel,omitempty"`

	// TargetAnnotation specifies the label to sync the attribute to
	// +kubebuilder:validation:Optional
	TargetAnnotation string `json:"targetAnnotation,omitempty"`

	// Schedule represents a cron based configuration for synchronization
	// +kubebuilder:validation:Optional
	Schedule string `json:"schedule,omitempty"`
}

AttributeSyncSpec defines the desired state of AttributeSync

func (*AttributeSyncSpec) DeepCopy

func (in *AttributeSyncSpec) DeepCopy() *AttributeSyncSpec

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

func (*AttributeSyncSpec) DeepCopyInto

func (in *AttributeSyncSpec) DeepCopyInto(out *AttributeSyncSpec)

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

type AttributeSyncStatus

type AttributeSyncStatus struct {
	// +kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

AttributeSyncStatus defines the observed state of AttributeSync

func (*AttributeSyncStatus) DeepCopy

func (in *AttributeSyncStatus) DeepCopy() *AttributeSyncStatus

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

func (*AttributeSyncStatus) DeepCopyInto

func (in *AttributeSyncStatus) DeepCopyInto(out *AttributeSyncStatus)

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