ci

package module
v0.0.0-...-be36c56 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2018 License: MIT Imports: 8 Imported by: 0

README

ci

Experimental Docker based CI

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	Outdoor bool
	Destroy bool
	Stdout  io.Writer
	Stderr  io.Writer
}

func (*Runner) Run

func (r *Runner) Run(dkr *docker.Docker, spec *Spec) (int, error)

type Service

type Service struct {
	Image       string
	Environment map[string]string
}

func (*Service) EnvSlice

func (s *Service) EnvSlice() []string

type Spec

type Spec struct {
	Image    string
	Services map[string]Service
	Script   []string
}

func (*Spec) Bash

func (s *Spec) Bash() string

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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