buildjob

package
v1.15.3 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildJob

type BuildJob struct {
	Repository         string
	NumberOfExecutions int
}

BuildJob represents a job for the gobuilder to build including the repository and a number of tries already made to build it

func FromBytes

func FromBytes(b []byte) (*BuildJob, error)

FromBytes reads a []byte representation created by ToBytes and returns a reference to the BuildJob object for further usage

func (*BuildJob) ToByte

func (b *BuildJob) ToByte() ([]byte, error)

ToByte creats a gob encoded version of the BuildJob to store in text queues or other locations

Jump to

Keyboard shortcuts

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