Documentation ¶
Index ¶
- func CheckSumWithGitIgnoreWithRelative(projectRoot *string, relativePath *string, inputs []string, useGitIgnore bool) (*string, error)
- func GetGitHashes(projectRoot *string, relativePath *string, inputs []string) (*[]string, error)
- func Int(s int) *int
- func MD5All(root string, shouldIgnoreFn func(string) bool) (map[string][md5.Size]byte, error)
- func MD5Dir(root string, shouldIgnoreFn func(string) bool) (*string, error)
- func String(s string) *string
- type Cache
- type CacheIndex
- type CacheLocation
- type CacheProvider
- type CacheState
- type Config
- type ExecutionPlan
- type Log
- type NoLog
- type OSLog
- type Target
- type TargetResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGitHashes ¶
Types ¶
type CacheIndex ¶
Probably change this interface
type CacheLocation ¶
type CacheProvider ¶
type CacheProvider interface { GetIndex() (CacheIndex, error) PutIndex(CacheIndex) error GetCache(string, CacheLocation) error PutCache(CacheLocation) error }
Probably change this interface
type CacheState ¶
type CacheState struct { RootDir *string WorkDir *string Cache Cache InChecksum string GitRevs []string OutChecksum *string }
func (*CacheState) Inputs ¶
func (state *CacheState) Inputs() CacheLocation
func (*CacheState) Outputs ¶
func (state *CacheState) Outputs() CacheLocation
type Config ¶
type Config struct { Targets []Target `yaml:"targets"` ExecutionPlans []ExecutionPlan `yaml:"execution_plans"` }
type ExecutionPlan ¶
type Log ¶
type Log interface { Println(a ...interface{}) (n int, err error) Printf(format string, a ...interface{}) (n int, err error) }
We provide a Log interface, so we can achieve two goals: * Make sure our tests are not noisy * Potentiall introduce file logging at a later time as a configurable option
Click to show internal directories.
Click to hide internal directories.