Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandOutput ¶
CommandOutput contains the body and the exit code of the command execution.
type DockerTask ¶
type DockerTask struct {
// contains filtered or unexported fields
}
func NewDockerTask ¶
func NewDockerTask(ctx context.Context, options NewDockerTaskOptions) (*DockerTask, error)
NewDockerTask creates a new task based on the given code and ready for execution.
func (*DockerTask) Run ¶
func (t *DockerTask) Run(ctx context.Context) ([]*CommandOutput, error)
Run runs a task.
type KubernetesTask ¶
type KubernetesTask struct {
// contains filtered or unexported fields
}
func NewKubernetesTask ¶
func NewKubernetesTask(ctx context.Context, options NewKubernetesTaskOptions) (*KubernetesTask, error)
func (*KubernetesTask) Run ¶
func (t *KubernetesTask) Run(ctx context.Context) ([]*CommandOutput, error)
type NewDockerTaskOptions ¶
Click to show internal directories.
Click to hide internal directories.