package
0.3.0
Repository: https://github.com/bmorton/deployster.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

FindServiceUnits parses an array of units returned from fleet and looks for only the units that match the given service name, which is a subset of the Fleet unit name.
FindServiceUnits parses an array of units returned from fleet and collects all the versions present for the given service.
NewDeploysterService returns a configured DeploysterService, ready to listen for HTTP requests via the provided listen string.

# Structs

Deploy is the struct that defines all the options for creating a new deploy and is wrapped by DeployRequest and deserialized in the Create function.
DeployRequest is the wrapper struct used to deserialize the JSON payload that is sent for creating a new deploy.
DeploysResource is the HTTP resource responsible for creating and destroying deployments of services.
DeploysterService is the HTTP server that ties together all the resources, configures routing and dependencies, and authenticates requests.
Task is the JSON payload required to launch a new task.
TaskRequest is the top-level wrapper for the Task in the JSON payload sent by the client.
TasksResource is the HTTP resource responsible for launching new tasks via the Docker API in an opinionated and conventional way.
UnitsResource is the HTTP resource responsible for getting basic information on all units that exist for a given service.
UnitsResponse is the wrapper struct for the JSON payload returned by the Index action.
UnitTemplate is the view model that is passed to the template parser that renders a unit file.
VersionedUnit is our representation of a Fleet unit.

# Interfaces

DockerClient is the interface required for TasksResource to be able to create, start, attach, inspect, and remove Docker containers.
No description provided by the author

# Type aliases

ExtractableUnit is the local struct for a fleet.Unit with added functions for extracting the name, version, and instance that deployster encodes into the Fleet unit name.