extend

package
v0.0.0-...-4c964c4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	WorkSpace = "/gitfox"

	// StageTempDir is the temporary directory in a stage life cycle
	StageTempDir = WorkSpace + "/.stage"
)

Variables

WireSet provides a wire set for this package.

Functions

func Envs

func Envs(stage *drone.Stage, repo *drone.Repo) map[string]string

func FromContext

func FromContext(ctx context.Context) *stageContext

func FromSecretContext

func FromSecretContext(ctx context.Context) map[string]string

func IncludeShell

func IncludeShell(buf *bytes.Buffer)

func WithContext

func WithContext(ctx context.Context, stage *schema.Stage, pipeline *schema.Pipeline) context.Context

func WithSecretContext

func WithSecretContext(ctx context.Context, secrets map[string]string) context.Context

Types

type StageDynamicEnvProvider

type StageDynamicEnvProvider struct {
	// contains filtered or unexported fields
}

func NewStageDynamicEnvProvider

func NewStageDynamicEnvProvider(store storage.PipelineStorage, stageStore store.StageStore) *StageDynamicEnvProvider

func ProvideDynamicStageProvider

func ProvideDynamicStageProvider(
	store storage.PipelineStorage,
	stageStore store.StageStore,
) *StageDynamicEnvProvider

ProvideDynamicStageProvider provides an stage dynamic env provider.

func (*StageDynamicEnvProvider) List

Jump to

Keyboard shortcuts

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