concourse

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2016 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizedSource

func SanitizedSource(source Source) map[string]string

Types

type CheckRequest

type CheckRequest struct {
	Source  Source  `json:"source"`
	Version Version `json:"version"`
}

type CheckResponse

type CheckResponse []Version

type InParams

type InParams struct {
	Globs []string `json:"globs"`
}

type InRequest

type InRequest struct {
	Source  Source   `json:"source"`
	Version Version  `json:"version"`
	Params  InParams `json:"params"`
}

type InResponse

type InResponse struct {
	Version  Version    `json:"version"`
	Metadata []Metadata `json:"metadata,omitempty"`
}

type Metadata

type Metadata struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

type OutParams

type OutParams struct {
	FileGlob       string `json:"file_glob"`
	FilepathPrefix string `json:"s3_filepath_prefix"`
	MetadataFile   string `json:"metadata_file"`
}

type OutRequest

type OutRequest struct {
	Params OutParams `json:"params"`
	Source Source    `json:"source"`
}

type OutResponse

type OutResponse struct {
	Version  Version    `json:"version"`
	Metadata []Metadata `json:"metadata,omitempty"`
}

type SortBy added in v0.19.0

type SortBy string
const (
	SortByNone   SortBy = "none"
	SortBySemver SortBy = "semver"
)

type Source

type Source struct {
	APIToken        string `json:"api_token"`
	ProductSlug     string `json:"product_slug"`
	AccessKeyID     string `json:"access_key_id"`
	ProductVersion  string `json:"product_version"`
	SecretAccessKey string `json:"secret_access_key"`
	Bucket          string `json:"bucket"`
	Endpoint        string `json:"endpoint"`
	Region          string `json:"region"`
	ReleaseType     string `json:"release_type"`
	SortBy          SortBy `json:"sort_by"`
}

type Version

type Version struct {
	ProductVersion string `json:"product_version"`
}

Jump to

Keyboard shortcuts

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