Documentation ¶
Index ¶
- Constants
- type GetArtifactsArtifact
- type GetArtifactsResponse
- type GetClusterQueueAgentOrganization
- type GetClusterQueueAgentOrganizationAgentsAgentConnection
- type GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdge
- type GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent
- func (v *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetClusterQueue() ...
- func (v *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetHostname() *string
- func (v *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetId() string
- func (v *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetName() string
- func (v *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetVersion() *string
- type GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgentClusterQueue
- type GetClusterQueueAgentResponse
- type GetClusterQueuesOrganization
- type GetClusterQueuesOrganizationCluster
- type GetClusterQueuesOrganizationClusterQueuesClusterQueueConnection
- type GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdge
- type GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue
- func (v *GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetDescription() *string
- func (v *GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetId() string
- func (v *GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetKey() string
- func (v *GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetUuid() string
- type GetClusterQueuesResponse
- type GetOrganizationIDOrganization
- type GetOrganizationIDResponse
- type GetPipelinePipeline
- func (v *GetPipelinePipeline) GetColor() *string
- func (v *GetPipelinePipeline) GetDescription() *string
- func (v *GetPipelinePipeline) GetEmoji() *string
- func (v *GetPipelinePipeline) GetFavorite() bool
- func (v *GetPipelinePipeline) GetMetrics() *GetPipelinePipelineMetricsPipelineMetricConnection
- func (v *GetPipelinePipeline) GetName() string
- func (v *GetPipelinePipeline) GetSteps() *GetPipelinePipelineSteps
- func (v *GetPipelinePipeline) GetTags() []GetPipelinePipelineTagsPipelineTag
- type GetPipelinePipelineMetricsPipelineMetricConnection
- type GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdge
- type GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdgeNodePipelineMetric
- type GetPipelinePipelineSteps
- type GetPipelinePipelineTagsPipelineTag
- type GetPipelineResponse
- type InviteUserOrganizationInvitationCreateOrganizationInvitationCreatePayload
- type InviteUserResponse
- type JobStates
- type RetryJobJobTypeCommandRetryJobTypeCommandRetryPayload
- type RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand
- type RetryJobResponse
- type UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayload
- type UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock
- func (v *UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock) GetBuild() *UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlockBuild
- func (v *UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock) GetId() string
- func (v *UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock) GetIsUnblockable() *bool
- func (v *UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock) GetState() JobStates
- type UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlockBuild
- type UnblockJobResponse
Constants ¶
const GetArtifacts_Operation = `
query GetArtifacts ($artifactId: ID!) {
artifact(uuid: $artifactId) {
uuid
path
downloadURL
}
}
`
The query or mutation executed by GetArtifacts.
const GetClusterQueueAgent_Operation = `` /* 275-byte string literal not displayed */
The query or mutation executed by GetClusterQueueAgent.
const GetClusterQueues_Operation = `` /* 264-byte string literal not displayed */
The query or mutation executed by GetClusterQueues.
const GetOrganizationID_Operation = `
query GetOrganizationID ($slug: ID!) {
organization(slug: $slug) {
id
}
}
`
The query or mutation executed by GetOrganizationID.
const GetPipeline_Operation = `` /* 227-byte string literal not displayed */
The query or mutation executed by GetPipeline.
const InviteUser_Operation = `` /* 175-byte string literal not displayed */
The query or mutation executed by InviteUser.
const RetryJob_Operation = `
mutation RetryJob ($id: ID!) {
jobTypeCommandRetry(input: {id:$id}) {
jobTypeCommand {
id
state
url
}
}
}
`
The query or mutation executed by RetryJob.
const UnblockJob_Operation = `` /* 186-byte string literal not displayed */
The query or mutation executed by UnblockJob.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetArtifactsArtifact ¶ added in v3.5.0
type GetArtifactsArtifact struct { // The public UUID for this artifact Uuid string `json:"uuid"` // The path of the uploaded artifact Path string `json:"path"` // The download URL for the artifact. Unless you've used your own artifact storage, the URL will be valid for only 10 minutes. DownloadURL string `json:"downloadURL"` }
GetArtifactsArtifact includes the requested fields of the GraphQL type Artifact. The GraphQL type's documentation follows.
A file uploaded from the agent whilst running a job
func (*GetArtifactsArtifact) GetDownloadURL ¶ added in v3.5.0
func (v *GetArtifactsArtifact) GetDownloadURL() string
GetDownloadURL returns GetArtifactsArtifact.DownloadURL, and is useful for accessing the field via an interface.
func (*GetArtifactsArtifact) GetPath ¶ added in v3.5.0
func (v *GetArtifactsArtifact) GetPath() string
GetPath returns GetArtifactsArtifact.Path, and is useful for accessing the field via an interface.
func (*GetArtifactsArtifact) GetUuid ¶ added in v3.5.0
func (v *GetArtifactsArtifact) GetUuid() string
GetUuid returns GetArtifactsArtifact.Uuid, and is useful for accessing the field via an interface.
type GetArtifactsResponse ¶ added in v3.5.0
type GetArtifactsResponse struct { // Find an artifact by its UUID Artifact *GetArtifactsArtifact `json:"artifact"` }
GetArtifactsResponse is returned by GetArtifacts on success.
func GetArtifacts ¶ added in v3.5.0
func (*GetArtifactsResponse) GetArtifact ¶ added in v3.5.0
func (v *GetArtifactsResponse) GetArtifact() *GetArtifactsArtifact
GetArtifact returns GetArtifactsResponse.Artifact, and is useful for accessing the field via an interface.
type GetClusterQueueAgentOrganization ¶
type GetClusterQueueAgentOrganization struct {
Agents *GetClusterQueueAgentOrganizationAgentsAgentConnection `json:"agents"`
}
GetClusterQueueAgentOrganization includes the requested fields of the GraphQL type Organization. The GraphQL type's documentation follows.
An organization
func (*GetClusterQueueAgentOrganization) GetAgents ¶
func (v *GetClusterQueueAgentOrganization) GetAgents() *GetClusterQueueAgentOrganizationAgentsAgentConnection
GetAgents returns GetClusterQueueAgentOrganization.Agents, and is useful for accessing the field via an interface.
type GetClusterQueueAgentOrganizationAgentsAgentConnection ¶
type GetClusterQueueAgentOrganizationAgentsAgentConnection struct {
Edges []*GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdge `json:"edges"`
}
GetClusterQueueAgentOrganizationAgentsAgentConnection includes the requested fields of the GraphQL type AgentConnection.
func (*GetClusterQueueAgentOrganizationAgentsAgentConnection) GetEdges ¶
func (v *GetClusterQueueAgentOrganizationAgentsAgentConnection) GetEdges() []*GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdge
GetEdges returns GetClusterQueueAgentOrganizationAgentsAgentConnection.Edges, and is useful for accessing the field via an interface.
type GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdge ¶
type GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdge struct {
Node *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent `json:"node"`
}
GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdge includes the requested fields of the GraphQL type AgentEdge.
func (*GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdge) GetNode ¶
func (v *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdge) GetNode() *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent
GetNode returns GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdge.Node, and is useful for accessing the field via an interface.
type GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent ¶
type GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent struct { // The name of the agent Name string `json:"name"` // The hostname of the machine running the agent Hostname *string `json:"hostname"` // The version of the agent Version *string `json:"version"` Id string `json:"id"` ClusterQueue *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgentClusterQueue `json:"clusterQueue"` }
GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent includes the requested fields of the GraphQL type Agent. The GraphQL type's documentation follows.
An agent
func (*GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetClusterQueue ¶
func (v *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetClusterQueue() *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgentClusterQueue
GetClusterQueue returns GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent.ClusterQueue, and is useful for accessing the field via an interface.
func (*GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetHostname ¶
func (v *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetHostname() *string
GetHostname returns GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent.Hostname, and is useful for accessing the field via an interface.
func (*GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetId ¶
func (v *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetId() string
GetId returns GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent.Id, and is useful for accessing the field via an interface.
func (*GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetName ¶
func (v *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetName() string
GetName returns GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent.Name, and is useful for accessing the field via an interface.
func (*GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetVersion ¶
func (v *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetVersion() *string
GetVersion returns GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent.Version, and is useful for accessing the field via an interface.
type GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgentClusterQueue ¶
type GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgentClusterQueue struct { Id string `json:"id"` // The public UUID for this cluster queue Uuid string `json:"uuid"` }
GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgentClusterQueue includes the requested fields of the GraphQL type ClusterQueue.
func (*GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgentClusterQueue) GetId ¶
func (v *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgentClusterQueue) GetId() string
GetId returns GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgentClusterQueue.Id, and is useful for accessing the field via an interface.
func (*GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgentClusterQueue) GetUuid ¶
func (v *GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgentClusterQueue) GetUuid() string
GetUuid returns GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgentClusterQueue.Uuid, and is useful for accessing the field via an interface.
type GetClusterQueueAgentResponse ¶
type GetClusterQueueAgentResponse struct { // Find an organization Organization *GetClusterQueueAgentOrganization `json:"organization"` }
GetClusterQueueAgentResponse is returned by GetClusterQueueAgent on success.
func GetClusterQueueAgent ¶
func (*GetClusterQueueAgentResponse) GetOrganization ¶
func (v *GetClusterQueueAgentResponse) GetOrganization() *GetClusterQueueAgentOrganization
GetOrganization returns GetClusterQueueAgentResponse.Organization, and is useful for accessing the field via an interface.
type GetClusterQueuesOrganization ¶
type GetClusterQueuesOrganization struct { // Return cluster in the Organization by UUID Cluster *GetClusterQueuesOrganizationCluster `json:"cluster"` }
GetClusterQueuesOrganization includes the requested fields of the GraphQL type Organization. The GraphQL type's documentation follows.
An organization
func (*GetClusterQueuesOrganization) GetCluster ¶
func (v *GetClusterQueuesOrganization) GetCluster() *GetClusterQueuesOrganizationCluster
GetCluster returns GetClusterQueuesOrganization.Cluster, and is useful for accessing the field via an interface.
type GetClusterQueuesOrganizationCluster ¶
type GetClusterQueuesOrganizationCluster struct { // Name of the cluster Name string `json:"name"` // Description of the cluster Description *string `json:"description"` Queues *GetClusterQueuesOrganizationClusterQueuesClusterQueueConnection `json:"queues"` }
GetClusterQueuesOrganizationCluster includes the requested fields of the GraphQL type Cluster.
func (*GetClusterQueuesOrganizationCluster) GetDescription ¶
func (v *GetClusterQueuesOrganizationCluster) GetDescription() *string
GetDescription returns GetClusterQueuesOrganizationCluster.Description, and is useful for accessing the field via an interface.
func (*GetClusterQueuesOrganizationCluster) GetName ¶
func (v *GetClusterQueuesOrganizationCluster) GetName() string
GetName returns GetClusterQueuesOrganizationCluster.Name, and is useful for accessing the field via an interface.
func (*GetClusterQueuesOrganizationCluster) GetQueues ¶
func (v *GetClusterQueuesOrganizationCluster) GetQueues() *GetClusterQueuesOrganizationClusterQueuesClusterQueueConnection
GetQueues returns GetClusterQueuesOrganizationCluster.Queues, and is useful for accessing the field via an interface.
type GetClusterQueuesOrganizationClusterQueuesClusterQueueConnection ¶
type GetClusterQueuesOrganizationClusterQueuesClusterQueueConnection struct {
Edges []*GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdge `json:"edges"`
}
GetClusterQueuesOrganizationClusterQueuesClusterQueueConnection includes the requested fields of the GraphQL type ClusterQueueConnection.
func (*GetClusterQueuesOrganizationClusterQueuesClusterQueueConnection) GetEdges ¶
func (v *GetClusterQueuesOrganizationClusterQueuesClusterQueueConnection) GetEdges() []*GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdge
GetEdges returns GetClusterQueuesOrganizationClusterQueuesClusterQueueConnection.Edges, and is useful for accessing the field via an interface.
type GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdge ¶
type GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdge struct {
Node *GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue `json:"node"`
}
GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdge includes the requested fields of the GraphQL type ClusterQueueEdge.
func (*GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdge) GetNode ¶
func (v *GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdge) GetNode() *GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue
GetNode returns GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdge.Node, and is useful for accessing the field via an interface.
type GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue ¶
type GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue struct { Id string `json:"id"` // The public UUID for this cluster queue Uuid string `json:"uuid"` Key string `json:"key"` Description *string `json:"description"` }
GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue includes the requested fields of the GraphQL type ClusterQueue.
func (*GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetDescription ¶
func (v *GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetDescription() *string
GetDescription returns GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue.Description, and is useful for accessing the field via an interface.
func (*GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetId ¶
func (v *GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetId() string
GetId returns GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue.Id, and is useful for accessing the field via an interface.
func (*GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetKey ¶
func (v *GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetKey() string
GetKey returns GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue.Key, and is useful for accessing the field via an interface.
func (*GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetUuid ¶
func (v *GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetUuid() string
GetUuid returns GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue.Uuid, and is useful for accessing the field via an interface.
type GetClusterQueuesResponse ¶
type GetClusterQueuesResponse struct { // Find an organization Organization *GetClusterQueuesOrganization `json:"organization"` }
GetClusterQueuesResponse is returned by GetClusterQueues on success.
func GetClusterQueues ¶
func (*GetClusterQueuesResponse) GetOrganization ¶
func (v *GetClusterQueuesResponse) GetOrganization() *GetClusterQueuesOrganization
GetOrganization returns GetClusterQueuesResponse.Organization, and is useful for accessing the field via an interface.
type GetOrganizationIDOrganization ¶ added in v3.2.0
type GetOrganizationIDOrganization struct {
Id string `json:"id"`
}
GetOrganizationIDOrganization includes the requested fields of the GraphQL type Organization. The GraphQL type's documentation follows.
An organization
func (*GetOrganizationIDOrganization) GetId ¶ added in v3.2.0
func (v *GetOrganizationIDOrganization) GetId() string
GetId returns GetOrganizationIDOrganization.Id, and is useful for accessing the field via an interface.
type GetOrganizationIDResponse ¶ added in v3.2.0
type GetOrganizationIDResponse struct { // Find an organization Organization *GetOrganizationIDOrganization `json:"organization"` }
GetOrganizationIDResponse is returned by GetOrganizationID on success.
func GetOrganizationID ¶ added in v3.2.0
func (*GetOrganizationIDResponse) GetOrganization ¶ added in v3.2.0
func (v *GetOrganizationIDResponse) GetOrganization() *GetOrganizationIDOrganization
GetOrganization returns GetOrganizationIDResponse.Organization, and is useful for accessing the field via an interface.
type GetPipelinePipeline ¶
type GetPipelinePipeline struct { // The name of the pipeline Name string `json:"name"` // The short description of the pipeline Description *string `json:"description"` // The emoji of the pipeline Emoji *string `json:"emoji"` // The color of the pipeline Color *string `json:"color"` // Returns true if the viewer has favorited this pipeline Favorite bool `json:"favorite"` Steps *GetPipelinePipelineSteps `json:"steps"` Metrics *GetPipelinePipelineMetricsPipelineMetricConnection `json:"metrics"` // Tags that have been given to this pipeline Tags []GetPipelinePipelineTagsPipelineTag `json:"tags"` }
GetPipelinePipeline includes the requested fields of the GraphQL type Pipeline. The GraphQL type's documentation follows.
A pipeline
func (*GetPipelinePipeline) GetColor ¶
func (v *GetPipelinePipeline) GetColor() *string
GetColor returns GetPipelinePipeline.Color, and is useful for accessing the field via an interface.
func (*GetPipelinePipeline) GetDescription ¶
func (v *GetPipelinePipeline) GetDescription() *string
GetDescription returns GetPipelinePipeline.Description, and is useful for accessing the field via an interface.
func (*GetPipelinePipeline) GetEmoji ¶
func (v *GetPipelinePipeline) GetEmoji() *string
GetEmoji returns GetPipelinePipeline.Emoji, and is useful for accessing the field via an interface.
func (*GetPipelinePipeline) GetFavorite ¶
func (v *GetPipelinePipeline) GetFavorite() bool
GetFavorite returns GetPipelinePipeline.Favorite, and is useful for accessing the field via an interface.
func (*GetPipelinePipeline) GetMetrics ¶
func (v *GetPipelinePipeline) GetMetrics() *GetPipelinePipelineMetricsPipelineMetricConnection
GetMetrics returns GetPipelinePipeline.Metrics, and is useful for accessing the field via an interface.
func (*GetPipelinePipeline) GetName ¶
func (v *GetPipelinePipeline) GetName() string
GetName returns GetPipelinePipeline.Name, and is useful for accessing the field via an interface.
func (*GetPipelinePipeline) GetSteps ¶
func (v *GetPipelinePipeline) GetSteps() *GetPipelinePipelineSteps
GetSteps returns GetPipelinePipeline.Steps, and is useful for accessing the field via an interface.
func (*GetPipelinePipeline) GetTags ¶
func (v *GetPipelinePipeline) GetTags() []GetPipelinePipelineTagsPipelineTag
GetTags returns GetPipelinePipeline.Tags, and is useful for accessing the field via an interface.
type GetPipelinePipelineMetricsPipelineMetricConnection ¶
type GetPipelinePipelineMetricsPipelineMetricConnection struct {
Edges []*GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdge `json:"edges"`
}
GetPipelinePipelineMetricsPipelineMetricConnection includes the requested fields of the GraphQL type PipelineMetricConnection.
func (*GetPipelinePipelineMetricsPipelineMetricConnection) GetEdges ¶
func (v *GetPipelinePipelineMetricsPipelineMetricConnection) GetEdges() []*GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdge
GetEdges returns GetPipelinePipelineMetricsPipelineMetricConnection.Edges, and is useful for accessing the field via an interface.
type GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdge ¶
type GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdge struct {
Node *GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdgeNodePipelineMetric `json:"node"`
}
GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdge includes the requested fields of the GraphQL type PipelineMetricEdge.
func (*GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdge) GetNode ¶
func (v *GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdge) GetNode() *GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdgeNodePipelineMetric
GetNode returns GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdge.Node, and is useful for accessing the field via an interface.
type GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdgeNodePipelineMetric ¶
type GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdgeNodePipelineMetric struct { // The label of this metric Label string `json:"label"` // The value for this metric Value *string `json:"value"` }
GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdgeNodePipelineMetric includes the requested fields of the GraphQL type PipelineMetric. The GraphQL type's documentation follows.
A metric for a pipeline
func (*GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdgeNodePipelineMetric) GetLabel ¶
func (v *GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdgeNodePipelineMetric) GetLabel() string
GetLabel returns GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdgeNodePipelineMetric.Label, and is useful for accessing the field via an interface.
func (*GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdgeNodePipelineMetric) GetValue ¶
func (v *GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdgeNodePipelineMetric) GetValue() *string
GetValue returns GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdgeNodePipelineMetric.Value, and is useful for accessing the field via an interface.
type GetPipelinePipelineSteps ¶
type GetPipelinePipelineSteps struct { // A YAML representation of the pipeline steps Yaml *string `json:"yaml"` }
GetPipelinePipelineSteps includes the requested fields of the GraphQL type PipelineSteps. The GraphQL type's documentation follows.
Steps defined on a pipeline
func (*GetPipelinePipelineSteps) GetYaml ¶
func (v *GetPipelinePipelineSteps) GetYaml() *string
GetYaml returns GetPipelinePipelineSteps.Yaml, and is useful for accessing the field via an interface.
type GetPipelinePipelineTagsPipelineTag ¶
type GetPipelinePipelineTagsPipelineTag struct { // The label for this tag Label string `json:"label"` }
GetPipelinePipelineTagsPipelineTag includes the requested fields of the GraphQL type PipelineTag. The GraphQL type's documentation follows.
A tag associated with a pipeline
func (*GetPipelinePipelineTagsPipelineTag) GetLabel ¶
func (v *GetPipelinePipelineTagsPipelineTag) GetLabel() string
GetLabel returns GetPipelinePipelineTagsPipelineTag.Label, and is useful for accessing the field via an interface.
type GetPipelineResponse ¶
type GetPipelineResponse struct { // Find a pipeline Pipeline *GetPipelinePipeline `json:"pipeline"` }
GetPipelineResponse is returned by GetPipeline on success.
func GetPipeline ¶
func (*GetPipelineResponse) GetPipeline ¶
func (v *GetPipelineResponse) GetPipeline() *GetPipelinePipeline
GetPipeline returns GetPipelineResponse.Pipeline, and is useful for accessing the field via an interface.
type InviteUserOrganizationInvitationCreateOrganizationInvitationCreatePayload ¶ added in v3.2.0
type InviteUserOrganizationInvitationCreateOrganizationInvitationCreatePayload struct { // A unique identifier for the client performing the mutation. ClientMutationId *string `json:"clientMutationId"` }
InviteUserOrganizationInvitationCreateOrganizationInvitationCreatePayload includes the requested fields of the GraphQL type OrganizationInvitationCreatePayload. The GraphQL type's documentation follows.
Autogenerated return type of OrganizationInvitationCreate.
func (*InviteUserOrganizationInvitationCreateOrganizationInvitationCreatePayload) GetClientMutationId ¶ added in v3.2.0
func (v *InviteUserOrganizationInvitationCreateOrganizationInvitationCreatePayload) GetClientMutationId() *string
GetClientMutationId returns InviteUserOrganizationInvitationCreateOrganizationInvitationCreatePayload.ClientMutationId, and is useful for accessing the field via an interface.
type InviteUserResponse ¶ added in v3.2.0
type InviteUserResponse struct { // Send email invitations to this organization. OrganizationInvitationCreate *InviteUserOrganizationInvitationCreateOrganizationInvitationCreatePayload `json:"organizationInvitationCreate"` }
InviteUserResponse is returned by InviteUser on success.
func InviteUser ¶ added in v3.2.0
func (*InviteUserResponse) GetOrganizationInvitationCreate ¶ added in v3.2.0
func (v *InviteUserResponse) GetOrganizationInvitationCreate() *InviteUserOrganizationInvitationCreateOrganizationInvitationCreatePayload
GetOrganizationInvitationCreate returns InviteUserResponse.OrganizationInvitationCreate, and is useful for accessing the field via an interface.
type JobStates ¶
type JobStates string
All the possible states a job can be in
const ( // The job has just been created and doesn't have a state yet JobStatesPending JobStates = "PENDING" // The job is waiting on a `wait` step to finish JobStatesWaiting JobStates = "WAITING" // The job was in a `WAITING` state when the build failed JobStatesWaitingFailed JobStates = "WAITING_FAILED" // The job is waiting on a `block` step to finish JobStatesBlocked JobStates = "BLOCKED" // The job was in a `BLOCKED` state when the build failed JobStatesBlockedFailed JobStates = "BLOCKED_FAILED" // This `block` job has been manually unblocked JobStatesUnblocked JobStates = "UNBLOCKED" // This `block` job was in an `UNBLOCKED` state when the build failed JobStatesUnblockedFailed JobStates = "UNBLOCKED_FAILED" // The job is waiting on a concurrency group check before becoming either `LIMITED` or `SCHEDULED` JobStatesLimiting JobStates = "LIMITING" // The job is waiting for jobs with the same concurrency group to finish JobStatesLimited JobStates = "LIMITED" // The job is scheduled and waiting for an agent JobStatesScheduled JobStates = "SCHEDULED" // The job has been assigned to an agent, and it's waiting for it to accept JobStatesAssigned JobStates = "ASSIGNED" // The job was accepted by the agent, and now it's waiting to start running JobStatesAccepted JobStates = "ACCEPTED" // The job is running JobStatesRunning JobStates = "RUNNING" // The job has finished JobStatesFinished JobStates = "FINISHED" // The job is currently canceling JobStatesCanceling JobStates = "CANCELING" // The job was canceled JobStatesCanceled JobStates = "CANCELED" // The job is timing out for taking too long JobStatesTimingOut JobStates = "TIMING_OUT" // The job timed out JobStatesTimedOut JobStates = "TIMED_OUT" // The job was skipped JobStatesSkipped JobStates = "SKIPPED" // The jobs configuration means that it can't be run JobStatesBroken JobStates = "BROKEN" // The job expired before it was started on an agent JobStatesExpired JobStates = "EXPIRED" )
type RetryJobJobTypeCommandRetryJobTypeCommandRetryPayload ¶ added in v3.4.0
type RetryJobJobTypeCommandRetryJobTypeCommandRetryPayload struct {
JobTypeCommand RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand `json:"jobTypeCommand"`
}
RetryJobJobTypeCommandRetryJobTypeCommandRetryPayload includes the requested fields of the GraphQL type JobTypeCommandRetryPayload. The GraphQL type's documentation follows.
Autogenerated return type of JobTypeCommandRetry.
func (*RetryJobJobTypeCommandRetryJobTypeCommandRetryPayload) GetJobTypeCommand ¶ added in v3.4.0
func (v *RetryJobJobTypeCommandRetryJobTypeCommandRetryPayload) GetJobTypeCommand() RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand
GetJobTypeCommand returns RetryJobJobTypeCommandRetryJobTypeCommandRetryPayload.JobTypeCommand, and is useful for accessing the field via an interface.
type RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand ¶ added in v3.4.0
type RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand struct { Id string `json:"id"` // The state of the job State JobStates `json:"state"` // The URL for the job Url string `json:"url"` }
RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand includes the requested fields of the GraphQL type JobTypeCommand. The GraphQL type's documentation follows.
A type of job that runs a command on an agent
func (*RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand) GetId ¶ added in v3.4.0
func (v *RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand) GetId() string
GetId returns RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand.Id, and is useful for accessing the field via an interface.
func (*RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand) GetState ¶ added in v3.4.0
func (v *RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand) GetState() JobStates
GetState returns RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand.State, and is useful for accessing the field via an interface.
func (*RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand) GetUrl ¶ added in v3.4.0
func (v *RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand) GetUrl() string
GetUrl returns RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand.Url, and is useful for accessing the field via an interface.
type RetryJobResponse ¶ added in v3.4.0
type RetryJobResponse struct { // Retry a job. JobTypeCommandRetry *RetryJobJobTypeCommandRetryJobTypeCommandRetryPayload `json:"jobTypeCommandRetry"` }
RetryJobResponse is returned by RetryJob on success.
func (*RetryJobResponse) GetJobTypeCommandRetry ¶ added in v3.4.0
func (v *RetryJobResponse) GetJobTypeCommandRetry() *RetryJobJobTypeCommandRetryJobTypeCommandRetryPayload
GetJobTypeCommandRetry returns RetryJobResponse.JobTypeCommandRetry, and is useful for accessing the field via an interface.
type UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayload ¶
type UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayload struct {
JobTypeBlock UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock `json:"jobTypeBlock"`
}
UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayload includes the requested fields of the GraphQL type JobTypeBlockUnblockPayload. The GraphQL type's documentation follows.
Autogenerated return type of JobTypeBlockUnblock.
func (*UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayload) GetJobTypeBlock ¶
func (v *UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayload) GetJobTypeBlock() UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock
GetJobTypeBlock returns UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayload.JobTypeBlock, and is useful for accessing the field via an interface.
type UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock ¶
type UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock struct { Id string `json:"id"` // The state of the job State JobStates `json:"state"` // Whether or not this job can be unblocked yet (may be waiting on another job to finish) IsUnblockable *bool `json:"isUnblockable"` // The build that this job is a part of Build *UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlockBuild `json:"build"` }
UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock includes the requested fields of the GraphQL type JobTypeBlock. The GraphQL type's documentation follows.
A type of job that requires a user to unblock it before proceeding in a build pipeline
func (*UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock) GetBuild ¶
func (v *UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock) GetBuild() *UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlockBuild
GetBuild returns UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock.Build, and is useful for accessing the field via an interface.
func (*UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock) GetId ¶
func (v *UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock) GetId() string
GetId returns UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock.Id, and is useful for accessing the field via an interface.
func (*UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock) GetIsUnblockable ¶
func (v *UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock) GetIsUnblockable() *bool
GetIsUnblockable returns UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock.IsUnblockable, and is useful for accessing the field via an interface.
func (*UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock) GetState ¶
func (v *UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock) GetState() JobStates
GetState returns UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock.State, and is useful for accessing the field via an interface.
type UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlockBuild ¶
type UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlockBuild struct { // The URL for the build Url string `json:"url"` }
UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlockBuild includes the requested fields of the GraphQL type Build. The GraphQL type's documentation follows.
A build from a pipeline
func (*UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlockBuild) GetUrl ¶
func (v *UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlockBuild) GetUrl() string
GetUrl returns UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlockBuild.Url, and is useful for accessing the field via an interface.
type UnblockJobResponse ¶
type UnblockJobResponse struct { // Unblocks a build's "Block pipeline" job. JobTypeBlockUnblock *UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayload `json:"jobTypeBlockUnblock"` }
UnblockJobResponse is returned by UnblockJob on success.
func UnblockJob ¶
func (*UnblockJobResponse) GetJobTypeBlockUnblock ¶
func (v *UnblockJobResponse) GetJobTypeBlockUnblock() *UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayload
GetJobTypeBlockUnblock returns UnblockJobResponse.JobTypeBlockUnblock, and is useful for accessing the field via an interface.