graphql

package
v3.19.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const CancelJob_Operation = `` /* 157-byte string literal not displayed */

The mutation executed by CancelJob.

View Source
const FindClusters_Operation = `` /* 229-byte string literal not displayed */

The query executed by FindClusters.

View Source
const FindQueuesForCluster_Operation = `` /* 298-byte string literal not displayed */

The query executed by FindQueuesForCluster.

View Source
const FindUserByEmail_Operation = `` /* 208-byte string literal not displayed */

The query executed by FindUserByEmail.

View Source
const GetArtifacts_Operation = `` /* 180-byte string literal not displayed */

The query executed by GetArtifacts.

View Source
const GetClusterQueueAgent_Operation = `` /* 275-byte string literal not displayed */

The query executed by GetClusterQueueAgent.

View Source
const GetClusterQueues_Operation = `` /* 264-byte string literal not displayed */

The query executed by GetClusterQueues.

View Source
const GetOrganizationID_Operation = `
query GetOrganizationID ($slug: ID!) {
	organization(slug: $slug) {
		id
	}
}
`

The query executed by GetOrganizationID.

View Source
const GetPipeline_Operation = `` /* 227-byte string literal not displayed */

The query executed by GetPipeline.

View Source
const InviteUser_Operation = `` /* 175-byte string literal not displayed */

The mutation executed by InviteUser.

View Source
const ListJobsByAgentQueryRules_Operation = `` /* 548-byte string literal not displayed */

The query executed by ListJobsByAgentQueryRules.

View Source
const ListJobsByQueue_Operation = `` /* 621-byte string literal not displayed */

The query executed by ListJobsByQueue.

View Source
const ListJobsByState_Operation = `` /* 619-byte string literal not displayed */

The query executed by ListJobsByState.

View Source
const RetryJob_Operation = `
mutation RetryJob ($id: ID!) {
	jobTypeCommandRetry(input: {id:$id}) {
		jobTypeCommand {
			id
			state
			url
		}
	}
}
`

The mutation executed by RetryJob.

View Source
const UnblockJob_Operation = `` /* 186-byte string literal not displayed */

The mutation executed by UnblockJob.

Variables

Functions

This section is empty.

Types

type CancelJobJobTypeCommandCancelJobTypeCommandCancelPayload added in v3.12.0

type CancelJobJobTypeCommandCancelJobTypeCommandCancelPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationId *string                                                                `json:"clientMutationId"`
	JobTypeCommand   CancelJobJobTypeCommandCancelJobTypeCommandCancelPayloadJobTypeCommand `json:"jobTypeCommand"`
}

CancelJobJobTypeCommandCancelJobTypeCommandCancelPayload includes the requested fields of the GraphQL type JobTypeCommandCancelPayload. The GraphQL type's documentation follows.

Autogenerated return type of JobTypeCommandCancel.

func (*CancelJobJobTypeCommandCancelJobTypeCommandCancelPayload) GetClientMutationId added in v3.12.0

GetClientMutationId returns CancelJobJobTypeCommandCancelJobTypeCommandCancelPayload.ClientMutationId, and is useful for accessing the field via an interface.

func (*CancelJobJobTypeCommandCancelJobTypeCommandCancelPayload) GetJobTypeCommand added in v3.12.0

GetJobTypeCommand returns CancelJobJobTypeCommandCancelJobTypeCommandCancelPayload.JobTypeCommand, and is useful for accessing the field via an interface.

type CancelJobJobTypeCommandCancelJobTypeCommandCancelPayloadJobTypeCommand added in v3.12.0

type CancelJobJobTypeCommandCancelJobTypeCommandCancelPayloadJobTypeCommand struct {
	Id string `json:"id"`
	// The UUID for this job
	Uuid string `json:"uuid"`
	// The state of the job
	State JobStates `json:"state"`
	// The URL for the job
	Url string `json:"url"`
}

CancelJobJobTypeCommandCancelJobTypeCommandCancelPayloadJobTypeCommand 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 (*CancelJobJobTypeCommandCancelJobTypeCommandCancelPayloadJobTypeCommand) GetId added in v3.12.0

GetId returns CancelJobJobTypeCommandCancelJobTypeCommandCancelPayloadJobTypeCommand.Id, and is useful for accessing the field via an interface.

func (*CancelJobJobTypeCommandCancelJobTypeCommandCancelPayloadJobTypeCommand) GetState added in v3.12.0

GetState returns CancelJobJobTypeCommandCancelJobTypeCommandCancelPayloadJobTypeCommand.State, and is useful for accessing the field via an interface.

func (*CancelJobJobTypeCommandCancelJobTypeCommandCancelPayloadJobTypeCommand) GetUrl added in v3.12.0

GetUrl returns CancelJobJobTypeCommandCancelJobTypeCommandCancelPayloadJobTypeCommand.Url, and is useful for accessing the field via an interface.

func (*CancelJobJobTypeCommandCancelJobTypeCommandCancelPayloadJobTypeCommand) GetUuid added in v3.12.0

GetUuid returns CancelJobJobTypeCommandCancelJobTypeCommandCancelPayloadJobTypeCommand.Uuid, and is useful for accessing the field via an interface.

type CancelJobResponse added in v3.12.0

type CancelJobResponse struct {
	// Cancel a job.
	JobTypeCommandCancel *CancelJobJobTypeCommandCancelJobTypeCommandCancelPayload `json:"jobTypeCommandCancel"`
}

CancelJobResponse is returned by CancelJob on success.

func CancelJob added in v3.12.0

func CancelJob(
	ctx_ context.Context,
	client_ graphql.Client,
	jobId string,
) (data_ *CancelJobResponse, err_ error)

func (*CancelJobResponse) GetJobTypeCommandCancel added in v3.12.0

GetJobTypeCommandCancel returns CancelJobResponse.JobTypeCommandCancel, and is useful for accessing the field via an interface.

type FindClustersOrganization added in v3.12.0

type FindClustersOrganization struct {
	// Returns clusters for an Organization
	Clusters *FindClustersOrganizationClustersClusterConnection `json:"clusters"`
}

FindClustersOrganization includes the requested fields of the GraphQL type Organization. The GraphQL type's documentation follows.

An organization

func (*FindClustersOrganization) GetClusters added in v3.12.0

GetClusters returns FindClustersOrganization.Clusters, and is useful for accessing the field via an interface.

type FindClustersOrganizationClustersClusterConnection added in v3.12.0

type FindClustersOrganizationClustersClusterConnection struct {
	Edges    []*FindClustersOrganizationClustersClusterConnectionEdgesClusterEdge `json:"edges"`
	PageInfo *FindClustersOrganizationClustersClusterConnectionPageInfo           `json:"pageInfo"`
}

FindClustersOrganizationClustersClusterConnection includes the requested fields of the GraphQL type ClusterConnection.

func (*FindClustersOrganizationClustersClusterConnection) GetEdges added in v3.12.0

GetEdges returns FindClustersOrganizationClustersClusterConnection.Edges, and is useful for accessing the field via an interface.

func (*FindClustersOrganizationClustersClusterConnection) GetPageInfo added in v3.12.0

GetPageInfo returns FindClustersOrganizationClustersClusterConnection.PageInfo, and is useful for accessing the field via an interface.

type FindClustersOrganizationClustersClusterConnectionEdgesClusterEdge added in v3.12.0

type FindClustersOrganizationClustersClusterConnectionEdgesClusterEdge struct {
	Node *FindClustersOrganizationClustersClusterConnectionEdgesClusterEdgeNodeCluster `json:"node"`
}

FindClustersOrganizationClustersClusterConnectionEdgesClusterEdge includes the requested fields of the GraphQL type ClusterEdge.

func (*FindClustersOrganizationClustersClusterConnectionEdgesClusterEdge) GetNode added in v3.12.0

GetNode returns FindClustersOrganizationClustersClusterConnectionEdgesClusterEdge.Node, and is useful for accessing the field via an interface.

type FindClustersOrganizationClustersClusterConnectionEdgesClusterEdgeNodeCluster added in v3.12.0

type FindClustersOrganizationClustersClusterConnectionEdgesClusterEdgeNodeCluster struct {
	Id string `json:"id"`
	// Name of the cluster
	Name string `json:"name"`
}

FindClustersOrganizationClustersClusterConnectionEdgesClusterEdgeNodeCluster includes the requested fields of the GraphQL type Cluster.

func (*FindClustersOrganizationClustersClusterConnectionEdgesClusterEdgeNodeCluster) GetId added in v3.12.0

GetId returns FindClustersOrganizationClustersClusterConnectionEdgesClusterEdgeNodeCluster.Id, and is useful for accessing the field via an interface.

func (*FindClustersOrganizationClustersClusterConnectionEdgesClusterEdgeNodeCluster) GetName added in v3.12.0

GetName returns FindClustersOrganizationClustersClusterConnectionEdgesClusterEdgeNodeCluster.Name, and is useful for accessing the field via an interface.

type FindClustersOrganizationClustersClusterConnectionPageInfo added in v3.12.0

type FindClustersOrganizationClustersClusterConnectionPageInfo struct {
	// When paginating forwards, are there more items?
	HasNextPage bool `json:"hasNextPage"`
	// When paginating forwards, the cursor to continue.
	EndCursor *string `json:"endCursor"`
}

FindClustersOrganizationClustersClusterConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.

Information about pagination in a connection.

func (*FindClustersOrganizationClustersClusterConnectionPageInfo) GetEndCursor added in v3.12.0

GetEndCursor returns FindClustersOrganizationClustersClusterConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.

func (*FindClustersOrganizationClustersClusterConnectionPageInfo) GetHasNextPage added in v3.12.0

GetHasNextPage returns FindClustersOrganizationClustersClusterConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.

type FindClustersResponse added in v3.12.0

type FindClustersResponse struct {
	// Find an organization
	Organization *FindClustersOrganization `json:"organization"`
}

FindClustersResponse is returned by FindClusters on success.

func FindClusters added in v3.12.0

func FindClusters(
	ctx_ context.Context,
	client_ graphql.Client,
	org string,
	cursor *string,
) (data_ *FindClustersResponse, err_ error)

func (*FindClustersResponse) GetOrganization added in v3.12.0

func (v *FindClustersResponse) GetOrganization() *FindClustersOrganization

GetOrganization returns FindClustersResponse.Organization, and is useful for accessing the field via an interface.

type FindQueuesForClusterNode added in v3.12.0

type FindQueuesForClusterNode interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

FindQueuesForClusterNode includes the requested fields of the GraphQL interface Node.

FindQueuesForClusterNode is implemented by the following types: FindQueuesForClusterNodeAPIAccessToken FindQueuesForClusterNodeAPIAccessTokenCode FindQueuesForClusterNodeAPIApplication FindQueuesForClusterNodeAgent FindQueuesForClusterNodeAgentToken FindQueuesForClusterNodeAnnotation FindQueuesForClusterNodeArtifact FindQueuesForClusterNodeAuditEvent FindQueuesForClusterNodeAuthorizationBitbucket FindQueuesForClusterNodeAuthorizationGitHub FindQueuesForClusterNodeAuthorizationGitHubApp FindQueuesForClusterNodeAuthorizationGitHubEnterprise FindQueuesForClusterNodeAuthorizationGoogle FindQueuesForClusterNodeAuthorizationSAML FindQueuesForClusterNodeBuild FindQueuesForClusterNodeChangelog FindQueuesForClusterNodeCluster FindQueuesForClusterNodeClusterQueue FindQueuesForClusterNodeClusterQueueToken FindQueuesForClusterNodeClusterToken FindQueuesForClusterNodeEmail FindQueuesForClusterNodeJobEventAssigned FindQueuesForClusterNodeJobEventBuildStepUploadCreated FindQueuesForClusterNodeJobEventCanceled FindQueuesForClusterNodeJobEventFinished FindQueuesForClusterNodeJobEventGeneric FindQueuesForClusterNodeJobEventRetried FindQueuesForClusterNodeJobEventTimedOut FindQueuesForClusterNodeJobTypeBlock FindQueuesForClusterNodeJobTypeCommand FindQueuesForClusterNodeJobTypeTrigger FindQueuesForClusterNodeJobTypeWait FindQueuesForClusterNodeNotificationServiceSlack FindQueuesForClusterNodeOrganization FindQueuesForClusterNodeOrganizationBanner FindQueuesForClusterNodeOrganizationInvitation FindQueuesForClusterNodeOrganizationMember FindQueuesForClusterNodePipeline FindQueuesForClusterNodePipelineMetric FindQueuesForClusterNodePipelineSchedule FindQueuesForClusterNodePipelineTemplate FindQueuesForClusterNodeSSOProviderGitHubApp FindQueuesForClusterNodeSSOProviderGoogleGSuite FindQueuesForClusterNodeSSOProviderSAML FindQueuesForClusterNodeSecret FindQueuesForClusterNodeSuite FindQueuesForClusterNodeTeam FindQueuesForClusterNodeTeamMember FindQueuesForClusterNodeTeamPipeline FindQueuesForClusterNodeTeamSuite FindQueuesForClusterNodeUser FindQueuesForClusterNodeViewer The GraphQL type's documentation follows.

An object with an ID.

type FindQueuesForClusterNodeAPIAccessToken added in v3.12.0

type FindQueuesForClusterNodeAPIAccessToken struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeAPIAccessToken includes the requested fields of the GraphQL type APIAccessToken. The GraphQL type's documentation follows.

API access tokens for authentication with the Buildkite API

func (*FindQueuesForClusterNodeAPIAccessToken) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeAPIAccessToken.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeAPIAccessTokenCode added in v3.12.0

type FindQueuesForClusterNodeAPIAccessTokenCode struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeAPIAccessTokenCode includes the requested fields of the GraphQL type APIAccessTokenCode. The GraphQL type's documentation follows.

A code that is used by an API Application to request an API Access Token

func (*FindQueuesForClusterNodeAPIAccessTokenCode) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeAPIAccessTokenCode.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeAPIApplication added in v3.12.0

type FindQueuesForClusterNodeAPIApplication struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeAPIApplication includes the requested fields of the GraphQL type APIApplication. The GraphQL type's documentation follows.

An API Application

func (*FindQueuesForClusterNodeAPIApplication) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeAPIApplication.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeAgent added in v3.12.0

type FindQueuesForClusterNodeAgent struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeAgent includes the requested fields of the GraphQL type Agent. The GraphQL type's documentation follows.

An agent

func (*FindQueuesForClusterNodeAgent) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeAgent) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeAgent.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeAgentToken added in v3.12.0

type FindQueuesForClusterNodeAgentToken struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeAgentToken includes the requested fields of the GraphQL type AgentToken. The GraphQL type's documentation follows.

A token used to connect an agent to Buildkite

func (*FindQueuesForClusterNodeAgentToken) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeAgentToken) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeAgentToken.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeAnnotation added in v3.12.0

type FindQueuesForClusterNodeAnnotation struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeAnnotation includes the requested fields of the GraphQL type Annotation. The GraphQL type's documentation follows.

An annotation allows you to add arbitrary content to the top of a build page in the Buildkite UI

func (*FindQueuesForClusterNodeAnnotation) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeAnnotation) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeAnnotation.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeArtifact added in v3.12.0

type FindQueuesForClusterNodeArtifact struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeArtifact 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 (*FindQueuesForClusterNodeArtifact) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeArtifact) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeArtifact.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeAuditEvent added in v3.12.0

type FindQueuesForClusterNodeAuditEvent struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeAuditEvent includes the requested fields of the GraphQL type AuditEvent. The GraphQL type's documentation follows.

Audit record of an event which occurred in the system

func (*FindQueuesForClusterNodeAuditEvent) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeAuditEvent) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeAuditEvent.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeAuthorizationBitbucket added in v3.12.0

type FindQueuesForClusterNodeAuthorizationBitbucket struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeAuthorizationBitbucket includes the requested fields of the GraphQL type AuthorizationBitbucket. The GraphQL type's documentation follows.

A Bitbucket account authorized with a Buildkite account

func (*FindQueuesForClusterNodeAuthorizationBitbucket) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeAuthorizationBitbucket.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeAuthorizationGitHub added in v3.12.0

type FindQueuesForClusterNodeAuthorizationGitHub struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeAuthorizationGitHub includes the requested fields of the GraphQL type AuthorizationGitHub. The GraphQL type's documentation follows.

A GitHub account authorized with a Buildkite account

func (*FindQueuesForClusterNodeAuthorizationGitHub) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeAuthorizationGitHub.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeAuthorizationGitHubApp added in v3.12.0

type FindQueuesForClusterNodeAuthorizationGitHubApp struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeAuthorizationGitHubApp includes the requested fields of the GraphQL type AuthorizationGitHubApp. The GraphQL type's documentation follows.

A GitHub app authorized with a Buildkite account

func (*FindQueuesForClusterNodeAuthorizationGitHubApp) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeAuthorizationGitHubApp.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeAuthorizationGitHubEnterprise added in v3.12.0

type FindQueuesForClusterNodeAuthorizationGitHubEnterprise struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeAuthorizationGitHubEnterprise includes the requested fields of the GraphQL type AuthorizationGitHubEnterprise. The GraphQL type's documentation follows.

A GitHub Enterprise account authorized with a Buildkite account

func (*FindQueuesForClusterNodeAuthorizationGitHubEnterprise) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeAuthorizationGitHubEnterprise.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeAuthorizationGoogle added in v3.12.0

type FindQueuesForClusterNodeAuthorizationGoogle struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeAuthorizationGoogle includes the requested fields of the GraphQL type AuthorizationGoogle. The GraphQL type's documentation follows.

A Google account authorized with a Buildkite account

func (*FindQueuesForClusterNodeAuthorizationGoogle) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeAuthorizationGoogle.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeAuthorizationSAML added in v3.12.0

type FindQueuesForClusterNodeAuthorizationSAML struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeAuthorizationSAML includes the requested fields of the GraphQL type AuthorizationSAML. The GraphQL type's documentation follows.

A SAML account authorized with a Buildkite account

func (*FindQueuesForClusterNodeAuthorizationSAML) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeAuthorizationSAML.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeBuild added in v3.12.0

type FindQueuesForClusterNodeBuild struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeBuild includes the requested fields of the GraphQL type Build. The GraphQL type's documentation follows.

A build from a pipeline

func (*FindQueuesForClusterNodeBuild) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeBuild) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeBuild.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeChangelog added in v3.12.0

type FindQueuesForClusterNodeChangelog struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeChangelog includes the requested fields of the GraphQL type Changelog. The GraphQL type's documentation follows.

A changelog

func (*FindQueuesForClusterNodeChangelog) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeChangelog) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeChangelog.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeCluster added in v3.12.0

type FindQueuesForClusterNodeCluster struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
	// Name of the cluster
	Name   string                                                       `json:"name"`
	Queues *FindQueuesForClusterNodeClusterQueuesClusterQueueConnection `json:"queues"`
}

FindQueuesForClusterNodeCluster includes the requested fields of the GraphQL type Cluster.

func (*FindQueuesForClusterNodeCluster) GetId added in v3.12.0

GetId returns FindQueuesForClusterNodeCluster.Id, and is useful for accessing the field via an interface.

func (*FindQueuesForClusterNodeCluster) GetName added in v3.12.0

GetName returns FindQueuesForClusterNodeCluster.Name, and is useful for accessing the field via an interface.

func (*FindQueuesForClusterNodeCluster) GetQueues added in v3.12.0

GetQueues returns FindQueuesForClusterNodeCluster.Queues, and is useful for accessing the field via an interface.

func (*FindQueuesForClusterNodeCluster) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeCluster) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeCluster.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeClusterQueue added in v3.12.0

type FindQueuesForClusterNodeClusterQueue struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeClusterQueue includes the requested fields of the GraphQL type ClusterQueue.

func (*FindQueuesForClusterNodeClusterQueue) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeClusterQueue) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeClusterQueue.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeClusterQueueToken added in v3.12.0

type FindQueuesForClusterNodeClusterQueueToken struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeClusterQueueToken includes the requested fields of the GraphQL type ClusterQueueToken. The GraphQL type's documentation follows.

A token used to register an agent with a Buildkite cluster queue

func (*FindQueuesForClusterNodeClusterQueueToken) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeClusterQueueToken.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeClusterQueuesClusterQueueConnection added in v3.12.0

type FindQueuesForClusterNodeClusterQueuesClusterQueueConnection struct {
	Edges    []*FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionEdgesClusterQueueEdge `json:"edges"`
	PageInfo *FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionPageInfo                `json:"pageInfo"`
}

FindQueuesForClusterNodeClusterQueuesClusterQueueConnection includes the requested fields of the GraphQL type ClusterQueueConnection.

func (*FindQueuesForClusterNodeClusterQueuesClusterQueueConnection) GetEdges added in v3.12.0

GetEdges returns FindQueuesForClusterNodeClusterQueuesClusterQueueConnection.Edges, and is useful for accessing the field via an interface.

func (*FindQueuesForClusterNodeClusterQueuesClusterQueueConnection) GetPageInfo added in v3.12.0

GetPageInfo returns FindQueuesForClusterNodeClusterQueuesClusterQueueConnection.PageInfo, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionEdgesClusterQueueEdge added in v3.12.0

type FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionEdgesClusterQueueEdge struct {
	Node *FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue `json:"node"`
}

FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionEdgesClusterQueueEdge includes the requested fields of the GraphQL type ClusterQueueEdge.

func (*FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionEdgesClusterQueueEdge) GetNode added in v3.12.0

GetNode returns FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionEdgesClusterQueueEdge.Node, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue added in v3.12.0

type FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue struct {
	Id  string `json:"id"`
	Key string `json:"key"`
}

FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue includes the requested fields of the GraphQL type ClusterQueue.

func (*FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetId added in v3.12.0

GetId returns FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue.Id, and is useful for accessing the field via an interface.

func (*FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetKey added in v3.12.0

GetKey returns FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue.Key, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionPageInfo added in v3.12.0

type FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionPageInfo struct {
	// When paginating forwards, are there more items?
	HasNextPage bool `json:"hasNextPage"`
	// When paginating forwards, the cursor to continue.
	EndCursor *string `json:"endCursor"`
}

FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.

Information about pagination in a connection.

func (*FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionPageInfo) GetEndCursor added in v3.12.0

GetEndCursor returns FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.

func (*FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionPageInfo) GetHasNextPage added in v3.12.0

GetHasNextPage returns FindQueuesForClusterNodeClusterQueuesClusterQueueConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeClusterToken added in v3.12.0

type FindQueuesForClusterNodeClusterToken struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeClusterToken includes the requested fields of the GraphQL type ClusterToken. The GraphQL type's documentation follows.

A token used to connect an agent in cluster to Buildkite

func (*FindQueuesForClusterNodeClusterToken) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeClusterToken) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeClusterToken.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeEmail added in v3.12.0

type FindQueuesForClusterNodeEmail struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeEmail includes the requested fields of the GraphQL type Email. The GraphQL type's documentation follows.

An email address

func (*FindQueuesForClusterNodeEmail) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeEmail) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeEmail.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeJobEventAssigned added in v3.12.0

type FindQueuesForClusterNodeJobEventAssigned struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeJobEventAssigned includes the requested fields of the GraphQL type JobEventAssigned. The GraphQL type's documentation follows.

An event created when the dispatcher assigns the job to an agent

func (*FindQueuesForClusterNodeJobEventAssigned) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeJobEventAssigned.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeJobEventBuildStepUploadCreated added in v3.12.0

type FindQueuesForClusterNodeJobEventBuildStepUploadCreated struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeJobEventBuildStepUploadCreated includes the requested fields of the GraphQL type JobEventBuildStepUploadCreated. The GraphQL type's documentation follows.

An event created when the job creates new build steps via pipeline upload

func (*FindQueuesForClusterNodeJobEventBuildStepUploadCreated) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeJobEventBuildStepUploadCreated.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeJobEventCanceled added in v3.12.0

type FindQueuesForClusterNodeJobEventCanceled struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeJobEventCanceled includes the requested fields of the GraphQL type JobEventCanceled. The GraphQL type's documentation follows.

An event created when the job is canceled

func (*FindQueuesForClusterNodeJobEventCanceled) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeJobEventCanceled.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeJobEventFinished added in v3.12.0

type FindQueuesForClusterNodeJobEventFinished struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeJobEventFinished includes the requested fields of the GraphQL type JobEventFinished. The GraphQL type's documentation follows.

An event created when the job is finished

func (*FindQueuesForClusterNodeJobEventFinished) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeJobEventFinished.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeJobEventGeneric added in v3.12.0

type FindQueuesForClusterNodeJobEventGeneric struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeJobEventGeneric includes the requested fields of the GraphQL type JobEventGeneric. The GraphQL type's documentation follows.

A generic event type that doesn't have any additional meta-information associated with the event

func (*FindQueuesForClusterNodeJobEventGeneric) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeJobEventGeneric.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeJobEventRetried added in v3.12.0

type FindQueuesForClusterNodeJobEventRetried struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeJobEventRetried includes the requested fields of the GraphQL type JobEventRetried. The GraphQL type's documentation follows.

An event created when the job is retried

func (*FindQueuesForClusterNodeJobEventRetried) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeJobEventRetried.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeJobEventTimedOut added in v3.12.0

type FindQueuesForClusterNodeJobEventTimedOut struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeJobEventTimedOut includes the requested fields of the GraphQL type JobEventTimedOut. The GraphQL type's documentation follows.

An event created when the job is timed out

func (*FindQueuesForClusterNodeJobEventTimedOut) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeJobEventTimedOut.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeJobTypeBlock added in v3.12.0

type FindQueuesForClusterNodeJobTypeBlock struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeJobTypeBlock 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 (*FindQueuesForClusterNodeJobTypeBlock) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeJobTypeBlock) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeJobTypeBlock.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeJobTypeCommand added in v3.12.0

type FindQueuesForClusterNodeJobTypeCommand struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeJobTypeCommand 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 (*FindQueuesForClusterNodeJobTypeCommand) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeJobTypeCommand.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeJobTypeTrigger added in v3.12.0

type FindQueuesForClusterNodeJobTypeTrigger struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeJobTypeTrigger includes the requested fields of the GraphQL type JobTypeTrigger. The GraphQL type's documentation follows.

A type of job that triggers another build on a pipeline

func (*FindQueuesForClusterNodeJobTypeTrigger) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeJobTypeTrigger.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeJobTypeWait added in v3.12.0

type FindQueuesForClusterNodeJobTypeWait struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeJobTypeWait includes the requested fields of the GraphQL type JobTypeWait. The GraphQL type's documentation follows.

A type of job that waits for all previous jobs to pass before proceeding the build pipeline

func (*FindQueuesForClusterNodeJobTypeWait) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeJobTypeWait) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeJobTypeWait.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeNotificationServiceSlack added in v3.12.0

type FindQueuesForClusterNodeNotificationServiceSlack struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeNotificationServiceSlack includes the requested fields of the GraphQL type NotificationServiceSlack. The GraphQL type's documentation follows.

Deliver notifications to Slack

func (*FindQueuesForClusterNodeNotificationServiceSlack) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeNotificationServiceSlack.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeOrganization added in v3.12.0

type FindQueuesForClusterNodeOrganization struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeOrganization includes the requested fields of the GraphQL type Organization. The GraphQL type's documentation follows.

An organization

func (*FindQueuesForClusterNodeOrganization) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeOrganization) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeOrganization.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeOrganizationBanner added in v3.12.0

type FindQueuesForClusterNodeOrganizationBanner struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeOrganizationBanner includes the requested fields of the GraphQL type OrganizationBanner. The GraphQL type's documentation follows.

System banner of an organization

func (*FindQueuesForClusterNodeOrganizationBanner) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeOrganizationBanner.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeOrganizationInvitation added in v3.12.0

type FindQueuesForClusterNodeOrganizationInvitation struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeOrganizationInvitation includes the requested fields of the GraphQL type OrganizationInvitation. The GraphQL type's documentation follows.

A pending invitation to a user to join this organization

func (*FindQueuesForClusterNodeOrganizationInvitation) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeOrganizationInvitation.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeOrganizationMember added in v3.12.0

type FindQueuesForClusterNodeOrganizationMember struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeOrganizationMember includes the requested fields of the GraphQL type OrganizationMember. The GraphQL type's documentation follows.

A member of an organization

func (*FindQueuesForClusterNodeOrganizationMember) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeOrganizationMember.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodePipeline added in v3.12.0

type FindQueuesForClusterNodePipeline struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodePipeline includes the requested fields of the GraphQL type Pipeline. The GraphQL type's documentation follows.

A pipeline

func (*FindQueuesForClusterNodePipeline) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodePipeline) GetTypename() *string

GetTypename returns FindQueuesForClusterNodePipeline.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodePipelineMetric added in v3.12.0

type FindQueuesForClusterNodePipelineMetric struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodePipelineMetric includes the requested fields of the GraphQL type PipelineMetric. The GraphQL type's documentation follows.

A metric for a pipeline

func (*FindQueuesForClusterNodePipelineMetric) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodePipelineMetric.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodePipelineSchedule added in v3.12.0

type FindQueuesForClusterNodePipelineSchedule struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodePipelineSchedule includes the requested fields of the GraphQL type PipelineSchedule. The GraphQL type's documentation follows.

A schedule of when a build should automatically triggered for a Pipeline

func (*FindQueuesForClusterNodePipelineSchedule) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodePipelineSchedule.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodePipelineTemplate added in v3.12.0

type FindQueuesForClusterNodePipelineTemplate struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodePipelineTemplate includes the requested fields of the GraphQL type PipelineTemplate. The GraphQL type's documentation follows.

A template defining a fixed step configuration for a pipeline

func (*FindQueuesForClusterNodePipelineTemplate) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodePipelineTemplate.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeSSOProviderGitHubApp added in v3.12.0

type FindQueuesForClusterNodeSSOProviderGitHubApp struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeSSOProviderGitHubApp includes the requested fields of the GraphQL type SSOProviderGitHubApp. The GraphQL type's documentation follows.

Single sign-on provided by GitHub

func (*FindQueuesForClusterNodeSSOProviderGitHubApp) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeSSOProviderGitHubApp.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeSSOProviderGoogleGSuite added in v3.12.0

type FindQueuesForClusterNodeSSOProviderGoogleGSuite struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeSSOProviderGoogleGSuite includes the requested fields of the GraphQL type SSOProviderGoogleGSuite. The GraphQL type's documentation follows.

Single sign-on provided by Google

func (*FindQueuesForClusterNodeSSOProviderGoogleGSuite) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeSSOProviderGoogleGSuite.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeSSOProviderSAML added in v3.12.0

type FindQueuesForClusterNodeSSOProviderSAML struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeSSOProviderSAML includes the requested fields of the GraphQL type SSOProviderSAML. The GraphQL type's documentation follows.

Single sign-on provided via SAML

func (*FindQueuesForClusterNodeSSOProviderSAML) GetTypename added in v3.12.0

GetTypename returns FindQueuesForClusterNodeSSOProviderSAML.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeSecret added in v3.12.0

type FindQueuesForClusterNodeSecret struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeSecret includes the requested fields of the GraphQL type Secret. The GraphQL type's documentation follows.

A secret hosted by Buildkite. This does not contain the secret value or encrypted material.

func (*FindQueuesForClusterNodeSecret) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeSecret) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeSecret.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeSuite added in v3.12.0

type FindQueuesForClusterNodeSuite struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeSuite includes the requested fields of the GraphQL type Suite. The GraphQL type's documentation follows.

A suite

func (*FindQueuesForClusterNodeSuite) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeSuite) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeSuite.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeTeam added in v3.12.0

type FindQueuesForClusterNodeTeam struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeTeam includes the requested fields of the GraphQL type Team. The GraphQL type's documentation follows.

An organization team

func (*FindQueuesForClusterNodeTeam) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeTeam) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeTeam.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeTeamMember added in v3.12.0

type FindQueuesForClusterNodeTeamMember struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeTeamMember includes the requested fields of the GraphQL type TeamMember. The GraphQL type's documentation follows.

An member of a team

func (*FindQueuesForClusterNodeTeamMember) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeTeamMember) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeTeamMember.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeTeamPipeline added in v3.12.0

type FindQueuesForClusterNodeTeamPipeline struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeTeamPipeline includes the requested fields of the GraphQL type TeamPipeline. The GraphQL type's documentation follows.

An pipeline that's been assigned to a team

func (*FindQueuesForClusterNodeTeamPipeline) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeTeamPipeline) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeTeamPipeline.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeTeamSuite added in v3.12.0

type FindQueuesForClusterNodeTeamSuite struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeTeamSuite includes the requested fields of the GraphQL type TeamSuite. The GraphQL type's documentation follows.

A suite that's been assigned to a team

func (*FindQueuesForClusterNodeTeamSuite) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeTeamSuite) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeTeamSuite.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeUser added in v3.12.0

type FindQueuesForClusterNodeUser struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeUser includes the requested fields of the GraphQL type User. The GraphQL type's documentation follows.

A user

func (*FindQueuesForClusterNodeUser) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeUser) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeUser.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterNodeViewer added in v3.12.0

type FindQueuesForClusterNodeViewer struct {
	Typename *string `json:"__typename"`
}

FindQueuesForClusterNodeViewer includes the requested fields of the GraphQL type Viewer. The GraphQL type's documentation follows.

Represents the current user session

func (*FindQueuesForClusterNodeViewer) GetTypename added in v3.12.0

func (v *FindQueuesForClusterNodeViewer) GetTypename() *string

GetTypename returns FindQueuesForClusterNodeViewer.Typename, and is useful for accessing the field via an interface.

type FindQueuesForClusterResponse added in v3.12.0

type FindQueuesForClusterResponse struct {
	// Fetches an object given its ID.
	Node *FindQueuesForClusterNode `json:"-"`
}

FindQueuesForClusterResponse is returned by FindQueuesForCluster on success.

func FindQueuesForCluster added in v3.12.0

func FindQueuesForCluster(
	ctx_ context.Context,
	client_ graphql.Client,
	clusterId string,
	cursor *string,
) (data_ *FindQueuesForClusterResponse, err_ error)

func (*FindQueuesForClusterResponse) GetNode added in v3.12.0

GetNode returns FindQueuesForClusterResponse.Node, and is useful for accessing the field via an interface.

func (*FindQueuesForClusterResponse) MarshalJSON added in v3.12.0

func (v *FindQueuesForClusterResponse) MarshalJSON() ([]byte, error)

func (*FindQueuesForClusterResponse) UnmarshalJSON added in v3.12.0

func (v *FindQueuesForClusterResponse) UnmarshalJSON(b []byte) error

type FindUserByEmailOrganization added in v3.12.0

type FindUserByEmailOrganization struct {
	// Returns users within the organization
	Members *FindUserByEmailOrganizationMembersOrganizationMemberConnection `json:"members"`
}

FindUserByEmailOrganization includes the requested fields of the GraphQL type Organization. The GraphQL type's documentation follows.

An organization

func (*FindUserByEmailOrganization) GetMembers added in v3.12.0

GetMembers returns FindUserByEmailOrganization.Members, and is useful for accessing the field via an interface.

type FindUserByEmailOrganizationMembersOrganizationMemberConnection added in v3.12.0

type FindUserByEmailOrganizationMembersOrganizationMemberConnection struct {
	Edges []*FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdge `json:"edges"`
}

FindUserByEmailOrganizationMembersOrganizationMemberConnection includes the requested fields of the GraphQL type OrganizationMemberConnection.

func (*FindUserByEmailOrganizationMembersOrganizationMemberConnection) GetEdges added in v3.12.0

GetEdges returns FindUserByEmailOrganizationMembersOrganizationMemberConnection.Edges, and is useful for accessing the field via an interface.

type FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdge added in v3.12.0

type FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdge struct {
	Node *FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdgeNodeOrganizationMember `json:"node"`
}

FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdge includes the requested fields of the GraphQL type OrganizationMemberEdge.

func (*FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdge) GetNode added in v3.12.0

GetNode returns FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdge.Node, and is useful for accessing the field via an interface.

type FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdgeNodeOrganizationMember added in v3.12.0

type FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdgeNodeOrganizationMember struct {
	User FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdgeNodeOrganizationMemberUser `json:"user"`
}

FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdgeNodeOrganizationMember includes the requested fields of the GraphQL type OrganizationMember. The GraphQL type's documentation follows.

A member of an organization

func (*FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdgeNodeOrganizationMember) GetUser added in v3.12.0

GetUser returns FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdgeNodeOrganizationMember.User, and is useful for accessing the field via an interface.

type FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdgeNodeOrganizationMemberUser added in v3.12.0

type FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdgeNodeOrganizationMemberUser struct {
	Id string `json:"id"`
}

FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdgeNodeOrganizationMemberUser includes the requested fields of the GraphQL type User. The GraphQL type's documentation follows.

A user

func (*FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdgeNodeOrganizationMemberUser) GetId added in v3.12.0

GetId returns FindUserByEmailOrganizationMembersOrganizationMemberConnectionEdgesOrganizationMemberEdgeNodeOrganizationMemberUser.Id, and is useful for accessing the field via an interface.

type FindUserByEmailResponse added in v3.12.0

type FindUserByEmailResponse struct {
	// Find an organization
	Organization *FindUserByEmailOrganization `json:"organization"`
}

FindUserByEmailResponse is returned by FindUserByEmail on success.

func FindUserByEmail added in v3.12.0

func FindUserByEmail(
	ctx_ context.Context,
	client_ graphql.Client,
	organization string,
	email string,
) (data_ *FindUserByEmailResponse, err_ error)

func (*FindUserByEmailResponse) GetOrganization added in v3.12.0

GetOrganization returns FindUserByEmailResponse.Organization, and is useful for accessing the field via an interface.

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"`
	// The job that uploaded this artifact
	Job *GetArtifactsArtifactJobJobTypeCommand `json:"job"`
}

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) GetJob added in v3.12.0

GetJob returns GetArtifactsArtifact.Job, 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 GetArtifactsArtifactJobJobTypeCommand added in v3.12.0

type GetArtifactsArtifactJobJobTypeCommand struct {
	// The UUID for this job
	Uuid string `json:"uuid"`
	// The pipeline that this job is a part of
	Pipeline *GetArtifactsArtifactJobJobTypeCommandPipeline `json:"pipeline"`
	// The build that this job is a part of
	Build *GetArtifactsArtifactJobJobTypeCommandBuild `json:"build"`
}

GetArtifactsArtifactJobJobTypeCommand 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 (*GetArtifactsArtifactJobJobTypeCommand) GetBuild added in v3.12.0

GetBuild returns GetArtifactsArtifactJobJobTypeCommand.Build, and is useful for accessing the field via an interface.

func (*GetArtifactsArtifactJobJobTypeCommand) GetPipeline added in v3.12.0

GetPipeline returns GetArtifactsArtifactJobJobTypeCommand.Pipeline, and is useful for accessing the field via an interface.

func (*GetArtifactsArtifactJobJobTypeCommand) GetUuid added in v3.12.0

GetUuid returns GetArtifactsArtifactJobJobTypeCommand.Uuid, and is useful for accessing the field via an interface.

type GetArtifactsArtifactJobJobTypeCommandBuild added in v3.12.0

type GetArtifactsArtifactJobJobTypeCommandBuild struct {
	// The number of the build
	Number int `json:"number"`
}

GetArtifactsArtifactJobJobTypeCommandBuild includes the requested fields of the GraphQL type Build. The GraphQL type's documentation follows.

A build from a pipeline

func (*GetArtifactsArtifactJobJobTypeCommandBuild) GetNumber added in v3.12.0

GetNumber returns GetArtifactsArtifactJobJobTypeCommandBuild.Number, and is useful for accessing the field via an interface.

type GetArtifactsArtifactJobJobTypeCommandPipeline added in v3.12.0

type GetArtifactsArtifactJobJobTypeCommandPipeline struct {
	// The name of the pipeline
	Name string `json:"name"`
}

GetArtifactsArtifactJobJobTypeCommandPipeline includes the requested fields of the GraphQL type Pipeline. The GraphQL type's documentation follows.

A pipeline

func (*GetArtifactsArtifactJobJobTypeCommandPipeline) GetName added in v3.12.0

GetName returns GetArtifactsArtifactJobJobTypeCommandPipeline.Name, 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 GetArtifacts(
	ctx_ context.Context,
	client_ graphql.Client,
	artifactId string,
) (data_ *GetArtifactsResponse, err_ error)

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

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

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

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

GetClusterQueue returns GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent.ClusterQueue, and is useful for accessing the field via an interface.

func (*GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetHostname

GetHostname returns GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent.Hostname, and is useful for accessing the field via an interface.

func (*GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetId

GetId returns GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent.Id, and is useful for accessing the field via an interface.

func (*GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetName

GetName returns GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent.Name, and is useful for accessing the field via an interface.

func (*GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgent) GetVersion

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

GetId returns GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgentClusterQueue.Id, and is useful for accessing the field via an interface.

func (*GetClusterQueueAgentOrganizationAgentsAgentConnectionEdgesAgentEdgeNodeAgentClusterQueue) GetUuid

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 GetClusterQueueAgent(
	ctx_ context.Context,
	client_ graphql.Client,
	orgSlug string,
	queueId []string,
) (data_ *GetClusterQueueAgentResponse, err_ error)

func (*GetClusterQueueAgentResponse) GetOrganization

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

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

GetName returns GetClusterQueuesOrganizationCluster.Name, and is useful for accessing the field via an interface.

func (*GetClusterQueuesOrganizationCluster) GetQueues

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

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

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

GetDescription returns GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue.Description, and is useful for accessing the field via an interface.

func (*GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetId

GetId returns GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue.Id, and is useful for accessing the field via an interface.

func (*GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetKey

GetKey returns GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue.Key, and is useful for accessing the field via an interface.

func (*GetClusterQueuesOrganizationClusterQueuesClusterQueueConnectionEdgesClusterQueueEdgeNodeClusterQueue) GetUuid

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 GetClusterQueues(
	ctx_ context.Context,
	client_ graphql.Client,
	orgSlug string,
	clusterId string,
) (data_ *GetClusterQueuesResponse, err_ error)

func (*GetClusterQueuesResponse) GetOrganization

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

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 GetOrganizationID(
	ctx_ context.Context,
	client_ graphql.Client,
	slug string,
) (data_ *GetOrganizationIDResponse, err_ error)

func (*GetOrganizationIDResponse) GetOrganization added in v3.2.0

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

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

GetSteps returns GetPipelinePipeline.Steps, and is useful for accessing the field via an interface.

func (*GetPipelinePipeline) GetTags

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

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

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

GetLabel returns GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdgeNodePipelineMetric.Label, and is useful for accessing the field via an interface.

func (*GetPipelinePipelineMetricsPipelineMetricConnectionEdgesPipelineMetricEdgeNodePipelineMetric) GetValue

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

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 GetPipeline(
	ctx_ context.Context,
	client_ graphql.Client,
	slug string,
) (data_ *GetPipelineResponse, err_ error)

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

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 InviteUser(
	ctx_ context.Context,
	client_ graphql.Client,
	organization string,
	emails []string,
) (data_ *InviteUserResponse, err_ error)

func (*InviteUserResponse) GetOrganizationInvitationCreate added in v3.2.0

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 ListJobsByAgentQueryRulesOrganization added in v3.19.0

type ListJobsByAgentQueryRulesOrganization struct {
	Jobs *ListJobsByAgentQueryRulesOrganizationJobsJobConnection `json:"jobs"`
}

ListJobsByAgentQueryRulesOrganization includes the requested fields of the GraphQL type Organization. The GraphQL type's documentation follows.

An organization

func (*ListJobsByAgentQueryRulesOrganization) GetJobs added in v3.19.0

GetJobs returns ListJobsByAgentQueryRulesOrganization.Jobs, and is useful for accessing the field via an interface.

type ListJobsByAgentQueryRulesOrganizationJobsJobConnection added in v3.19.0

type ListJobsByAgentQueryRulesOrganizationJobsJobConnection struct {
	Edges    []*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdge `json:"edges"`
	PageInfo *ListJobsByAgentQueryRulesOrganizationJobsJobConnectionPageInfo       `json:"pageInfo"`
}

ListJobsByAgentQueryRulesOrganizationJobsJobConnection includes the requested fields of the GraphQL type JobConnection.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnection) GetEdges added in v3.19.0

GetEdges returns ListJobsByAgentQueryRulesOrganizationJobsJobConnection.Edges, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnection) GetPageInfo added in v3.19.0

GetPageInfo returns ListJobsByAgentQueryRulesOrganizationJobsJobConnection.PageInfo, and is useful for accessing the field via an interface.

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdge added in v3.19.0

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdge struct {
	Node *ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJob `json:"-"`
}

ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdge includes the requested fields of the GraphQL type JobEdge.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdge) GetNode added in v3.19.0

GetNode returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdge.Node, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdge) MarshalJSON added in v3.19.0

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdge) UnmarshalJSON added in v3.19.0

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJob added in v3.19.0

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJob interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJob includes the requested fields of the GraphQL interface Job.

ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJob is implemented by the following types: ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait The GraphQL type's documentation follows.

Kinds of jobs that can exist on a build

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock added in v3.19.0

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock struct {
	Typename *string `json:"__typename"`
}

ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock 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 (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock) GetTypename added in v3.19.0

GetTypename returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock.Typename, and is useful for accessing the field via an interface.

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand added in v3.19.0

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
	// The UUID for this job
	Uuid string `json:"uuid"`
	// The command the job will run
	Command *string `json:"command"`
	// The state of the job
	State JobStates `json:"state"`
	// The exit status returned by the command on the agent
	ExitStatus *string `json:"exitStatus"`
	// The URL for the job
	Url string `json:"url"`
	// The time when the job started running
	StartedAt *time.Time `json:"startedAt"`
	// The time when the job finished
	FinishedAt *time.Time `json:"finishedAt"`
	// The time when the job was created
	CreatedAt *time.Time `json:"createdAt"`
	// The agent that is running the job
	Agent *ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent `json:"agent"`
}

ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand 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 (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetAgent added in v3.19.0

GetAgent returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Agent, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetCommand added in v3.19.0

GetCommand returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Command, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetCreatedAt added in v3.19.0

GetCreatedAt returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.CreatedAt, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetExitStatus added in v3.19.0

GetExitStatus returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.ExitStatus, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetFinishedAt added in v3.19.0

GetFinishedAt returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.FinishedAt, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetId added in v3.19.0

GetId returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Id, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetStartedAt added in v3.19.0

GetStartedAt returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.StartedAt, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetState added in v3.19.0

GetState returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.State, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetTypename added in v3.19.0

GetTypename returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Typename, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetUrl added in v3.19.0

GetUrl returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Url, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetUuid added in v3.19.0

GetUuid returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Uuid, and is useful for accessing the field via an interface.

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent added in v3.19.0

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent struct {
	Id string `json:"id"`
	// The name of the agent
	Name string `json:"name"`
	// The hostname of the machine running the agent
	Hostname *string `json:"hostname"`
	// The meta data this agent was stared with
	MetaData []string `json:"metaData"`
}

ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent includes the requested fields of the GraphQL type Agent. The GraphQL type's documentation follows.

An agent

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent) GetHostname added in v3.19.0

GetHostname returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent.Hostname, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent) GetId added in v3.19.0

GetId returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent.Id, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent) GetMetaData added in v3.19.0

GetMetaData returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent.MetaData, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent) GetName added in v3.19.0

GetName returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent.Name, and is useful for accessing the field via an interface.

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger added in v3.19.0

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger struct {
	Typename *string `json:"__typename"`
}

ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger includes the requested fields of the GraphQL type JobTypeTrigger. The GraphQL type's documentation follows.

A type of job that triggers another build on a pipeline

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger) GetTypename added in v3.19.0

GetTypename returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger.Typename, and is useful for accessing the field via an interface.

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait added in v3.19.0

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait struct {
	Typename *string `json:"__typename"`
}

ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait includes the requested fields of the GraphQL type JobTypeWait. The GraphQL type's documentation follows.

A type of job that waits for all previous jobs to pass before proceeding the build pipeline

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait) GetTypename added in v3.19.0

GetTypename returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait.Typename, and is useful for accessing the field via an interface.

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionPageInfo added in v3.19.0

type ListJobsByAgentQueryRulesOrganizationJobsJobConnectionPageInfo struct {
	// When paginating forwards, the cursor to continue.
	EndCursor *string `json:"endCursor"`
	// When paginating forwards, are there more items?
	HasNextPage bool `json:"hasNextPage"`
}

ListJobsByAgentQueryRulesOrganizationJobsJobConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.

Information about pagination in a connection.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionPageInfo) GetEndCursor added in v3.19.0

GetEndCursor returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.

func (*ListJobsByAgentQueryRulesOrganizationJobsJobConnectionPageInfo) GetHasNextPage added in v3.19.0

GetHasNextPage returns ListJobsByAgentQueryRulesOrganizationJobsJobConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.

type ListJobsByAgentQueryRulesResponse added in v3.19.0

type ListJobsByAgentQueryRulesResponse struct {
	// Find an organization
	Organization *ListJobsByAgentQueryRulesOrganization `json:"organization"`
}

ListJobsByAgentQueryRulesResponse is returned by ListJobsByAgentQueryRules on success.

func ListJobsByAgentQueryRules added in v3.19.0

func ListJobsByAgentQueryRules(
	ctx_ context.Context,
	client_ graphql.Client,
	org string,
	agentQueryRules []string,
	first *int,
	after *string,
) (data_ *ListJobsByAgentQueryRulesResponse, err_ error)

func (*ListJobsByAgentQueryRulesResponse) GetOrganization added in v3.19.0

GetOrganization returns ListJobsByAgentQueryRulesResponse.Organization, and is useful for accessing the field via an interface.

type ListJobsByQueueOrganization added in v3.12.0

type ListJobsByQueueOrganization struct {
	Jobs *ListJobsByQueueOrganizationJobsJobConnection `json:"jobs"`
}

ListJobsByQueueOrganization includes the requested fields of the GraphQL type Organization. The GraphQL type's documentation follows.

An organization

func (*ListJobsByQueueOrganization) GetJobs added in v3.12.0

GetJobs returns ListJobsByQueueOrganization.Jobs, and is useful for accessing the field via an interface.

type ListJobsByQueueOrganizationJobsJobConnection added in v3.12.0

type ListJobsByQueueOrganizationJobsJobConnection struct {
	Edges    []*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdge `json:"edges"`
	PageInfo *ListJobsByQueueOrganizationJobsJobConnectionPageInfo       `json:"pageInfo"`
}

ListJobsByQueueOrganizationJobsJobConnection includes the requested fields of the GraphQL type JobConnection.

func (*ListJobsByQueueOrganizationJobsJobConnection) GetEdges added in v3.12.0

GetEdges returns ListJobsByQueueOrganizationJobsJobConnection.Edges, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnection) GetPageInfo added in v3.12.0

GetPageInfo returns ListJobsByQueueOrganizationJobsJobConnection.PageInfo, and is useful for accessing the field via an interface.

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdge added in v3.12.0

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdge struct {
	Node *ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJob `json:"-"`
}

ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdge includes the requested fields of the GraphQL type JobEdge.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdge) GetNode added in v3.12.0

GetNode returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdge.Node, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdge) MarshalJSON added in v3.12.0

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdge) UnmarshalJSON added in v3.12.0

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJob added in v3.12.0

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJob interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJob includes the requested fields of the GraphQL interface Job.

ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJob is implemented by the following types: ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait The GraphQL type's documentation follows.

Kinds of jobs that can exist on a build

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock added in v3.12.0

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock struct {
	Typename *string `json:"__typename"`
}

ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock 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 (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock) GetTypename added in v3.12.0

GetTypename returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock.Typename, and is useful for accessing the field via an interface.

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand added in v3.12.0

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
	// The UUID for this job
	Uuid string `json:"uuid"`
	// The command the job will run
	Command *string `json:"command"`
	// The state of the job
	State JobStates `json:"state"`
	// The exit status returned by the command on the agent
	ExitStatus *string `json:"exitStatus"`
	// The URL for the job
	Url string `json:"url"`
	// The time when the job started running
	StartedAt *time.Time `json:"startedAt"`
	// The time when the job finished
	FinishedAt *time.Time `json:"finishedAt"`
	// The time when the job was created
	CreatedAt *time.Time `json:"createdAt"`
	// The cluster of this job
	Cluster *ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster `json:"cluster"`
	// The cluster queue of this job
	ClusterQueue *ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue `json:"clusterQueue"`
	// The agent that is running the job
	Agent *ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent `json:"agent"`
}

ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand 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 (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetAgent added in v3.12.0

GetAgent returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Agent, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetCluster added in v3.12.0

GetCluster returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Cluster, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetClusterQueue added in v3.12.0

GetClusterQueue returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.ClusterQueue, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetCommand added in v3.12.0

GetCommand returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Command, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetCreatedAt added in v3.12.0

GetCreatedAt returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.CreatedAt, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetExitStatus added in v3.12.0

GetExitStatus returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.ExitStatus, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetFinishedAt added in v3.12.0

GetFinishedAt returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.FinishedAt, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetId added in v3.12.0

GetId returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Id, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetStartedAt added in v3.12.0

GetStartedAt returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.StartedAt, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetState added in v3.12.0

GetState returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.State, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetTypename added in v3.12.0

GetTypename returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Typename, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetUrl added in v3.12.0

GetUrl returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Url, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetUuid added in v3.12.0

GetUuid returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Uuid, and is useful for accessing the field via an interface.

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent added in v3.12.0

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent struct {
	Id string `json:"id"`
	// The name of the agent
	Name string `json:"name"`
	// The hostname of the machine running the agent
	Hostname *string `json:"hostname"`
	// The meta data this agent was stared with
	MetaData []string `json:"metaData"`
}

ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent includes the requested fields of the GraphQL type Agent. The GraphQL type's documentation follows.

An agent

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent) GetHostname added in v3.12.0

GetHostname returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent.Hostname, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent) GetId added in v3.12.0

GetId returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent.Id, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent) GetMetaData added in v3.12.0

GetMetaData returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent.MetaData, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent) GetName added in v3.12.0

GetName returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent.Name, and is useful for accessing the field via an interface.

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster added in v3.12.0

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster struct {
	Id string `json:"id"`
	// Name of the cluster
	Name string `json:"name"`
}

ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster includes the requested fields of the GraphQL type Cluster.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster) GetId added in v3.12.0

GetId returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster.Id, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster) GetName added in v3.12.0

GetName returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster.Name, and is useful for accessing the field via an interface.

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue added in v3.12.0

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue struct {
	Id  string `json:"id"`
	Key string `json:"key"`
}

ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue includes the requested fields of the GraphQL type ClusterQueue.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue) GetId added in v3.12.0

GetId returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue.Id, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue) GetKey added in v3.12.0

GetKey returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue.Key, and is useful for accessing the field via an interface.

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger added in v3.12.0

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger struct {
	Typename *string `json:"__typename"`
}

ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger includes the requested fields of the GraphQL type JobTypeTrigger. The GraphQL type's documentation follows.

A type of job that triggers another build on a pipeline

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger) GetTypename added in v3.12.0

GetTypename returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger.Typename, and is useful for accessing the field via an interface.

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait added in v3.12.0

type ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait struct {
	Typename *string `json:"__typename"`
}

ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait includes the requested fields of the GraphQL type JobTypeWait. The GraphQL type's documentation follows.

A type of job that waits for all previous jobs to pass before proceeding the build pipeline

func (*ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait) GetTypename added in v3.12.0

GetTypename returns ListJobsByQueueOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait.Typename, and is useful for accessing the field via an interface.

type ListJobsByQueueOrganizationJobsJobConnectionPageInfo added in v3.12.0

type ListJobsByQueueOrganizationJobsJobConnectionPageInfo struct {
	// When paginating forwards, the cursor to continue.
	EndCursor *string `json:"endCursor"`
	// When paginating forwards, are there more items?
	HasNextPage bool `json:"hasNextPage"`
}

ListJobsByQueueOrganizationJobsJobConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.

Information about pagination in a connection.

func (*ListJobsByQueueOrganizationJobsJobConnectionPageInfo) GetEndCursor added in v3.12.0

GetEndCursor returns ListJobsByQueueOrganizationJobsJobConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.

func (*ListJobsByQueueOrganizationJobsJobConnectionPageInfo) GetHasNextPage added in v3.12.0

GetHasNextPage returns ListJobsByQueueOrganizationJobsJobConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.

type ListJobsByQueueResponse added in v3.12.0

type ListJobsByQueueResponse struct {
	// Find an organization
	Organization *ListJobsByQueueOrganization `json:"organization"`
}

ListJobsByQueueResponse is returned by ListJobsByQueue on success.

func ListJobsByQueue added in v3.12.0

func ListJobsByQueue(
	ctx_ context.Context,
	client_ graphql.Client,
	org string,
	clusterQueue []string,
	first *int,
	after *string,
) (data_ *ListJobsByQueueResponse, err_ error)

func (*ListJobsByQueueResponse) GetOrganization added in v3.12.0

GetOrganization returns ListJobsByQueueResponse.Organization, and is useful for accessing the field via an interface.

type ListJobsByStateOrganization added in v3.12.0

type ListJobsByStateOrganization struct {
	Jobs *ListJobsByStateOrganizationJobsJobConnection `json:"jobs"`
}

ListJobsByStateOrganization includes the requested fields of the GraphQL type Organization. The GraphQL type's documentation follows.

An organization

func (*ListJobsByStateOrganization) GetJobs added in v3.12.0

GetJobs returns ListJobsByStateOrganization.Jobs, and is useful for accessing the field via an interface.

type ListJobsByStateOrganizationJobsJobConnection added in v3.12.0

type ListJobsByStateOrganizationJobsJobConnection struct {
	Edges    []*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdge `json:"edges"`
	PageInfo *ListJobsByStateOrganizationJobsJobConnectionPageInfo       `json:"pageInfo"`
}

ListJobsByStateOrganizationJobsJobConnection includes the requested fields of the GraphQL type JobConnection.

func (*ListJobsByStateOrganizationJobsJobConnection) GetEdges added in v3.12.0

GetEdges returns ListJobsByStateOrganizationJobsJobConnection.Edges, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnection) GetPageInfo added in v3.12.0

GetPageInfo returns ListJobsByStateOrganizationJobsJobConnection.PageInfo, and is useful for accessing the field via an interface.

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdge added in v3.12.0

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdge struct {
	Node *ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJob `json:"-"`
}

ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdge includes the requested fields of the GraphQL type JobEdge.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdge) GetNode added in v3.12.0

GetNode returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdge.Node, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdge) MarshalJSON added in v3.12.0

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdge) UnmarshalJSON added in v3.12.0

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJob added in v3.12.0

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJob interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJob includes the requested fields of the GraphQL interface Job.

ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJob is implemented by the following types: ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait The GraphQL type's documentation follows.

Kinds of jobs that can exist on a build

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock added in v3.12.0

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock struct {
	Typename *string `json:"__typename"`
}

ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock 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 (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock) GetTypename added in v3.12.0

GetTypename returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeBlock.Typename, and is useful for accessing the field via an interface.

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand added in v3.12.0

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
	// The UUID for this job
	Uuid string `json:"uuid"`
	// The label of the job
	Label *string `json:"label"`
	// The command the job will run
	Command *string `json:"command"`
	// The state of the job
	State JobStates `json:"state"`
	// The exit status returned by the command on the agent
	ExitStatus *string `json:"exitStatus"`
	// The URL for the job
	Url string `json:"url"`
	// The time when the job started running
	StartedAt *time.Time `json:"startedAt"`
	// The time when the job finished
	FinishedAt *time.Time `json:"finishedAt"`
	// The time when the job was created
	CreatedAt *time.Time `json:"createdAt"`
	// The cluster of this job
	Cluster *ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster `json:"cluster"`
	// The cluster queue of this job
	ClusterQueue *ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue `json:"clusterQueue"`
	// The agent that is running the job
	Agent *ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent `json:"agent"`
}

ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand 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 (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetAgent added in v3.12.0

GetAgent returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Agent, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetCluster added in v3.12.0

GetCluster returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Cluster, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetClusterQueue added in v3.12.0

GetClusterQueue returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.ClusterQueue, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetCommand added in v3.12.0

GetCommand returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Command, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetCreatedAt added in v3.12.0

GetCreatedAt returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.CreatedAt, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetExitStatus added in v3.12.0

GetExitStatus returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.ExitStatus, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetFinishedAt added in v3.12.0

GetFinishedAt returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.FinishedAt, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetId added in v3.12.0

GetId returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Id, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetLabel added in v3.12.0

GetLabel returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Label, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetStartedAt added in v3.12.0

GetStartedAt returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.StartedAt, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetState added in v3.12.0

GetState returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.State, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetTypename added in v3.12.0

GetTypename returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Typename, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetUrl added in v3.12.0

GetUrl returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Url, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand) GetUuid added in v3.12.0

GetUuid returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommand.Uuid, and is useful for accessing the field via an interface.

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent added in v3.12.0

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent struct {
	Id string `json:"id"`
	// The name of the agent
	Name string `json:"name"`
	// The hostname of the machine running the agent
	Hostname *string `json:"hostname"`
	// The meta data this agent was stared with
	MetaData []string `json:"metaData"`
}

ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent includes the requested fields of the GraphQL type Agent. The GraphQL type's documentation follows.

An agent

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent) GetHostname added in v3.12.0

GetHostname returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent.Hostname, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent) GetId added in v3.12.0

GetId returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent.Id, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent) GetMetaData added in v3.12.0

GetMetaData returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent.MetaData, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent) GetName added in v3.12.0

GetName returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandAgent.Name, and is useful for accessing the field via an interface.

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster added in v3.12.0

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster struct {
	Id string `json:"id"`
	// Name of the cluster
	Name string `json:"name"`
}

ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster includes the requested fields of the GraphQL type Cluster.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster) GetId added in v3.12.0

GetId returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster.Id, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster) GetName added in v3.12.0

GetName returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandCluster.Name, and is useful for accessing the field via an interface.

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue added in v3.12.0

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue struct {
	Id  string `json:"id"`
	Key string `json:"key"`
}

ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue includes the requested fields of the GraphQL type ClusterQueue.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue) GetId added in v3.12.0

GetId returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue.Id, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue) GetKey added in v3.12.0

GetKey returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeCommandClusterQueue.Key, and is useful for accessing the field via an interface.

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger added in v3.12.0

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger struct {
	Typename *string `json:"__typename"`
}

ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger includes the requested fields of the GraphQL type JobTypeTrigger. The GraphQL type's documentation follows.

A type of job that triggers another build on a pipeline

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger) GetTypename added in v3.12.0

GetTypename returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeTrigger.Typename, and is useful for accessing the field via an interface.

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait added in v3.12.0

type ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait struct {
	Typename *string `json:"__typename"`
}

ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait includes the requested fields of the GraphQL type JobTypeWait. The GraphQL type's documentation follows.

A type of job that waits for all previous jobs to pass before proceeding the build pipeline

func (*ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait) GetTypename added in v3.12.0

GetTypename returns ListJobsByStateOrganizationJobsJobConnectionEdgesJobEdgeNodeJobTypeWait.Typename, and is useful for accessing the field via an interface.

type ListJobsByStateOrganizationJobsJobConnectionPageInfo added in v3.12.0

type ListJobsByStateOrganizationJobsJobConnectionPageInfo struct {
	// When paginating forwards, the cursor to continue.
	EndCursor *string `json:"endCursor"`
	// When paginating forwards, are there more items?
	HasNextPage bool `json:"hasNextPage"`
}

ListJobsByStateOrganizationJobsJobConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.

Information about pagination in a connection.

func (*ListJobsByStateOrganizationJobsJobConnectionPageInfo) GetEndCursor added in v3.12.0

GetEndCursor returns ListJobsByStateOrganizationJobsJobConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.

func (*ListJobsByStateOrganizationJobsJobConnectionPageInfo) GetHasNextPage added in v3.12.0

GetHasNextPage returns ListJobsByStateOrganizationJobsJobConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.

type ListJobsByStateResponse added in v3.12.0

type ListJobsByStateResponse struct {
	// Find an organization
	Organization *ListJobsByStateOrganization `json:"organization"`
}

ListJobsByStateResponse is returned by ListJobsByState on success.

func ListJobsByState added in v3.12.0

func ListJobsByState(
	ctx_ context.Context,
	client_ graphql.Client,
	org string,
	state []JobStates,
	first *int,
	after *string,
) (data_ *ListJobsByStateResponse, err_ error)

func (*ListJobsByStateResponse) GetOrganization added in v3.12.0

GetOrganization returns ListJobsByStateResponse.Organization, and is useful for accessing the field via an interface.

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

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

GetId returns RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand.Id, and is useful for accessing the field via an interface.

func (*RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand) GetState added in v3.4.0

GetState returns RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand.State, and is useful for accessing the field via an interface.

func (*RetryJobJobTypeCommandRetryJobTypeCommandRetryPayloadJobTypeCommand) GetUrl added in v3.4.0

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 RetryJob added in v3.4.0

func RetryJob(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
) (data_ *RetryJobResponse, err_ error)

func (*RetryJobResponse) GetJobTypeCommandRetry added in v3.4.0

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

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

GetBuild returns UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock.Build, and is useful for accessing the field via an interface.

func (*UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock) GetId

GetId returns UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock.Id, and is useful for accessing the field via an interface.

func (*UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock) GetIsUnblockable

GetIsUnblockable returns UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock.IsUnblockable, and is useful for accessing the field via an interface.

func (*UnblockJobJobTypeBlockUnblockJobTypeBlockUnblockPayloadJobTypeBlock) GetState

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

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 UnblockJob(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
	fields *string,
) (data_ *UnblockJobResponse, err_ error)

func (*UnblockJobResponse) GetJobTypeBlockUnblock

GetJobTypeBlockUnblock returns UnblockJobResponse.JobTypeBlockUnblock, and is useful for accessing the field via an interface.

Jump to

Keyboard shortcuts

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