Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the freeipa v1alpha1 API group +kubebuilder:object:generate=true +groupName=freeipa.coglative.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "freeipa.coglative.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 IpaCluster ¶
type IpaCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec *IpaClusterSpec `json:"spec,omitempty"` Status *IpaClusterStatus `json:"status,omitempty"` }
IpaCluster is the Schema for the ipaclusters API
func (*IpaCluster) DeepCopy ¶
func (in *IpaCluster) DeepCopy() *IpaCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpaCluster.
func (*IpaCluster) DeepCopyInto ¶
func (in *IpaCluster) DeepCopyInto(out *IpaCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IpaCluster) DeepCopyObject ¶
func (in *IpaCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IpaCluster) IsBeingDeleted ¶
func (run *IpaCluster) IsBeingDeleted() bool
type IpaClusterList ¶
type IpaClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IpaCluster `json:"items"` }
IpaClusterList contains a list of IpaCluster
func (*IpaClusterList) DeepCopy ¶
func (in *IpaClusterList) DeepCopy() *IpaClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpaClusterList.
func (*IpaClusterList) DeepCopyInto ¶
func (in *IpaClusterList) DeepCopyInto(out *IpaClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IpaClusterList) DeepCopyObject ¶
func (in *IpaClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IpaClusterSpec ¶
type IpaClusterSpec struct { // The Kerberos realm name as in "EXAMPLE.COM", required RealmName string `json:"realmName"` // The directory service root name as in "example.com", required DomainName string `json:"domainName"` // A string list of DNS forwarders for name resolution, defaults to no forwarders // +optional DNSForwarders []string `json:"dnsForwarders,omitempty"` // An integer for the start of the UID numbering range, immutable after cluster instantiation, default is defined by FreeIPA // +optional UIDStart int `json:"uidStart,omitempty"` // The instantiation parameters for the nodes Servers []Server `json:"servers"` }
IpaClusterSpec defines the desired state of IpaCluster
func (*IpaClusterSpec) DeepCopy ¶
func (in *IpaClusterSpec) DeepCopy() *IpaClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpaClusterSpec.
func (*IpaClusterSpec) DeepCopyInto ¶
func (in *IpaClusterSpec) DeepCopyInto(out *IpaClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IpaClusterStatus ¶
type IpaClusterStatus struct { // Human-readable status of the controller Status string `json:"status"` // Quantity of persistent volumes that are currently generated PvQuantity int `json:"pvQuantity"` }
IpaClusterStatus defines the observed state of IpaCluster
func (*IpaClusterStatus) DeepCopy ¶
func (in *IpaClusterStatus) DeepCopy() *IpaClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpaClusterStatus.
func (*IpaClusterStatus) DeepCopyInto ¶
func (in *IpaClusterStatus) DeepCopyInto(out *IpaClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Server ¶
type Server struct { // The FQDN of the server ServerName string `json:"serverName"` // The name of the secret for a node type, defaults to "ipa-server-secrets" SecretName string `json:"secretName,omitempty"` // Whether to create a DNS server / replica on this node, defaults to `false` DnsEnable bool `json:"dnsEnable,omitempty"` // Whether to create a CA server / replica on this node, defaults to `false` CaEnable bool `json:"caEnable,omitempty"` // Whether to create a NTP server / replica on this node, defaults to `false` NtpEnable bool `json:"ntpEnable,omitempty"` // Name of the storage class to use. Will try default storage class if omitted StorageClassName string `json:"storageClassName,omitempty"` // Size of the storage allocation Capacity string `json:"capacity,omitempty"` // The LB address of a node LbAddress string `json:"address,omitempty"` // The externalTrafficPolicy of the LoadBalancer Service ExternalTrafficPolicy string `json:"externalTrafficPolicy,omitempty"` }
func (*Server) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server.
func (*Server) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.