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 ¶
- Variables
- type AndStep
- type AwaitStatus
- type ConcurrentStep
- type Container
- type ContainerStatus
- func (*ContainerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStatus) GetContainerID() string
- func (x *ContainerStatus) GetContainerIP() string
- func (x *ContainerStatus) GetExitCode() int32
- func (x *ContainerStatus) GetName() string
- func (x *ContainerStatus) GetReady() bool
- func (x *ContainerStatus) GetStarted() bool
- func (*ContainerStatus) ProtoMessage()
- func (x *ContainerStatus) ProtoReflect() protoreflect.Message
- func (x *ContainerStatus) Reset()
- func (x *ContainerStatus) String() string
- type Generate
- type InheritInput
- type InheritStep
- type Input
- type InputType
- type Matrix
- type PipeStep
- type Pipeline
- type PipelineList
- type PipelineSpec
- type RestartPolicy
- type Retry
- type RunStep
- type RuntimeVars
- func (*RuntimeVars) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeVars) GetArch() string
- func (x *RuntimeVars) GetArgs() []string
- func (x *RuntimeVars) GetContainers() map[string]*ContainerStatus
- func (x *RuntimeVars) GetEnv() string
- func (x *RuntimeVars) GetEnvs() map[string]string
- func (x *RuntimeVars) GetInputs() map[string]*any1.Any
- func (x *RuntimeVars) GetMatrix() map[string]*any1.Any
- func (x *RuntimeVars) GetOs() string
- func (x *RuntimeVars) GetOutput() string
- func (x *RuntimeVars) GetRootDir() string
- func (x *RuntimeVars) GetSteps() map[string]*StepResult
- func (x *RuntimeVars) GetTmpDir() string
- func (*RuntimeVars) ProtoMessage()
- func (x *RuntimeVars) ProtoReflect() protoreflect.Message
- func (x *RuntimeVars) Reset()
- func (x *RuntimeVars) String() string
- type Source
- type Step
- type StepOptions
- type StepReference
- type StepResult
- func (*StepResult) Descriptor() ([]byte, []int)deprecated
- func (x *StepResult) GetOutputs() map[string]string
- func (x *StepResult) GetTmpDir() string
- func (*StepResult) ProtoMessage()
- func (x *StepResult) ProtoReflect() protoreflect.Message
- func (x *StepResult) Reset()
- func (x *StepResult) String() string
- type Stream
- type Streams
Constants ¶
This section is empty.
Variables ¶
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 )
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AndStep.
func (*AndStep) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
func (*Container) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Generate.
func (*Generate) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Input.
func (*Input) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Matrix.
func (*Matrix) DeepCopyInto ¶ added in v0.0.9
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipeStep.
func (*PipeStep) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pipeline.
func (*Pipeline) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Pipeline) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Retry.
func (*Retry) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunStep.
func (*RunStep) DeepCopyInto ¶
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) 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Source.
func (*Source) DeepCopyInto ¶
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 ¶
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.
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 ¶
func (*Stream) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stream.
func (*Stream) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Streams.
func (*Streams) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.