v1alpha1

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 6

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the authentication v1alpha1 API group +kubebuilder:object:generate=true +groupName=authentication.zncdata.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "authentication.zncdata.dev", 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 AuthenticationClass

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

	Spec   AuthenticationClassSpec   `json:"spec,omitempty"`
	Status AuthenticationClassStatus `json:"status,omitempty"`
}

AuthenticationClass is the Schema for the authenticationclasses API

func (*AuthenticationClass) DeepCopy

func (in *AuthenticationClass) DeepCopy() *AuthenticationClass

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

func (*AuthenticationClass) DeepCopyInto

func (in *AuthenticationClass) DeepCopyInto(out *AuthenticationClass)

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

func (*AuthenticationClass) DeepCopyObject

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

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

type AuthenticationClassList

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

AuthenticationClassList contains a list of AuthenticationClass

func (*AuthenticationClassList) DeepCopy

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

func (*AuthenticationClassList) DeepCopyInto

func (in *AuthenticationClassList) DeepCopyInto(out *AuthenticationClassList)

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

func (*AuthenticationClassList) DeepCopyObject

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

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

type AuthenticationClassSpec

type AuthenticationClassSpec struct {
	// +kubebuilder:validation:Required
	AuthenticationProvider *AuthenticationProvider `json:"provider,omitempty"`
}

AuthenticationClassSpec defines the desired state of AuthenticationClass

func (*AuthenticationClassSpec) DeepCopy

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

func (*AuthenticationClassSpec) DeepCopyInto

func (in *AuthenticationClassSpec) DeepCopyInto(out *AuthenticationClassSpec)

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

type AuthenticationClassStatus

type AuthenticationClassStatus struct {
}

AuthenticationClassStatus defines the observed state of AuthenticationClass

func (*AuthenticationClassStatus) DeepCopy

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

func (*AuthenticationClassStatus) DeepCopyInto

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

type AuthenticationProvider

type AuthenticationProvider struct {
	// +kubebuilder:validation:Optional
	OIDC *OIDCProvider `json:"oidc,omitempty"`

	// +kubebuilder:validation:Optional
	TLS *TLSPrivider `json:"tls,omitempty"`

	// +kubebuilder:validation:Optional
	Static *StaticProvider `json:"static,omitempty"`

	// +kubebuilder:validation:Optional
	LDAP *LDAPProvider `json:"ldap,omitempty"`
}

func (*AuthenticationProvider) DeepCopy

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

func (*AuthenticationProvider) DeepCopyInto

func (in *AuthenticationProvider) DeepCopyInto(out *AuthenticationProvider)

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

type CrendentialScope

type CrendentialScope struct {
	// +kubebuilder:validation:Optional
	Node string `json:"node,omitempty"`

	// +kubebuilder:validation:Optional
	Pod string `json:"pod,omitempty"`

	// +kubebuilder:validation:Optional
	Services []string `json:"services,omitempty"`
}

func (*CrendentialScope) DeepCopy

func (in *CrendentialScope) DeepCopy() *CrendentialScope

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

func (*CrendentialScope) DeepCopyInto

func (in *CrendentialScope) DeepCopyInto(out *CrendentialScope)

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

type LDAPCredential

type LDAPCredential struct {
	// +kubebuilder:validation:Optional
	Scopes *CrendentialScope `json:"scopes,omitempty"`

	// +kubebuilder:validation:Required
	SecretClass string `json:"secretClass"`
}

func (*LDAPCredential) DeepCopy

func (in *LDAPCredential) DeepCopy() *LDAPCredential

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

func (*LDAPCredential) DeepCopyInto

func (in *LDAPCredential) DeepCopyInto(out *LDAPCredential)

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

type LDAPFieldNames

type LDAPFieldNames struct {
	// +kubebuilder:validation:Optional
	Email string `json:"email,omitempty"`

	// +kubebuilder:validation:Optional
	GivenName string `json:"givenName,omitempty"`

	// +kubebuilder:validation:Optional
	Group string `json:"group,omitempty"`

	// +kubebuilder:validation:Optional
	Surname string `json:"surname,omitempty"`

	// +kubebuilder:validation:Optional
	Uid string `json:"uid,omitempty"`
}

func (*LDAPFieldNames) DeepCopy

func (in *LDAPFieldNames) DeepCopy() *LDAPFieldNames

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

func (*LDAPFieldNames) DeepCopyInto

func (in *LDAPFieldNames) DeepCopyInto(out *LDAPFieldNames)

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

type LDAPProvider

type LDAPProvider struct {
	// +kubebuilder:validation:Required
	Credential *LDAPCredential `json:"credential"`

	// +kubebuilder:validation:Required
	Hostname string `json:"hostname"`

	// +kubebuilder:validation:Optional
	Port int `json:"port,omitempty"`

	// +kubebuilder:validation:Optional
	LDAPFieldNames *LDAPFieldNames `json:"ldapFieldNames,omitempty"`

	// LDAP search base, for example: ou=users,dc=example,dc=org.
	// +kubebuilder:validation:Optional
	SearchBase string `json:"searchBase,omitempty"`

	// LDAP search filter, for example: (uid=%s).
	// +kubebuilder:validation:Optional
	SearchFilter string `json:"searchFilter,omitempty"`

	// +kubebuilder:validation:Optional
	TLS *TLS `json:"tls,omitempty"`
}

func (*LDAPProvider) DeepCopy

func (in *LDAPProvider) DeepCopy() *LDAPProvider

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

func (*LDAPProvider) DeepCopyInto

func (in *LDAPProvider) DeepCopyInto(out *LDAPProvider)

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

type OIDCProvider

type OIDCProvider struct {

	// +kubebuilder:validation:Required
	Hostname string `json:"hostname"`

	// +kubebuilder:validation:Optional
	Port int `json:"port,omitempty"`

	PrincipalClaim string `json:"principalClaim"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=oidc;keycloak;dexidp;authentik
	ProviderHint string `json:"providerHint"`

	// +kubebuilder:validation:Optional
	RootPath string `json:"rootPath,omitempty"`

	// +kubebuilder:validation:Optional
	Scopes []string `json:"scopes,omitempty"`

	// +kubebuilder:validation:Optional
	TLS *TLS `json:"tls,omitempty"`
}

func (*OIDCProvider) DeepCopy

func (in *OIDCProvider) DeepCopy() *OIDCProvider

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

func (*OIDCProvider) DeepCopyInto

func (in *OIDCProvider) DeepCopyInto(out *OIDCProvider)

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

type ResponseType

type ResponseType string
const (
	ResponseTypeCode  ResponseType = "code"
	ResponseTypeToken ResponseType = "id_token"
)

type StaticProvider

type StaticProvider struct {
	CerdentialSecret string `json:"credential"`
}

func (*StaticProvider) DeepCopy

func (in *StaticProvider) DeepCopy() *StaticProvider

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

func (*StaticProvider) DeepCopyInto

func (in *StaticProvider) DeepCopyInto(out *StaticProvider)

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

type TLS

type TLS struct {
	// +kubebuilder:validation:Optional
	Verification *commonsv1alpha1.TLSVerificationSpec `json:"verification,omitempty"`
}

func (*TLS) DeepCopy

func (in *TLS) DeepCopy() *TLS

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

func (*TLS) DeepCopyInto

func (in *TLS) DeepCopyInto(out *TLS)

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

type TLSPrivider

type TLSPrivider struct {
	// +kubebuilder:validation:Optional
	SecretClass string `json:"secretClass,omitempty"`
}

func (*TLSPrivider) DeepCopy

func (in *TLSPrivider) DeepCopy() *TLSPrivider

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

func (*TLSPrivider) DeepCopyInto

func (in *TLSPrivider) DeepCopyInto(out *TLSPrivider)

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