Documentation ¶
Index ¶
- func WrapTargetFailed(err error, target *graph.Target) error
- type ManifestData
- type Request
- type RequestOpts
- type Requests
- type Runner
- type SrcRecorder
- func (s *SrcRecorder) Add(name, from, to, origin string)
- func (s *SrcRecorder) AddTar(tar string, size int64)
- func (s *SrcRecorder) Named() map[string][]string
- func (s *SrcRecorder) Origin() map[string]string
- func (s *SrcRecorder) Reset()
- func (s *SrcRecorder) Src() []sandbox.File
- func (s *SrcRecorder) SrcTar() []sandbox.TarFile
- type Target
- type TargetFailed
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ManifestData ¶
type ManifestData struct { GitCommit string `json:"git_commit,omitempty"` GitRef string `json:"git_ref,omitempty"` InputHash string `json:"input_hash,omitempty"` DepsHashes map[string]map[string]string `json:"deps_hashes,omitempty"` OutHashes map[string]string `json:"out_hashes,omitempty"` Timestamp time.Time `json:"timestamp"` }
type RequestOpts ¶
type Runner ¶
type Runner struct { Root *hroot.State Observability *observability.Observability Finalizers *finalizers.Finalizers LocalCache *lcache.LocalCacheState PlatformProviders []platform.PlatformProvider GetFlowID func() string QueryFunctions func(*graph.Target) map[string]exprs.Func Cwd string Config *config.Config Pool *worker2.Engine }
type SrcRecorder ¶
type SrcRecorder struct { Forward *SrcRecorder // contains filtered or unexported fields }
func (*SrcRecorder) Add ¶
func (s *SrcRecorder) Add(name, from, to, origin string)
func (*SrcRecorder) AddTar ¶
func (s *SrcRecorder) AddTar(tar string, size int64)
func (*SrcRecorder) Named ¶
func (s *SrcRecorder) Named() map[string][]string
func (*SrcRecorder) Origin ¶
func (s *SrcRecorder) Origin() map[string]string
func (*SrcRecorder) Reset ¶
func (s *SrcRecorder) Reset()
func (*SrcRecorder) Src ¶
func (s *SrcRecorder) Src() []sandbox.File
func (*SrcRecorder) SrcTar ¶
func (s *SrcRecorder) SrcTar() []sandbox.TarFile
type TargetFailed ¶
func (TargetFailed) Error ¶
func (t TargetFailed) Error() string
func (TargetFailed) Is ¶
func (t TargetFailed) Is(target error) bool
func (TargetFailed) Unwrap ¶
func (t TargetFailed) Unwrap() error
Click to show internal directories.
Click to hide internal directories.