v1

package
v0.0.0-...-5231612 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Overview

+groupName=vegaproject.io

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "vegaproject.io", Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

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"
)

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

type Params struct {
	LogG float64 `json:"log_g,omitempty"`
	Teff float64 `json:"teff,omitempty"`
}

func (*Params) DeepCopy

func (in *Params) DeepCopy() *Params

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

func (*Params) DeepCopyInto

func (in *Params) DeepCopyInto(out *Params)

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

type Pipeline

type Pipeline string
const VegaPipeline Pipeline = "vega"

type Step

type Step struct {
	Command string           `json:"command"`
	Args    []string         `json:"args"`
	Status  CalculationPhase `json:"status,omitempty"`
}

func (*Step) DeepCopy

func (in *Step) DeepCopy() *Step

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

func (*Step) DeepCopyInto

func (in *Step) DeepCopyInto(out *Step)

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