conmaker

package
v0.0.0-...-8a157a1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package conmaker is the main package for conmake

Index

Constants

View Source
const (
	// CONMAKEREF defines the conmake station image reference
	CONMAKEREF = "conmake"

	// WORKDIR defines the conmake working directory in the station container
	WORKDIR = "/workspace/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Conmaker

type Conmaker struct {
	// contains filtered or unexported fields
}

Conmaker models the conmaker based on an agent to use, a conmakefile and the project path.

func NewConmaker

func NewConmaker(a agent.Agent, c *v1.Conmakefile, p string, o io.WriteCloser) *Conmaker

NewConmaker returns an instance of Conmaker based on existing agent and conmakefile

func (*Conmaker) DeleteStation

func (cm *Conmaker) DeleteStation(station string) error

DeleteStation deletes a workstation of the Conmakefile associated to the Conmaker with the associated agent.

func (*Conmaker) InitStation

func (cm *Conmaker) InitStation(station string) error

InitStation initializes station and leaves a new image stored in the underlying image store

func (*Conmaker) PerformStep

func (cm *Conmaker) PerformStep(step string, args ...string) error

PerformStep performs a step specified in a Conmakefile

func (*Conmaker) StationList

func (cm *Conmaker) StationList() error

StationList is currently not implemented and returns nothing

Jump to

Keyboard shortcuts

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