Documentation ¶
Index ¶
- func NewDiffOp(v solver.Vertex, op *pb.Op_Diff, w worker.Worker) (solver.Op, error)
- func NewFileOp(v solver.Vertex, op *pb.Op_File, cm cache.Manager, ...) (solver.Op, error)
- func NewMergeOp(v solver.Vertex, op *pb.Op_Merge, w worker.Worker) (solver.Op, error)
- type BuildOp
- func (b *BuildOp) Acquire(ctx context.Context) (solver.ReleaseFunc, error)
- func (b *BuildOp) CacheMap(ctx context.Context, g session.Group, index int) (*solver.CacheMap, bool, error)
- func (b *BuildOp) Exec(ctx context.Context, g session.Group, inputs []solver.Result) (outputs []solver.Result, retErr error)
- func (b *BuildOp) IsProvenanceProvider()
- type ExecOp
- func (e *ExecOp) Acquire(ctx context.Context) (solver.ReleaseFunc, error)
- func (e *ExecOp) CacheMap(ctx context.Context, g session.Group, index int) (*solver.CacheMap, bool, error)
- func (e *ExecOp) Digest() digest.Digest
- func (e *ExecOp) Exec(ctx context.Context, g session.Group, inputs []solver.Result) (results []solver.Result, err error)
- func (e *ExecOp) IsProvenanceProvider()
- func (e *ExecOp) Proto() *pb.ExecOp
- func (e *ExecOp) Samples() (*resourcestypes.Samples, error)
- type FileOpSolver
- type SourceOp
- func (s *SourceOp) Acquire(ctx context.Context) (solver.ReleaseFunc, error)
- func (s *SourceOp) CacheMap(ctx context.Context, g session.Group, index int) (*solver.CacheMap, bool, error)
- func (s *SourceOp) Exec(ctx context.Context, g session.Group, _ []solver.Result) (outputs []solver.Result, err error)
- func (s *SourceOp) IsProvenanceProvider()
- func (s *SourceOp) Pin() (source.Identifier, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildOp ¶
type BuildOp struct {
// contains filtered or unexported fields
}
func NewBuildOp ¶
func (*BuildOp) IsProvenanceProvider ¶
func (b *BuildOp) IsProvenanceProvider()
type ExecOp ¶
type ExecOp struct {
// contains filtered or unexported fields
}
func (*ExecOp) IsProvenanceProvider ¶
func (e *ExecOp) IsProvenanceProvider()
type FileOpSolver ¶
type FileOpSolver struct {
// contains filtered or unexported fields
}
func NewFileOpSolver ¶
func NewFileOpSolver(w worker.Worker, b fileoptypes.Backend, r fileoptypes.RefManager) *FileOpSolver
func (*FileOpSolver) Solve ¶
func (s *FileOpSolver) Solve(ctx context.Context, inputs []fileoptypes.Ref, actions []*pb.FileAction, g session.Group) ([]fileoptypes.Ref, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.