Documentation ¶
Overview ¶
+groupName=vegaproject.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder collects functions that add things to a scheme. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme applies all the stored functions to the scheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "vegaproject.io", Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Calculation ¶
type Calculation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CalculationSpec `json:"spec"` Pipeline Pipeline `json:"pipeline,omitempty"` Assign string `json:"assign"` WorkerPool string `json:"worker_pool"` InputFiles *InputFiles `json:"input_files,omitempty"` OutputFilesRegex string `json:"output_files_regex,omitempty"` Status CalculationStatus `json:"status,omitempty"` Phase CalculationPhase `json:"phase,omitempty"` }
func (*Calculation) DeepCopy ¶
func (in *Calculation) DeepCopy() *Calculation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Calculation.
func (*Calculation) DeepCopyInto ¶
func (in *Calculation) DeepCopyInto(out *Calculation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Calculation) DeepCopyObject ¶
func (in *Calculation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CalculationConditionType ¶
type CalculationConditionType string
type CalculationList ¶
type CalculationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Calculation `json:"items"` }
func (*CalculationList) DeepCopy ¶
func (in *CalculationList) DeepCopy() *CalculationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CalculationList.
func (*CalculationList) DeepCopyInto ¶
func (in *CalculationList) DeepCopyInto(out *CalculationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CalculationList) DeepCopyObject ¶
func (in *CalculationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CalculationPhase ¶
type CalculationPhase string
const ( CreatedPhase CalculationPhase = "Created" ProcessingPhase CalculationPhase = "Processing" CompletedPhase CalculationPhase = "Completed" FailedPhase CalculationPhase = "Failed" CachedPhase CalculationPhase = "Cached" )
type CalculationSpec ¶
type CalculationSpec struct { Steps []Step `json:"steps,omitempty"` Params Params `json:"params,omitempty"` }
func (*CalculationSpec) DeepCopy ¶
func (in *CalculationSpec) DeepCopy() *CalculationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CalculationSpec.
func (*CalculationSpec) DeepCopyInto ¶
func (in *CalculationSpec) DeepCopyInto(out *CalculationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CalculationStatus ¶
type CalculationStatus struct { //Conditions represent the latest available observations of an object's current state: // StartTime is equal to the creation time of the Calculation StartTime metav1.Time `json:"startTime,omitempty"` // PendingTime is the timestamp for when the job moved from triggered to pending PendingTime *metav1.Time `json:"pendingTime,omitempty"` // CompletionTime is the timestamp for when the job goes to a final state CompletionTime *metav1.Time `json:"completionTime,omitempty"` }
func (*CalculationStatus) DeepCopy ¶
func (in *CalculationStatus) DeepCopy() *CalculationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CalculationStatus.
func (*CalculationStatus) DeepCopyInto ¶
func (in *CalculationStatus) DeepCopyInto(out *CalculationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InputFiles ¶
type InputFiles struct { Files []string `json:"files,omitempty"` Symlink bool `json:"symlink,omitempty"` }
func (*InputFiles) DeepCopy ¶
func (in *InputFiles) DeepCopy() *InputFiles
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputFiles.
func (*InputFiles) DeepCopyInto ¶
func (in *InputFiles) DeepCopyInto(out *InputFiles)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Params ¶
func (*Params) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Params.
func (*Params) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Step ¶
type Step struct { Command string `json:"command"` Args []string `json:"args"` Status CalculationPhase `json:"status,omitempty"` }
func (*Step) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Step.
func (*Step) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.