run

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: MIT Copyright (c) 2019 Hadrien Chauvin

run implements the "run" step of pipelines.

SPDX-License-Identifier: MIT Copyright (c) 2019 Hadrien Chauvin

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(
	ctx context.Context,
	cfg *config.Config,
	pipeline *pipelines.Pipeline,
	name names.Name,
	specNames []string,
	k8sClient *k8s.K8s,
) error

Exec runs the commands of a pipeline.

func ExecBaseCommand added in v0.1.0

func ExecBaseCommand(
	ctx context.Context,
	cfg *config.Config,
	name names.Name,
	specName string,
	spec *pipelines.BaseCommand,
	sharedEnv []string,
	k8sClient *k8s.K8s,
) error

func ExecHooks added in v0.1.0

func ExecHooks(
	ctx context.Context,
	cfg *config.Config,
	name names.Name,
	specName string,
	hooks []pipelines.CommandHook,
	sharedEnv []string,
	k8sClient *k8s.K8s,
) error

Types

This section is empty.

Directories

Path Synopsis
SPDX-License-Identifier: MIT Copyright (c) 2019 Hadrien Chauvin SPDX-License-Identifier: MIT Copyright (c) 2019 Hadrien Chauvin
SPDX-License-Identifier: MIT Copyright (c) 2019 Hadrien Chauvin SPDX-License-Identifier: MIT Copyright (c) 2019 Hadrien Chauvin
fsreporter
SPDX-License-Identifier: MIT Copyright (c) 2019 Hadrien Chauvin
SPDX-License-Identifier: MIT Copyright (c) 2019 Hadrien Chauvin
env implements environment variable templating.
env implements environment variable templating.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL