v1alpha1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

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

	Spec   InstaScaleSpec   `json:"spec,omitempty"`
	Status InstaScaleStatus `json:"status,omitempty"`
}

InstaScale is the Schema for the instascales API

func (*InstaScale) DeepCopy

func (in *InstaScale) DeepCopy() *InstaScale

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

func (*InstaScale) DeepCopyInto

func (in *InstaScale) DeepCopyInto(out *InstaScale)

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

func (*InstaScale) DeepCopyObject

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

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

type InstaScaleList

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

InstaScaleList contains a list of InstaScale

func (*InstaScaleList) DeepCopy

func (in *InstaScaleList) DeepCopy() *InstaScaleList

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

func (*InstaScaleList) DeepCopyInto

func (in *InstaScaleList) DeepCopyInto(out *InstaScaleList)

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

func (*InstaScaleList) DeepCopyObject

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

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

type InstaScaleSpec

type InstaScaleSpec struct {

	// enableMonitoring determines if monitoring artifacts are deployed for the InstaScale instance.
	// +kubebuilder:default=true
	EnableMonitoring bool `json:"enableMonitoring,omitempty"`

	// maxScaleoutAllowed determines the max number of machines that can be scaled up by InstaScale
	// +kubebuilder:default=15
	MaxScaleoutAllowed int `json:"maxScaleoutAllowed,omitempty"`
}

InstaScaleSpec defines the desired state of InstaScale

func (*InstaScaleSpec) DeepCopy

func (in *InstaScaleSpec) DeepCopy() *InstaScaleSpec

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

func (*InstaScaleSpec) DeepCopyInto

func (in *InstaScaleSpec) DeepCopyInto(out *InstaScaleSpec)

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

type InstaScaleStatus

type InstaScaleStatus struct {
}

InstaScaleStatus defines the observed state of InstaScale

func (*InstaScaleStatus) DeepCopy

func (in *InstaScaleStatus) DeepCopy() *InstaScaleStatus

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

func (*InstaScaleStatus) DeepCopyInto

func (in *InstaScaleStatus) DeepCopyInto(out *InstaScaleStatus)

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

type MCAD

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

	Spec   MCADSpec   `json:"spec,omitempty"`
	Status MCADStatus `json:"status,omitempty"`
}

MCAD is the Schema for the mcads API

func (*MCAD) DeepCopy

func (in *MCAD) DeepCopy() *MCAD

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

func (*MCAD) DeepCopyInto

func (in *MCAD) DeepCopyInto(out *MCAD)

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

func (*MCAD) DeepCopyObject

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

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

type MCADList

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

MCADList contains a list of MCAD

func (*MCADList) DeepCopy

func (in *MCADList) DeepCopy() *MCADList

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

func (*MCADList) DeepCopyInto

func (in *MCADList) DeepCopyInto(out *MCADList)

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

func (*MCADList) DeepCopyObject

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

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

type MCADSpec

type MCADSpec struct {
	// EnableMonitoring determines if monitoring artifacts are deployed for the MCAD instance.
	// +kubebuilder:default=true
	EnableMonitoring bool `json:"enableMonitoring,omitempty"`

	// MultiCluster determines if MCAD will be routing traffic to multiple clusters.
	// +kubebuilder:default=false
	MultiCluster bool `json:"multiCluster,omitempty"`

	// DispatcherMode determines whether the MCAD Controller should be launched in Dispatcher mode.
	// +kubebuilder:default=false
	DispatcherMode bool `json:"dispatcherMode,omitempty"`

	// PreemptionEnabled determines if scheduled jobs can be preempted for others
	// +kubebuilder:default=false
	PreemptionEnabled bool `json:"preemptionEnabled,omitempty"`

	// AgentConfigs TODO: Add details
	// +kubebuilder:default=null
	AgentConfigs string `json:"agentConfigs,omitempty"`

	// QuotaRestURL TODO: Add details
	// +kubebuilder:default=null
	QuotaRestURL string `json:"quotaRestURL,omitempty"`

	// PodCreationTimeout TODO: Add details and confirm values
	// +kubebuilder:default=300
	PodCreationTimeout int `json:"podCreationTimeout,omitempty"`
}

MCADSpec defines the desired state of MCAD

func (*MCADSpec) DeepCopy

func (in *MCADSpec) DeepCopy() *MCADSpec

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

func (*MCADSpec) DeepCopyInto

func (in *MCADSpec) DeepCopyInto(out *MCADSpec)

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

type MCADStatus

type MCADStatus struct {
}

MCADStatus defines the observed state of MCAD

func (*MCADStatus) DeepCopy

func (in *MCADStatus) DeepCopy() *MCADStatus

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

func (*MCADStatus) DeepCopyInto

func (in *MCADStatus) DeepCopyInto(out *MCADStatus)

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