v1beta1

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the core.rageta.io v1beta1 API group. +kubebuilder:object:generate=true +groupName=core.rageta.io

Package v1beta1 contains API Schema definitions for the core.rageta.io v1beta1 API group +kubebuilder:object:generate=true +groupName=core.rageta.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "core.rageta.io", Version: "v1beta1"}

	// 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
)
View Source
var File_pkg_apis_core_v1beta1_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AndStep

type AndStep struct {
	Refs []StepReference `json:"refs,omitempty"`
}

func (*AndStep) DeepCopy

func (in *AndStep) DeepCopy() *AndStep

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

func (*AndStep) DeepCopyInto

func (in *AndStep) DeepCopyInto(out *AndStep)

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

type AwaitStatus

type AwaitStatus string
var (
	AwaitStatusReady AwaitStatus = "Ready"
	AwaitStatusExit  AwaitStatus = "Exit"
)

type ConcurrentStep

type ConcurrentStep struct {
	FailFast bool            `json:"failFast,omitempty"`
	Refs     []StepReference `json:"refs,omitempty"`
}

func (*ConcurrentStep) DeepCopy

func (in *ConcurrentStep) DeepCopy() *ConcurrentStep

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

func (*ConcurrentStep) DeepCopyInto

func (in *ConcurrentStep) DeepCopyInto(out *ConcurrentStep)

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

type Container

type Container struct {
	Stdin         bool          `json:"stdin,omitempty"`
	TTY           bool          `json:"tty,omitempty"`
	Image         string        `json:"image,omitempty"`
	Command       []string      `json:"command,omitempty"`
	Args          []string      `json:"args,omitempty"`
	PWD           string        `json:"pwd,omitempty"`
	RestartPolicy RestartPolicy `json:"restartPolicy,omitempty"`
}

func (*Container) DeepCopy

func (in *Container) DeepCopy() *Container

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

func (*Container) DeepCopyInto

func (in *Container) DeepCopyInto(out *Container)

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

type ContainerStatus

type ContainerStatus struct {
	ContainerID string `protobuf:"bytes,1,opt,name=containerID,proto3" json:"containerID,omitempty"`
	ContainerIP string `protobuf:"bytes,2,opt,name=containerIP,proto3" json:"containerIP,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Ready       bool   `protobuf:"varint,4,opt,name=ready,proto3" json:"ready,omitempty"`
	Started     bool   `protobuf:"varint,5,opt,name=started,proto3" json:"started,omitempty"`
	ExitCode    int32  `protobuf:"varint,6,opt,name=exitCode,proto3" json:"exitCode,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerStatus) Descriptor deprecated

func (*ContainerStatus) Descriptor() ([]byte, []int)

Deprecated: Use ContainerStatus.ProtoReflect.Descriptor instead.

func (*ContainerStatus) GetContainerID

func (x *ContainerStatus) GetContainerID() string

func (*ContainerStatus) GetContainerIP

func (x *ContainerStatus) GetContainerIP() string

func (*ContainerStatus) GetExitCode

func (x *ContainerStatus) GetExitCode() int32

func (*ContainerStatus) GetName

func (x *ContainerStatus) GetName() string

func (*ContainerStatus) GetReady

func (x *ContainerStatus) GetReady() bool

func (*ContainerStatus) GetStarted

func (x *ContainerStatus) GetStarted() bool

func (*ContainerStatus) ProtoMessage

func (*ContainerStatus) ProtoMessage()

func (*ContainerStatus) ProtoReflect

func (x *ContainerStatus) ProtoReflect() protoreflect.Message

func (*ContainerStatus) Reset

func (x *ContainerStatus) Reset()

func (*ContainerStatus) String

func (x *ContainerStatus) String() string

type Generate

type Generate struct {
	Path string `json:"path,omitempty"`
}

func (*Generate) DeepCopy

func (in *Generate) DeepCopy() *Generate

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

func (*Generate) DeepCopyInto

func (in *Generate) DeepCopyInto(out *Generate)

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

type InheritInput

type InheritInput struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

func (*InheritInput) DeepCopy

func (in *InheritInput) DeepCopy() *InheritInput

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

func (*InheritInput) DeepCopyInto

func (in *InheritInput) DeepCopyInto(out *InheritInput)

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

type InheritStep

type InheritStep struct {
	Pipeline   string         `json:"pipeline,omitempty"`
	Entrypoint string         `json:"entrypoint,omitempty"`
	Inputs     []InheritInput `json:"inputs,omitempty"`
}

func (*InheritStep) DeepCopy

func (in *InheritStep) DeepCopy() *InheritStep

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

func (*InheritStep) DeepCopyInto

func (in *InheritStep) DeepCopyInto(out *InheritStep)

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

type Input

type Input struct {
	Name        string          `json:"name,omitempty"`
	Required    bool            `json:"required,omitempty"`
	Description string          `json:"description,omitempty"`
	Default     json.RawMessage `json:"default,omitempty"`
	Type        InputType       `json:"type,omitempty"`
}

func (*Input) DeepCopy

func (in *Input) DeepCopy() *Input

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

func (*Input) DeepCopyInto

func (in *Input) DeepCopyInto(out *Input)

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

type InputType

type InputType string
var (
	InputTypeStringSlice InputType = "[]string"
	InputTypeString      InputType = "string"
	InputTypeBool        InputType = "bool"
)

type Matrix added in v0.0.9

type Matrix struct {
	Table    map[string]json.RawMessage `json:"table,omitempty"`
	FailFast bool                       `json:"failFast,omitempty"`
}

func (*Matrix) DeepCopy added in v0.0.9

func (in *Matrix) DeepCopy() *Matrix

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

func (*Matrix) DeepCopyInto added in v0.0.9

func (in *Matrix) DeepCopyInto(out *Matrix)

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

type PipeStep

type PipeStep struct {
	Refs []StepReference `json:"refs,omitempty"`
}

func (*PipeStep) DeepCopy

func (in *PipeStep) DeepCopy() *PipeStep

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

func (*PipeStep) DeepCopyInto

func (in *PipeStep) DeepCopyInto(out *PipeStep)

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

type Pipeline

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

	PipelineSpec `json:",inline"`
}

+kubebuilder:object:root=true

func (*Pipeline) DeepCopy

func (in *Pipeline) DeepCopy() *Pipeline

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

func (*Pipeline) DeepCopyInto

func (in *Pipeline) DeepCopyInto(out *Pipeline)

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

func (*Pipeline) DeepCopyObject

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

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

type PipelineList

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

+kubebuilder:object:root=true

func (*PipelineList) DeepCopy

func (in *PipelineList) DeepCopy() *PipelineList

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

func (*PipelineList) DeepCopyInto

func (in *PipelineList) DeepCopyInto(out *PipelineList)

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

func (*PipelineList) DeepCopyObject

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

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

type PipelineSpec

type PipelineSpec struct {
	Inherits         []string       `json:"inherits,omitempty"`
	Name             string         `json:"name,omitempty"`
	Entrypoint       string         `json:"entrypoint,omitempty"`
	ShortDescription string         `json:"shortDescription,omitempty"`
	LongDescription  string         `json:"longDescription,omitempty"`
	Inputs           []Input        `json:"inputs,omitempty"`
	Steps            []Step         `json:"steps,omitempty"`
	SubPipelines     []PipelineSpec `json:"subPipelines,omitempty"`
}

func (*PipelineSpec) DeepCopy

func (in *PipelineSpec) DeepCopy() *PipelineSpec

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

func (*PipelineSpec) DeepCopyInto

func (in *PipelineSpec) DeepCopyInto(out *PipelineSpec)

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

type RestartPolicy

type RestartPolicy string
var (
	RestartPolicyNever     RestartPolicy = "Never"
	RestartPolicyOnFailure RestartPolicy = "OnFailure"
	RestartPolicyAlways    RestartPolicy = "Always"
)

type Retry

type Retry struct {
	Exponential metav1.Duration `json:"exponential,omitempty"`
	Constant    metav1.Duration `json:"constant,omitempty"`
	MaxRetries  int             `json:"maxRetries,omitempty"`
}

func (*Retry) DeepCopy

func (in *Retry) DeepCopy() *Retry

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

func (*Retry) DeepCopyInto

func (in *Retry) DeepCopyInto(out *Retry)

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

type RunStep

type RunStep struct {
	Await     AwaitStatus `json:"await,omitempty"`
	Streams   Streams     `json:"streams,omitempty"`
	Container `json:",inline"`
}

func (*RunStep) DeepCopy

func (in *RunStep) DeepCopy() *RunStep

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

func (*RunStep) DeepCopyInto

func (in *RunStep) DeepCopyInto(out *RunStep)

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

type RuntimeVars

type RuntimeVars struct {
	Args       []string                    `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
	Inputs     map[string]*any1.Any        `` /* 153-byte string literal not displayed */
	Envs       map[string]string           `` /* 149-byte string literal not displayed */
	Containers map[string]*ContainerStatus `` /* 161-byte string literal not displayed */
	Steps      map[string]*StepResult      `` /* 151-byte string literal not displayed */
	TmpDir     string                      `protobuf:"bytes,6,opt,name=tmpDir,proto3" json:"tmpDir,omitempty"`
	RootDir    string                      `protobuf:"bytes,7,opt,name=rootDir,proto3" json:"rootDir,omitempty"`
	Matrix     map[string]*any1.Any        `` /* 153-byte string literal not displayed */
	Env        string                      `protobuf:"bytes,9,opt,name=env,proto3" json:"env,omitempty"`
	Output     string                      `protobuf:"bytes,10,opt,name=output,proto3" json:"output,omitempty"`
	Os         string                      `protobuf:"bytes,11,opt,name=os,proto3" json:"os,omitempty"`
	Arch       string                      `protobuf:"bytes,12,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

func (*RuntimeVars) Descriptor deprecated

func (*RuntimeVars) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeVars.ProtoReflect.Descriptor instead.

func (*RuntimeVars) GetArch

func (x *RuntimeVars) GetArch() string

func (*RuntimeVars) GetArgs

func (x *RuntimeVars) GetArgs() []string

func (*RuntimeVars) GetContainers

func (x *RuntimeVars) GetContainers() map[string]*ContainerStatus

func (*RuntimeVars) GetEnv

func (x *RuntimeVars) GetEnv() string

func (*RuntimeVars) GetEnvs

func (x *RuntimeVars) GetEnvs() map[string]string

func (*RuntimeVars) GetInputs

func (x *RuntimeVars) GetInputs() map[string]*any1.Any

func (*RuntimeVars) GetMatrix

func (x *RuntimeVars) GetMatrix() map[string]*any1.Any

func (*RuntimeVars) GetOs

func (x *RuntimeVars) GetOs() string

func (*RuntimeVars) GetOutput

func (x *RuntimeVars) GetOutput() string

func (*RuntimeVars) GetRootDir

func (x *RuntimeVars) GetRootDir() string

func (*RuntimeVars) GetSteps

func (x *RuntimeVars) GetSteps() map[string]*StepResult

func (*RuntimeVars) GetTmpDir

func (x *RuntimeVars) GetTmpDir() string

func (*RuntimeVars) ProtoMessage

func (*RuntimeVars) ProtoMessage()

func (*RuntimeVars) ProtoReflect

func (x *RuntimeVars) ProtoReflect() protoreflect.Message

func (*RuntimeVars) Reset

func (x *RuntimeVars) Reset()

func (*RuntimeVars) String

func (x *RuntimeVars) String() string

type Source

type Source struct {
	Match string `json:"match,omitempty"`
}

func (*Source) DeepCopy

func (in *Source) DeepCopy() *Source

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

func (*Source) DeepCopyInto

func (in *Source) DeepCopyInto(out *Source)

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

type Step

type Step struct {
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	StepOptions `json:",inline"`
	Pipe        *PipeStep       `json:"pipe,omitempty"`
	And         *AndStep        `json:"and,omitempty"`
	Concurrent  *ConcurrentStep `json:"concurrent,omitempty"`
	Run         *RunStep        `json:"run,omitempty"`
	Inherit     *InheritStep    `json:"inherit,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.

type StepOptions

type StepOptions struct {
	If           string          `json:"if,omitempty"`
	Timeout      metav1.Duration `json:"timeout,omitempty"`
	Finally      bool            `json:"finally,omitempty"`
	AllowFailure bool            `json:"allowFailure,omitempty"`
	Matrix       *Matrix         `json:"matrix,omitempty"`
	Generates    []Generate      `json:"generates,omitempty"`
	Sources      []Source        `json:"sources,omitempty"`
	Needs        []StepReference `json:"needs,omitempty"`
	Streams      *Streams        `json:"streams,omitempty"`
	Retry        *Retry          `json:"retry,omitempty"`
	Env          []string        `json:"env,omitempty"`
}

func (*StepOptions) DeepCopy

func (in *StepOptions) DeepCopy() *StepOptions

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

func (*StepOptions) DeepCopyInto

func (in *StepOptions) DeepCopyInto(out *StepOptions)

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

type StepReference

type StepReference struct {
	Name string `json:"name,omitempty"`
}

func (*StepReference) DeepCopy

func (in *StepReference) DeepCopy() *StepReference

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

func (*StepReference) DeepCopyInto

func (in *StepReference) DeepCopyInto(out *StepReference)

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

type StepResult

type StepResult struct {
	Outputs map[string]string `` /* 155-byte string literal not displayed */
	TmpDir  string            `protobuf:"bytes,2,opt,name=tmpDir,proto3" json:"tmpDir,omitempty"`
	// contains filtered or unexported fields
}

func (*StepResult) Descriptor deprecated

func (*StepResult) Descriptor() ([]byte, []int)

Deprecated: Use StepResult.ProtoReflect.Descriptor instead.

func (*StepResult) GetOutputs

func (x *StepResult) GetOutputs() map[string]string

func (*StepResult) GetTmpDir added in v0.0.9

func (x *StepResult) GetTmpDir() string

func (*StepResult) ProtoMessage

func (*StepResult) ProtoMessage()

func (*StepResult) ProtoReflect

func (x *StepResult) ProtoReflect() protoreflect.Message

func (*StepResult) Reset

func (x *StepResult) Reset()

func (*StepResult) String

func (x *StepResult) String() string

type Stream

type Stream struct {
	Path   string `json:"path,omitempty"`
	Append bool   `json:"append,omitempty"`
}

func (*Stream) DeepCopy

func (in *Stream) DeepCopy() *Stream

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

func (*Stream) DeepCopyInto

func (in *Stream) DeepCopyInto(out *Stream)

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

type Streams

type Streams struct {
	Stdout *Stream `json:"stdout,omitempty"`
	Stdin  *Stream `json:"stdin,omitempty"`
	Stderr *Stream `json:"stderr,omitempty"`
}

func (*Streams) DeepCopy

func (in *Streams) DeepCopy() *Streams

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

func (*Streams) DeepCopyInto

func (in *Streams) DeepCopyInto(out *Streams)

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