Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the infra v1alpha1 API group +kubebuilder:object:generate=true +groupName=infra.oneinfra.ereslibre.es
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "infra.oneinfra.ereslibre.es", 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 ClusterFileMap ¶
type ClusterFileMap map[string]ComponentFileMap
ClusterFileMap is a map of component filemaps, with clusters as keys, and component filemaps as values
func (ClusterFileMap) DeepCopy ¶
func (in ClusterFileMap) DeepCopy() ClusterFileMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterFileMap.
func (ClusterFileMap) DeepCopyInto ¶
func (in ClusterFileMap) DeepCopyInto(out *ClusterFileMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentFileMap ¶
ComponentFileMap is a map of filemaps, with component as keys, and filemaps as values
func (ComponentFileMap) DeepCopy ¶
func (in ComponentFileMap) DeepCopy() ComponentFileMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentFileMap.
func (ComponentFileMap) DeepCopyInto ¶
func (in ComponentFileMap) DeepCopyInto(out *ComponentFileMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileMap ¶
FileMap is a map of file paths as keys and their sum as values
func (FileMap) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileMap.
func (FileMap) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Hypervisor ¶
type Hypervisor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HypervisorSpec `json:"spec,omitempty"` Status HypervisorStatus `json:"status,omitempty"` }
Hypervisor is the Schema for the hypervisors API
func (*Hypervisor) DeepCopy ¶
func (in *Hypervisor) DeepCopy() *Hypervisor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hypervisor.
func (*Hypervisor) DeepCopyInto ¶
func (in *Hypervisor) DeepCopyInto(out *Hypervisor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Hypervisor) DeepCopyObject ¶
func (in *Hypervisor) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HypervisorList ¶
type HypervisorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Hypervisor `json:"items"` }
HypervisorList contains a list of Hypervisor
func (*HypervisorList) DeepCopy ¶
func (in *HypervisorList) DeepCopy() *HypervisorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HypervisorList.
func (*HypervisorList) DeepCopyInto ¶
func (in *HypervisorList) DeepCopyInto(out *HypervisorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HypervisorList) DeepCopyObject ¶
func (in *HypervisorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HypervisorPortAllocation ¶
type HypervisorPortAllocation struct { ClusterNamespace string `json:"clusterNamespace,omitempty"` Cluster string `json:"cluster,omitempty"` Component string `json:"component,omitempty"` Port int `json:"port,omitempty"` }
HypervisorPortAllocation represents a port allocation in an hypervisor
func (*HypervisorPortAllocation) DeepCopy ¶
func (in *HypervisorPortAllocation) DeepCopy() *HypervisorPortAllocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HypervisorPortAllocation.
func (*HypervisorPortAllocation) DeepCopyInto ¶
func (in *HypervisorPortAllocation) DeepCopyInto(out *HypervisorPortAllocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HypervisorPortRange ¶
HypervisorPortRange represents a port range
func (*HypervisorPortRange) DeepCopy ¶
func (in *HypervisorPortRange) DeepCopy() *HypervisorPortRange
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HypervisorPortRange.
func (*HypervisorPortRange) DeepCopyInto ¶
func (in *HypervisorPortRange) DeepCopyInto(out *HypervisorPortRange)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HypervisorSpec ¶
type HypervisorSpec struct { // LocalCRIEndpoint is the unix socket where this hypervisor is // reachable. This is only intended for development and testing // purposes. On production environments RemoteCRIEndpoint should be // used. Either a LocalCRIEndpoint or a RemoteCRIEndpoint has to be // provided. // // +optional LocalCRIEndpoint *LocalHypervisorCRIEndpoint `json:"localCRIEndpoint,omitempty"` // RemoteCRIEndpoint is the TCP address where this hypervisor is // reachable. Either a LocalCRIEndpoint or a RemoteCRIEndpoint has // to be provided. // // +optional RemoteCRIEndpoint *RemoteHypervisorCRIEndpoint `json:"remoteCRIEndpoint,omitempty"` // Public hypervisors will be scheduled cluster ingress components, // whereas private hypervisors will be scheduled the control plane // components themselves. Public bool `json:"public"` // IPAddress of this hypervisor. Public hypervisors must have a // publicly reachable IP address. IPAddress string `json:"ipAddress,omitempty"` // PortRange is the port range to be used for allocating exposed // components. PortRange HypervisorPortRange `json:"portRange,omitempty"` }
HypervisorSpec defines the desired state of Hypervisor
func (*HypervisorSpec) DeepCopy ¶
func (in *HypervisorSpec) DeepCopy() *HypervisorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HypervisorSpec.
func (*HypervisorSpec) DeepCopyInto ¶
func (in *HypervisorSpec) DeepCopyInto(out *HypervisorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HypervisorStatus ¶
type HypervisorStatus struct { // AllocatedPorts is a list of hypervisor allocated ports AllocatedPorts []HypervisorPortAllocation `json:"allocatedPorts,omitempty"` // FreedPorts is a list of ports available for usage, freed when // components have been deleted FreedPorts []int `json:"freedPorts,omitempty"` Files NamespacedClusterFileMap `json:"files,omitempty"` }
HypervisorStatus defines the observed state of Hypervisor
func (*HypervisorStatus) DeepCopy ¶
func (in *HypervisorStatus) DeepCopy() *HypervisorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HypervisorStatus.
func (*HypervisorStatus) DeepCopyInto ¶
func (in *HypervisorStatus) DeepCopyInto(out *HypervisorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocalHypervisorCRIEndpoint ¶
type LocalHypervisorCRIEndpoint struct { // CRIEndpoint is the unix socket path CRIEndpoint string `json:"criEndpointPath,omitempty"` }
LocalHypervisorCRIEndpoint represents a local hypervisor CRI endpoint (unix socket)
func (*LocalHypervisorCRIEndpoint) DeepCopy ¶
func (in *LocalHypervisorCRIEndpoint) DeepCopy() *LocalHypervisorCRIEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalHypervisorCRIEndpoint.
func (*LocalHypervisorCRIEndpoint) DeepCopyInto ¶
func (in *LocalHypervisorCRIEndpoint) DeepCopyInto(out *LocalHypervisorCRIEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespacedClusterFileMap ¶
type NamespacedClusterFileMap map[string]ClusterFileMap
NamespacedClusterFileMap is a map of cluster filemaps, with namespaces as keys, and cluster filemaps as values
func (NamespacedClusterFileMap) DeepCopy ¶
func (in NamespacedClusterFileMap) DeepCopy() NamespacedClusterFileMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedClusterFileMap.
func (NamespacedClusterFileMap) DeepCopyInto ¶
func (in NamespacedClusterFileMap) DeepCopyInto(out *NamespacedClusterFileMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RemoteHypervisorCRIEndpoint ¶
type RemoteHypervisorCRIEndpoint struct { // CRIEndpoint is the address where this CRI endpoint is listening CRIEndpoint string `json:"criEndpointURI,omitempty"` // CACertificate is the CA certificate to validate the connection // against CACertificate string `json:"caCertificate,omitempty"` // ClientCertificate is the client certificate that will be used to // authenticate requests ClientCertificate *commonv1alpha1.Certificate `json:"clientCertificate,omitempty"` }
RemoteHypervisorCRIEndpoint represents a remote hypervisor CRI endpoint (tcp with client certificate authentication)
func (*RemoteHypervisorCRIEndpoint) DeepCopy ¶
func (in *RemoteHypervisorCRIEndpoint) DeepCopy() *RemoteHypervisorCRIEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteHypervisorCRIEndpoint.
func (*RemoteHypervisorCRIEndpoint) DeepCopyInto ¶
func (in *RemoteHypervisorCRIEndpoint) DeepCopyInto(out *RemoteHypervisorCRIEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.