cicd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(constructor func() (CiCd, error))

Types

type CiCd

type CiCd interface {
	IncrementalID() string
	GitRef() string
	GitSHA() string
	GitRepository() string
	Name() string
	AddStepOutput(key string, value string)
}

func Create

func Create() (CiCd, error)

func Instance

func Instance() CiCd

func MustCreate

func MustCreate() CiCd

type Constructor

type Constructor func() (CiCd, error)

type Local

type Local struct {
	Env *env.Env
}

func (*Local) AddStepOutput added in v0.0.57

func (l *Local) AddStepOutput(key string, value string)

func (*Local) GitRef

func (l *Local) GitRef() string

func (*Local) GitRepository

func (l *Local) GitRepository() string

func (*Local) GitSHA

func (l *Local) GitSHA() string

func (*Local) IncrementalID

func (l *Local) IncrementalID() string

func (*Local) Name

func (l *Local) Name() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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