Help us shape the future of Go! Take the 2026 Go Developer Survey

provisionworker

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: AGPL-3.0 Imports: 41 Imported by: 0

Documentation

Overview

Package provisionworker processes managed instance provisioning jobs from SQS.

Index

Constants

View Source
const ServiceName = "provision-worker"

ServiceName is the canonical service identifier for the provisioning worker.

Variables

This section is empty.

Functions

func New

func New(opts ...apptheory.Option) *apptheory.App

New constructs the provisioning worker app.

func Register

func Register(app *apptheory.App, srv *Server) *apptheory.App

Register registers SQS handlers with the provided app.

Types

type Server

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

Server processes provisioning jobs from the worker queue.

func NewServer

func NewServer(cfg config.Config, st *store.Store, org organizationsAPI, r53 route53API, stsClient stsAPI, sqsClient sqsAPI, cbClient codebuildAPI, s3Client s3API) *Server

NewServer constructs a Server with AWS service clients and a store.

func (*Server) Register

func (s *Server) Register(app *apptheory.App)

Register registers SQS handlers with the provided app.

Jump to

Keyboard shortcuts

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