Versions in this module Expand all Collapse all v0 v0.0.2 Sep 11, 2020 v0.0.1 Jul 30, 2020 Changes in this version + var Dependencies = deps + func FindImports(file string) ([]string, error) + func Parallel(ctx context.Context, funcs []ParallelFunc) error + func WaitFor(ctx context.Context, f Checker, timeout time.Duration) error + type Artifacts struct + var Tracker *Artifacts + func (a Artifacts) Add(path string, f Cleaner) error + func (a Artifacts) Clean(ctx context.Context) error + type Chart struct + AdditionalValues map[string]string + Atomic bool + Chart string + Name string + Values string + Version string + type Checker func(context.Context) (bool, error) + type Cleaner func(context.Context) error + func CleanDockerImage(image *DockerImage) Cleaner + func CleanDockerRegistry(r *Registry) Cleaner + func CleanFile(path string) Cleaner + func CleanKind(cluster *Cluster) Cleaner + type Cluster struct + ConfigFile string + Name string + func (c *Cluster) ContextName() string + type Dependency interface + Check func(context.Context) error + Clean func(context.Context) error + Name func() string + Setup func(context.Context) error + type Docker struct + Version *semver.Version + func MustDocker(required string) *Docker + func NewDocker(required string) (*Docker, error) + func (d *Docker) Build(ctx context.Context, image *DockerImage) error + func (d *Docker) Check(_ context.Context) error + func (d *Docker) Clean(_ context.Context) error + func (d *Docker) Connect(ctx context.Context, name, network string) error + func (d *Docker) Name() string + func (d *Docker) Network(_ context.Context, label string) (*NetworkSettings, error) + func (d *Docker) Push(ctx context.Context, tag string) error + func (d *Docker) Setup(_ context.Context) error + func (d *Docker) Status(ctx context.Context, name string) (Status, error) + func (d *Docker) Tag(ctx context.Context, image *DockerImage, tag string) error + type DockerImage struct + Args func(context.Context) (map[string]string, error) + File string + Name string + Tag string + func (i *DockerImage) String() string + type DockerRegistry struct + func MustDockerRegistry(docker *Docker) *DockerRegistry + func NewDockerRegistry(docker *Docker) (*DockerRegistry, error) + func (d *DockerRegistry) Check(ctx context.Context) error + func (d *DockerRegistry) Clean(_ context.Context) error + func (d *DockerRegistry) Connect(ctx context.Context, r *Registry, network string) error + func (d *DockerRegistry) Create(ctx context.Context, r *Registry) (*NetworkSettings, error) + func (d *DockerRegistry) Destroy(ctx context.Context, r *Registry) error + func (d *DockerRegistry) Name() string + func (d *DockerRegistry) Setup(_ context.Context) error + func (d *DockerRegistry) Status(ctx context.Context, r *Registry) (Status, error) + type Env map[string]string + func (e Env) Source() + type Errors struct + func NewErrors() *Errors + func (e *Errors) Append(err error) bool + func (e *Errors) Err() error + func (e *Errors) Error() string + func (e *Errors) Errors() []error + type Generator interface + Generate func(_ context.Context) error + type Git struct + Version *semver.Version + func MustGit(required string) *Git + func NewGit(required string) (*Git, error) + func (g *Git) Check(_ context.Context) error + func (g *Git) Clean(_ context.Context) error + func (g *Git) Name() string + func (g *Git) Porcelain(_ context.Context, files []string) error + func (g *Git) Setup(_ context.Context) error + func (g *Git) Tag(_ context.Context) (*Version, error) + type GoMod struct + func (g *GoMod) Clean(_ context.Context, pkg string) error + func (g *GoMod) Setup(_ context.Context) error + func (g *GoMod) Tidy(_ context.Context) error + type GoTools struct + func (g *GoTools) Clean(ctx context.Context) error + func (g *GoTools) List() ([]string, error) + func (g *GoTools) Setup(ctx context.Context) error + type Golang struct + Mod *GoMod + RootPkg string + Tools *GoTools + Version *semver.Version + func MustGolang(rootPkg string, required string) *Golang + func NewGolang(rootPkg string, required string) (*Golang, error) + func (g *Golang) Build(ctx context.Context, version *Version, pkg, out string) error + func (g *Golang) Check(_ context.Context) error + func (g *Golang) Clean(ctx context.Context) error + func (g *Golang) Name() string + func (g *Golang) Setup(ctx context.Context) error + type GraphQL struct + ConfigPath string + GeneratedDir string + SchemaDir string + func NewGraphQL(schemaDir string, configPath string, generatedDir string) (*GraphQL, error) + func (g *GraphQL) Generate(_ context.Context) error + type Helm struct + Repositories map[string]string + Version *semver.Version + func MustHelm(required string, repositories map[string]string) *Helm + func NewHelm(required string, repositories map[string]string) (*Helm, error) + func (h *Helm) Check(_ context.Context) error + func (h *Helm) Clean(_ context.Context) error + func (h *Helm) Deploy(ctx context.Context, c *Chart) error + func (h *Helm) Install(ctx context.Context, c *Chart) error + func (h *Helm) List(_ context.Context) ([]*Release, error) + func (h *Helm) Name() string + func (h *Helm) RepoUpdate(_ context.Context) error + func (h *Helm) Setup(ctx context.Context) error + func (h *Helm) Update(ctx context.Context, c *Chart, current *Release) error + type Kind struct + Version *semver.Version + func MustKind(docker *Docker, kubectl *Kubectl, version string) *Kind + func NewKind(docker *Docker, kubectl *Kubectl, version string) (*Kind, error) + func (k *Kind) Check(ctx context.Context) error + func (k *Kind) Clean(_ context.Context) error + func (k *Kind) Create(ctx context.Context, cluster *Cluster, registry *Registry) error + func (k *Kind) Destroy(ctx context.Context, cluster *Cluster) error + func (k *Kind) Name() string + func (k *Kind) Setup(_ context.Context) error + func (k *Kind) Status(ctx context.Context, cluster *Cluster) (Status, error) + type Kubectl struct + Version *semver.Version + func MustKubectl(required string) *Kubectl + func NewKubectl(required string) (*Kubectl, error) + func (k *Kubectl) Check(_ context.Context) error + type NetworkSettings struct + IPAddress string + Networks map[string]struct{ ... } + type ParallelFunc func(context.Context) error + type Pkger struct + func NewPkger() (*Pkger, error) + func (p *Pkger) Generate(_ context.Context) error + type Registry struct + Host string + Name string + Port string + type Release struct + AppVersion string + Chart string + Name string + Namespace string + Revision string + Status string + Updated string + type RunnerFunc func(d Dependency) error + type Status string + var Created Status = "created" + var Dead Status = "dead" + var Exited Status = "exited" + var Paused Status = "paused" + var Removing Status = "removing" + var Restarting Status = "restarting" + var Running Status = "running" + var Unknown Status = "unknown" + func ToStatus(in string) (Status, error) + func (s Status) String() string + type Version struct + func NewVersion(in string) (*Version, error) + func (v *Version) BuildDate() string + func (v *Version) Version() string