Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildInfo ¶
type BuildInfo struct { GitVersion *Version `json:"gitVersion"` GitCommit *string `json:"gitCommit"` GitTreeState *string `json:"gitTreeState"` BuiltAt *time.Time `json:"builtAt"` GoVersion string `json:"goVersion"` Compiler string `json:"compiler"` Platform string `json:"platform"` }
BuildInfo represents build information about a component.
type JobConnection ¶
type JobConnection struct {
Edges []JobEdge
}
type JobSpec ¶
type JobSpec struct { Name string `json:"name"` Image string `json:"image"` Command []string `json:"command"` Requires []string `json:"requires"` Volumes []VolumeRequirement `json:"volumes,omitempty"` }
JobSpec is an input so it requires json struct tags to have correct capitalization when used with github.com/shurcooL/graphql
type Version ¶
type Version struct { Major int32 `json:"major"` Minor int32 `json:"minor"` Patch int32 `json:"patch"` PreRelease *string `json:"preRelease"` BuildMetadata *string `json:"buildMetadata"` }
Version represents semantic version information.
type Viewer ¶
type Viewer struct {
Workflows WorkflowConnection
}
type VolumeRequirement ¶
type VolumeSpec ¶
type WorkflowConnection ¶
type WorkflowConnection struct {
Edges []WorkflowEdge
}
type WorkflowEdge ¶
type WorkflowEdge struct {
Node Workflow
}
type WorkflowSpec ¶
type WorkflowSpec struct { Name string `json:"name"` Jobs []JobSpec `json:"jobs"` Volumes []VolumeSpec `json:"volumes"` }
WorkflowSpec is an input so it requires json struct tags to have correct capitalization when used with github.com/shurcooL/graphql
Click to show internal directories.
Click to hide internal directories.