helpers

package
Version: v12.5.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2019 License: MIT Imports: 21 Imported by: 8

Documentation

Index

Constants

View Source
const DefaultUploadName = "default"

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactsDownloaderCommand

type ArtifactsDownloaderCommand struct {
	common.JobCredentials
	// contains filtered or unexported fields
}

func (*ArtifactsDownloaderCommand) Execute

func (c *ArtifactsDownloaderCommand) Execute(context *cli.Context)

type ArtifactsUploaderCommand

type ArtifactsUploaderCommand struct {
	common.JobCredentials

	Name     string                `long:"name" description:"The name of the archive"`
	ExpireIn string                `long:"expire-in" description:"When to expire artifacts"`
	Format   common.ArtifactFormat `long:"artifact-format" description:"Format of generated artifacts"`
	Type     string                `long:"artifact-type" description:"Type of generated artifacts"`
	// contains filtered or unexported fields
}

func (*ArtifactsUploaderCommand) Execute

func (c *ArtifactsUploaderCommand) Execute(*cli.Context)

type CacheArchiverCommand

type CacheArchiverCommand struct {
	File    string `long:"file" description:"The path to file"`
	URL     string `long:"url" description:"URL of remote cache resource"`
	Timeout int    `long:"timeout" description:"Overall timeout for cache uploading request (in minutes)"`
	// contains filtered or unexported fields
}

func (*CacheArchiverCommand) Execute

func (c *CacheArchiverCommand) Execute(*cli.Context)

type CacheClient

type CacheClient struct {
	http.Client
}

func NewCacheClient

func NewCacheClient(timeout int) *CacheClient

type CacheExtractorCommand

type CacheExtractorCommand struct {
	File    string `long:"file" description:"The file containing your cache artifacts"`
	URL     string `long:"url" description:"URL of remote cache resource"`
	Timeout int    `long:"timeout" description:"Overall timeout for cache downloading request (in minutes)"`
	// contains filtered or unexported fields
}

func (*CacheExtractorCommand) Execute

func (c *CacheExtractorCommand) Execute(context *cli.Context)

type CacheInitCommand

type CacheInitCommand struct{}

CacheInitCommand will take a single directory/file path and initialize it correctly for it to be used for cache. This command tries to support spaces in directories name by using the the flags to specify which entries you want to initialize.

func (*CacheInitCommand) Execute

func (c *CacheInitCommand) Execute(ctx *cli.Context)

type HealthCheckCommand

type HealthCheckCommand struct{}

func (*HealthCheckCommand) Execute

func (c *HealthCheckCommand) Execute(ctx *cli.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL