Documentation ¶
Index ¶
- Constants
- func NewClient(token, endpoint string) graphql.Client
- func NewLogger(inner http.RoundTripper) http.RoundTripper
- type Build
- type BuildAuthorInput
- type BuildCancelBuildCancelBuildCancelPayload
- type BuildCancelInput
- type BuildCancelResponse
- type BuildCreateBuildCreateBuildCreatePayload
- type BuildCreateBuildCreateBuildCreatePayloadBuild
- func (v *BuildCreateBuildCreateBuildCreatePayloadBuild) GetId() string
- func (v *BuildCreateBuildCreateBuildCreatePayloadBuild) GetJobs() BuildJobsJobConnection
- func (v *BuildCreateBuildCreateBuildCreatePayloadBuild) GetNumber() int
- func (v *BuildCreateBuildCreateBuildCreatePayloadBuild) GetState() BuildStates
- func (v *BuildCreateBuildCreateBuildCreatePayloadBuild) GetUuid() string
- func (v *BuildCreateBuildCreateBuildCreatePayloadBuild) MarshalJSON() ([]byte, error)
- func (v *BuildCreateBuildCreateBuildCreatePayloadBuild) UnmarshalJSON(b []byte) error
- type BuildCreateInput
- func (v *BuildCreateInput) GetAuthor() BuildAuthorInput
- func (v *BuildCreateInput) GetBranch() string
- func (v *BuildCreateInput) GetClientMutationId() string
- func (v *BuildCreateInput) GetCommit() string
- func (v *BuildCreateInput) GetEnv() []string
- func (v *BuildCreateInput) GetMessage() string
- func (v *BuildCreateInput) GetMetaData() []BuildMetaDataInput
- func (v *BuildCreateInput) GetPipelineID() string
- type BuildCreateResponse
- type BuildJobsJobConnection
- type BuildJobsJobConnectionEdgesJobEdge
- type BuildMetaDataInput
- type BuildStates
- type CancelCommandJobJobTypeCommandCancelJobTypeCommandCancelPayload
- type CancelCommandJobResponse
- type CommandJob
- type CommandJobPriority
- type GetBuildBuild
- func (v *GetBuildBuild) GetId() string
- func (v *GetBuildBuild) GetJobs() BuildJobsJobConnection
- func (v *GetBuildBuild) GetNumber() int
- func (v *GetBuildBuild) GetState() BuildStates
- func (v *GetBuildBuild) GetUuid() string
- func (v *GetBuildBuild) MarshalJSON() ([]byte, error)
- func (v *GetBuildBuild) UnmarshalJSON(b []byte) error
- type GetBuildResponse
- type GetBuildsPipeline
- type GetBuildsPipelineBuildsBuildConnection
- type GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdge
- type GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild
- func (v *GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetId() string
- func (v *GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetJobs() BuildJobsJobConnection
- func (v *GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetNumber() int
- func (v *GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetState() BuildStates
- func (v *GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetUuid() string
- func (v *GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) MarshalJSON() ([]byte, error)
- func (v *GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) UnmarshalJSON(b []byte) error
- type GetBuildsResponse
- type GetCommandJobJob
- type GetCommandJobJobJobTypeBlock
- type GetCommandJobJobJobTypeCommand
- type GetCommandJobJobJobTypeTrigger
- type GetCommandJobJobJobTypeWait
- type GetCommandJobResponse
- type GetOrganizationOrganization
- type GetOrganizationResponse
- type GetScheduledJobsClusteredOrganization
- type GetScheduledJobsClusteredOrganizationJobsJobConnection
- type GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge
- func (v *GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge) GetNode() Job
- func (v *GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge) MarshalJSON() ([]byte, error)
- func (v *GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge) UnmarshalJSON(b []byte) error
- type GetScheduledJobsClusteredResponse
- type GetScheduledJobsOrganization
- type GetScheduledJobsOrganizationJobsJobConnection
- type GetScheduledJobsOrganizationJobsJobConnectionEdgesJobEdge
- type GetScheduledJobsResponse
- type Job
- type JobJobTypeBlock
- type JobJobTypeCommand
- func (v *JobJobTypeCommand) GetAgentQueryRules() []string
- func (v *JobJobTypeCommand) GetCommand() string
- func (v *JobJobTypeCommand) GetEnv() []string
- func (v *JobJobTypeCommand) GetPriority() CommandJobPriority
- func (v *JobJobTypeCommand) GetUuid() string
- func (v *JobJobTypeCommand) MarshalJSON() ([]byte, error)
- func (v *JobJobTypeCommand) UnmarshalJSON(b []byte) error
- type JobJobTypeTrigger
- type JobJobTypeWait
- type JobStates
- type JobTypeCommandCancelInput
- type PipelineDeleteInput
- type PipelineDeletePipelineDeletePipelineDeletePayload
- type PipelineDeleteResponse
- type SearchPipelinesOrganization
- type SearchPipelinesOrganizationPipelinesPipelineConnection
- type SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdge
- type SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdgeNodePipeline
- type SearchPipelinesResponse
Constants ¶
const BuildCancel_Operation = `
mutation BuildCancel ($input: BuildCancelInput!) {
buildCancel(input: $input) {
clientMutationId
}
}
`
The query or mutation executed by BuildCancel.
const BuildCreate_Operation = `` /* 418-byte string literal not displayed */
The query or mutation executed by BuildCreate.
const CancelCommandJob_Operation = `` /* 129-byte string literal not displayed */
The query or mutation executed by CancelCommandJob.
const GetBuild_Operation = `` /* 374-byte string literal not displayed */
The query or mutation executed by GetBuild.
const GetBuilds_Operation = `` /* 496-byte string literal not displayed */
The query or mutation executed by GetBuilds.
const GetCommandJob_Operation = `
query GetCommandJob ($uuid: ID!) {
job(uuid: $uuid) {
__typename
... on JobTypeCommand {
id
state
}
}
}
`
The query or mutation executed by GetCommandJob.
const GetOrganization_Operation = `
query GetOrganization ($slug: ID!) {
organization(slug: $slug) {
id
}
}
`
The query or mutation executed by GetOrganization.
const GetScheduledJobsClustered_Operation = `` /* 516-byte string literal not displayed */
The query or mutation executed by GetScheduledJobsClustered.
const GetScheduledJobs_Operation = `` /* 491-byte string literal not displayed */
The query or mutation executed by GetScheduledJobs.
const PipelineDelete_Operation = `
mutation PipelineDelete ($input: PipelineDeleteInput!) {
pipelineDelete(input: $input) {
clientMutationId
}
}
`
The query or mutation executed by PipelineDelete.
const SearchPipelines_Operation = `` /* 205-byte string literal not displayed */
The query or mutation executed by SearchPipelines.
Variables ¶
This section is empty.
Functions ¶
func NewLogger ¶
func NewLogger(inner http.RoundTripper) http.RoundTripper
Types ¶
type Build ¶
type Build struct { // The UUID for the build Uuid string `json:"uuid"` Id string `json:"id"` // The number of the build Number int `json:"number"` // The current state of the build State BuildStates `json:"state"` Jobs BuildJobsJobConnection `json:"jobs"` }
Build includes the GraphQL fields of Build requested by the fragment Build. The GraphQL type's documentation follows.
A build from a pipeline
func (*Build) GetId ¶
GetId returns Build.Id, and is useful for accessing the field via an interface.
func (*Build) GetJobs ¶
func (v *Build) GetJobs() BuildJobsJobConnection
GetJobs returns Build.Jobs, and is useful for accessing the field via an interface.
func (*Build) GetNumber ¶
GetNumber returns Build.Number, and is useful for accessing the field via an interface.
func (*Build) GetState ¶
func (v *Build) GetState() BuildStates
GetState returns Build.State, and is useful for accessing the field via an interface.
type BuildAuthorInput ¶
type BuildAuthorInput struct { // The email for the build author Email string `json:"email"` // The name for the build author Name string `json:"name"` }
Author for a build
func (*BuildAuthorInput) GetEmail ¶
func (v *BuildAuthorInput) GetEmail() string
GetEmail returns BuildAuthorInput.Email, and is useful for accessing the field via an interface.
func (*BuildAuthorInput) GetName ¶
func (v *BuildAuthorInput) GetName() string
GetName returns BuildAuthorInput.Name, and is useful for accessing the field via an interface.
type BuildCancelBuildCancelBuildCancelPayload ¶
type BuildCancelBuildCancelBuildCancelPayload struct { // A unique identifier for the client performing the mutation. ClientMutationId string `json:"clientMutationId"` }
BuildCancelBuildCancelBuildCancelPayload includes the requested fields of the GraphQL type BuildCancelPayload. The GraphQL type's documentation follows.
Autogenerated return type of BuildCancel.
func (*BuildCancelBuildCancelBuildCancelPayload) GetClientMutationId ¶
func (v *BuildCancelBuildCancelBuildCancelPayload) GetClientMutationId() string
GetClientMutationId returns BuildCancelBuildCancelBuildCancelPayload.ClientMutationId, and is useful for accessing the field via an interface.
type BuildCancelInput ¶
type BuildCancelInput struct { // A unique identifier for the client performing the mutation. ClientMutationId string `json:"clientMutationId"` Id string `json:"id"` }
Autogenerated input type of BuildCancel
func (*BuildCancelInput) GetClientMutationId ¶
func (v *BuildCancelInput) GetClientMutationId() string
GetClientMutationId returns BuildCancelInput.ClientMutationId, and is useful for accessing the field via an interface.
func (*BuildCancelInput) GetId ¶
func (v *BuildCancelInput) GetId() string
GetId returns BuildCancelInput.Id, and is useful for accessing the field via an interface.
type BuildCancelResponse ¶
type BuildCancelResponse struct { // Cancel a build. BuildCancel BuildCancelBuildCancelBuildCancelPayload `json:"buildCancel"` }
BuildCancelResponse is returned by BuildCancel on success.
func BuildCancel ¶
func BuildCancel( ctx_ context.Context, client_ graphql.Client, input BuildCancelInput, ) (*BuildCancelResponse, error)
func (*BuildCancelResponse) GetBuildCancel ¶
func (v *BuildCancelResponse) GetBuildCancel() BuildCancelBuildCancelBuildCancelPayload
GetBuildCancel returns BuildCancelResponse.BuildCancel, and is useful for accessing the field via an interface.
type BuildCreateBuildCreateBuildCreatePayload ¶
type BuildCreateBuildCreateBuildCreatePayload struct {
Build BuildCreateBuildCreateBuildCreatePayloadBuild `json:"build"`
}
BuildCreateBuildCreateBuildCreatePayload includes the requested fields of the GraphQL type BuildCreatePayload. The GraphQL type's documentation follows.
Autogenerated return type of BuildCreate.
func (*BuildCreateBuildCreateBuildCreatePayload) GetBuild ¶
func (v *BuildCreateBuildCreateBuildCreatePayload) GetBuild() BuildCreateBuildCreateBuildCreatePayloadBuild
GetBuild returns BuildCreateBuildCreateBuildCreatePayload.Build, and is useful for accessing the field via an interface.
type BuildCreateBuildCreateBuildCreatePayloadBuild ¶
type BuildCreateBuildCreateBuildCreatePayloadBuild struct {
Build `json:"-"`
}
BuildCreateBuildCreateBuildCreatePayloadBuild includes the requested fields of the GraphQL type Build. The GraphQL type's documentation follows.
A build from a pipeline
func (*BuildCreateBuildCreateBuildCreatePayloadBuild) GetId ¶
func (v *BuildCreateBuildCreateBuildCreatePayloadBuild) GetId() string
GetId returns BuildCreateBuildCreateBuildCreatePayloadBuild.Id, and is useful for accessing the field via an interface.
func (*BuildCreateBuildCreateBuildCreatePayloadBuild) GetJobs ¶
func (v *BuildCreateBuildCreateBuildCreatePayloadBuild) GetJobs() BuildJobsJobConnection
GetJobs returns BuildCreateBuildCreateBuildCreatePayloadBuild.Jobs, and is useful for accessing the field via an interface.
func (*BuildCreateBuildCreateBuildCreatePayloadBuild) GetNumber ¶
func (v *BuildCreateBuildCreateBuildCreatePayloadBuild) GetNumber() int
GetNumber returns BuildCreateBuildCreateBuildCreatePayloadBuild.Number, and is useful for accessing the field via an interface.
func (*BuildCreateBuildCreateBuildCreatePayloadBuild) GetState ¶
func (v *BuildCreateBuildCreateBuildCreatePayloadBuild) GetState() BuildStates
GetState returns BuildCreateBuildCreateBuildCreatePayloadBuild.State, and is useful for accessing the field via an interface.
func (*BuildCreateBuildCreateBuildCreatePayloadBuild) GetUuid ¶
func (v *BuildCreateBuildCreateBuildCreatePayloadBuild) GetUuid() string
GetUuid returns BuildCreateBuildCreateBuildCreatePayloadBuild.Uuid, and is useful for accessing the field via an interface.
func (*BuildCreateBuildCreateBuildCreatePayloadBuild) MarshalJSON ¶
func (v *BuildCreateBuildCreateBuildCreatePayloadBuild) MarshalJSON() ([]byte, error)
func (*BuildCreateBuildCreateBuildCreatePayloadBuild) UnmarshalJSON ¶
func (v *BuildCreateBuildCreateBuildCreatePayloadBuild) UnmarshalJSON(b []byte) error
type BuildCreateInput ¶
type BuildCreateInput struct { Author BuildAuthorInput `json:"author"` // The branch for the build Branch string `json:"branch"` // A unique identifier for the client performing the mutation. ClientMutationId string `json:"clientMutationId"` // The commit for the build Commit string `json:"commit"` // Environment variables used for the build Env []string `json:"env"` // The message that is displayed on the build Message string `json:"message"` MetaData []BuildMetaDataInput `json:"metaData"` // The GraphQL ID of the pipeline you want to create a build on PipelineID string `json:"pipelineID"` }
Autogenerated input type of BuildCreate
func (*BuildCreateInput) GetAuthor ¶
func (v *BuildCreateInput) GetAuthor() BuildAuthorInput
GetAuthor returns BuildCreateInput.Author, and is useful for accessing the field via an interface.
func (*BuildCreateInput) GetBranch ¶
func (v *BuildCreateInput) GetBranch() string
GetBranch returns BuildCreateInput.Branch, and is useful for accessing the field via an interface.
func (*BuildCreateInput) GetClientMutationId ¶
func (v *BuildCreateInput) GetClientMutationId() string
GetClientMutationId returns BuildCreateInput.ClientMutationId, and is useful for accessing the field via an interface.
func (*BuildCreateInput) GetCommit ¶
func (v *BuildCreateInput) GetCommit() string
GetCommit returns BuildCreateInput.Commit, and is useful for accessing the field via an interface.
func (*BuildCreateInput) GetEnv ¶
func (v *BuildCreateInput) GetEnv() []string
GetEnv returns BuildCreateInput.Env, and is useful for accessing the field via an interface.
func (*BuildCreateInput) GetMessage ¶
func (v *BuildCreateInput) GetMessage() string
GetMessage returns BuildCreateInput.Message, and is useful for accessing the field via an interface.
func (*BuildCreateInput) GetMetaData ¶
func (v *BuildCreateInput) GetMetaData() []BuildMetaDataInput
GetMetaData returns BuildCreateInput.MetaData, and is useful for accessing the field via an interface.
func (*BuildCreateInput) GetPipelineID ¶
func (v *BuildCreateInput) GetPipelineID() string
GetPipelineID returns BuildCreateInput.PipelineID, and is useful for accessing the field via an interface.
type BuildCreateResponse ¶
type BuildCreateResponse struct { // Create a build. BuildCreate BuildCreateBuildCreateBuildCreatePayload `json:"buildCreate"` }
BuildCreateResponse is returned by BuildCreate on success.
func BuildCreate ¶
func BuildCreate( ctx_ context.Context, client_ graphql.Client, input BuildCreateInput, ) (*BuildCreateResponse, error)
func (*BuildCreateResponse) GetBuildCreate ¶
func (v *BuildCreateResponse) GetBuildCreate() BuildCreateBuildCreateBuildCreatePayload
GetBuildCreate returns BuildCreateResponse.BuildCreate, and is useful for accessing the field via an interface.
type BuildJobsJobConnection ¶
type BuildJobsJobConnection struct {
Edges []BuildJobsJobConnectionEdgesJobEdge `json:"edges"`
}
BuildJobsJobConnection includes the requested fields of the GraphQL type JobConnection.
func (*BuildJobsJobConnection) GetEdges ¶
func (v *BuildJobsJobConnection) GetEdges() []BuildJobsJobConnectionEdgesJobEdge
GetEdges returns BuildJobsJobConnection.Edges, and is useful for accessing the field via an interface.
type BuildJobsJobConnectionEdgesJobEdge ¶
type BuildJobsJobConnectionEdgesJobEdge struct {
Node Job `json:"-"`
}
BuildJobsJobConnectionEdgesJobEdge includes the requested fields of the GraphQL type JobEdge.
func (*BuildJobsJobConnectionEdgesJobEdge) GetNode ¶
func (v *BuildJobsJobConnectionEdgesJobEdge) GetNode() Job
GetNode returns BuildJobsJobConnectionEdgesJobEdge.Node, and is useful for accessing the field via an interface.
func (*BuildJobsJobConnectionEdgesJobEdge) MarshalJSON ¶
func (v *BuildJobsJobConnectionEdgesJobEdge) MarshalJSON() ([]byte, error)
func (*BuildJobsJobConnectionEdgesJobEdge) UnmarshalJSON ¶
func (v *BuildJobsJobConnectionEdgesJobEdge) UnmarshalJSON(b []byte) error
type BuildMetaDataInput ¶
type BuildMetaDataInput struct { // The key for this meta-data item Key string `json:"key"` // The value for this meta-data item Value string `json:"value"` }
Meta-data key/value pairs for a build
func (*BuildMetaDataInput) GetKey ¶
func (v *BuildMetaDataInput) GetKey() string
GetKey returns BuildMetaDataInput.Key, and is useful for accessing the field via an interface.
func (*BuildMetaDataInput) GetValue ¶
func (v *BuildMetaDataInput) GetValue() string
GetValue returns BuildMetaDataInput.Value, and is useful for accessing the field via an interface.
type BuildStates ¶
type BuildStates string
All the possible states a build can be in
const ( // The build is blocked BuildStatesBlocked BuildStates = "BLOCKED" // The build was canceled BuildStatesCanceled BuildStates = "CANCELED" // The build is currently being canceled BuildStatesCanceling BuildStates = "CANCELING" // The build is currently being created BuildStatesCreating BuildStates = "CREATING" // The build failed BuildStatesFailed BuildStates = "FAILED" // The build is failing BuildStatesFailing BuildStates = "FAILING" // The build wasn't run BuildStatesNotRun BuildStates = "NOT_RUN" // The build passed BuildStatesPassed BuildStates = "PASSED" // The build is currently running jobs BuildStatesRunning BuildStates = "RUNNING" // The build has yet to start running jobs BuildStatesScheduled BuildStates = "SCHEDULED" // The build was skipped BuildStatesSkipped BuildStates = "SKIPPED" )
type CancelCommandJobJobTypeCommandCancelJobTypeCommandCancelPayload ¶
type CancelCommandJobJobTypeCommandCancelJobTypeCommandCancelPayload struct { // A unique identifier for the client performing the mutation. ClientMutationId string `json:"clientMutationId"` }
CancelCommandJobJobTypeCommandCancelJobTypeCommandCancelPayload includes the requested fields of the GraphQL type JobTypeCommandCancelPayload. The GraphQL type's documentation follows.
Autogenerated return type of JobTypeCommandCancel.
func (*CancelCommandJobJobTypeCommandCancelJobTypeCommandCancelPayload) GetClientMutationId ¶
func (v *CancelCommandJobJobTypeCommandCancelJobTypeCommandCancelPayload) GetClientMutationId() string
GetClientMutationId returns CancelCommandJobJobTypeCommandCancelJobTypeCommandCancelPayload.ClientMutationId, and is useful for accessing the field via an interface.
type CancelCommandJobResponse ¶
type CancelCommandJobResponse struct { // Cancel a job. JobTypeCommandCancel CancelCommandJobJobTypeCommandCancelJobTypeCommandCancelPayload `json:"jobTypeCommandCancel"` }
CancelCommandJobResponse is returned by CancelCommandJob on success.
func CancelCommandJob ¶
func CancelCommandJob( ctx_ context.Context, client_ graphql.Client, input JobTypeCommandCancelInput, ) (*CancelCommandJobResponse, error)
func (*CancelCommandJobResponse) GetJobTypeCommandCancel ¶
func (v *CancelCommandJobResponse) GetJobTypeCommandCancel() CancelCommandJobJobTypeCommandCancelJobTypeCommandCancelPayload
GetJobTypeCommandCancel returns CancelCommandJobResponse.JobTypeCommandCancel, and is useful for accessing the field via an interface.
type CommandJob ¶
type CommandJob struct { // The UUID for this job Uuid string `json:"uuid"` // Environment variables for this job Env []string `json:"env"` // The priority of this job Priority CommandJobPriority `json:"priority"` // The ruleset used to find an agent to run this job AgentQueryRules []string `json:"agentQueryRules"` // The command the job will run Command string `json:"command"` }
CommandJob includes the GraphQL fields of JobTypeCommand requested by the fragment CommandJob. The GraphQL type's documentation follows.
A type of job that runs a command on an agent
func (*CommandJob) GetAgentQueryRules ¶
func (v *CommandJob) GetAgentQueryRules() []string
GetAgentQueryRules returns CommandJob.AgentQueryRules, and is useful for accessing the field via an interface.
func (*CommandJob) GetCommand ¶
func (v *CommandJob) GetCommand() string
GetCommand returns CommandJob.Command, and is useful for accessing the field via an interface.
func (*CommandJob) GetEnv ¶
func (v *CommandJob) GetEnv() []string
GetEnv returns CommandJob.Env, and is useful for accessing the field via an interface.
func (*CommandJob) GetPriority ¶
func (v *CommandJob) GetPriority() CommandJobPriority
GetPriority returns CommandJob.Priority, and is useful for accessing the field via an interface.
func (*CommandJob) GetUuid ¶
func (v *CommandJob) GetUuid() string
GetUuid returns CommandJob.Uuid, and is useful for accessing the field via an interface.
type CommandJobPriority ¶
type CommandJobPriority struct {
Number int `json:"number"`
}
CommandJobPriority includes the requested fields of the GraphQL type JobPriority. The GraphQL type's documentation follows.
The priority with which a job will run
func (*CommandJobPriority) GetNumber ¶
func (v *CommandJobPriority) GetNumber() int
GetNumber returns CommandJobPriority.Number, and is useful for accessing the field via an interface.
type GetBuildBuild ¶
type GetBuildBuild struct {
Build `json:"-"`
}
GetBuildBuild includes the requested fields of the GraphQL type Build. The GraphQL type's documentation follows.
A build from a pipeline
func (*GetBuildBuild) GetId ¶
func (v *GetBuildBuild) GetId() string
GetId returns GetBuildBuild.Id, and is useful for accessing the field via an interface.
func (*GetBuildBuild) GetJobs ¶
func (v *GetBuildBuild) GetJobs() BuildJobsJobConnection
GetJobs returns GetBuildBuild.Jobs, and is useful for accessing the field via an interface.
func (*GetBuildBuild) GetNumber ¶
func (v *GetBuildBuild) GetNumber() int
GetNumber returns GetBuildBuild.Number, and is useful for accessing the field via an interface.
func (*GetBuildBuild) GetState ¶
func (v *GetBuildBuild) GetState() BuildStates
GetState returns GetBuildBuild.State, and is useful for accessing the field via an interface.
func (*GetBuildBuild) GetUuid ¶
func (v *GetBuildBuild) GetUuid() string
GetUuid returns GetBuildBuild.Uuid, and is useful for accessing the field via an interface.
func (*GetBuildBuild) MarshalJSON ¶
func (v *GetBuildBuild) MarshalJSON() ([]byte, error)
func (*GetBuildBuild) UnmarshalJSON ¶
func (v *GetBuildBuild) UnmarshalJSON(b []byte) error
type GetBuildResponse ¶
type GetBuildResponse struct { // Find a build Build GetBuildBuild `json:"build"` }
GetBuildResponse is returned by GetBuild on success.
func (*GetBuildResponse) GetBuild ¶
func (v *GetBuildResponse) GetBuild() GetBuildBuild
GetBuild returns GetBuildResponse.Build, and is useful for accessing the field via an interface.
type GetBuildsPipeline ¶
type GetBuildsPipeline struct { // Returns the builds for this pipeline Builds GetBuildsPipelineBuildsBuildConnection `json:"builds"` }
GetBuildsPipeline includes the requested fields of the GraphQL type Pipeline. The GraphQL type's documentation follows.
A pipeline
func (*GetBuildsPipeline) GetBuilds ¶
func (v *GetBuildsPipeline) GetBuilds() GetBuildsPipelineBuildsBuildConnection
GetBuilds returns GetBuildsPipeline.Builds, and is useful for accessing the field via an interface.
type GetBuildsPipelineBuildsBuildConnection ¶
type GetBuildsPipelineBuildsBuildConnection struct {
Edges []GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdge `json:"edges"`
}
GetBuildsPipelineBuildsBuildConnection includes the requested fields of the GraphQL type BuildConnection.
func (*GetBuildsPipelineBuildsBuildConnection) GetEdges ¶
func (v *GetBuildsPipelineBuildsBuildConnection) GetEdges() []GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdge
GetEdges returns GetBuildsPipelineBuildsBuildConnection.Edges, and is useful for accessing the field via an interface.
type GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdge ¶
type GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdge struct {
Node GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild `json:"node"`
}
GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdge includes the requested fields of the GraphQL type BuildEdge.
func (*GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdge) GetNode ¶
func (v *GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdge) GetNode() GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild
GetNode returns GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdge.Node, and is useful for accessing the field via an interface.
type GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild ¶
type GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild struct {
Build `json:"-"`
}
GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild includes the requested fields of the GraphQL type Build. The GraphQL type's documentation follows.
A build from a pipeline
func (*GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetId ¶
func (v *GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetId() string
GetId returns GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild.Id, and is useful for accessing the field via an interface.
func (*GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetJobs ¶
func (v *GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetJobs() BuildJobsJobConnection
GetJobs returns GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild.Jobs, and is useful for accessing the field via an interface.
func (*GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetNumber ¶
func (v *GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetNumber() int
GetNumber returns GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild.Number, and is useful for accessing the field via an interface.
func (*GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetState ¶
func (v *GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetState() BuildStates
GetState returns GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild.State, and is useful for accessing the field via an interface.
func (*GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetUuid ¶
func (v *GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) GetUuid() string
GetUuid returns GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild.Uuid, and is useful for accessing the field via an interface.
func (*GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) MarshalJSON ¶
func (v *GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) MarshalJSON() ([]byte, error)
func (*GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) UnmarshalJSON ¶
func (v *GetBuildsPipelineBuildsBuildConnectionEdgesBuildEdgeNodeBuild) UnmarshalJSON(b []byte) error
type GetBuildsResponse ¶
type GetBuildsResponse struct { // Find a pipeline Pipeline GetBuildsPipeline `json:"pipeline"` }
GetBuildsResponse is returned by GetBuilds on success.
func GetBuilds ¶
func GetBuilds( ctx_ context.Context, client_ graphql.Client, slug string, state []BuildStates, first int, ) (*GetBuildsResponse, error)
func (*GetBuildsResponse) GetPipeline ¶
func (v *GetBuildsResponse) GetPipeline() GetBuildsPipeline
GetPipeline returns GetBuildsResponse.Pipeline, and is useful for accessing the field via an interface.
type GetCommandJobJob ¶
type GetCommandJobJob interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string // contains filtered or unexported methods }
GetCommandJobJob includes the requested fields of the GraphQL interface Job.
GetCommandJobJob is implemented by the following types: GetCommandJobJobJobTypeBlock GetCommandJobJobJobTypeCommand GetCommandJobJobJobTypeTrigger GetCommandJobJobJobTypeWait The GraphQL type's documentation follows.
Kinds of jobs that can exist on a build
type GetCommandJobJobJobTypeBlock ¶
type GetCommandJobJobJobTypeBlock struct {
Typename string `json:"__typename"`
}
GetCommandJobJobJobTypeBlock 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 (*GetCommandJobJobJobTypeBlock) GetTypename ¶
func (v *GetCommandJobJobJobTypeBlock) GetTypename() string
GetTypename returns GetCommandJobJobJobTypeBlock.Typename, and is useful for accessing the field via an interface.
type GetCommandJobJobJobTypeCommand ¶
type GetCommandJobJobJobTypeCommand struct { Typename string `json:"__typename"` Id string `json:"id"` // The state of the job State JobStates `json:"state"` }
GetCommandJobJobJobTypeCommand 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 (*GetCommandJobJobJobTypeCommand) GetId ¶
func (v *GetCommandJobJobJobTypeCommand) GetId() string
GetId returns GetCommandJobJobJobTypeCommand.Id, and is useful for accessing the field via an interface.
func (*GetCommandJobJobJobTypeCommand) GetState ¶
func (v *GetCommandJobJobJobTypeCommand) GetState() JobStates
GetState returns GetCommandJobJobJobTypeCommand.State, and is useful for accessing the field via an interface.
func (*GetCommandJobJobJobTypeCommand) GetTypename ¶
func (v *GetCommandJobJobJobTypeCommand) GetTypename() string
GetTypename returns GetCommandJobJobJobTypeCommand.Typename, and is useful for accessing the field via an interface.
type GetCommandJobJobJobTypeTrigger ¶
type GetCommandJobJobJobTypeTrigger struct {
Typename string `json:"__typename"`
}
GetCommandJobJobJobTypeTrigger 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 (*GetCommandJobJobJobTypeTrigger) GetTypename ¶
func (v *GetCommandJobJobJobTypeTrigger) GetTypename() string
GetTypename returns GetCommandJobJobJobTypeTrigger.Typename, and is useful for accessing the field via an interface.
type GetCommandJobJobJobTypeWait ¶
type GetCommandJobJobJobTypeWait struct {
Typename string `json:"__typename"`
}
GetCommandJobJobJobTypeWait 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 (*GetCommandJobJobJobTypeWait) GetTypename ¶
func (v *GetCommandJobJobJobTypeWait) GetTypename() string
GetTypename returns GetCommandJobJobJobTypeWait.Typename, and is useful for accessing the field via an interface.
type GetCommandJobResponse ¶
type GetCommandJobResponse struct { // Find a build job Job GetCommandJobJob `json:"-"` }
GetCommandJobResponse is returned by GetCommandJob on success.
func GetCommandJob ¶
func (*GetCommandJobResponse) GetJob ¶
func (v *GetCommandJobResponse) GetJob() GetCommandJobJob
GetJob returns GetCommandJobResponse.Job, and is useful for accessing the field via an interface.
func (*GetCommandJobResponse) MarshalJSON ¶
func (v *GetCommandJobResponse) MarshalJSON() ([]byte, error)
func (*GetCommandJobResponse) UnmarshalJSON ¶
func (v *GetCommandJobResponse) UnmarshalJSON(b []byte) error
type GetOrganizationOrganization ¶
type GetOrganizationOrganization struct {
Id string `json:"id"`
}
GetOrganizationOrganization includes the requested fields of the GraphQL type Organization. The GraphQL type's documentation follows.
An organization
func (*GetOrganizationOrganization) GetId ¶
func (v *GetOrganizationOrganization) GetId() string
GetId returns GetOrganizationOrganization.Id, and is useful for accessing the field via an interface.
type GetOrganizationResponse ¶
type GetOrganizationResponse struct { // Find an organization Organization GetOrganizationOrganization `json:"organization"` }
GetOrganizationResponse is returned by GetOrganization on success.
func GetOrganization ¶
func (*GetOrganizationResponse) GetOrganization ¶
func (v *GetOrganizationResponse) GetOrganization() GetOrganizationOrganization
GetOrganization returns GetOrganizationResponse.Organization, and is useful for accessing the field via an interface.
type GetScheduledJobsClusteredOrganization ¶
type GetScheduledJobsClusteredOrganization struct { Id *string `json:"id"` Jobs GetScheduledJobsClusteredOrganizationJobsJobConnection `json:"jobs"` }
GetScheduledJobsClusteredOrganization includes the requested fields of the GraphQL type Organization. The GraphQL type's documentation follows.
An organization
func (*GetScheduledJobsClusteredOrganization) GetId ¶
func (v *GetScheduledJobsClusteredOrganization) GetId() *string
GetId returns GetScheduledJobsClusteredOrganization.Id, and is useful for accessing the field via an interface.
func (*GetScheduledJobsClusteredOrganization) GetJobs ¶
func (v *GetScheduledJobsClusteredOrganization) GetJobs() GetScheduledJobsClusteredOrganizationJobsJobConnection
GetJobs returns GetScheduledJobsClusteredOrganization.Jobs, and is useful for accessing the field via an interface.
type GetScheduledJobsClusteredOrganizationJobsJobConnection ¶
type GetScheduledJobsClusteredOrganizationJobsJobConnection struct { Count int `json:"count"` Edges []GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge `json:"edges"` }
GetScheduledJobsClusteredOrganizationJobsJobConnection includes the requested fields of the GraphQL type JobConnection.
func (*GetScheduledJobsClusteredOrganizationJobsJobConnection) GetCount ¶
func (v *GetScheduledJobsClusteredOrganizationJobsJobConnection) GetCount() int
GetCount returns GetScheduledJobsClusteredOrganizationJobsJobConnection.Count, and is useful for accessing the field via an interface.
func (*GetScheduledJobsClusteredOrganizationJobsJobConnection) GetEdges ¶
func (v *GetScheduledJobsClusteredOrganizationJobsJobConnection) GetEdges() []GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge
GetEdges returns GetScheduledJobsClusteredOrganizationJobsJobConnection.Edges, and is useful for accessing the field via an interface.
type GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge ¶
type GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge struct {
Node Job `json:"-"`
}
GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge includes the requested fields of the GraphQL type JobEdge.
func (*GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge) GetNode ¶
func (v *GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge) GetNode() Job
GetNode returns GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge.Node, and is useful for accessing the field via an interface.
func (*GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge) MarshalJSON ¶
func (v *GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge) MarshalJSON() ([]byte, error)
func (*GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge) UnmarshalJSON ¶
func (v *GetScheduledJobsClusteredOrganizationJobsJobConnectionEdgesJobEdge) UnmarshalJSON(b []byte) error
type GetScheduledJobsClusteredResponse ¶
type GetScheduledJobsClusteredResponse struct { // Find an organization Organization GetScheduledJobsClusteredOrganization `json:"organization"` }
GetScheduledJobsClusteredResponse is returned by GetScheduledJobsClustered on success.
func (*GetScheduledJobsClusteredResponse) GetOrganization ¶
func (v *GetScheduledJobsClusteredResponse) GetOrganization() GetScheduledJobsClusteredOrganization
GetOrganization returns GetScheduledJobsClusteredResponse.Organization, and is useful for accessing the field via an interface.
type GetScheduledJobsOrganization ¶
type GetScheduledJobsOrganization struct { Id *string `json:"id"` Jobs GetScheduledJobsOrganizationJobsJobConnection `json:"jobs"` }
GetScheduledJobsOrganization includes the requested fields of the GraphQL type Organization. The GraphQL type's documentation follows.
An organization
func (*GetScheduledJobsOrganization) GetId ¶
func (v *GetScheduledJobsOrganization) GetId() *string
GetId returns GetScheduledJobsOrganization.Id, and is useful for accessing the field via an interface.
func (*GetScheduledJobsOrganization) GetJobs ¶
func (v *GetScheduledJobsOrganization) GetJobs() GetScheduledJobsOrganizationJobsJobConnection
GetJobs returns GetScheduledJobsOrganization.Jobs, and is useful for accessing the field via an interface.
type GetScheduledJobsOrganizationJobsJobConnection ¶
type GetScheduledJobsOrganizationJobsJobConnection struct { Count int `json:"count"` Edges []GetScheduledJobsOrganizationJobsJobConnectionEdgesJobEdge `json:"edges"` }
GetScheduledJobsOrganizationJobsJobConnection includes the requested fields of the GraphQL type JobConnection.
func (*GetScheduledJobsOrganizationJobsJobConnection) GetCount ¶
func (v *GetScheduledJobsOrganizationJobsJobConnection) GetCount() int
GetCount returns GetScheduledJobsOrganizationJobsJobConnection.Count, and is useful for accessing the field via an interface.
func (*GetScheduledJobsOrganizationJobsJobConnection) GetEdges ¶
func (v *GetScheduledJobsOrganizationJobsJobConnection) GetEdges() []GetScheduledJobsOrganizationJobsJobConnectionEdgesJobEdge
GetEdges returns GetScheduledJobsOrganizationJobsJobConnection.Edges, and is useful for accessing the field via an interface.
type GetScheduledJobsOrganizationJobsJobConnectionEdgesJobEdge ¶
type GetScheduledJobsOrganizationJobsJobConnectionEdgesJobEdge struct {
Node Job `json:"-"`
}
GetScheduledJobsOrganizationJobsJobConnectionEdgesJobEdge includes the requested fields of the GraphQL type JobEdge.
func (*GetScheduledJobsOrganizationJobsJobConnectionEdgesJobEdge) GetNode ¶
func (v *GetScheduledJobsOrganizationJobsJobConnectionEdgesJobEdge) GetNode() Job
GetNode returns GetScheduledJobsOrganizationJobsJobConnectionEdgesJobEdge.Node, and is useful for accessing the field via an interface.
func (*GetScheduledJobsOrganizationJobsJobConnectionEdgesJobEdge) MarshalJSON ¶
func (v *GetScheduledJobsOrganizationJobsJobConnectionEdgesJobEdge) MarshalJSON() ([]byte, error)
func (*GetScheduledJobsOrganizationJobsJobConnectionEdgesJobEdge) UnmarshalJSON ¶
func (v *GetScheduledJobsOrganizationJobsJobConnectionEdgesJobEdge) UnmarshalJSON(b []byte) error
type GetScheduledJobsResponse ¶
type GetScheduledJobsResponse struct { // Find an organization Organization GetScheduledJobsOrganization `json:"organization"` }
GetScheduledJobsResponse is returned by GetScheduledJobs on success.
func GetScheduledJobs ¶
func (*GetScheduledJobsResponse) GetOrganization ¶
func (v *GetScheduledJobsResponse) GetOrganization() GetScheduledJobsOrganization
GetOrganization returns GetScheduledJobsResponse.Organization, and is useful for accessing the field via an interface.
type Job ¶
type Job interface {
// contains filtered or unexported methods
}
Job includes the GraphQL fields of Job requested by the fragment Job. The GraphQL type's documentation follows.
Kinds of jobs that can exist on a build ¶
Job is implemented by the following types: JobJobTypeBlock JobJobTypeCommand JobJobTypeTrigger JobJobTypeWait
type JobJobTypeBlock ¶
type JobJobTypeBlock struct { }
Job includes the GraphQL fields of JobTypeBlock requested by the fragment Job. The GraphQL type's documentation follows.
Kinds of jobs that can exist on a build
type JobJobTypeCommand ¶
type JobJobTypeCommand struct {
CommandJob `json:"-"`
}
Job includes the GraphQL fields of JobTypeCommand requested by the fragment Job. The GraphQL type's documentation follows.
Kinds of jobs that can exist on a build
func (*JobJobTypeCommand) GetAgentQueryRules ¶
func (v *JobJobTypeCommand) GetAgentQueryRules() []string
GetAgentQueryRules returns JobJobTypeCommand.AgentQueryRules, and is useful for accessing the field via an interface.
func (*JobJobTypeCommand) GetCommand ¶
func (v *JobJobTypeCommand) GetCommand() string
GetCommand returns JobJobTypeCommand.Command, and is useful for accessing the field via an interface.
func (*JobJobTypeCommand) GetEnv ¶
func (v *JobJobTypeCommand) GetEnv() []string
GetEnv returns JobJobTypeCommand.Env, and is useful for accessing the field via an interface.
func (*JobJobTypeCommand) GetPriority ¶
func (v *JobJobTypeCommand) GetPriority() CommandJobPriority
GetPriority returns JobJobTypeCommand.Priority, and is useful for accessing the field via an interface.
func (*JobJobTypeCommand) GetUuid ¶
func (v *JobJobTypeCommand) GetUuid() string
GetUuid returns JobJobTypeCommand.Uuid, and is useful for accessing the field via an interface.
func (*JobJobTypeCommand) MarshalJSON ¶
func (v *JobJobTypeCommand) MarshalJSON() ([]byte, error)
func (*JobJobTypeCommand) UnmarshalJSON ¶
func (v *JobJobTypeCommand) UnmarshalJSON(b []byte) error
type JobJobTypeTrigger ¶
type JobJobTypeTrigger struct { }
Job includes the GraphQL fields of JobTypeTrigger requested by the fragment Job. The GraphQL type's documentation follows.
Kinds of jobs that can exist on a build
type JobJobTypeWait ¶
type JobJobTypeWait struct { }
Job includes the GraphQL fields of JobTypeWait requested by the fragment Job. The GraphQL type's documentation follows.
Kinds of jobs that can exist on a build
type JobStates ¶
type JobStates string
All the possible states a job can be in
const ( // The job was accepted by the agent, and now it's waiting to start running JobStatesAccepted JobStates = "ACCEPTED" // The job has been assigned to an agent, and it's waiting for it to accept JobStatesAssigned JobStates = "ASSIGNED" // 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" // The jobs configuration means that it can't be run JobStatesBroken JobStates = "BROKEN" // The job was canceled JobStatesCanceled JobStates = "CANCELED" // The job is currently canceling JobStatesCanceling JobStates = "CANCELING" // The job expired before it was started on an agent JobStatesExpired JobStates = "EXPIRED" // The job has finished JobStatesFinished JobStates = "FINISHED" // The job is waiting for jobs with the same concurrency group to finish JobStatesLimited JobStates = "LIMITED" // The job is waiting on a concurrency group check before becoming either `LIMITED` or `SCHEDULED` JobStatesLimiting JobStates = "LIMITING" // The job has just been created and doesn't have a state yet JobStatesPending JobStates = "PENDING" // The job is running JobStatesRunning JobStates = "RUNNING" // The job is scheduled and waiting for an agent JobStatesScheduled JobStates = "SCHEDULED" // The job was skipped JobStatesSkipped JobStates = "SKIPPED" // The job timed out JobStatesTimedOut JobStates = "TIMED_OUT" // The job is timing out for taking too long JobStatesTimingOut JobStates = "TIMING_OUT" // 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 `wait` step to finish JobStatesWaiting JobStates = "WAITING" // The job was in a `WAITING` state when the build failed JobStatesWaitingFailed JobStates = "WAITING_FAILED" )
type JobTypeCommandCancelInput ¶
type JobTypeCommandCancelInput struct { // A unique identifier for the client performing the mutation. ClientMutationId string `json:"clientMutationId"` Id string `json:"id"` }
Autogenerated input type of JobTypeCommandCancel
func (*JobTypeCommandCancelInput) GetClientMutationId ¶
func (v *JobTypeCommandCancelInput) GetClientMutationId() string
GetClientMutationId returns JobTypeCommandCancelInput.ClientMutationId, and is useful for accessing the field via an interface.
func (*JobTypeCommandCancelInput) GetId ¶
func (v *JobTypeCommandCancelInput) GetId() string
GetId returns JobTypeCommandCancelInput.Id, and is useful for accessing the field via an interface.
type PipelineDeleteInput ¶
type PipelineDeleteInput struct { // A unique identifier for the client performing the mutation. ClientMutationId string `json:"clientMutationId"` Id string `json:"id"` }
Autogenerated input type of PipelineDelete
func (*PipelineDeleteInput) GetClientMutationId ¶
func (v *PipelineDeleteInput) GetClientMutationId() string
GetClientMutationId returns PipelineDeleteInput.ClientMutationId, and is useful for accessing the field via an interface.
func (*PipelineDeleteInput) GetId ¶
func (v *PipelineDeleteInput) GetId() string
GetId returns PipelineDeleteInput.Id, and is useful for accessing the field via an interface.
type PipelineDeletePipelineDeletePipelineDeletePayload ¶
type PipelineDeletePipelineDeletePipelineDeletePayload struct { // A unique identifier for the client performing the mutation. ClientMutationId string `json:"clientMutationId"` }
PipelineDeletePipelineDeletePipelineDeletePayload includes the requested fields of the GraphQL type PipelineDeletePayload. The GraphQL type's documentation follows.
Autogenerated return type of PipelineDelete.
func (*PipelineDeletePipelineDeletePipelineDeletePayload) GetClientMutationId ¶
func (v *PipelineDeletePipelineDeletePipelineDeletePayload) GetClientMutationId() string
GetClientMutationId returns PipelineDeletePipelineDeletePipelineDeletePayload.ClientMutationId, and is useful for accessing the field via an interface.
type PipelineDeleteResponse ¶
type PipelineDeleteResponse struct { // Delete a pipeline. PipelineDelete PipelineDeletePipelineDeletePipelineDeletePayload `json:"pipelineDelete"` }
PipelineDeleteResponse is returned by PipelineDelete on success.
func PipelineDelete ¶
func PipelineDelete( ctx_ context.Context, client_ graphql.Client, input PipelineDeleteInput, ) (*PipelineDeleteResponse, error)
## The following are used in the cleanup integration "test"
func (*PipelineDeleteResponse) GetPipelineDelete ¶
func (v *PipelineDeleteResponse) GetPipelineDelete() PipelineDeletePipelineDeletePipelineDeletePayload
GetPipelineDelete returns PipelineDeleteResponse.PipelineDelete, and is useful for accessing the field via an interface.
type SearchPipelinesOrganization ¶
type SearchPipelinesOrganization struct { // Return all the pipelines the current user has access to for this organization Pipelines SearchPipelinesOrganizationPipelinesPipelineConnection `json:"pipelines"` }
SearchPipelinesOrganization includes the requested fields of the GraphQL type Organization. The GraphQL type's documentation follows.
An organization
func (*SearchPipelinesOrganization) GetPipelines ¶
func (v *SearchPipelinesOrganization) GetPipelines() SearchPipelinesOrganizationPipelinesPipelineConnection
GetPipelines returns SearchPipelinesOrganization.Pipelines, and is useful for accessing the field via an interface.
type SearchPipelinesOrganizationPipelinesPipelineConnection ¶
type SearchPipelinesOrganizationPipelinesPipelineConnection struct {
Edges []SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdge `json:"edges"`
}
SearchPipelinesOrganizationPipelinesPipelineConnection includes the requested fields of the GraphQL type PipelineConnection.
func (*SearchPipelinesOrganizationPipelinesPipelineConnection) GetEdges ¶
func (v *SearchPipelinesOrganizationPipelinesPipelineConnection) GetEdges() []SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdge
GetEdges returns SearchPipelinesOrganizationPipelinesPipelineConnection.Edges, and is useful for accessing the field via an interface.
type SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdge ¶
type SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdge struct {
Node SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdgeNodePipeline `json:"node"`
}
SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdge includes the requested fields of the GraphQL type PipelineEdge.
func (*SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdge) GetNode ¶
func (v *SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdge) GetNode() SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdgeNodePipeline
GetNode returns SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdge.Node, and is useful for accessing the field via an interface.
type SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdgeNodePipeline ¶
type SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdgeNodePipeline struct { Id string `json:"id"` // The name of the pipeline Name string `json:"name"` }
SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdgeNodePipeline includes the requested fields of the GraphQL type Pipeline. The GraphQL type's documentation follows.
A pipeline
func (*SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdgeNodePipeline) GetId ¶
func (v *SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdgeNodePipeline) GetId() string
GetId returns SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdgeNodePipeline.Id, and is useful for accessing the field via an interface.
func (*SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdgeNodePipeline) GetName ¶
func (v *SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdgeNodePipeline) GetName() string
GetName returns SearchPipelinesOrganizationPipelinesPipelineConnectionEdgesPipelineEdgeNodePipeline.Name, and is useful for accessing the field via an interface.
type SearchPipelinesResponse ¶
type SearchPipelinesResponse struct { // Find an organization Organization SearchPipelinesOrganization `json:"organization"` }
SearchPipelinesResponse is returned by SearchPipelines on success.
func SearchPipelines ¶
func (*SearchPipelinesResponse) GetOrganization ¶
func (v *SearchPipelinesResponse) GetOrganization() SearchPipelinesOrganization
GetOrganization returns SearchPipelinesResponse.Organization, and is useful for accessing the field via an interface.