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 ¶ added in v0.11.0
type BuildOp struct {
// contains filtered or unexported fields
}
func NewBuildOp ¶
func (*BuildOp) IsProvenanceProvider ¶ added in v0.11.0
func (b *BuildOp) IsProvenanceProvider()
type ExecOp ¶ added in v0.11.0
type ExecOp struct {
// contains filtered or unexported fields
}
func (*ExecOp) IsProvenanceProvider ¶ added in v0.11.0
func (e *ExecOp) IsProvenanceProvider()
type FileOpSolver ¶ added in v0.5.0
type FileOpSolver struct {
// contains filtered or unexported fields
}
func NewFileOpSolver ¶ added in v0.5.0
func NewFileOpSolver(w worker.Worker, b fileoptypes.Backend, r fileoptypes.RefManager) *FileOpSolver
func (*FileOpSolver) Solve ¶ added in v0.5.0
func (s *FileOpSolver) Solve(ctx context.Context, inputs []fileoptypes.Ref, actions []*pb.FileAction, g session.Group) ([]fileoptypes.Ref, error)
type SourceOp ¶ added in v0.11.0
type SourceOp struct {
// contains filtered or unexported fields
}
func NewSourceOp ¶
func (*SourceOp) IsProvenanceProvider ¶ added in v0.11.0
func (s *SourceOp) IsProvenanceProvider()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.