deployments

package
v0.0.0-...-4ae6852 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2025 License: AGPL-3.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRequired    = errors.New("field is required")
	ErrSlug        = errors.New(constants.SlugMessage)
	ErrTooLong     = errors.New("field is too long")
	ErrUnsupported = errors.New("field value is unsupported")
)

Functions

func Attach

func Attach(mux goahttp.Muxer, service *Service)

Types

type DeploymentID

type DeploymentID uuid.UUID

type IdempotencyKey

type IdempotencyKey *string

type ProjectID

type ProjectID uuid.UUID

type Service

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

func NewService

func NewService(logger *slog.Logger, tracerProvider trace.TracerProvider, db *pgxpool.Pool, temporal client.Client, sessions *sessions.Manager, assetStorage assets.BlobStore) *Service

func (*Service) APIKeyAuth

func (s *Service) APIKeyAuth(ctx context.Context, key string, schema *security.APIKeyScheme) (context.Context, error)

func (*Service) CreateDeployment

func (s *Service) CreateDeployment(ctx context.Context, form *gen.CreateDeploymentPayload) (*gen.CreateDeploymentResult, error)

func (*Service) Evolve

func (s *Service) Evolve(ctx context.Context, form *gen.EvolvePayload) (*gen.EvolveResult, error)

func (*Service) GetActiveDeployment

func (s *Service) GetActiveDeployment(ctx context.Context, _ *gen.GetActiveDeploymentPayload) (res *gen.GetActiveDeploymentResult, err error)

func (*Service) GetDeployment

func (s *Service) GetDeployment(ctx context.Context, form *gen.GetDeploymentPayload) (res *gen.GetDeploymentResult, err error)

func (*Service) GetDeploymentLogs

func (s *Service) GetDeploymentLogs(ctx context.Context, form *gen.GetDeploymentLogsPayload) (res *gen.GetDeploymentLogsResult, err error)

func (*Service) GetLatestDeployment

func (s *Service) GetLatestDeployment(ctx context.Context, _ *gen.GetLatestDeploymentPayload) (res *gen.GetLatestDeploymentResult, err error)

func (*Service) ListDeployments

func (s *Service) ListDeployments(ctx context.Context, form *gen.ListDeploymentsPayload) (res *gen.ListDeploymentResult, err error)

func (*Service) Redeploy

func (s *Service) Redeploy(ctx context.Context, payload *gen.RedeployPayload) (*gen.RedeployResult, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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