config

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckRequest

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

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,omitempty"`
	WorkingDirectory string   `json:"working_directory,omitempty"`
	ReleaseVersion   string
	ReleaseGitRef    string
	GetTimestamp     int64
	GetUuid          string
}

type InResponse

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

type Source

type Source struct {
	ConcourseUrl   string `json:"concourse_url"`
	Team           string `json:"team"`
	Pipeline       string `json:"pipeline"`
	Job            string `json:"job,omitempty"`
	InitialBuildId int    `json:"initial_build_id,omitempty"`
	FetchPageSize  int    `json:"fetch_page_size,omitempty"`
	EnableTracing  bool   `json:"enable_tracing,omitempty"`
}

type Version

type Version struct {
	BuildId string `json:"build_id"`
}

type VersionMetadataField

type VersionMetadataField struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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