Documentation
¶
Index ¶
- Constants
- Variables
- func Envs(stage *drone.Stage, repo *drone.Repo) map[string]string
- func FromContext(ctx context.Context) *stageContext
- func FromSecretContext(ctx context.Context) map[string]string
- func IncludeShell(buf *bytes.Buffer)
- func WithContext(ctx context.Context, stage *schema.Stage, pipeline *schema.Pipeline) context.Context
- func WithSecretContext(ctx context.Context, secrets map[string]string) context.Context
- type StageDynamicEnvProvider
Constants ¶
View Source
const ( WorkSpace = "/gitfox" // StageTempDir is the temporary directory in a stage life cycle StageTempDir = WorkSpace + "/.stage" )
Variables ¶
View Source
var WireSet = wire.NewSet( ProvideDynamicStageProvider, )
WireSet provides a wire set for this package.
Functions ¶
func FromContext ¶
func IncludeShell ¶
func WithContext ¶
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.
Click to show internal directories.
Click to hide internal directories.