builders

package
v0.1.97 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 10 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeDependenciesSummary added in v0.1.21

func MakeDependenciesSummary(deps *Dependencies) string

MakeDependenciesSummary outputs a summary of the dependencies

func MakeDependencySummary added in v0.1.22

func MakeDependencySummary(dep *Dependency) string

MakeDependencySummary outputs a summary of the dependency

Types

type AcceptChange added in v0.1.25

type AcceptChange func(ctx context.Context) error

type Dependencies added in v0.1.20

type Dependencies struct {
	Name       string
	Components []*Dependency
	// contains filtered or unexported fields
}

func NewDependencies added in v0.1.20

func NewDependencies(name string, components ...*Dependency) *Dependencies

func (*Dependencies) AddDependencies added in v0.1.20

func (dep *Dependencies) AddDependencies(dependencies ...*Dependency) *Dependencies

AddDependencies adds dependencies

func (*Dependencies) All added in v0.1.24

func (dep *Dependencies) All() []string

func (*Dependencies) Clone added in v0.1.20

func (dep *Dependencies) Clone() *Dependencies

func (*Dependencies) Hash added in v0.1.20

func (dep *Dependencies) Hash(ctx context.Context) (string, error)

func (*Dependencies) LoadHash added in v0.1.20

func (dep *Dependencies) LoadHash(ctx context.Context) string

func (*Dependencies) Localize added in v0.1.20

func (dep *Dependencies) Localize(root string)

func (*Dependencies) Present added in v0.1.33

func (dep *Dependencies) Present(ctx context.Context, dir string) []string

func (*Dependencies) String added in v0.1.33

func (dep *Dependencies) String() string

func (*Dependencies) UpdateCache added in v0.1.25

func (dep *Dependencies) UpdateCache(ctx context.Context) error

func (*Dependencies) Updated added in v0.1.20

func (dep *Dependencies) Updated(ctx context.Context) (bool, error)

func (*Dependencies) WithCache added in v0.1.39

func (dep *Dependencies) WithCache(location string) *Dependencies

func (*Dependencies) WriteHash added in v0.1.20

func (dep *Dependencies) WriteHash(ctx context.Context, hash string) error

type Dependency

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

func NewDependency added in v0.1.6

func NewDependency(components ...string) *Dependency

func (*Dependency) Components

func (dep *Dependency) Components() []string

func (*Dependency) Hash added in v0.1.4

func (dep *Dependency) Hash(ctx context.Context) (string, error)

func (*Dependency) Keep added in v0.1.20

func (dep *Dependency) Keep(path string) bool

func (*Dependency) Localize added in v0.1.20

func (dep *Dependency) Localize(dir string) *Dependency

func (*Dependency) WithPathSelect added in v0.1.20

func (dep *Dependency) WithPathSelect(sel shared.PathSelect) *Dependency

Jump to

Keyboard shortcuts

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