Documentation ¶
Index ¶
- type AccessTokenRequest
- type AccessTokenResponse
- type Association
- type AssociationType
- type BuildInfo
- type BuildInfoRequest
- type BuildInfoResponse
- type BuildKey
- type CloudIdResponse
- type Command
- type Commit
- type DeploymentInfo
- type DeploymentInfoRequest
- type DeploymentInfoResponse
- type DeploymentKey
- type Environment
- type EnvironmentType
- type Error
- type Issue
- type IssueFields
- type Pipeline
- type ProviderMetadata
- type Ref
- type Reference
- type RejectedBuild
- type RejectedDeployment
- type SearchRequest
- type SearchResult
- type ServerInfo
- type TestInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessTokenRequest ¶
type AccessTokenResponse ¶
type Association ¶
type Association struct { AssociationType AssociationType `json:"associationType"` Values []string `json:"values"` }
type AssociationType ¶
type AssociationType string
const ( IssueKeysAssociation AssociationType = "issueKeys" IssueIdOrKeysAssociation AssociationType = "issueIdOrKeys" ServiceIdOrKeysAssociation AssociationType = "serviceIdOrKeys" )
type BuildInfo ¶
type BuildInfo struct { SchemaVersion string `json:"schemaVersion,omitempty"` PipelineId string `json:"pipelineId"` BuildNumber int64 `json:"buildNumber"` UpdateSequenceNumber int64 `json:"updateSequenceNumber"` DisplayName string `json:"displayName"` Description string `json:"description,omitempty"` Label string `json:"label,omitempty"` Url string `json:"url"` State common.State `json:"state"` LastUpdated time.Time `json:"lastUpdated"` IssueKeys []string `json:"issueKeys"` TestInfo *TestInfo `json:"testInfo,omitempty"` References []Reference `json:"references,omitempty"` }
type BuildInfoRequest ¶
type BuildInfoRequest struct { Properties map[string]string `json:"properties,omitempty"` Builds []BuildInfo `json:"builds"` ProviderMetadata ProviderMetadata `json:"providerMetadata"` }
type BuildInfoResponse ¶
type BuildInfoResponse struct { AcceptedBuilds []BuildKey `json:"acceptedBuilds"` RejectedBuilds []RejectedBuild `json:"rejectedBuilds"` UnknownIssueKeys []string `json:"unknownIssueKeys"` }
type CloudIdResponse ¶
type CloudIdResponse struct {
CloudId string `json:"cloudId"`
}
type DeploymentInfo ¶
type DeploymentInfo struct { SchemaVersion string `json:"schemaVersion,omitempty"` DeploymentSequenceNumber int64 `json:"deploymentSequenceNumber"` UpdateSequenceNumber int64 `json:"updateSequenceNumber"` Associations []Association `json:"associations"` DisplayName string `json:"displayName"` Url string `json:"url"` Description string `json:"description"` LastUpdated time.Time `json:"lastUpdated"` Label string `json:"label,omitempty"` State common.State `json:"state"` Pipeline Pipeline `json:"pipeline"` Environment Environment `json:"environment"` Commands []Command `json:"commands,omitempty"` }
type DeploymentInfoRequest ¶
type DeploymentInfoRequest struct { Properties map[string]string `json:"properties,omitempty"` Deployments []DeploymentInfo `json:"deployments"` ProviderMetadata ProviderMetadata `json:"providerMetadata"` }
type DeploymentInfoResponse ¶
type DeploymentInfoResponse struct { AcceptedDeployments []DeploymentKey `json:"acceptedDeployments"` RejectedDeployments []RejectedDeployment `json:"rejectedDeployments"` UnknownIssueKeys []string `json:"unknownIssueKeys"` UnknownAssociations []Association `json:"unknownAssociations"` }
type DeploymentKey ¶
type Environment ¶
type Environment struct { Id string `json:"id"` DisplayName string `json:"displayName"` Type EnvironmentType `json:"type"` }
type EnvironmentType ¶
type EnvironmentType string
const ( Unmapped EnvironmentType = "unmapped" Development EnvironmentType = "development" Testing EnvironmentType = "testing" Staging EnvironmentType = "staging" Production EnvironmentType = "production" )
type Issue ¶
type Issue struct { Key string `json:"key"` Fields IssueFields `json:"fields"` }
type IssueFields ¶
type IssueFields struct {
Summary string `json:"summary"`
}
type ProviderMetadata ¶
type ProviderMetadata struct {
Product string `json:"product"`
}
type RejectedBuild ¶
type RejectedDeployment ¶
type RejectedDeployment struct { Key DeploymentKey `json:"key"` Errors []Error `json:"errors"` }
type SearchRequest ¶
type SearchResult ¶
type ServerInfo ¶
Click to show internal directories.
Click to hide internal directories.