imagebuilder_api

package
v1.2.0-main Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server represents the ImageBuilder API server

func New

func New(
	log logrus.FieldLogger,
	cfg *config.Config,
	imageBuilderStore imagebuilderstore.Store,
	mainStore store.Store,
	kvStore kvstore.KVStore,
	queuesProvider queues.Provider,
) (*Server, error)

New returns a new instance of an ImageBuilder API server.

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

Run starts the ImageBuilder API server

func (*Server) Service

func (s *Server) Service() service.Service

Service returns the aggregate Service for use in handlers

Directories

Path Synopsis
api
server
Package server provides primitives to interact with the openapi HTTP API.
Package server provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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