model

package
v0.0.0-...-54a3cd7 Latest Latest
Warning

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

Go to latest
Published: May 10, 2016 License: Apache-2.0 Imports: 0 Imported by: 7

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

type CheckResponse

type CheckResponse []Version

type InParams

type InParams struct {
	DownloadLogs bool `json:"download-logs"`
}

type InRequest

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

type InResponse

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

type Metadata

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

type OutParams

type OutParams struct {
	Build      interface{} `json:"build"`
	Branch     string      `json:"branch"`
	Repository string      `json:"repository"`
	SkipWait   bool        `json:"skip-wait"`
}

type OutRequest

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

type OutResponse

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

type Source

type Source struct {
	Repository     string `json:"repository"`
	Branch         string `json:"branch"`
	BranchRegex    string `json:"branch-regex"`
	GithubToken    string `json:"github-token"`
	TravisToken    string `json:"travis-token"`
	CheckAllBuilds bool   `json:"check-all-builds"`
	Pro            bool   `json:"pro"`
	Url            string `json:"travis-url"`
	CheckOnState   string `json:"check-on-state"`
}

type Version

type Version struct {
	BuildNumber string `json:"build"`
}

Jump to

Keyboard shortcuts

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