deploy

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func OnDeploymentCreatedHandler

func OnDeploymentCreatedHandler(scheduler bus.Scheduler) bus.SignalHandler[domain.DeploymentCreated]

Upon receiving a deployment created event, queue a job to deploy the application.

Types

type Command

type Command struct {
	bus.Command[bus.UnitType]

	AppID            string `json:"app_id"`
	DeploymentNumber int    `json:"deployment_number"`
}

Process a deployment, this is where the magic happen!

func (Command) Name_

func (Command) Name_() string

func (Command) Value

func (c Command) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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