cmd

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string) int

Entry point

Types

type CloseableClient

type CloseableClient interface {
	Close()
}

type JobQueueClient

type JobQueueClient interface {
	CloseableClient
	LoadRecentJobs(int) ([]*core.JobRecord, error)
}

type JobRecordClient

type JobRecordClient interface {
	CloseableClient
	LoadJob(jobId string) (*core.JobRecord, uint64, error)
	DownloadLogArtifact(*core.JobRecord, string) error
	DownloadResultsArtifact(*core.JobRecord, string) error
	DownloadScriptArtifact(*core.JobRecord, string) error
	LoadResultsArtifact(*core.JobRecord) ([]byte, error)
	LoadLogArtifact(*core.JobRecord) ([]byte, error)
}

type ManagerClient

type ManagerClient interface {
	CloseableClient
	CreateJobsQueue() error
	CreateJobsRepository() error
	CreateArtifactsStore() error
	DeleteJobsQueue() error
	DeleteJobsRepository() error
	DeleteArtifactsStore() error
}

Jump to

Keyboard shortcuts

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