buildplan

package
v0.0.0-...-683d150 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

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

func (*Build) Add

func (b *Build) Add(s *Sequence) *Sequence

func (*Build) AsCloudBuild

func (b *Build) AsCloudBuild() []*cloudbuildpb.BuildStep

type Sequence

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

func Commands

func Commands(id string, steps ...*Step) *Sequence

func (*Sequence) AsCloudBuild

func (s *Sequence) AsCloudBuild() []*cloudbuildpb.BuildStep

func (*Sequence) LastStepID

func (s *Sequence) LastStepID() string

func (*Sequence) StepID

func (s *Sequence) StepID(i int) string

func (*Sequence) WithDep

func (s *Sequence) WithDep(dep *Sequence) *Sequence

func (*Sequence) WithExtraVolume

func (s *Sequence) WithExtraVolume(extraVolume string) *Sequence

func (*Sequence) WithManualIsolation

func (s *Sequence) WithManualIsolation() *Sequence

func (*Sequence) WithVolume

func (s *Sequence) WithVolume() *Sequence

type Step

type Step struct {
	Name       string
	Entrypoint string
	Args       []string
	Dir        string
}

func Command

func Command(name, entrypoint string, args ...string) *Step

Jump to

Keyboard shortcuts

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