Documentation
¶
Overview ¶
Package deploy provides the deployment pipeline orchestrator — the central "brain" of JumpGate that wires together git clone → manifest parse → Docker build → container run → status tracking.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
Pipeline orchestrates the full deployment flow from a repository URL and commit hash to a running container.
func NewPipeline ¶
func NewPipeline(dockerClient docker.Client, s *store.Store, cloner *git.Cloner, traefikNetwork string, buildTimeout, healthTimeout time.Duration) *Pipeline
NewPipeline creates a Pipeline with the given dependencies.
func (*Pipeline) Execute ¶
Execute runs the full deployment pipeline for the given repository and commit hash. It clones the repo, parses the manifest, builds the Docker image, starts the container, and updates the deployment store.
On failure, the deployment is marked Failed in the store and any partially created resources are cleaned up.