Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the ensemble v1alpha1 API group +kubebuilder:object:generate=true +groupName=ensemble.flux-framework.org
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( MiniclusterType = "minicluster" UnknownType = "unknown" )
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "ensemble.flux-framework.org", 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 Ensemble ¶
type Ensemble struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EnsembleSpec `json:"spec,omitempty"` Status EnsembleStatus `json:"status,omitempty"` }
Ensemble is the Schema for the ensembles API
func (*Ensemble) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ensemble.
func (*Ensemble) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Ensemble) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Ensemble) ServiceName ¶
type EnsembleList ¶
type EnsembleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Ensemble `json:"items"` }
EnsembleList contains a list of Ensemble
func (*EnsembleList) DeepCopy ¶
func (in *EnsembleList) DeepCopy() *EnsembleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnsembleList.
func (*EnsembleList) DeepCopyInto ¶
func (in *EnsembleList) DeepCopyInto(out *EnsembleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnsembleList) DeepCopyObject ¶
func (in *EnsembleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnsembleSpec ¶
type EnsembleSpec struct { Members []Member `json:"members"` // Definition and customization of the sidecar //+optional Sidecar Sidecar `json:"sidecar,omitempty"` }
EnsembleSpec defines the desired state of Ensemble
func (*EnsembleSpec) DeepCopy ¶
func (in *EnsembleSpec) DeepCopy() *EnsembleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnsembleSpec.
func (*EnsembleSpec) DeepCopyInto ¶
func (in *EnsembleSpec) DeepCopyInto(out *EnsembleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnsembleStatus ¶
type EnsembleStatus struct{}
EnsembleStatus defines the observed state of Ensemble
func (*EnsembleStatus) DeepCopy ¶
func (in *EnsembleStatus) DeepCopy() *EnsembleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnsembleStatus.
func (*EnsembleStatus) DeepCopyInto ¶
func (in *EnsembleStatus) DeepCopyInto(out *EnsembleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Member ¶
type Member struct { // MiniCluster is of a type MiniCluster, the base unit of an ensemble. // We do this because we install a flux metrics API within each MiniCluster to manage it // TODO where should the user define the size? Here or with the member? // +optional MiniCluster minicluster.MiniCluster `json:"minicluster,omitempty"` // Branch // Instead of pip, install a specific branch of ensemble python // +optional Branch string `json:"branch"` // Ensemble yaml (configuration file) Ensemble string `json:"ensemble"` }
A member of the ensemble that will run for some number of times, optionally with a maximum or minumum
func (*Member) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Member.
func (*Member) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Sidecar ¶
type Sidecar struct { // Baseimage for the sidecar that will monitor the queue. // Ensure that the operating systems match! // +kubebuilder:default="ghcr.io/converged-computing/ensemble-operator-api:rockylinux9" // +default="ghcr.io/converged-computing/ensemble-operator-api:rockylinux9" // +optional Image string `json:"image"` // Sidecar image pull policy // +optional ImagePullPolicy string `json:"imagePullPolicy"` // +kubebuilder:default="50051" // +default="50051" Port string `json:"port"` // +kubebuilder:default=10 // +default=10 Workers int32 `json:"workers"` }
func (*Sidecar) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sidecar.
func (*Sidecar) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.