Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the ldap v1alpha1 API group +kubebuilder:object:generate=true +groupName=ldap.gpu-ninja.com
Index ¶
- Variables
- type LDAPDirectory
- func (in *LDAPDirectory) DeepCopy() *LDAPDirectory
- func (in *LDAPDirectory) DeepCopyInto(out *LDAPDirectory)
- func (in *LDAPDirectory) DeepCopyObject() runtime.Object
- func (s *LDAPDirectory) GetDistinguishedName(_ context.Context, _ client.Reader, _ *runtime.Scheme) (string, error)
- func (s *LDAPDirectory) ResolveReferences(ctx context.Context, reader client.Reader, scheme *runtime.Scheme) (bool, error)
- type LDAPDirectoryConditionType
- type LDAPDirectoryList
- type LDAPDirectoryPhase
- type LDAPDirectorySpec
- type LDAPDirectoryStatus
- type LDAPDirectoryStorageSpec
- type LDAPGroup
- func (in *LDAPGroup) DeepCopy() *LDAPGroup
- func (in *LDAPGroup) DeepCopyInto(out *LDAPGroup)
- func (in *LDAPGroup) DeepCopyObject() runtime.Object
- func (g *LDAPGroup) GetDistinguishedName(ctx context.Context, reader client.Reader, scheme *runtime.Scheme) (string, error)
- func (g *LDAPGroup) GetLDAPObjectSpec() *api.LDAPObjectSpec
- func (g *LDAPGroup) GetPhase() api.Phase
- func (g *LDAPGroup) ResolveReferences(ctx context.Context, reader client.Reader, scheme *runtime.Scheme) (bool, error)
- func (g *LDAPGroup) SetStatus(status api.SimpleStatus)
- type LDAPGroupList
- type LDAPGroupSpec
- type LDAPOrganizationalUnit
- func (in *LDAPOrganizationalUnit) DeepCopy() *LDAPOrganizationalUnit
- func (in *LDAPOrganizationalUnit) DeepCopyInto(out *LDAPOrganizationalUnit)
- func (in *LDAPOrganizationalUnit) DeepCopyObject() runtime.Object
- func (ou *LDAPOrganizationalUnit) GetDistinguishedName(ctx context.Context, reader client.Reader, scheme *runtime.Scheme) (string, error)
- func (ou *LDAPOrganizationalUnit) GetLDAPObjectSpec() *api.LDAPObjectSpec
- func (ou *LDAPOrganizationalUnit) GetPhase() api.Phase
- func (ou *LDAPOrganizationalUnit) ResolveReferences(ctx context.Context, reader client.Reader, scheme *runtime.Scheme) (bool, error)
- func (ou *LDAPOrganizationalUnit) SetStatus(status api.SimpleStatus)
- type LDAPOrganizationalUnitList
- type LDAPOrganizationalUnitSpec
- type LDAPUser
- func (in *LDAPUser) DeepCopy() *LDAPUser
- func (in *LDAPUser) DeepCopyInto(out *LDAPUser)
- func (in *LDAPUser) DeepCopyObject() runtime.Object
- func (u *LDAPUser) GetDistinguishedName(ctx context.Context, reader client.Reader, scheme *runtime.Scheme) (string, error)
- func (u *LDAPUser) GetLDAPObjectSpec() *api.LDAPObjectSpec
- func (u *LDAPUser) GetPhase() api.Phase
- func (u *LDAPUser) ResolveReferences(ctx context.Context, reader client.Reader, scheme *runtime.Scheme) (bool, error)
- func (u *LDAPUser) SetStatus(status api.SimpleStatus)
- type LDAPUserList
- type LDAPUserSpec
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "ldap.gpu-ninja.com", 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 LDAPDirectory ¶
type LDAPDirectory struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LDAPDirectorySpec `json:"spec,omitempty"` Status LDAPDirectoryStatus `json:"status,omitempty"` }
LDAPDirectory is a LDAP directory. +kubebuilder:object:root=true +kubebuilder:resource:path=ldapdirectories,scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type=string,JSONPath=`.status.phase` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
func (*LDAPDirectory) DeepCopy ¶
func (in *LDAPDirectory) DeepCopy() *LDAPDirectory
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPDirectory.
func (*LDAPDirectory) DeepCopyInto ¶
func (in *LDAPDirectory) DeepCopyInto(out *LDAPDirectory)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LDAPDirectory) DeepCopyObject ¶
func (in *LDAPDirectory) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LDAPDirectory) GetDistinguishedName ¶
type LDAPDirectoryConditionType ¶
type LDAPDirectoryConditionType string
const ( LDAPDirectoryConditionTypePending LDAPDirectoryConditionType = "Pending" LDAPDirectoryConditionTypeReady LDAPDirectoryConditionType = "Ready" LDAPDirectoryConditionTypeFailed LDAPDirectoryConditionType = "Failed" )
type LDAPDirectoryList ¶
type LDAPDirectoryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LDAPDirectory `json:"items"` }
LDAPDirectoryList contains a list of LDAPDirectory. +kubebuilder:object:root=true
func (*LDAPDirectoryList) DeepCopy ¶
func (in *LDAPDirectoryList) DeepCopy() *LDAPDirectoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPDirectoryList.
func (*LDAPDirectoryList) DeepCopyInto ¶
func (in *LDAPDirectoryList) DeepCopyInto(out *LDAPDirectoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LDAPDirectoryList) DeepCopyObject ¶
func (in *LDAPDirectoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LDAPDirectoryPhase ¶
type LDAPDirectoryPhase string
const ( LDAPDirectoryPhasePending LDAPDirectoryPhase = "Pending" LDAPDirectoryPhaseReady LDAPDirectoryPhase = "Ready" LDAPDirectoryPhaseFailed LDAPDirectoryPhase = "Failed" )
type LDAPDirectorySpec ¶
type LDAPDirectorySpec struct { // Image is the container image that will be used to run the LDAP directory. Image string `json:"image"` // Domain is the domain of the organization that owns the LDAP directory. Domain string `json:"domain"` // Organization is the name of the organization that owns the LDAP directory. Organization string `json:"organization"` // AdminPasswordSecretRef is a reference to a secret that contains the // password for the admin user. AdminPasswordSecretRef reference.LocalSecretReference `json:"adminPasswordSecretRef"` // CertificateSecretRef is a reference to a secret that contains the // TLS certificate and key that will be used to secure the LDAP directory. CertificateSecretRef reference.LocalSecretReference `json:"certificateSecretRef"` // DebugLevel controls the verbosity of the directory logs. DebugLevel *int `json:"debugLevel,omitempty"` // FileDescriptorLimit controls the maximum number of file // descriptors that the LDAP directory can open. // See: https://github.com/docker/docker/issues/8231 FileDescriptorLimit *int `json:"fileDescriptorLimit,omitempty"` // Storage defines the persistent volume that will be used // to store the LDAP database. Storage LDAPDirectoryStorageSpec `json:"storage"` // AddressOverride is an optional address that will be used to // access the LDAP directory. AddressOverride string `json:"addressOverride,omitempty"` // Resources allows specifying the resource requirements for the directory container. Resources corev1.ResourceRequirements `json:"resources,omitempty"` }
LDAPDirectorySpec defines the desired state of the LDAP directory.
func (*LDAPDirectorySpec) DeepCopy ¶
func (in *LDAPDirectorySpec) DeepCopy() *LDAPDirectorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPDirectorySpec.
func (*LDAPDirectorySpec) DeepCopyInto ¶
func (in *LDAPDirectorySpec) DeepCopyInto(out *LDAPDirectorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LDAPDirectoryStatus ¶
type LDAPDirectoryStatus struct { // Phase is the current state of the LDAP directory. Phase LDAPDirectoryPhase `json:"phase,omitempty"` // ObservedGeneration is the most recent generation observed for this LDAP directory by the controller. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Conditions represents the latest available observations of the LDAP directories current state. Conditions []metav1.Condition `json:"conditions,omitempty"` }
LDAPDirectoryStatus defines the observed state of the LDAP directory.
func (*LDAPDirectoryStatus) DeepCopy ¶
func (in *LDAPDirectoryStatus) DeepCopy() *LDAPDirectoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPDirectoryStatus.
func (*LDAPDirectoryStatus) DeepCopyInto ¶
func (in *LDAPDirectoryStatus) DeepCopyInto(out *LDAPDirectoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LDAPDirectoryStorageSpec ¶
type LDAPDirectoryStorageSpec struct { // Size is the size of the persistent volume that will be // used to store the LDAP database. Size string `json:"size"` // StorageClassName is the name of the storage class that will be // used to provision the persistent volume. StorageClassName *string `json:"storageClassName,omitempty"` }
LDAPDirectoryStorageSpec defines the storage configuration for the LDAP directory.
func (*LDAPDirectoryStorageSpec) DeepCopy ¶
func (in *LDAPDirectoryStorageSpec) DeepCopy() *LDAPDirectoryStorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPDirectoryStorageSpec.
func (*LDAPDirectoryStorageSpec) DeepCopyInto ¶
func (in *LDAPDirectoryStorageSpec) DeepCopyInto(out *LDAPDirectoryStorageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LDAPGroup ¶
type LDAPGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LDAPGroupSpec `json:"spec,omitempty"` Status api.SimpleStatus `json:"status,omitempty"` }
LDAPGroup is a LDAP group of names. +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type=string,JSONPath=`.status.phase` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
func (*LDAPGroup) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPGroup.
func (*LDAPGroup) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LDAPGroup) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LDAPGroup) GetDistinguishedName ¶
func (*LDAPGroup) GetLDAPObjectSpec ¶
func (g *LDAPGroup) GetLDAPObjectSpec() *api.LDAPObjectSpec
func (*LDAPGroup) ResolveReferences ¶
func (*LDAPGroup) SetStatus ¶
func (g *LDAPGroup) SetStatus(status api.SimpleStatus)
type LDAPGroupList ¶
type LDAPGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LDAPGroup `json:"items"` }
LDAPGroupList contains a list of LDAPGroup +kubebuilder:object:root=true
func (*LDAPGroupList) DeepCopy ¶
func (in *LDAPGroupList) DeepCopy() *LDAPGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPGroupList.
func (*LDAPGroupList) DeepCopyInto ¶
func (in *LDAPGroupList) DeepCopyInto(out *LDAPGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LDAPGroupList) DeepCopyObject ¶
func (in *LDAPGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LDAPGroupSpec ¶
type LDAPGroupSpec struct { api.LDAPObjectSpec `json:",inline"` // Name is the common name for this group. Name string `json:"name"` // Description is an optional description of this group. Description string `json:"description,omitempty"` // Members is a list of distinguished names representing the members of this group. //+kubebuilder:validation:MinItems=1 Members []string `json:"members"` }
func (*LDAPGroupSpec) DeepCopy ¶
func (in *LDAPGroupSpec) DeepCopy() *LDAPGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPGroupSpec.
func (*LDAPGroupSpec) DeepCopyInto ¶
func (in *LDAPGroupSpec) DeepCopyInto(out *LDAPGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LDAPOrganizationalUnit ¶
type LDAPOrganizationalUnit struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LDAPOrganizationalUnitSpec `json:"spec,omitempty"` Status api.SimpleStatus `json:"status,omitempty"` }
LDAPOrganizationalUnit is a LDAP organizational unit. +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type=string,JSONPath=`.status.phase` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
func (*LDAPOrganizationalUnit) DeepCopy ¶
func (in *LDAPOrganizationalUnit) DeepCopy() *LDAPOrganizationalUnit
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPOrganizationalUnit.
func (*LDAPOrganizationalUnit) DeepCopyInto ¶
func (in *LDAPOrganizationalUnit) DeepCopyInto(out *LDAPOrganizationalUnit)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LDAPOrganizationalUnit) DeepCopyObject ¶
func (in *LDAPOrganizationalUnit) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LDAPOrganizationalUnit) GetDistinguishedName ¶
func (*LDAPOrganizationalUnit) GetLDAPObjectSpec ¶
func (ou *LDAPOrganizationalUnit) GetLDAPObjectSpec() *api.LDAPObjectSpec
func (*LDAPOrganizationalUnit) GetPhase ¶
func (ou *LDAPOrganizationalUnit) GetPhase() api.Phase
func (*LDAPOrganizationalUnit) ResolveReferences ¶
func (*LDAPOrganizationalUnit) SetStatus ¶
func (ou *LDAPOrganizationalUnit) SetStatus(status api.SimpleStatus)
type LDAPOrganizationalUnitList ¶
type LDAPOrganizationalUnitList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LDAPOrganizationalUnit `json:"items"` }
LDAPOrganizationalUnitList contains a list of LDAPOrganizationalUnit +kubebuilder:object:root=true
func (*LDAPOrganizationalUnitList) DeepCopy ¶
func (in *LDAPOrganizationalUnitList) DeepCopy() *LDAPOrganizationalUnitList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPOrganizationalUnitList.
func (*LDAPOrganizationalUnitList) DeepCopyInto ¶
func (in *LDAPOrganizationalUnitList) DeepCopyInto(out *LDAPOrganizationalUnitList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LDAPOrganizationalUnitList) DeepCopyObject ¶
func (in *LDAPOrganizationalUnitList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LDAPOrganizationalUnitSpec ¶
type LDAPOrganizationalUnitSpec struct { api.LDAPObjectSpec `json:",inline"` // Name is the common name for this organizational unit. Name string `json:"name"` // Description is an optional description of this organizational unit. Description string `json:"description,omitempty"` }
func (*LDAPOrganizationalUnitSpec) DeepCopy ¶
func (in *LDAPOrganizationalUnitSpec) DeepCopy() *LDAPOrganizationalUnitSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPOrganizationalUnitSpec.
func (*LDAPOrganizationalUnitSpec) DeepCopyInto ¶
func (in *LDAPOrganizationalUnitSpec) DeepCopyInto(out *LDAPOrganizationalUnitSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LDAPUser ¶
type LDAPUser struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LDAPUserSpec `json:"spec,omitempty"` Status api.SimpleStatus `json:"status,omitempty"` }
LDAPUser is a LDAP user. +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type=string,JSONPath=`.status.phase` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
func (*LDAPUser) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPUser.
func (*LDAPUser) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LDAPUser) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LDAPUser) GetDistinguishedName ¶
func (*LDAPUser) GetLDAPObjectSpec ¶
func (u *LDAPUser) GetLDAPObjectSpec() *api.LDAPObjectSpec
func (*LDAPUser) ResolveReferences ¶
func (*LDAPUser) SetStatus ¶
func (u *LDAPUser) SetStatus(status api.SimpleStatus)
type LDAPUserList ¶
type LDAPUserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LDAPUser `json:"items"` }
LDAPUserList contains a list of LDAPUser +kubebuilder:object:root=true
func (*LDAPUserList) DeepCopy ¶
func (in *LDAPUserList) DeepCopy() *LDAPUserList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPUserList.
func (*LDAPUserList) DeepCopyInto ¶
func (in *LDAPUserList) DeepCopyInto(out *LDAPUserList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LDAPUserList) DeepCopyObject ¶
func (in *LDAPUserList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LDAPUserSpec ¶
type LDAPUserSpec struct { api.LDAPObjectSpec `json:",inline"` // Username is the username (uid) for this user. Username string `json:"username"` // Name is the full name of this user (commonName). Name string `json:"name"` // Surname is the surname of this user. Surname string `json:"surname"` // Email is an optional email address of this user. Email string `json:"email,omitempty"` // PasswordSecretRef is an optional reference to a secret containing the password of the user. PaswordSecretRef *reference.LocalSecretReference `json:"passwordSecretRef,omitempty"` }
func (*LDAPUserSpec) DeepCopy ¶
func (in *LDAPUserSpec) DeepCopy() *LDAPUserSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPUserSpec.
func (*LDAPUserSpec) DeepCopyInto ¶
func (in *LDAPUserSpec) DeepCopyInto(out *LDAPUserSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.