builder

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL