Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Artifact ¶
type Artifact struct {
Path string `json:"path" yaml:"path" template:"true"`
}
+kubebuilder:object:generate=true
func (*Artifact) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Artifact.
func (*Artifact) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Exec ¶
type Exec struct {
Script string
Connections connection.ExecConnections
Checkout *connection.GitConnection
Artifacts []Artifact
EnvVars []types.EnvVar
Chroot string
Setup *ExecSetup
// Sandbox, if set, runs the command inside this sandbox.
// The caller is responsible for creating and closing the sandbox.
Sandbox *sandbox.Sandbox
}
type ExecDetails ¶
type ExecDetails struct {
Stdout string `json:"stdout"`
Stderr string `json:"stderr"`
ExitCode int `json:"exitCode"`
Path string `json:"path"`
Args []string `json:"args"`
// Any extra details about the command execution, e.g. git commit id, etc.
Extra map[string]any `json:"extra,omitempty"`
Error error `json:"-" yaml:"-"`
Artifacts []artifacts.Artifact `json:"-" yaml:"-"`
}
func (*ExecDetails) GetArtifacts ¶
func (e *ExecDetails) GetArtifacts() []artifacts.Artifact
func (ExecDetails) String ¶
func (e ExecDetails) String() string
type ExecSetup ¶ added in v1.0.1134
type ExecSetup struct {
Bun *RuntimeSetup `json:"bun,omitempty" yaml:"bun,omitempty"`
Python *RuntimeSetup `json:"python,omitempty" yaml:"python,omitempty"`
Powershell *RuntimeSetup `json:"powershell,omitempty" yaml:"powershell,omitempty"`
}
+kubebuilder:object:generate=true
func (*ExecSetup) DeepCopy ¶ added in v1.0.1134
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecSetup.
func (*ExecSetup) DeepCopyInto ¶ added in v1.0.1134
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuntimeSetup ¶ added in v1.0.1134
type RuntimeSetup struct {
Version string `json:"version,omitempty" yaml:"version,omitempty"`
}
+kubebuilder:object:generate=true
func (*RuntimeSetup) DeepCopy ¶ added in v1.0.1134
func (in *RuntimeSetup) DeepCopy() *RuntimeSetup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeSetup.
func (*RuntimeSetup) DeepCopyInto ¶ added in v1.0.1134
func (in *RuntimeSetup) DeepCopyInto(out *RuntimeSetup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.