Documentation
¶
Overview ¶
Package builder comprises functions, interfaces and structures related to build APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶
func RegisterHandlers(r types.VersionedRouter, service Service, conf *config.Config, logger flog.Logger, ncBuildSvc backend.NerdctlBuilderSvc, )
RegisterHandlers register all the supported endpoints related to the container APIs.
Types ¶
type Service ¶
type Service interface {
Build(ctx context.Context, options *ncTypes.BuilderBuildOptions, tarBody io.ReadCloser) ([]types.BuildResult, error)
}
Service interface for build related APIs
Click to show internal directories.
Click to hide internal directories.