helpers

package
v11.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2018 License: MIT Imports: 21 Imported by: 0

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)

Jump to

Keyboard shortcuts

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