concourse

package
v6.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: MIT Imports: 1 Imported by: 24

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 {
}

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"`
}

type Metadata added in v0.0.5

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

type OutParams

type OutParams struct {
	Pipelines     []Pipeline `json:"pipelines,omitempty"`
	PipelinesFile string     `json:"pipelines_file,omitempty"`
}

type OutRequest

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

type OutResponse

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

type Pipeline

type Pipeline struct {
	Name       string                 `json:"name" yaml:"name"`
	ConfigFile string                 `json:"config_file" yaml:"config_file"`
	VarsFiles  []string               `json:"vars_files" yaml:"vars_files"`
	Vars       map[string]interface{} `json:"vars" yaml:"vars"`
	TeamName   string                 `json:"team" yaml:"team"`
	Unpaused   bool                   `json:"unpaused" yaml:"unpaused"`
	Exposed    bool                   `json:"exposed" yaml:"exposed"`
}

type Source

type Source struct {
	Target   string `json:"target"`
	Teams    []Team `json:"teams"`
	Insecure string `json:"insecure"`
}

type Team added in v0.7.0

type Team struct {
	Name     string `json:"name"`
	Username string `json:"username"`
	Password string `json:"password"`
}

type Version

type Version map[string]string

Jump to

Keyboard shortcuts

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