Documentation
¶
Index ¶
Constants ¶
View Source
const ( BeginDelimiter = "----BEGIN PANAMAX DATA----" EndDelimiter = "----END PANAMAX DATA----" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerFactory ¶
func NewContainerFactory ¶
func NewContainerFactory(dockerEndpoint string) ContainerFactory
type JobAccessor ¶
type JobAccessor interface { All() ([]Job, error) Get(jobID string) (*Job, error) Create(job *Job) error Delete(jobID string) error Update(jobID, attr, value string) error GetJobLog(jobID string, index int) (*JobLog, error) AppendLogLine(jobID, logLine string) error }
func NewJobAccessor ¶
func NewJobAccessor(host string) JobAccessor
type JobManager ¶
type JobManager interface { ListAll() ([]Job, error) GetByID(string) (*Job, error) Create(*Job) error Execute(*Job) error GetLog(*Job, int) (*JobLog, error) Delete(*Job) error }
func NewJobManager ¶
func NewJobManager(a JobAccessor, cf ContainerFactory) JobManager
type NotFoundError ¶
type NotFoundError string
func (NotFoundError) Error ¶
func (s NotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.