Documentation ¶
Index ¶
- type Builder
- func (b *Builder) Build(ctx context.Context, opt backend.BuildConfig) (*builder.Result, error)
- func (b *Builder) Cancel(ctx context.Context, id string) error
- func (b *Builder) DiskUsage(ctx context.Context) ([]*types.BuildCache, error)
- func (b *Builder) Prune(ctx context.Context, opts types.BuildCachePruneOptions) (int64, []string, error)
- func (b *Builder) RegisterGRPC(s *grpc.Server)
- type Opt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder can build using BuildKit backend
func (*Builder) Prune ¶
func (b *Builder) Prune(ctx context.Context, opts types.BuildCachePruneOptions) (int64, []string, error)
Prune clears all reclaimable build cache
func (*Builder) RegisterGRPC ¶
RegisterGRPC registers controller to the grpc server.
type Opt ¶
type Opt struct { SessionManager *session.Manager Root string Dist images.DistributionServices NetworkController libnetwork.NetworkController DefaultCgroupParent string ResolverOpt resolver.ResolveOptionsFunc BuilderConfig config.BuilderConfig Rootless bool IdentityMapping *idtools.IdentityMapping DNSConfig config.DNSConfig }
Opt is option struct required for creating the builder
Click to show internal directories.
Click to hide internal directories.