Documentation ¶
Index ¶
- Constants
- type JobStates
- type RecentBuildsForBranchPipeline
- type RecentBuildsForBranchPipelineBuildsBuildConnection
- type RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdge
- type RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild
- func (v *RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetId() string
- func (v *RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetMessage() *string
- func (v *RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetNumber() int
- func (v *RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetUrl() string
- func (v *RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetUuid() string
- type RecentBuildsForBranchResponse
- 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 RecentBuildsForBranch_Operation = `` /* 237-byte string literal not displayed */
The query or mutation executed by RecentBuildsForBranch.
const UnblockJob_Operation = `` /* 156-byte string literal not displayed */
The query or mutation executed by UnblockJob.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 RecentBuildsForBranchPipeline ¶
type RecentBuildsForBranchPipeline struct { // Returns the builds for this pipeline Builds *RecentBuildsForBranchPipelineBuildsBuildConnection `json:"builds"` }
RecentBuildsForBranchPipeline includes the requested fields of the GraphQL type Pipeline. The GraphQL type's documentation follows.
A pipeline
func (*RecentBuildsForBranchPipeline) GetBuilds ¶
func (v *RecentBuildsForBranchPipeline) GetBuilds() *RecentBuildsForBranchPipelineBuildsBuildConnection
GetBuilds returns RecentBuildsForBranchPipeline.Builds, and is useful for accessing the field via an interface.
type RecentBuildsForBranchPipelineBuildsBuildConnection ¶
type RecentBuildsForBranchPipelineBuildsBuildConnection struct {
Edges []*RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdge `json:"edges"`
}
RecentBuildsForBranchPipelineBuildsBuildConnection includes the requested fields of the GraphQL type BuildConnection.
func (*RecentBuildsForBranchPipelineBuildsBuildConnection) GetEdges ¶
func (v *RecentBuildsForBranchPipelineBuildsBuildConnection) GetEdges() []*RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdge
GetEdges returns RecentBuildsForBranchPipelineBuildsBuildConnection.Edges, and is useful for accessing the field via an interface.
type RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdge ¶
type RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdge struct {
Node *RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild `json:"node"`
}
RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdge includes the requested fields of the GraphQL type BuildEdge.
func (*RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdge) GetNode ¶
func (v *RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdge) GetNode() *RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild
GetNode returns RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdge.Node, and is useful for accessing the field via an interface.
type RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild ¶
type RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild struct { Id string `json:"id"` // The message for the build Message *string `json:"message"` // The number of the build Number int `json:"number"` // The URL for the build Url string `json:"url"` // The UUID for the build Uuid string `json:"uuid"` }
RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild includes the requested fields of the GraphQL type Build. The GraphQL type's documentation follows.
A build from a pipeline
func (*RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetId ¶
GetId returns RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild.Id, and is useful for accessing the field via an interface.
func (*RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetMessage ¶
func (v *RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetMessage() *string
GetMessage returns RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild.Message, and is useful for accessing the field via an interface.
func (*RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetNumber ¶
func (v *RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetNumber() int
GetNumber returns RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild.Number, and is useful for accessing the field via an interface.
func (*RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetUrl ¶
func (v *RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetUrl() string
GetUrl returns RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild.Url, and is useful for accessing the field via an interface.
func (*RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetUuid ¶
func (v *RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetUuid() string
GetUuid returns RecentBuildsForBranchPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild.Uuid, and is useful for accessing the field via an interface.
type RecentBuildsForBranchResponse ¶
type RecentBuildsForBranchResponse struct { // Find a pipeline Pipeline *RecentBuildsForBranchPipeline `json:"pipeline"` }
RecentBuildsForBranchResponse is returned by RecentBuildsForBranch on success.
func RecentBuildsForBranch ¶
func (*RecentBuildsForBranchResponse) GetPipeline ¶
func (v *RecentBuildsForBranchResponse) GetPipeline() *RecentBuildsForBranchPipeline
GetPipeline returns RecentBuildsForBranchResponse.Pipeline, 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.