Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AddAgentPoolsProjectOpts
- type AddAgentRequirementToBuildTypeOpts
- type AddAgentToAgentPoolOpts
- type AddArtifactDependencyToBuildTypeOpts
- type AddBuildFeatureToBuildTypeOpts
- type AddBuildStepToBuildTypeOpts
- type AddBuildTemplateOpts
- type AddBuildToQueueOpts
- type AddBuildTypeOpts
- type AddBuildVcsLabelOpts
- type AddFeatureOpts
- type AddGroupOpts
- type AddInvestigationOpts
- type AddLicenseKeysOpts
- type AddLogMessageToBuildOpts
- type AddMultipleInvestigationsOpts
- type AddParameterToBuildFeatureOpts
- type AddParameterToBuildStepOpts
- type AddProblemToBuildOpts
- type AddProjectOpts
- type AddProjectToAgentPoolOpts
- type AddRoleToGroupOpts
- type AddRoleToUserOpts
- type AddSecureTokenOpts
- type AddSnapshotDependencyToBuildTypeOpts
- type AddTagsToBuildOfBuildQueueOpts
- type AddTagsToBuildOpts
- type AddTagsToMultipleBuildsOpts
- type AddTemplateOpts
- type AddTriggerToBuildTypeOpts
- type AddUserOpts
- type AddUserTokenOpts
- type AddVcsRootOpts
- type AddVcsRootToBuildTypeOpts
- type Agent
- type AgentApiService
- func (a *AgentApiService) DeleteAgent(ctx context.Context, agentLocator string) (*http.Response, error)
- func (a *AgentApiService) GetAgent(ctx context.Context, agentLocator string, localVarOptionals *GetAgentOpts) (Agent, *http.Response, error)
- func (a *AgentApiService) GetAgentField(ctx context.Context, agentLocator string, field string) (string, *http.Response, error)
- func (a *AgentApiService) GetAgentPool(ctx context.Context, agentLocator string, localVarOptionals *GetAgentPoolOpts) (AgentPool, *http.Response, error)
- func (a *AgentApiService) GetAllAgents(ctx context.Context, localVarOptionals *GetAllAgentsOpts) (Agents, *http.Response, error)
- func (a *AgentApiService) GetAuthorizedInfo(ctx context.Context, agentLocator string, ...) (AuthorizedInfo, *http.Response, error)
- func (a *AgentApiService) GetBuildConfigurationRunPolicy(ctx context.Context, agentLocator string, ...) (CompatibilityPolicy, *http.Response, error)
- func (a *AgentApiService) GetCompatibleBuildTypes(ctx context.Context, agentLocator string, ...) (BuildTypes, *http.Response, error)
- func (a *AgentApiService) GetEnabledInfo(ctx context.Context, agentLocator string, ...) (EnabledInfo, *http.Response, error)
- func (a *AgentApiService) GetIncompatibleBuildTypes(ctx context.Context, agentLocator string, ...) (Compatibilities, *http.Response, error)
- func (a *AgentApiService) SetAgentField(ctx context.Context, agentLocator string, field string, ...) (string, *http.Response, error)
- func (a *AgentApiService) SetAgentPool(ctx context.Context, agentLocator string, localVarOptionals *SetAgentPoolOpts) (AgentPool, *http.Response, error)
- func (a *AgentApiService) SetAuthorizedInfo(ctx context.Context, agentLocator string, ...) (AuthorizedInfo, *http.Response, error)
- func (a *AgentApiService) SetBuildConfigurationRunPolicy(ctx context.Context, agentLocator string, ...) (CompatibilityPolicy, *http.Response, error)
- func (a *AgentApiService) SetEnabledInfo(ctx context.Context, agentLocator string, ...) (EnabledInfo, *http.Response, error)
- type AgentLocator
- type AgentPool
- type AgentPoolApiService
- func (a *AgentPoolApiService) AddAgentToAgentPool(ctx context.Context, agentPoolLocator string, ...) (Agent, *http.Response, error)
- func (a *AgentPoolApiService) AddProjectToAgentPool(ctx context.Context, agentPoolLocator string, ...) (Project, *http.Response, error)
- func (a *AgentPoolApiService) CreateAgentPool(ctx context.Context, localVarOptionals *CreateAgentPoolOpts) (AgentPool, *http.Response, error)
- func (a *AgentPoolApiService) DeleteAgentPool(ctx context.Context, agentPoolLocator string) (*http.Response, error)
- func (a *AgentPoolApiService) DeleteAllProjectsFromAgentPool(ctx context.Context, agentPoolLocator string) (*http.Response, error)
- func (a *AgentPoolApiService) DeleteProjectFromAgentPool(ctx context.Context, agentPoolLocator string, projectLocator string) (*http.Response, error)
- func (a *AgentPoolApiService) GetAgentPoolOfAgentPool(ctx context.Context, agentPoolLocator string, ...) (AgentPool, *http.Response, error)
- func (a *AgentPoolApiService) GetAllAgentPools(ctx context.Context, localVarOptionals *GetAllAgentPoolsOpts) (AgentPools, *http.Response, error)
- func (a *AgentPoolApiService) GetAllAgentsFromAgentPool(ctx context.Context, agentPoolLocator string, ...) (Agents, *http.Response, error)
- func (a *AgentPoolApiService) GetAllProjectsFromAgentPool(ctx context.Context, agentPoolLocator string, ...) (Projects, *http.Response, error)
- func (a *AgentPoolApiService) GetFieldFromAgentPool(ctx context.Context, agentPoolLocator string, field string) (string, *http.Response, error)
- func (a *AgentPoolApiService) SetAgentPoolField(ctx context.Context, agentPoolLocator string, field string, ...) (string, *http.Response, error)
- func (a *AgentPoolApiService) SetAgentPoolProjects(ctx context.Context, agentPoolLocator string, ...) (Projects, *http.Response, error)
- type AgentPoolLocator
- type AgentPools
- type AgentRequirement
- type AgentRequirements
- type Agents
- type ApprovalInfo
- type ApproveQueuedBuildOpts
- type ArtifactDependencies
- type ArtifactDependency
- type ArtifactDownloadInfo
- type AuditAction
- type AuditApiService
- type AuditEvent
- type AuditEvents
- type AuditLocator
- type AuthorizedInfo
- type AvatarApiService
- func (a *AvatarApiService) DeleteAvatar(ctx context.Context, userLocator string) (*http.Response, error)
- func (a *AvatarApiService) GetAvatar(ctx context.Context, userLocator string, size int32) (*http.Response, error)
- func (a *AvatarApiService) GetAvatarWithHash(ctx context.Context, userLocator string, size int32, hash string) (*http.Response, error)
- func (a *AvatarApiService) PutAvatar(ctx context.Context, userLocator string, localVarOptionals *PutAvatarOpts) (*http.Response, error)
- type BasicAuth
- type Branch
- type BranchLocator
- type BranchVersion
- type Branches
- type Build
- type BuildApiService
- func (a *BuildApiService) AddBuildVcsLabel(ctx context.Context, buildLocator string, ...) (VcsLabels, *http.Response, error)
- func (a *BuildApiService) AddLogMessageToBuild(ctx context.Context, buildLocator string, ...) (*http.Response, error)
- func (a *BuildApiService) AddProblemToBuild(ctx context.Context, buildLocator string, ...) (ProblemOccurrence, *http.Response, error)
- func (a *BuildApiService) AddTagsToBuild(ctx context.Context, buildLocator string, ...) (Tags, *http.Response, error)
- func (a *BuildApiService) AddTagsToMultipleBuilds(ctx context.Context, buildLocator string, ...) (MultipleOperationResult, *http.Response, error)
- func (a *BuildApiService) CancelBuild(ctx context.Context, buildLocator string, localVarOptionals *CancelBuildOpts) (Build, *http.Response, error)
- func (a *BuildApiService) CancelMultiple(ctx context.Context, buildLocator string, ...) (MultipleOperationResult, *http.Response, error)
- func (a *BuildApiService) DeleteBuild(ctx context.Context, buildLocator string) (*http.Response, error)
- func (a *BuildApiService) DeleteBuildComment(ctx context.Context, buildLocator string) (*http.Response, error)
- func (a *BuildApiService) DeleteMultipleBuildComments(ctx context.Context, buildLocator string, ...) (MultipleOperationResult, *http.Response, error)
- func (a *BuildApiService) DeleteMultipleBuilds(ctx context.Context, buildLocator string, ...) (MultipleOperationResult, *http.Response, error)
- func (a *BuildApiService) DownloadFileOfBuild(ctx context.Context, path string, buildLocator string, ...) (*http.Response, error)
- func (a *BuildApiService) GetAggregatedBuildStatus(ctx context.Context, buildLocator string) (string, *http.Response, error)
- func (a *BuildApiService) GetAggregatedBuildStatusIcon(ctx context.Context, buildLocator string, suffix string) (*http.Response, error)
- func (a *BuildApiService) GetAllBuilds(ctx context.Context, localVarOptionals *GetAllBuildsOpts) (Builds, *http.Response, error)
- func (a *BuildApiService) GetArtifactDependencyChanges(ctx context.Context, buildLocator string, ...) (BuildChanges, *http.Response, error)
- func (a *BuildApiService) GetArtifactsDirectory(ctx context.Context, buildLocator string) (string, *http.Response, error)
- func (a *BuildApiService) GetBuild(ctx context.Context, buildLocator string, localVarOptionals *GetBuildOpts) (Build, *http.Response, error)
- func (a *BuildApiService) GetBuildActualParameters(ctx context.Context, buildLocator string, ...) (Properties, *http.Response, error)
- func (a *BuildApiService) GetBuildField(ctx context.Context, buildLocator string, field string) (string, *http.Response, error)
- func (a *BuildApiService) GetBuildFinishDate(ctx context.Context, buildLocator string) (string, *http.Response, error)
- func (a *BuildApiService) GetBuildNumber(ctx context.Context, buildLocator string) (string, *http.Response, error)
- func (a *BuildApiService) GetBuildPinInfo(ctx context.Context, buildLocator string, ...) (PinInfo, *http.Response, error)
- func (a *BuildApiService) GetBuildProblems(ctx context.Context, buildLocator string, ...) (ProblemOccurrences, *http.Response, error)
- func (a *BuildApiService) GetBuildRelatedIssues(ctx context.Context, buildLocator string, ...) (IssuesUsages, *http.Response, error)
- func (a *BuildApiService) GetBuildResolved(ctx context.Context, buildLocator string, value string) (string, *http.Response, error)
- func (a *BuildApiService) GetBuildResultingProperties(ctx context.Context, buildLocator string, propertyName string) (string, *http.Response, error)
- func (a *BuildApiService) GetBuildSourceFile(ctx context.Context, buildLocator string, fileName string) (*http.Response, error)
- func (a *BuildApiService) GetBuildStatisticValue(ctx context.Context, buildLocator string, name string) (string, *http.Response, error)
- func (a *BuildApiService) GetBuildStatisticValues(ctx context.Context, buildLocator string, ...) (Properties, *http.Response, error)
- func (a *BuildApiService) GetBuildStatus(ctx context.Context, buildLocator string) (string, *http.Response, error)
- func (a *BuildApiService) GetBuildStatusIcon(ctx context.Context, buildLocator string, suffix string) (*http.Response, error)
- func (a *BuildApiService) GetBuildStatusText(ctx context.Context, buildLocator string) (string, *http.Response, error)
- func (a *BuildApiService) GetBuildTags(ctx context.Context, buildLocator string, localVarOptionals *GetBuildTagsOpts) (Tags, *http.Response, error)
- func (a *BuildApiService) GetBuildTestOccurrences(ctx context.Context, buildLocator string, ...) (TestOccurrences, *http.Response, error)
- func (a *BuildApiService) GetBuildVcsLabels(ctx context.Context, buildLocator string, ...) (VcsLabels, *http.Response, error)
- func (a *BuildApiService) GetCanceledInfo(ctx context.Context, buildLocator string, ...) (Comment, *http.Response, error)
- func (a *BuildApiService) GetFileMetadataOfBuild(ctx context.Context, path string, buildLocator string, ...) (*os.File, *http.Response, error)
- func (a *BuildApiService) GetFilesListForSubpathOfBuild(ctx context.Context, path string, buildLocator string, ...) (Files, *http.Response, error)
- func (a *BuildApiService) GetFilesListOfBuild(ctx context.Context, buildLocator string, ...) (Files, *http.Response, error)
- func (a *BuildApiService) GetMultipleBuilds(ctx context.Context, buildLocator string, ...) (Builds, *http.Response, error)
- func (a *BuildApiService) GetZippedFileOfBuild(ctx context.Context, path string, buildLocator string, ...) (*http.Response, error)
- func (a *BuildApiService) MarkBuildAsRunning(ctx context.Context, buildLocator string, ...) (Build, *http.Response, error)
- func (a *BuildApiService) PinMultipleBuilds(ctx context.Context, buildLocator string, ...) (MultipleOperationResult, *http.Response, error)
- func (a *BuildApiService) RemoveMultipleBuildTags(ctx context.Context, buildLocator string, ...) (MultipleOperationResult, *http.Response, error)
- func (a *BuildApiService) ResetBuildFinishProperties(ctx context.Context, buildLocator string) (*http.Response, error)
- func (a *BuildApiService) SetBuildComment(ctx context.Context, buildLocator string, ...) (*http.Response, error)
- func (a *BuildApiService) SetBuildFinishDate(ctx context.Context, buildLocator string, ...) (string, *http.Response, error)
- func (a *BuildApiService) SetBuildNumber(ctx context.Context, buildLocator string, ...) (string, *http.Response, error)
- func (a *BuildApiService) SetBuildPinInfo(ctx context.Context, buildLocator string, ...) (PinInfo, *http.Response, error)
- func (a *BuildApiService) SetBuildStatus(ctx context.Context, buildLocator string, ...) (*http.Response, error)
- func (a *BuildApiService) SetBuildStatusText(ctx context.Context, buildLocator string, ...) (string, *http.Response, error)
- func (a *BuildApiService) SetBuildTags(ctx context.Context, buildLocator string, localVarOptionals *SetBuildTagsOpts) (Tags, *http.Response, error)
- func (a *BuildApiService) SetFinishedTime(ctx context.Context, buildLocator string) (string, *http.Response, error)
- func (a *BuildApiService) SetMultipleBuildComments(ctx context.Context, buildLocator string, ...) (MultipleOperationResult, *http.Response, error)
- type BuildCancelRequest
- type BuildChange
- type BuildChanges
- type BuildLocator
- type BuildQueueApiService
- func (a *BuildQueueApiService) AddBuildToQueue(ctx context.Context, localVarOptionals *AddBuildToQueueOpts) (Build, *http.Response, error)
- func (a *BuildQueueApiService) AddTagsToBuildOfBuildQueue(ctx context.Context, buildLocator string, ...) (*http.Response, error)
- func (a *BuildQueueApiService) ApproveQueuedBuild(ctx context.Context, buildLocator string, ...) (ApprovalInfo, *http.Response, error)
- func (a *BuildQueueApiService) CancelQueuedBuild(ctx context.Context, queuedBuildLocator string, ...) (Build, *http.Response, error)
- func (a *BuildQueueApiService) DeleteAllQueuedBuilds(ctx context.Context, localVarOptionals *DeleteAllQueuedBuildsOpts) (*http.Response, error)
- func (a *BuildQueueApiService) DeleteQueuedBuild(ctx context.Context, queuedBuildLocator string) (*http.Response, error)
- func (a *BuildQueueApiService) GetAllQueuedBuilds(ctx context.Context, localVarOptionals *GetAllQueuedBuildsOpts) (Builds, *http.Response, error)
- func (a *BuildQueueApiService) GetApprovalInfo(ctx context.Context, buildLocator string, ...) (ApprovalInfo, *http.Response, error)
- func (a *BuildQueueApiService) GetCompatibleAgentsForBuild(ctx context.Context, queuedBuildLocator string, ...) (Agents, *http.Response, error)
- func (a *BuildQueueApiService) GetQueuedBuild(ctx context.Context, queuedBuildLocator string, ...) (Build, *http.Response, error)
- func (a *BuildQueueApiService) GetQueuedBuildPosition(ctx context.Context, queuePosition string, ...) (Build, *http.Response, error)
- func (a *BuildQueueApiService) GetQueuedBuildTags(ctx context.Context, buildLocator string, ...) (Tags, *http.Response, error)
- func (a *BuildQueueApiService) SetQueuedBuildPosition(ctx context.Context, queuePosition string, ...) (Build, *http.Response, error)
- func (a *BuildQueueApiService) SetQueuedBuildsOrder(ctx context.Context, localVarOptionals *SetQueuedBuildsOrderOpts) (Builds, *http.Response, error)
- type BuildQueueLocator
- type BuildStatusUpdate
- type BuildTriggerCustomization
- type BuildTriggeringOptions
- type BuildType
- type BuildTypeApiService
- func (a *BuildTypeApiService) AddAgentRequirementToBuildType(ctx context.Context, btLocator string, ...) (AgentRequirement, *http.Response, error)
- func (a *BuildTypeApiService) AddArtifactDependencyToBuildType(ctx context.Context, btLocator string, ...) (ArtifactDependency, *http.Response, error)
- func (a *BuildTypeApiService) AddBuildFeatureToBuildType(ctx context.Context, btLocator string, ...) (Feature, *http.Response, error)
- func (a *BuildTypeApiService) AddBuildStepToBuildType(ctx context.Context, btLocator string, ...) (Step, *http.Response, error)
- func (a *BuildTypeApiService) AddBuildTemplate(ctx context.Context, btLocator string, localVarOptionals *AddBuildTemplateOpts) (BuildType, *http.Response, error)
- func (a *BuildTypeApiService) AddParameterToBuildFeature(ctx context.Context, btLocator string, featureId string, parameterName string, ...) (string, *http.Response, error)
- func (a *BuildTypeApiService) AddParameterToBuildStep(ctx context.Context, btLocator string, stepId string, parameterName string, ...) (string, *http.Response, error)
- func (a *BuildTypeApiService) AddSnapshotDependencyToBuildType(ctx context.Context, btLocator string, ...) (SnapshotDependency, *http.Response, error)
- func (a *BuildTypeApiService) AddTriggerToBuildType(ctx context.Context, btLocator string, ...) (Trigger, *http.Response, error)
- func (a *BuildTypeApiService) AddVcsRootToBuildType(ctx context.Context, btLocator string, ...) (VcsRootEntry, *http.Response, error)
- func (a *BuildTypeApiService) CreateBuildParameterOfBuildType(ctx context.Context, btLocator string, ...) (Property, *http.Response, error)
- func (a *BuildTypeApiService) CreateBuildType(ctx context.Context, localVarOptionals *CreateBuildTypeOpts) (BuildType, *http.Response, error)
- func (a *BuildTypeApiService) DeleteAgentRequirement(ctx context.Context, btLocator string, agentRequirementLocator string) (*http.Response, error)
- func (a *BuildTypeApiService) DeleteArtifactDependency(ctx context.Context, btLocator string, artifactDepLocator string) (*http.Response, error)
- func (a *BuildTypeApiService) DeleteBuildParameterOfBuildType(ctx context.Context, name string, btLocator string) (*http.Response, error)
- func (a *BuildTypeApiService) DeleteBuildParametersOfBuildType(ctx context.Context, btLocator string) (*http.Response, error)
- func (a *BuildTypeApiService) DeleteBuildStep(ctx context.Context, btLocator string, stepId string) (*http.Response, error)
- func (a *BuildTypeApiService) DeleteBuildStepParameters(ctx context.Context, btLocator string, stepId string, ...) (Properties, *http.Response, error)
- func (a *BuildTypeApiService) DeleteBuildType(ctx context.Context, btLocator string) (*http.Response, error)
- func (a *BuildTypeApiService) DeleteFeatureOfBuildType(ctx context.Context, btLocator string, featureId string) (*http.Response, error)
- func (a *BuildTypeApiService) DeleteSnapshotDependency(ctx context.Context, btLocator string, snapshotDepLocator string) (*http.Response, error)
- func (a *BuildTypeApiService) DeleteTrigger(ctx context.Context, btLocator string, triggerLocator string) (*http.Response, error)
- func (a *BuildTypeApiService) DeleteVcsRootOfBuildType(ctx context.Context, btLocator string, vcsRootLocator string) (*http.Response, error)
- func (a *BuildTypeApiService) DownloadFileOfBuildType(ctx context.Context, path string, btLocator string, ...) (*http.Response, error)
- func (a *BuildTypeApiService) GetAgentRequirement(ctx context.Context, btLocator string, agentRequirementLocator string, ...) (AgentRequirement, *http.Response, error)
- func (a *BuildTypeApiService) GetAgentRequirementParameter(ctx context.Context, btLocator string, agentRequirementLocator string, ...) (string, *http.Response, error)
- func (a *BuildTypeApiService) GetAliases(ctx context.Context, btLocator string, localVarOptionals *GetAliasesOpts) (Items, *http.Response, error)
- func (a *BuildTypeApiService) GetAllAgentRequirements(ctx context.Context, btLocator string, ...) (AgentRequirements, *http.Response, error)
- func (a *BuildTypeApiService) GetAllArtifactDependencies(ctx context.Context, btLocator string, ...) (ArtifactDependencies, *http.Response, error)
- func (a *BuildTypeApiService) GetAllBranchesOfBuildType(ctx context.Context, btLocator string, ...) (Branches, *http.Response, error)
- func (a *BuildTypeApiService) GetAllBuildFeatureParameters(ctx context.Context, btLocator string, featureId string, ...) (Properties, *http.Response, error)
- func (a *BuildTypeApiService) GetAllBuildFeatures(ctx context.Context, btLocator string, ...) (Features, *http.Response, error)
- func (a *BuildTypeApiService) GetAllBuildStepParameters(ctx context.Context, btLocator string, stepId string, ...) (Properties, *http.Response, error)
- func (a *BuildTypeApiService) GetAllBuildSteps(ctx context.Context, btLocator string, localVarOptionals *GetAllBuildStepsOpts) (Steps, *http.Response, error)
- func (a *BuildTypeApiService) GetAllBuildTemplates(ctx context.Context, btLocator string, ...) (BuildTypes, *http.Response, error)
- func (a *BuildTypeApiService) GetAllBuildTypes(ctx context.Context, localVarOptionals *GetAllBuildTypesOpts) (BuildTypes, *http.Response, error)
- func (a *BuildTypeApiService) GetAllInvestigationsOfBuildType(ctx context.Context, btLocator string, ...) (Investigations, *http.Response, error)
- func (a *BuildTypeApiService) GetAllSnapshotDependencies(ctx context.Context, btLocator string, ...) (SnapshotDependencies, *http.Response, error)
- func (a *BuildTypeApiService) GetAllTriggers(ctx context.Context, btLocator string, localVarOptionals *GetAllTriggersOpts) (Triggers, *http.Response, error)
- func (a *BuildTypeApiService) GetAllVcsRootsOfBuildType(ctx context.Context, btLocator string, ...) (VcsRootEntries, *http.Response, error)
- func (a *BuildTypeApiService) GetArtifactDependency(ctx context.Context, btLocator string, artifactDepLocator string, ...) (ArtifactDependency, *http.Response, error)
- func (a *BuildTypeApiService) GetArtifactDependencyParameter(ctx context.Context, btLocator string, artifactDepLocator string, ...) (string, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildFeature(ctx context.Context, btLocator string, featureId string, ...) (Feature, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildFeatureParameter(ctx context.Context, btLocator string, featureId string, parameterName string) (string, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildFeatureSetting(ctx context.Context, btLocator string, featureId string, name string) (string, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildParameterOfBuildType(ctx context.Context, name string, btLocator string, ...) (Property, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildParameterSpecificationOfBuildType(ctx context.Context, name string, btLocator string) (string, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildParameterTypeOfBuildType(ctx context.Context, name string, btLocator string) (ModelType, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildParameterValueOfBuildType(ctx context.Context, name string, btLocator string) (string, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildParametersOfBuildType(ctx context.Context, btLocator string, ...) (Properties, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildStep(ctx context.Context, btLocator string, stepId string, ...) (Step, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildStepParameter(ctx context.Context, btLocator string, stepId string, parameterName string) (string, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildStepSetting(ctx context.Context, btLocator string, stepId string, fieldName string) (string, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildTemplate(ctx context.Context, btLocator string, templateLocator string, ...) (BuildType, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildType(ctx context.Context, btLocator string, localVarOptionals *GetBuildTypeOpts) (BuildType, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildTypeBuildTags(ctx context.Context, btLocator string, ...) (Tags, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildTypeBuilds(ctx context.Context, btLocator string, ...) (Builds, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildTypeField(ctx context.Context, btLocator string, field string) (string, *http.Response, error)
- func (a *BuildTypeApiService) GetBuildTypeSettingsFile(ctx context.Context, btLocator string) (string, *http.Response, error)
- func (a *BuildTypeApiService) GetFileMetadataOfBuildType(ctx context.Context, path string, btLocator string, ...) (*os.File, *http.Response, error)
- func (a *BuildTypeApiService) GetFilesListForSubpathOfBuildType(ctx context.Context, path string, btLocator string, ...) (Files, *http.Response, error)
- func (a *BuildTypeApiService) GetFilesListOfBuildType(ctx context.Context, btLocator string, ...) (Files, *http.Response, error)
- func (a *BuildTypeApiService) GetSnapshotDependency(ctx context.Context, btLocator string, snapshotDepLocator string, ...) (SnapshotDependency, *http.Response, error)
- func (a *BuildTypeApiService) GetTrigger(ctx context.Context, btLocator string, triggerLocator string, ...) (Trigger, *http.Response, error)
- func (a *BuildTypeApiService) GetTriggerParameter(ctx context.Context, btLocator string, triggerLocator string, fieldName string) (string, *http.Response, error)
- func (a *BuildTypeApiService) GetVcsRoot(ctx context.Context, btLocator string, vcsRootLocator string, ...) (VcsRootEntry, *http.Response, error)
- func (a *BuildTypeApiService) GetVcsRootCheckoutRules(ctx context.Context, btLocator string, vcsRootLocator string) (string, *http.Response, error)
- func (a *BuildTypeApiService) GetVcsRootInstancesOfBuildType(ctx context.Context, btLocator string, ...) (VcsRootInstances, *http.Response, error)
- func (a *BuildTypeApiService) GetZippedFileOfBuildType(ctx context.Context, path string, btLocator string, ...) (*http.Response, error)
- func (a *BuildTypeApiService) RemoveAllTemplates(ctx context.Context, btLocator string, ...) (*http.Response, error)
- func (a *BuildTypeApiService) RemoveTemplate(ctx context.Context, btLocator string, templateLocator string, ...) (*http.Response, error)
- func (a *BuildTypeApiService) ReplaceAgentRequirement(ctx context.Context, btLocator string, agentRequirementLocator string, ...) (AgentRequirement, *http.Response, error)
- func (a *BuildTypeApiService) ReplaceAllAgentRequirements(ctx context.Context, btLocator string, ...) (AgentRequirements, *http.Response, error)
- func (a *BuildTypeApiService) ReplaceAllArtifactDependencies(ctx context.Context, btLocator string, ...) (ArtifactDependencies, *http.Response, error)
- func (a *BuildTypeApiService) ReplaceAllBuildFeatures(ctx context.Context, btLocator string, ...) (Features, *http.Response, error)
- func (a *BuildTypeApiService) ReplaceAllBuildSteps(ctx context.Context, btLocator string, ...) (Steps, *http.Response, error)
- func (a *BuildTypeApiService) ReplaceAllSnapshotDependencies(ctx context.Context, btLocator string, ...) (SnapshotDependencies, *http.Response, error)
- func (a *BuildTypeApiService) ReplaceAllTriggers(ctx context.Context, btLocator string, ...) (Triggers, *http.Response, error)
- func (a *BuildTypeApiService) ReplaceAllVcsRoots(ctx context.Context, btLocator string, ...) (VcsRootEntries, *http.Response, error)
- func (a *BuildTypeApiService) ReplaceArtifactDependency(ctx context.Context, btLocator string, artifactDepLocator string, ...) (ArtifactDependency, *http.Response, error)
- func (a *BuildTypeApiService) ReplaceBuildFeature(ctx context.Context, btLocator string, featureId string, ...) (Feature, *http.Response, error)
- func (a *BuildTypeApiService) ReplaceBuildFeatureParameters(ctx context.Context, btLocator string, featureId string, ...) (Properties, *http.Response, error)
- func (a *BuildTypeApiService) ReplaceBuildStep(ctx context.Context, btLocator string, stepId string, ...) (Step, *http.Response, error)
- func (a *BuildTypeApiService) ReplaceSnapshotDependency(ctx context.Context, btLocator string, snapshotDepLocator string, ...) (SnapshotDependency, *http.Response, error)
- func (a *BuildTypeApiService) ReplaceTrigger(ctx context.Context, btLocator string, triggerLocator string, ...) (Trigger, *http.Response, error)
- func (a *BuildTypeApiService) SetAgentRequirementParameter(ctx context.Context, btLocator string, agentRequirementLocator string, ...) (string, *http.Response, error)
- func (a *BuildTypeApiService) SetArtifactDependencyParameter(ctx context.Context, btLocator string, artifactDepLocator string, ...) (string, *http.Response, error)
- func (a *BuildTypeApiService) SetBuildFeatureParameter(ctx context.Context, btLocator string, featureId string, name string, ...) (string, *http.Response, error)
- func (a *BuildTypeApiService) SetBuildStepParameter(ctx context.Context, btLocator string, stepId string, fieldName string, ...) (string, *http.Response, error)
- func (a *BuildTypeApiService) SetBuildTypeField(ctx context.Context, btLocator string, field string, ...) (string, *http.Response, error)
- func (a *BuildTypeApiService) SetBuildTypeTemplates(ctx context.Context, btLocator string, ...) (BuildTypes, *http.Response, error)
- func (a *BuildTypeApiService) SetTriggerParameter(ctx context.Context, btLocator string, triggerLocator string, fieldName string, ...) (string, *http.Response, error)
- func (a *BuildTypeApiService) UpdateBuildParameterOfBuildType(ctx context.Context, name string, btLocator string, ...) (Property, *http.Response, error)
- func (a *BuildTypeApiService) UpdateBuildParameterSpecificationOfBuildType(ctx context.Context, name string, btLocator string, ...) (string, *http.Response, error)
- func (a *BuildTypeApiService) UpdateBuildParameterTypeOfBuildType(ctx context.Context, name string, btLocator string, ...) (ModelType, *http.Response, error)
- func (a *BuildTypeApiService) UpdateBuildParameterValueOfBuildType(ctx context.Context, name string, btLocator string, ...) (string, *http.Response, error)
- func (a *BuildTypeApiService) UpdateBuildParametersOfBuildType(ctx context.Context, btLocator string, ...) (Properties, *http.Response, error)
- func (a *BuildTypeApiService) UpdateBuildTypeVcsRoot(ctx context.Context, btLocator string, vcsRootLocator string, ...) (VcsRootEntry, *http.Response, error)
- func (a *BuildTypeApiService) UpdateBuildTypeVcsRootCheckoutRules(ctx context.Context, btLocator string, vcsRootLocator string, ...) (string, *http.Response, error)
- type BuildTypeLocator
- type BuildTypes
- type Builds
- type CancelBuildOpts
- type CancelMultipleOpts
- type CancelQueuedBuildOpts
- type Change
- type ChangeApiService
- func (a *ChangeApiService) GetAllChanges(ctx context.Context, localVarOptionals *GetAllChangesOpts) (Changes, *http.Response, error)
- func (a *ChangeApiService) GetChange(ctx context.Context, changeLocator string, localVarOptionals *GetChangeOpts) (Change, *http.Response, error)
- func (a *ChangeApiService) GetChangeAttributes(ctx context.Context, changeLocator string, ...) (Entries, *http.Response, error)
- func (a *ChangeApiService) GetChangeDuplicates(ctx context.Context, changeLocator string, ...) (Changes, *http.Response, error)
- func (a *ChangeApiService) GetChangeField(ctx context.Context, changeLocator string, field string) (string, *http.Response, error)
- func (a *ChangeApiService) GetChangeIssue(ctx context.Context, changeLocator string) (Issues, *http.Response, error)
- func (a *ChangeApiService) GetChangeParentChanges(ctx context.Context, changeLocator string, ...) (Changes, *http.Response, error)
- func (a *ChangeApiService) GetChangeParentRevisions(ctx context.Context, changeLocator string) (Items, *http.Response, error)
- func (a *ChangeApiService) GetChangeVcsRoot(ctx context.Context, changeLocator string, ...) (VcsRootInstance, *http.Response, error)
- type ChangeLocator
- type ChangeNodeResponsibilityOpts
- type ChangeStatus
- type Changes
- type CloudImage
- type CloudImageLocator
- type CloudImages
- type CloudInstance
- type CloudInstanceApiService
- func (a *CloudInstanceApiService) GetAllCloudImages(ctx context.Context, localVarOptionals *GetAllCloudImagesOpts) (CloudImages, *http.Response, error)
- func (a *CloudInstanceApiService) GetAllCloudInstances(ctx context.Context, localVarOptionals *GetAllCloudInstancesOpts) (CloudInstances, *http.Response, error)
- func (a *CloudInstanceApiService) GetAllCloudProfiles(ctx context.Context, localVarOptionals *GetAllCloudProfilesOpts) (CloudProfiles, *http.Response, error)
- func (a *CloudInstanceApiService) GetCloudImage(ctx context.Context, imageLocator string, localVarOptionals *GetCloudImageOpts) (CloudImage, *http.Response, error)
- func (a *CloudInstanceApiService) GetCloudInstance(ctx context.Context, instanceLocator string, ...) (CloudInstance, *http.Response, error)
- func (a *CloudInstanceApiService) GetCloudProfile(ctx context.Context, profileLocator string, ...) (CloudProfile, *http.Response, error)
- func (a *CloudInstanceApiService) StartInstance(ctx context.Context, localVarOptionals *StartInstanceOpts) (*http.Response, error)
- func (a *CloudInstanceApiService) StopInstance(ctx context.Context, instanceLocator string) (*http.Response, error)
- type CloudInstanceLocator
- type CloudInstances
- type CloudProfile
- type CloudProfileLocator
- type CloudProfiles
- type Comment
- type Commiter
- type Compatibilities
- type Compatibility
- type CompatibilityPolicy
- type Configuration
- type CreateAgentPoolOpts
- type CreateBuildParameterOfBuildTypeOpts
- type CreateBuildParameterOpts
- type CreateBuildTypeOpts
- type Customizations
- type Datas
- type DeleteAllQueuedBuildsOpts
- type DeleteBuildStepParametersOpts
- type DeleteMultipleBuildCommentsOpts
- type DeleteMultipleBuildsOpts
- type DisabledResponsibilities
- type DownloadFileOfBuildOpts
- type DownloadFileOfBuildTypeOpts
- type DownloadInfo
- type DownloadedArtifacts
- type EffectiveResponsibilities
- type EnabledInfo
- type EnabledResponsibilities
- type Entries
- type Entry
- type Environment
- type Feature
- type Features
- type File
- type FileChange
- type FileChanges
- type Files
- type GenericSwaggerError
- type GetAgentOpts
- type GetAgentPoolOfAgentPoolOpts
- type GetAgentPoolOpts
- type GetAgentPoolsProjectOpts
- type GetAgentRequirementOpts
- type GetAliasesOpts
- type GetAllAgentPoolsOpts
- type GetAllAgentRequirementsOpts
- type GetAllAgentsFromAgentPoolOpts
- type GetAllAgentsOpts
- type GetAllArtifactDependenciesOpts
- type GetAllAuditEventsOpts
- type GetAllBranchesOfBuildTypeOpts
- type GetAllBranchesOpts
- type GetAllBuildFeatureParametersOpts
- type GetAllBuildFeaturesOpts
- type GetAllBuildProblemOccurrencesOpts
- type GetAllBuildProblemsOpts
- type GetAllBuildStepParametersOpts
- type GetAllBuildStepsOpts
- type GetAllBuildTemplatesOpts
- type GetAllBuildTypesOpts
- type GetAllBuildTypesOrderedOpts
- type GetAllBuildsOpts
- type GetAllChangesOpts
- type GetAllCloudImagesOpts
- type GetAllCloudInstancesOpts
- type GetAllCloudProfilesOpts
- type GetAllGroupsOpts
- type GetAllInvestigationsOfBuildTypeOpts
- type GetAllInvestigationsOpts
- type GetAllMetricsOpts
- type GetAllMutedTestsOpts
- type GetAllNodesOpts
- type GetAllPluginsOpts
- type GetAllProjectsFromAgentPoolOpts
- type GetAllProjectsOpts
- type GetAllQueuedBuildsOpts
- type GetAllSnapshotDependenciesOpts
- type GetAllSubprojectsOrderedOpts
- type GetAllTestOccurrencesOpts
- type GetAllTriggersOpts
- type GetAllUserGroupsOpts
- type GetAllUsersOpts
- type GetAllVcsRootInstancesOpts
- type GetAllVcsRootPropertiesOpts
- type GetAllVcsRootsOfBuildTypeOpts
- type GetAllVcsRootsOpts
- type GetApprovalInfoOpts
- type GetArtifactDependencyChangesOpts
- type GetArtifactDependencyOpts
- type GetAuditEventOpts
- type GetAuthorizedInfoOpts
- type GetBuildActualParametersOpts
- type GetBuildConfigurationRunPolicyOpts
- type GetBuildFeatureOpts
- type GetBuildOpts
- type GetBuildParameterOfBuildTypeOpts
- type GetBuildParameterOpts
- type GetBuildParametersOfBuildTypeOpts
- type GetBuildParametersOpts
- type GetBuildPinInfoOpts
- type GetBuildProblemOccurrenceOpts
- type GetBuildProblemOpts
- type GetBuildProblemsOpts
- type GetBuildRelatedIssuesOpts
- type GetBuildStatisticValuesOpts
- type GetBuildStepOpts
- type GetBuildTagsOpts
- type GetBuildTemplateOpts
- type GetBuildTestOccurrencesOpts
- type GetBuildTypeBuildTagsOpts
- type GetBuildTypeBuildsOpts
- type GetBuildTypeOpts
- type GetBuildVcsLabelsOpts
- type GetCanceledInfoOpts
- type GetCategoriesOpts
- type GetChangeAttributesOpts
- type GetChangeDuplicatesOpts
- type GetChangeOpts
- type GetChangeParentChangesOpts
- type GetChangeVcsRootOpts
- type GetCloudImageOpts
- type GetCloudInstanceOpts
- type GetCloudProfileOpts
- type GetCompatibleAgentsForBuildOpts
- type GetCompatibleBuildTypesOpts
- type GetDefaultTemplateOpts
- type GetDisabledResponsibilitiesOpts
- type GetEffectiveResponsibilitiesOpts
- type GetEnabledInfoOpts
- type GetEnabledResponsibilitiesOpts
- type GetFeatureOpts
- type GetFeaturesOpts
- type GetFileMetadataOfBuildOpts
- type GetFileMetadataOfBuildTypeOpts
- type GetFileMetadataOfServerOpts
- type GetFileMetadataOpts
- type GetFilesListForSubpathOfBuildOpts
- type GetFilesListForSubpathOfBuildTypeOpts
- type GetFilesListForSubpathOfServerOpts
- type GetFilesListForSubpathOpts
- type GetFilesListOfBuildOpts
- type GetFilesListOfBuildTypeOpts
- type GetFilesListOfServerOpts
- type GetFilesListOpts
- type GetGroupParentGroupsOpts
- type GetGroupPropertiesOpts
- type GetHealthItemsOpts
- type GetIncompatibleBuildTypesOpts
- type GetInvestigationOpts
- type GetLicenseKeyOpts
- type GetLicenseKeysOpts
- type GetLicensingDataOpts
- type GetMultipleBuildsOpts
- type GetMutedTestOpts
- type GetNodeOpts
- type GetPluginInfoOpts
- type GetProjectOpts
- type GetProjectParentProjectOpts
- type GetProjectTemplatesOpts
- type GetQueuedBuildOpts
- type GetQueuedBuildPositionOpts
- type GetQueuedBuildTagsOpts
- type GetRootEndpointsOpts
- type GetServerInfoOpts
- type GetSingleCategoryOpts
- type GetSingleHealthItemOpts
- type GetSnapshotDependencyOpts
- type GetTestOccurrenceOpts
- type GetTriggerOpts
- type GetUserGroupOfGroupOpts
- type GetUserGroupOpts
- type GetUserOpts
- type GetUserPermissionsOpts
- type GetUserPropertiesOpts
- type GetUserTokensOpts
- type GetVcsRootInstanceOpts
- type GetVcsRootInstancePropertiesOpts
- type GetVcsRootInstanceRepositoryStateOpts
- type GetVcsRootInstancesOfBuildTypeOpts
- type GetVcsRootInstancesOpts
- type GetVcsRootOpts
- type GetZippedFileOfBuildOpts
- type GetZippedFileOfBuildTypeOpts
- type GetZippedFileOfServerOpts
- type GetZippedFileOpts
- type Group
- type GroupApiService
- func (a *GroupApiService) AddGroup(ctx context.Context, localVarOptionals *AddGroupOpts) (Group, *http.Response, error)
- func (a *GroupApiService) AddRoleAtScopeToGroup(ctx context.Context, groupLocator string, roleId string, scope string) (Role, *http.Response, error)
- func (a *GroupApiService) AddRoleToGroup(ctx context.Context, groupLocator string, ...) (Role, *http.Response, error)
- func (a *GroupApiService) DeleteGroup(ctx context.Context, groupLocator string) (*http.Response, error)
- func (a *GroupApiService) GetAllGroups(ctx context.Context, localVarOptionals *GetAllGroupsOpts) (Groups, *http.Response, error)
- func (a *GroupApiService) GetGroupParentGroups(ctx context.Context, groupLocator string, ...) (Groups, *http.Response, error)
- func (a *GroupApiService) GetGroupProperties(ctx context.Context, groupLocator string, ...) (Properties, *http.Response, error)
- func (a *GroupApiService) GetGroupProperty(ctx context.Context, groupLocator string, name string) (string, *http.Response, error)
- func (a *GroupApiService) GetGroupRoleAtScope(ctx context.Context, groupLocator string, roleId string, scope string) (Role, *http.Response, error)
- func (a *GroupApiService) GetGroupRoles(ctx context.Context, groupLocator string) (Roles, *http.Response, error)
- func (a *GroupApiService) GetUserGroupOfGroup(ctx context.Context, groupLocator string, ...) (Group, *http.Response, error)
- func (a *GroupApiService) RemoveGroupProperty(ctx context.Context, groupLocator string, name string) (*http.Response, error)
- func (a *GroupApiService) RemoveRoleAtScopeFromGroup(ctx context.Context, groupLocator string, roleId string, scope string) (*http.Response, error)
- func (a *GroupApiService) SetGroupParentGroups(ctx context.Context, groupLocator string, ...) (Groups, *http.Response, error)
- func (a *GroupApiService) SetGroupProperty(ctx context.Context, groupLocator string, name string, ...) (string, *http.Response, error)
- func (a *GroupApiService) SetGroupRoles(ctx context.Context, groupLocator string, localVarOptionals *SetGroupRolesOpts) (Roles, *http.Response, error)
- type GroupApprovalRule
- type GroupApprovals
- type Groups
- type HealthApiService
- func (a *HealthApiService) GetCategories(ctx context.Context, localVarOptionals *GetCategoriesOpts) (HealthCategories, *http.Response, error)
- func (a *HealthApiService) GetHealthItems(ctx context.Context, localVarOptionals *GetHealthItemsOpts) (HealthStatusItems, *http.Response, error)
- func (a *HealthApiService) GetSingleCategory(ctx context.Context, locator string, localVarOptionals *GetSingleCategoryOpts) (HealthCategory, *http.Response, error)
- func (a *HealthApiService) GetSingleHealthItem(ctx context.Context, locator string, ...) (HealthItem, *http.Response, error)
- type HealthCategories
- type HealthCategory
- type HealthItem
- type HealthStatusItems
- type Href
- type Investigation
- type InvestigationApiService
- func (a *InvestigationApiService) AddInvestigation(ctx context.Context, localVarOptionals *AddInvestigationOpts) (Investigation, *http.Response, error)
- func (a *InvestigationApiService) AddMultipleInvestigations(ctx context.Context, localVarOptionals *AddMultipleInvestigationsOpts) (Investigations, *http.Response, error)
- func (a *InvestigationApiService) DeleteInvestigation(ctx context.Context, investigationLocator string) (*http.Response, error)
- func (a *InvestigationApiService) GetAllInvestigations(ctx context.Context, localVarOptionals *GetAllInvestigationsOpts) (Investigations, *http.Response, error)
- func (a *InvestigationApiService) GetInvestigation(ctx context.Context, investigationLocator string, ...) (Investigation, *http.Response, error)
- func (a *InvestigationApiService) ReplaceInvestigation(ctx context.Context, investigationLocator string, ...) (Investigation, *http.Response, error)
- type InvestigationLocator
- type Investigations
- type Issue
- type IssueUsage
- type Issues
- type IssuesUsages
- type Items
- type LicenseKey
- type LicenseKeys
- type LicensingData
- type Link
- type Links
- type MarkBuildAsRunningOpts
- type MetaData
- type Metric
- type MetricTag
- type MetricTags
- type MetricValue
- type MetricValues
- type Metrics
- type ModelType
- type MultipleOperationResult
- type Mute
- type MuteApiService
- func (a *MuteApiService) GetAllMutedTests(ctx context.Context, localVarOptionals *GetAllMutedTestsOpts) (Mutes, *http.Response, error)
- func (a *MuteApiService) GetMutedTest(ctx context.Context, muteLocator string, localVarOptionals *GetMutedTestOpts) (Mute, *http.Response, error)
- func (a *MuteApiService) MuteMultipleTests(ctx context.Context, localVarOptionals *MuteMultipleTestsOpts) (Mutes, *http.Response, error)
- func (a *MuteApiService) MuteTest(ctx context.Context, localVarOptionals *MuteTestOpts) (Mute, *http.Response, error)
- func (a *MuteApiService) UnmuteTest(ctx context.Context, muteLocator string, localVarOptionals *UnmuteTestOpts) (*http.Response, error)
- type MuteLocator
- type MuteMultipleTestsOpts
- type MuteTestOpts
- type Mutes
- type NewBuildTypeDescription
- type NewProjectDescription
- type Node
- type NodeApiService
- func (a *NodeApiService) ChangeNodeResponsibility(ctx context.Context, nodeLocator string, name string, ...) (EnabledResponsibilities, *http.Response, error)
- func (a *NodeApiService) GetAllNodes(ctx context.Context, localVarOptionals *GetAllNodesOpts) (Nodes, *http.Response, error)
- func (a *NodeApiService) GetDisabledResponsibilities(ctx context.Context, nodeLocator string, ...) (DisabledResponsibilities, *http.Response, error)
- func (a *NodeApiService) GetEffectiveResponsibilities(ctx context.Context, nodeLocator string, ...) (EffectiveResponsibilities, *http.Response, error)
- func (a *NodeApiService) GetEnabledResponsibilities(ctx context.Context, nodeLocator string, ...) (EnabledResponsibilities, *http.Response, error)
- func (a *NodeApiService) GetNode(ctx context.Context, nodeLocator string, localVarOptionals *GetNodeOpts) (Node, *http.Response, error)
- type Nodes
- type OperationResult
- type ParsedTestName
- type Permission
- type PermissionAssignment
- type PermissionAssignments
- type PermissionRestriction
- type PermissionRestrictions
- type PinInfo
- type PinMultipleBuildsOpts
- type Plugin
- type Plugins
- type Problem
- type ProblemApiService
- type ProblemLocator
- type ProblemOccurrence
- type ProblemOccurrenceApiService
- func (a *ProblemOccurrenceApiService) GetAllBuildProblemOccurrences(ctx context.Context, localVarOptionals *GetAllBuildProblemOccurrencesOpts) (ProblemOccurrences, *http.Response, error)
- func (a *ProblemOccurrenceApiService) GetBuildProblemOccurrence(ctx context.Context, problemLocator string, ...) (ProblemOccurrence, *http.Response, error)
- type ProblemOccurrenceLocator
- type ProblemOccurrences
- type ProblemScope
- type ProblemTarget
- type Problems
- type ProgressInfo
- type Project
- type ProjectApiService
- func (a *ProjectApiService) AddAgentPoolsProject(ctx context.Context, projectLocator string, ...) (AgentPool, *http.Response, error)
- func (a *ProjectApiService) AddBuildType(ctx context.Context, projectLocator string, ...) (BuildType, *http.Response, error)
- func (a *ProjectApiService) AddFeature(ctx context.Context, projectLocator string, localVarOptionals *AddFeatureOpts) (interface{}, *http.Response, error)
- func (a *ProjectApiService) AddProject(ctx context.Context, localVarOptionals *AddProjectOpts) (Project, *http.Response, error)
- func (a *ProjectApiService) AddSecureToken(ctx context.Context, projectLocator string, ...) (string, *http.Response, error)
- func (a *ProjectApiService) AddTemplate(ctx context.Context, projectLocator string, localVarOptionals *AddTemplateOpts) (BuildType, *http.Response, error)
- func (a *ProjectApiService) CreateBuildParameter(ctx context.Context, projectLocator string, ...) (Property, *http.Response, error)
- func (a *ProjectApiService) DeleteBuildParameter(ctx context.Context, name string, projectLocator string) (*http.Response, error)
- func (a *ProjectApiService) DeleteBuildParameters(ctx context.Context, projectLocator string) (*http.Response, error)
- func (a *ProjectApiService) DeleteFeature(ctx context.Context, featureLocator string, projectLocator string) (*http.Response, error)
- func (a *ProjectApiService) DeleteProject(ctx context.Context, projectLocator string) (*http.Response, error)
- func (a *ProjectApiService) GetAgentPoolsProject(ctx context.Context, projectLocator string, ...) (AgentPools, *http.Response, error)
- func (a *ProjectApiService) GetAllBranches(ctx context.Context, projectLocator string, ...) (Branches, *http.Response, error)
- func (a *ProjectApiService) GetAllBuildTypesOrdered(ctx context.Context, projectLocator string, ...) (BuildTypes, *http.Response, error)
- func (a *ProjectApiService) GetAllProjects(ctx context.Context, localVarOptionals *GetAllProjectsOpts) (Projects, *http.Response, error)
- func (a *ProjectApiService) GetAllSubprojectsOrdered(ctx context.Context, projectLocator string, ...) (Projects, *http.Response, error)
- func (a *ProjectApiService) GetBuildParameter(ctx context.Context, name string, projectLocator string, ...) (Property, *http.Response, error)
- func (a *ProjectApiService) GetBuildParameterSpecification(ctx context.Context, name string, projectLocator string) (string, *http.Response, error)
- func (a *ProjectApiService) GetBuildParameterType(ctx context.Context, name string, projectLocator string) (ModelType, *http.Response, error)
- func (a *ProjectApiService) GetBuildParameterValue(ctx context.Context, name string, projectLocator string) (string, *http.Response, error)
- func (a *ProjectApiService) GetBuildParameters(ctx context.Context, projectLocator string, ...) (Properties, *http.Response, error)
- func (a *ProjectApiService) GetDefaultTemplate(ctx context.Context, projectLocator string, ...) (BuildType, *http.Response, error)
- func (a *ProjectApiService) GetFeature(ctx context.Context, featureLocator string, projectLocator string, ...) (interface{}, *http.Response, error)
- func (a *ProjectApiService) GetFeatures(ctx context.Context, projectLocator string, localVarOptionals *GetFeaturesOpts) (interface{}, *http.Response, error)
- func (a *ProjectApiService) GetProject(ctx context.Context, projectLocator string, localVarOptionals *GetProjectOpts) (Project, *http.Response, error)
- func (a *ProjectApiService) GetProjectField(ctx context.Context, projectLocator string, field string) (string, *http.Response, error)
- func (a *ProjectApiService) GetProjectParentProject(ctx context.Context, projectLocator string, ...) (Project, *http.Response, error)
- func (a *ProjectApiService) GetProjectSettingsFile(ctx context.Context, projectLocator string) (string, *http.Response, error)
- func (a *ProjectApiService) GetProjectTemplates(ctx context.Context, projectLocator string, ...) (BuildTypes, *http.Response, error)
- func (a *ProjectApiService) GetSecureValue(ctx context.Context, projectLocator string, token string) (string, *http.Response, error)
- func (a *ProjectApiService) RemoveDefaultTemplate(ctx context.Context, projectLocator string, ...) (*http.Response, error)
- func (a *ProjectApiService) RemoveProjectFromAgentPool(ctx context.Context, projectLocator string, agentPoolLocator string) (*http.Response, error)
- func (a *ProjectApiService) SetAgentPoolsProject(ctx context.Context, projectLocator string, ...) (AgentPools, *http.Response, error)
- func (a *ProjectApiService) SetBuildTypesOrder(ctx context.Context, projectLocator string, ...) (BuildTypes, *http.Response, error)
- func (a *ProjectApiService) SetDefaultTemplate(ctx context.Context, projectLocator string, ...) (BuildType, *http.Response, error)
- func (a *ProjectApiService) SetParentProject(ctx context.Context, projectLocator string, ...) (Project, *http.Response, error)
- func (a *ProjectApiService) SetProjectField(ctx context.Context, projectLocator string, field string, ...) (string, *http.Response, error)
- func (a *ProjectApiService) SetSubprojectsOrder(ctx context.Context, projectLocator string, ...) (Projects, *http.Response, error)
- func (a *ProjectApiService) UpdateBuildParameter(ctx context.Context, name string, projectLocator string, ...) (Property, *http.Response, error)
- func (a *ProjectApiService) UpdateBuildParameterSpecification(ctx context.Context, name string, projectLocator string, ...) (string, *http.Response, error)
- func (a *ProjectApiService) UpdateBuildParameterType(ctx context.Context, name string, projectLocator string, ...) (ModelType, *http.Response, error)
- func (a *ProjectApiService) UpdateBuildParameterValue(ctx context.Context, name string, projectLocator string, ...) (string, *http.Response, error)
- func (a *ProjectApiService) UpdateBuildParameters(ctx context.Context, projectLocator string, ...) (Properties, *http.Response, error)
- func (a *ProjectApiService) UpdateFeature(ctx context.Context, featureLocator string, projectLocator string, ...) (interface{}, *http.Response, error)
- func (a *ProjectApiService) UpdateFeatures(ctx context.Context, projectLocator string, ...) (interface{}, *http.Response, error)
- type ProjectFeature
- type ProjectFeatures
- type ProjectLocator
- type Projects
- type Properties
- type Property
- type PutAvatarOpts
- type Related
- type RelatedEntities
- type RelatedEntity
- type RemoveAllTemplatesOpts
- type RemoveDefaultTemplateOpts
- type RemoveMultipleBuildTagsOpts
- type RemoveTemplateOpts
- type RemoveUserFromGroupOpts
- type ReplaceAgentRequirementOpts
- type ReplaceAllAgentRequirementsOpts
- type ReplaceAllArtifactDependenciesOpts
- type ReplaceAllBuildFeaturesOpts
- type ReplaceAllBuildStepsOpts
- type ReplaceAllSnapshotDependenciesOpts
- type ReplaceAllTriggersOpts
- type ReplaceAllVcsRootsOpts
- type ReplaceArtifactDependencyOpts
- type ReplaceBuildFeatureOpts
- type ReplaceBuildFeatureParametersOpts
- type ReplaceBuildStepOpts
- type ReplaceInvestigationOpts
- type ReplaceSnapshotDependencyOpts
- type ReplaceTriggerOpts
- type ReplaceUserOpts
- type RepositoryState
- type RequestPendingChangesCheckOpts
- type Requirements
- type Resolution
- type Responsibility
- type Revision
- type Revisions
- type Role
- type Roles
- type RootApiService
- func (a *RootApiService) GetApiVersion(ctx context.Context) (string, *http.Response, error)
- func (a *RootApiService) GetPluginInfo(ctx context.Context, localVarOptionals *GetPluginInfoOpts) (Plugin, *http.Response, error)
- func (a *RootApiService) GetRootEndpointsOfRoot(ctx context.Context) (string, *http.Response, error)
- func (a *RootApiService) GetVersion(ctx context.Context) (string, *http.Response, error)
- type Server
- type ServerApiService
- func (a *ServerApiService) AddLicenseKeys(ctx context.Context, localVarOptionals *AddLicenseKeysOpts) (LicenseKeys, *http.Response, error)
- func (a *ServerApiService) DeleteLicenseKey(ctx context.Context, licenseKey string) (*http.Response, error)
- func (a *ServerApiService) DownloadFileOfServer(ctx context.Context, path string, areaId string) (*http.Response, error)
- func (a *ServerApiService) GetAllMetrics(ctx context.Context, localVarOptionals *GetAllMetricsOpts) (Metrics, *http.Response, error)
- func (a *ServerApiService) GetAllPlugins(ctx context.Context, localVarOptionals *GetAllPluginsOpts) (Plugins, *http.Response, error)
- func (a *ServerApiService) GetBackupStatus(ctx context.Context) (string, *http.Response, error)
- func (a *ServerApiService) GetFileMetadataOfServer(ctx context.Context, path string, areaId string, ...) (*os.File, *http.Response, error)
- func (a *ServerApiService) GetFilesListForSubpathOfServer(ctx context.Context, path string, areaId string, ...) (Files, *http.Response, error)
- func (a *ServerApiService) GetFilesListOfServer(ctx context.Context, areaId string, ...) (Files, *http.Response, error)
- func (a *ServerApiService) GetLicenseKey(ctx context.Context, licenseKey string, localVarOptionals *GetLicenseKeyOpts) (LicenseKey, *http.Response, error)
- func (a *ServerApiService) GetLicenseKeys(ctx context.Context, localVarOptionals *GetLicenseKeysOpts) (LicenseKeys, *http.Response, error)
- func (a *ServerApiService) GetLicensingData(ctx context.Context, localVarOptionals *GetLicensingDataOpts) (LicensingData, *http.Response, error)
- func (a *ServerApiService) GetServerField(ctx context.Context, field string) (string, *http.Response, error)
- func (a *ServerApiService) GetServerInfo(ctx context.Context, localVarOptionals *GetServerInfoOpts) (Server, *http.Response, error)
- func (a *ServerApiService) GetZippedFileOfServer(ctx context.Context, path string, areaId string, ...) (*http.Response, error)
- func (a *ServerApiService) StartBackup(ctx context.Context, localVarOptionals *StartBackupOpts) (string, *http.Response, error)
- type SetAgentFieldOpts
- type SetAgentPoolFieldOpts
- type SetAgentPoolOpts
- type SetAgentPoolProjectsOpts
- type SetAgentPoolsProjectOpts
- type SetAgentRequirementParameterOpts
- type SetArtifactDependencyParameterOpts
- type SetAuthorizedInfoOpts
- type SetBuildCommentOpts
- type SetBuildConfigurationRunPolicyOpts
- type SetBuildFeatureParameterOpts
- type SetBuildFinishDateOpts
- type SetBuildNumberOpts
- type SetBuildPinInfoOpts
- type SetBuildStatusOpts
- type SetBuildStatusTextOpts
- type SetBuildStepParameterOpts
- type SetBuildTagsOpts
- type SetBuildTypeFieldOpts
- type SetBuildTypeTemplatesOpts
- type SetBuildTypesOrderOpts
- type SetDefaultTemplateOpts
- type SetEnabledInfoOpts
- type SetGroupParentGroupsOpts
- type SetGroupPropertyOpts
- type SetGroupRolesOpts
- type SetMultipleBuildCommentsOpts
- type SetParentProjectOpts
- type SetProjectFieldOpts
- type SetQueuedBuildPositionOpts
- type SetQueuedBuildsOrderOpts
- type SetSubprojectsOrderOpts
- type SetTriggerParameterOpts
- type SetUserFieldOpts
- type SetUserGroupsOpts
- type SetUserPropertyOpts
- type SetUserRolesOpts
- type SetVcsRootFieldOpts
- type SetVcsRootInstanceFieldOpts
- type SetVcsRootInstanceRepositoryStateOpts
- type SetVcsRootPropertiesOpts
- type SetVcsRootPropertyOpts
- type SnapshotDependencies
- type SnapshotDependency
- type SnapshotDependencyLink
- type StartBackupOpts
- type StartInstanceOpts
- type StateField
- type Step
- type Steps
- type Tag
- type TagLocator
- type Tags
- type TeamCityNodeLocator
- type TestCounters
- type TestLocator
- type TestOccurrence
- type TestOccurrenceApiService
- func (a *TestOccurrenceApiService) GetAllTestOccurrences(ctx context.Context, localVarOptionals *GetAllTestOccurrencesOpts) (TestOccurrences, *http.Response, error)
- func (a *TestOccurrenceApiService) GetTestOccurrence(ctx context.Context, testLocator string, ...) (TestOccurrence, *http.Response, error)
- type TestOccurrenceLocator
- type TestOccurrences
- type TestRunMetadata
- type Tests
- type Token
- type Tokens
- type Trigger
- type TriggerCommitHookNotificationOpts
- type TriggeredBy
- type Triggers
- type TypedValue
- type UnmuteTestOpts
- type UpdateBuildParameterOfBuildTypeOpts
- type UpdateBuildParameterOpts
- type UpdateBuildParameterSpecificationOfBuildTypeOpts
- type UpdateBuildParameterSpecificationOpts
- type UpdateBuildParameterTypeOfBuildTypeOpts
- type UpdateBuildParameterTypeOpts
- type UpdateBuildParameterValueOfBuildTypeOpts
- type UpdateBuildParameterValueOpts
- type UpdateBuildParametersOfBuildTypeOpts
- type UpdateBuildParametersOpts
- type UpdateBuildTypeVcsRootCheckoutRulesOpts
- type UpdateBuildTypeVcsRootOpts
- type UpdateFeatureOpts
- type UpdateFeaturesOpts
- type User
- type UserApiService
- func (a *UserApiService) AddRoleToUser(ctx context.Context, userLocator string, localVarOptionals *AddRoleToUserOpts) (Role, *http.Response, error)
- func (a *UserApiService) AddRoleToUserAtScope(ctx context.Context, userLocator string, roleId string, scope string) (Role, *http.Response, error)
- func (a *UserApiService) AddUser(ctx context.Context, localVarOptionals *AddUserOpts) (User, *http.Response, error)
- func (a *UserApiService) AddUserToken(ctx context.Context, userLocator string, localVarOptionals *AddUserTokenOpts) (Token, *http.Response, error)
- func (a *UserApiService) DeleteUser(ctx context.Context, userLocator string) (*http.Response, error)
- func (a *UserApiService) DeleteUserField(ctx context.Context, userLocator string, field string) (*http.Response, error)
- func (a *UserApiService) DeleteUserToken(ctx context.Context, userLocator string, name string) (*http.Response, error)
- func (a *UserApiService) GetAllUserGroups(ctx context.Context, userLocator string, ...) (Groups, *http.Response, error)
- func (a *UserApiService) GetAllUserRoles(ctx context.Context, userLocator string) (Roles, *http.Response, error)
- func (a *UserApiService) GetAllUsers(ctx context.Context, localVarOptionals *GetAllUsersOpts) (Users, *http.Response, error)
- func (a *UserApiService) GetUser(ctx context.Context, userLocator string, localVarOptionals *GetUserOpts) (User, *http.Response, error)
- func (a *UserApiService) GetUserField(ctx context.Context, userLocator string, field string) (string, *http.Response, error)
- func (a *UserApiService) GetUserGroup(ctx context.Context, userLocator string, groupLocator string, ...) (Group, *http.Response, error)
- func (a *UserApiService) GetUserPermissions(ctx context.Context, userLocator string, ...) (PermissionAssignments, *http.Response, error)
- func (a *UserApiService) GetUserProperties(ctx context.Context, userLocator string, ...) (Properties, *http.Response, error)
- func (a *UserApiService) GetUserProperty(ctx context.Context, userLocator string, name string) (string, *http.Response, error)
- func (a *UserApiService) GetUserRolesAtScope(ctx context.Context, userLocator string, roleId string, scope string) (Role, *http.Response, error)
- func (a *UserApiService) GetUserTokens(ctx context.Context, userLocator string, localVarOptionals *GetUserTokensOpts) (Tokens, *http.Response, error)
- func (a *UserApiService) RemoveUserFromGroup(ctx context.Context, userLocator string, groupLocator string, ...) (*http.Response, error)
- func (a *UserApiService) RemoveUserProperty(ctx context.Context, userLocator string, name string) (*http.Response, error)
- func (a *UserApiService) RemoveUserRememberMe(ctx context.Context, userLocator string) (*http.Response, error)
- func (a *UserApiService) RemoveUserRoleAtScope(ctx context.Context, userLocator string, roleId string, scope string) (*http.Response, error)
- func (a *UserApiService) ReplaceUser(ctx context.Context, userLocator string, localVarOptionals *ReplaceUserOpts) (User, *http.Response, error)
- func (a *UserApiService) SetUserField(ctx context.Context, userLocator string, field string, ...) (string, *http.Response, error)
- func (a *UserApiService) SetUserGroups(ctx context.Context, userLocator string, localVarOptionals *SetUserGroupsOpts) (Groups, *http.Response, error)
- func (a *UserApiService) SetUserProperty(ctx context.Context, userLocator string, name string, ...) (string, *http.Response, error)
- func (a *UserApiService) SetUserRoles(ctx context.Context, userLocator string, localVarOptionals *SetUserRolesOpts) (Roles, *http.Response, error)
- type UserApprovalRule
- type UserApprovals
- type UserAvatars
- type UserGroupLocator
- type UserLocator
- type Users
- type VcsCheckStatus
- type VcsLabel
- type VcsLabels
- type VcsRoot
- type VcsRootApiService
- func (a *VcsRootApiService) AddVcsRoot(ctx context.Context, localVarOptionals *AddVcsRootOpts) (VcsRoot, *http.Response, error)
- func (a *VcsRootApiService) DeleteAllVcsRootProperties(ctx context.Context, vcsRootLocator string) (*http.Response, error)
- func (a *VcsRootApiService) DeleteVcsRoot(ctx context.Context, vcsRootLocator string) (*http.Response, error)
- func (a *VcsRootApiService) DeleteVcsRootProperty(ctx context.Context, vcsRootLocator string, name string) (*http.Response, error)
- func (a *VcsRootApiService) GetAllVcsRootProperties(ctx context.Context, vcsRootLocator string, ...) (Properties, *http.Response, error)
- func (a *VcsRootApiService) GetAllVcsRoots(ctx context.Context, localVarOptionals *GetAllVcsRootsOpts) (VcsRoots, *http.Response, error)
- func (a *VcsRootApiService) GetRootEndpoints(ctx context.Context, vcsRootLocator string, ...) (VcsRoot, *http.Response, error)
- func (a *VcsRootApiService) GetVcsRootField(ctx context.Context, vcsRootLocator string, field string) (string, *http.Response, error)
- func (a *VcsRootApiService) GetVcsRootInstances(ctx context.Context, vcsRootLocator string, ...) (VcsRootInstances, *http.Response, error)
- func (a *VcsRootApiService) GetVcsRootProperty(ctx context.Context, vcsRootLocator string, name string) (string, *http.Response, error)
- func (a *VcsRootApiService) GetVcsRootSettingsFile(ctx context.Context, vcsRootLocator string) (string, *http.Response, error)
- func (a *VcsRootApiService) SetVcsRootField(ctx context.Context, vcsRootLocator string, field string, ...) (string, *http.Response, error)
- func (a *VcsRootApiService) SetVcsRootProperties(ctx context.Context, vcsRootLocator string, ...) (Properties, *http.Response, error)
- func (a *VcsRootApiService) SetVcsRootProperty(ctx context.Context, vcsRootLocator string, name string, ...) (string, *http.Response, error)
- type VcsRootEntries
- type VcsRootEntry
- type VcsRootInstance
- type VcsRootInstanceApiService
- func (a *VcsRootInstanceApiService) DeleteVcsRootInstanceField(ctx context.Context, vcsRootInstanceLocator string, field string) (*http.Response, error)
- func (a *VcsRootInstanceApiService) DeleteVcsRootInstanceRepositoryState(ctx context.Context, vcsRootInstanceLocator string) (*http.Response, error)
- func (a *VcsRootInstanceApiService) DownloadFile(ctx context.Context, path string, vcsRootInstanceLocator string) (*http.Response, error)
- func (a *VcsRootInstanceApiService) GetAllVcsRootInstances(ctx context.Context, localVarOptionals *GetAllVcsRootInstancesOpts) (VcsRootInstances, *http.Response, error)
- func (a *VcsRootInstanceApiService) GetFileMetadata(ctx context.Context, path string, vcsRootInstanceLocator string, ...) (*os.File, *http.Response, error)
- func (a *VcsRootInstanceApiService) GetFilesList(ctx context.Context, vcsRootInstanceLocator string, ...) (Files, *http.Response, error)
- func (a *VcsRootInstanceApiService) GetFilesListForSubpath(ctx context.Context, path string, vcsRootInstanceLocator string, ...) (Files, *http.Response, error)
- func (a *VcsRootInstanceApiService) GetVcsRootInstance(ctx context.Context, vcsRootInstanceLocator string, ...) (VcsRootInstance, *http.Response, error)
- func (a *VcsRootInstanceApiService) GetVcsRootInstanceCreationDate(ctx context.Context, vcsRootInstanceLocator string) (string, *http.Response, error)
- func (a *VcsRootInstanceApiService) GetVcsRootInstanceField(ctx context.Context, vcsRootInstanceLocator string, field string) (string, *http.Response, error)
- func (a *VcsRootInstanceApiService) GetVcsRootInstanceProperties(ctx context.Context, vcsRootInstanceLocator string, ...) (Properties, *http.Response, error)
- func (a *VcsRootInstanceApiService) GetVcsRootInstanceRepositoryState(ctx context.Context, vcsRootInstanceLocator string, ...) (Entries, *http.Response, error)
- func (a *VcsRootInstanceApiService) GetZippedFile(ctx context.Context, path string, vcsRootInstanceLocator string, ...) (*http.Response, error)
- func (a *VcsRootInstanceApiService) RequestPendingChangesCheck(ctx context.Context, localVarOptionals *RequestPendingChangesCheckOpts) (VcsRootInstances, *http.Response, error)
- func (a *VcsRootInstanceApiService) SetVcsRootInstanceField(ctx context.Context, vcsRootInstanceLocator string, field string, ...) (string, *http.Response, error)
- func (a *VcsRootInstanceApiService) SetVcsRootInstanceRepositoryState(ctx context.Context, vcsRootInstanceLocator string, ...) (Entries, *http.Response, error)
- func (a *VcsRootInstanceApiService) TriggerCommitHookNotification(ctx context.Context, localVarOptionals *TriggerCommitHookNotificationOpts) (*http.Response, error)
- type VcsRootInstanceLocator
- type VcsRootInstances
- type VcsRootLocator
- type VcsRoots
- type VcsStatus
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { AgentApi *AgentApiService AgentPoolApi *AgentPoolApiService AuditApi *AuditApiService AvatarApi *AvatarApiService BuildApi *BuildApiService BuildQueueApi *BuildQueueApiService BuildTypeApi *BuildTypeApiService ChangeApi *ChangeApiService CloudInstanceApi *CloudInstanceApiService GroupApi *GroupApiService HealthApi *HealthApiService InvestigationApi *InvestigationApiService MuteApi *MuteApiService NodeApi *NodeApiService ProblemApi *ProblemApiService ProblemOccurrenceApi *ProblemOccurrenceApiService ProjectApi *ProjectApiService RootApi *RootApiService ServerApi *ServerApiService TestOccurrenceApi *TestOccurrenceApiService UserApi *UserApiService VcsRootApi *VcsRootApiService VcsRootInstanceApi *VcsRootInstanceApiService // contains filtered or unexported fields }
APIClient manages communication with the TeamCity REST API API v2018.1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AddAgentToAgentPoolOpts ¶
type AddBuildTemplateOpts ¶
type AddBuildToQueueOpts ¶
type AddBuildTypeOpts ¶
type AddBuildVcsLabelOpts ¶
type AddInvestigationOpts ¶
type AddLicenseKeysOpts ¶
type AddProblemToBuildOpts ¶
type AddProjectOpts ¶
type AddRoleToGroupOpts ¶
type AddRoleToUserOpts ¶
type AddSecureTokenOpts ¶
type AddTagsToBuildOpts ¶
type AddTemplateOpts ¶
type AddUserTokenOpts ¶
type Agent ¶
type Agent struct { Id int32 `json:"id,omitempty"` Name string `json:"name,omitempty"` TypeId int32 `json:"typeId,omitempty"` Connected bool `json:"connected,omitempty"` Enabled bool `json:"enabled,omitempty"` Authorized bool `json:"authorized,omitempty"` Uptodate bool `json:"uptodate,omitempty"` Outdated bool `json:"outdated,omitempty"` PluginsOutdated bool `json:"pluginsOutdated,omitempty"` JavaOutdated bool `json:"javaOutdated,omitempty"` Ip string `json:"ip,omitempty"` Protocol string `json:"protocol,omitempty"` Version string `json:"version,omitempty"` CurrentAgentVersion string `json:"currentAgentVersion,omitempty"` LastActivityTime string `json:"lastActivityTime,omitempty"` IdleSinceTime string `json:"idleSinceTime,omitempty"` DisconnectionComment string `json:"disconnectionComment,omitempty"` RegistrationTimestamp string `json:"registrationTimestamp,omitempty"` Host string `json:"host,omitempty"` CpuRank int32 `json:"cpuRank,omitempty"` Port int32 `json:"port,omitempty"` Href string `json:"href,omitempty"` WebUrl string `json:"webUrl,omitempty"` Build *Build `json:"build,omitempty"` Links *Links `json:"links,omitempty"` EnabledInfo *EnabledInfo `json:"enabledInfo,omitempty"` AuthorizedInfo *AuthorizedInfo `json:"authorizedInfo,omitempty"` Properties *Properties `json:"properties,omitempty"` CloudInstance *CloudInstance `json:"cloudInstance,omitempty"` CloudImage *CloudImage `json:"cloudImage,omitempty"` Environment *Environment `json:"environment,omitempty"` Pool *AgentPool `json:"pool,omitempty"` CompatibilityPolicy *CompatibilityPolicy `json:"compatibilityPolicy,omitempty"` CompatibleBuildTypes *BuildTypes `json:"compatibleBuildTypes,omitempty"` IncompatibleBuildTypes *Compatibilities `json:"incompatibleBuildTypes,omitempty"` Builds *Builds `json:"builds,omitempty"` Locator string `json:"locator,omitempty"` }
Represents a known agent instance.
type AgentApiService ¶
type AgentApiService service
func (*AgentApiService) DeleteAgent ¶
func (a *AgentApiService) DeleteAgent(ctx context.Context, agentLocator string) (*http.Response, error)
AgentApiService Delete an inactive agent.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param agentLocator
func (*AgentApiService) GetAgent ¶
func (a *AgentApiService) GetAgent(ctx context.Context, agentLocator string, localVarOptionals *GetAgentOpts) (Agent, *http.Response, error)
func (*AgentApiService) GetAgentField ¶
func (a *AgentApiService) GetAgentField(ctx context.Context, agentLocator string, field string) (string, *http.Response, error)
AgentApiService Get a field of the matching agent.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param agentLocator
- @param field
@return string
func (*AgentApiService) GetAgentPool ¶
func (a *AgentApiService) GetAgentPool(ctx context.Context, agentLocator string, localVarOptionals *GetAgentPoolOpts) (AgentPool, *http.Response, error)
func (*AgentApiService) GetAllAgents ¶
func (a *AgentApiService) GetAllAgents(ctx context.Context, localVarOptionals *GetAllAgentsOpts) (Agents, *http.Response, error)
func (*AgentApiService) GetAuthorizedInfo ¶
func (a *AgentApiService) GetAuthorizedInfo(ctx context.Context, agentLocator string, localVarOptionals *GetAuthorizedInfoOpts) (AuthorizedInfo, *http.Response, error)
func (*AgentApiService) GetBuildConfigurationRunPolicy ¶
func (a *AgentApiService) GetBuildConfigurationRunPolicy(ctx context.Context, agentLocator string, localVarOptionals *GetBuildConfigurationRunPolicyOpts) (CompatibilityPolicy, *http.Response, error)
func (*AgentApiService) GetCompatibleBuildTypes ¶
func (a *AgentApiService) GetCompatibleBuildTypes(ctx context.Context, agentLocator string, localVarOptionals *GetCompatibleBuildTypesOpts) (BuildTypes, *http.Response, error)
func (*AgentApiService) GetEnabledInfo ¶
func (a *AgentApiService) GetEnabledInfo(ctx context.Context, agentLocator string, localVarOptionals *GetEnabledInfoOpts) (EnabledInfo, *http.Response, error)
func (*AgentApiService) GetIncompatibleBuildTypes ¶
func (a *AgentApiService) GetIncompatibleBuildTypes(ctx context.Context, agentLocator string, localVarOptionals *GetIncompatibleBuildTypesOpts) (Compatibilities, *http.Response, error)
func (*AgentApiService) SetAgentField ¶
func (a *AgentApiService) SetAgentField(ctx context.Context, agentLocator string, field string, localVarOptionals *SetAgentFieldOpts) (string, *http.Response, error)
func (*AgentApiService) SetAgentPool ¶
func (a *AgentApiService) SetAgentPool(ctx context.Context, agentLocator string, localVarOptionals *SetAgentPoolOpts) (AgentPool, *http.Response, error)
func (*AgentApiService) SetAuthorizedInfo ¶
func (a *AgentApiService) SetAuthorizedInfo(ctx context.Context, agentLocator string, localVarOptionals *SetAuthorizedInfoOpts) (AuthorizedInfo, *http.Response, error)
func (*AgentApiService) SetBuildConfigurationRunPolicy ¶
func (a *AgentApiService) SetBuildConfigurationRunPolicy(ctx context.Context, agentLocator string, localVarOptionals *SetBuildConfigurationRunPolicyOpts) (CompatibilityPolicy, *http.Response, error)
func (*AgentApiService) SetEnabledInfo ¶
func (a *AgentApiService) SetEnabledInfo(ctx context.Context, agentLocator string, localVarOptionals *SetEnabledInfoOpts) (EnabledInfo, *http.Response, error)
type AgentLocator ¶
type AgentLocator struct { // Is the agent authorized. Authorized bool `json:"authorized,omitempty"` // Build locator. Build string `json:"build,omitempty"` // Compatible build types locator. Compatible string `json:"compatible,omitempty"` // Is the agent connected. Connected bool `json:"connected,omitempty"` // For paginated calls, how many entities to return per page. Count int32 `json:"count,omitempty"` // Is the agent enabled. Enabled bool `json:"enabled,omitempty"` // Entity ID. Id int32 `json:"id,omitempty"` Ip string `json:"ip,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` Name string `json:"name,omitempty"` Parameter string `json:"parameter,omitempty"` // Agent pool locator. Pool string `json:"pool,omitempty"` // For paginated calls, from which entity to start rendering the page. Start int32 `json:"start,omitempty"` }
Represents a locator string for filtering Agent entities.
type AgentPool ¶
type AgentPool struct { Id int32 `json:"id,omitempty"` Name string `json:"name,omitempty"` Href string `json:"href,omitempty"` MaxAgents int32 `json:"maxAgents,omitempty"` OwnerProject *Project `json:"ownerProject,omitempty"` Projects *Projects `json:"projects,omitempty"` Agents *Agents `json:"agents,omitempty"` Locator string `json:"locator,omitempty"` }
Represents an agent pool instance.
type AgentPoolApiService ¶
type AgentPoolApiService service
func (*AgentPoolApiService) AddAgentToAgentPool ¶
func (a *AgentPoolApiService) AddAgentToAgentPool(ctx context.Context, agentPoolLocator string, localVarOptionals *AddAgentToAgentPoolOpts) (Agent, *http.Response, error)
func (*AgentPoolApiService) AddProjectToAgentPool ¶
func (a *AgentPoolApiService) AddProjectToAgentPool(ctx context.Context, agentPoolLocator string, localVarOptionals *AddProjectToAgentPoolOpts) (Project, *http.Response, error)
func (*AgentPoolApiService) CreateAgentPool ¶
func (a *AgentPoolApiService) CreateAgentPool(ctx context.Context, localVarOptionals *CreateAgentPoolOpts) (AgentPool, *http.Response, error)
func (*AgentPoolApiService) DeleteAgentPool ¶
func (a *AgentPoolApiService) DeleteAgentPool(ctx context.Context, agentPoolLocator string) (*http.Response, error)
AgentPoolApiService Delete the agent pool matching the locator.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param agentPoolLocator
func (*AgentPoolApiService) DeleteAllProjectsFromAgentPool ¶
func (a *AgentPoolApiService) DeleteAllProjectsFromAgentPool(ctx context.Context, agentPoolLocator string) (*http.Response, error)
AgentPoolApiService Unassign all projects from the matching agent pool.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param agentPoolLocator
func (*AgentPoolApiService) DeleteProjectFromAgentPool ¶
func (a *AgentPoolApiService) DeleteProjectFromAgentPool(ctx context.Context, agentPoolLocator string, projectLocator string) (*http.Response, error)
AgentPoolApiService Unassign the project from the matching agent pool.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param agentPoolLocator
- @param projectLocator
func (*AgentPoolApiService) GetAgentPoolOfAgentPool ¶
func (a *AgentPoolApiService) GetAgentPoolOfAgentPool(ctx context.Context, agentPoolLocator string, localVarOptionals *GetAgentPoolOfAgentPoolOpts) (AgentPool, *http.Response, error)
func (*AgentPoolApiService) GetAllAgentPools ¶
func (a *AgentPoolApiService) GetAllAgentPools(ctx context.Context, localVarOptionals *GetAllAgentPoolsOpts) (AgentPools, *http.Response, error)
func (*AgentPoolApiService) GetAllAgentsFromAgentPool ¶
func (a *AgentPoolApiService) GetAllAgentsFromAgentPool(ctx context.Context, agentPoolLocator string, localVarOptionals *GetAllAgentsFromAgentPoolOpts) (Agents, *http.Response, error)
func (*AgentPoolApiService) GetAllProjectsFromAgentPool ¶
func (a *AgentPoolApiService) GetAllProjectsFromAgentPool(ctx context.Context, agentPoolLocator string, localVarOptionals *GetAllProjectsFromAgentPoolOpts) (Projects, *http.Response, error)
func (*AgentPoolApiService) GetFieldFromAgentPool ¶
func (a *AgentPoolApiService) GetFieldFromAgentPool(ctx context.Context, agentPoolLocator string, field string) (string, *http.Response, error)
AgentPoolApiService Get a field of the matching agent pool.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param agentPoolLocator
- @param field
@return string
func (*AgentPoolApiService) SetAgentPoolField ¶
func (a *AgentPoolApiService) SetAgentPoolField(ctx context.Context, agentPoolLocator string, field string, localVarOptionals *SetAgentPoolFieldOpts) (string, *http.Response, error)
func (*AgentPoolApiService) SetAgentPoolProjects ¶
func (a *AgentPoolApiService) SetAgentPoolProjects(ctx context.Context, agentPoolLocator string, localVarOptionals *SetAgentPoolProjectsOpts) (Projects, *http.Response, error)
type AgentPoolLocator ¶
type AgentPoolLocator struct { // Pool's agents locator. Agent string `json:"agent,omitempty"` Id string `json:"id,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` Name string `json:"name,omitempty"` // Pool's associated projects locator. Project string `json:"project,omitempty"` }
Represents a locator string for filtering AgentPool entities.
type AgentPools ¶
type AgentPools struct { Count int32 `json:"count,omitempty"` Href string `json:"href,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` AgentPool []AgentPool `json:"agentPool,omitempty"` }
Represents a paginated list of AgentPool entities.
type AgentRequirement ¶
type AgentRequirement struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type_ string `json:"type,omitempty"` Disabled bool `json:"disabled,omitempty"` Inherited bool `json:"inherited,omitempty"` Href string `json:"href,omitempty"` Properties *Properties `json:"properties,omitempty"` }
Represents a requirement to agent parameters.
type AgentRequirements ¶
type AgentRequirements struct { Count int32 `json:"count,omitempty"` AgentRequirement []AgentRequirement `json:"agent-requirement,omitempty"` }
Represents a list of AgentRequirement entities.
type Agents ¶
type Agents struct { Count int32 `json:"count,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` Href string `json:"href,omitempty"` Agent []Agent `json:"agent,omitempty"` }
Represents a paginated list of Agent entities.
type ApprovalInfo ¶
type ApprovalInfo struct { TimeoutTimestamp string `json:"timeoutTimestamp,omitempty"` ConfigurationValid bool `json:"configurationValid,omitempty"` CanBeApprovedByCurrentUser bool `json:"canBeApprovedByCurrentUser,omitempty"` UserApprovals *UserApprovals `json:"userApprovals,omitempty"` GroupApprovals *GroupApprovals `json:"groupApprovals,omitempty"` Status string `json:"status,omitempty"` }
Represents approval status for this build, if applicable.
type ApproveQueuedBuildOpts ¶
type ArtifactDependencies ¶
type ArtifactDependencies struct { Count int32 `json:"count,omitempty"` ArtifactDependency []ArtifactDependency `json:"artifact-dependency,omitempty"` Replace string `json:"replace,omitempty"` }
Represents a list of ArtifactDependency entities.
type ArtifactDependency ¶
type ArtifactDependency struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type_ string `json:"type,omitempty"` Disabled bool `json:"disabled,omitempty"` Inherited bool `json:"inherited,omitempty"` Href string `json:"href,omitempty"` Properties *Properties `json:"properties,omitempty"` SourceBuildType *BuildType `json:"source-buildType,omitempty"` }
Represents an artifact dependency relation.
type ArtifactDownloadInfo ¶
type AuditAction ¶
type AuditAction struct { Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Pattern string `json:"pattern,omitempty"` }
Represents an audit action.
type AuditApiService ¶
type AuditApiService service
func (*AuditApiService) GetAllAuditEvents ¶
func (a *AuditApiService) GetAllAuditEvents(ctx context.Context, localVarOptionals *GetAllAuditEventsOpts) (AuditEvents, *http.Response, error)
func (*AuditApiService) GetAuditEvent ¶
func (a *AuditApiService) GetAuditEvent(ctx context.Context, auditEventLocator string, localVarOptionals *GetAuditEventOpts) (AuditEvent, *http.Response, error)
type AuditEvent ¶
type AuditEvent struct { Id string `json:"id,omitempty"` Timestamp string `json:"timestamp,omitempty"` Comment string `json:"comment,omitempty"` Action *AuditAction `json:"action,omitempty"` RelatedEntities *RelatedEntities `json:"relatedEntities,omitempty"` User *User `json:"user,omitempty"` }
Represents an audit event including a user and affected entities.
type AuditEvents ¶
type AuditEvents struct { Count int32 `json:"count,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` Href string `json:"href,omitempty"` AuditEvent []AuditEvent `json:"auditEvent,omitempty"` }
Represents a paginated list of AuditEvent entities.
type AuditLocator ¶
type AuditLocator struct { // Use `$help` to get the full list of supported actions. Action string `json:"action,omitempty"` // Related project locator. AffectedProject string `json:"affectedProject,omitempty"` // Related build type or template locator. BuildType string `json:"buildType,omitempty"` // For paginated calls, how many entities to return per page. Count int32 `json:"count,omitempty"` Id string `json:"id,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` // Limit processing to the latest `<lookupLimit>` entities. LookupLimit int32 `json:"lookupLimit,omitempty"` // For paginated calls, from which entity to start rendering the page. Start int32 `json:"start,omitempty"` SystemAction string `json:"systemAction,omitempty"` // Locator of user who caused the audit event. User string `json:"user,omitempty"` }
Represents a locator string for filtering AuditEvent entities.
type AuthorizedInfo ¶
type AuthorizedInfo struct { Status bool `json:"status,omitempty"` Comment *Comment `json:"comment,omitempty"` }
Represents agent authorization data.
type AvatarApiService ¶
type AvatarApiService service
func (*AvatarApiService) DeleteAvatar ¶
func (a *AvatarApiService) DeleteAvatar(ctx context.Context, userLocator string) (*http.Response, error)
AvatarApiService Delete a users avatar
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userLocator
func (*AvatarApiService) GetAvatar ¶
func (a *AvatarApiService) GetAvatar(ctx context.Context, userLocator string, size int32) (*http.Response, error)
AvatarApiService Get a users avatar
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userLocator
- @param size avatar's size
func (*AvatarApiService) GetAvatarWithHash ¶
func (a *AvatarApiService) GetAvatarWithHash(ctx context.Context, userLocator string, size int32, hash string) (*http.Response, error)
AvatarApiService Get a users avatar
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userLocator
- @param size avatar's size
- @param hash
func (*AvatarApiService) PutAvatar ¶
func (a *AvatarApiService) PutAvatar(ctx context.Context, userLocator string, localVarOptionals *PutAvatarOpts) (*http.Response, error)
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Branch ¶
type Branch struct { Name string `json:"name,omitempty"` InternalName string `json:"internalName,omitempty"` Default_ bool `json:"default,omitempty"` Unspecified bool `json:"unspecified,omitempty"` Active bool `json:"active,omitempty"` LastActivity string `json:"lastActivity,omitempty"` GroupFlag bool `json:"groupFlag,omitempty"` Builds *Builds `json:"builds,omitempty"` }
Represents a branch on which this build has been started.
type BranchLocator ¶
type BranchLocator struct { // Is feature branch. Branched string `json:"branched,omitempty"` // Build locator. Build string `json:"build,omitempty"` // Build type locator. BuildType string `json:"buildType,omitempty"` // Is default branch. Default_ string `json:"default,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` Name string `json:"name,omitempty"` Policy string `json:"policy,omitempty"` }
Represents a locator string for filtering Branch entities.
type BranchVersion ¶
type BranchVersion struct { Version string `json:"version,omitempty"` GroupFlag bool `json:"groupFlag,omitempty"` Builds *Builds `json:"builds,omitempty"` LastActivity string `json:"lastActivity,omitempty"` Unspecified bool `json:"unspecified,omitempty"` Name string `json:"name,omitempty"` Default_ bool `json:"default,omitempty"` Active bool `json:"active,omitempty"` InternalName string `json:"internalName,omitempty"` }
Represents a branch version.
type Branches ¶
type Branches struct { Count int32 `json:"count,omitempty"` Href string `json:"href,omitempty"` Branch []Branch `json:"branch,omitempty"` }
Represents a list of Branch entities.
type Build ¶
type Build struct { Id int64 `json:"id,omitempty"` TaskId int64 `json:"taskId,omitempty"` BuildTypeId string `json:"buildTypeId,omitempty"` BuildTypeInternalId string `json:"buildTypeInternalId,omitempty"` Number string `json:"number,omitempty"` Status string `json:"status,omitempty"` State string `json:"state,omitempty"` Running bool `json:"running,omitempty"` Composite bool `json:"composite,omitempty"` FailedToStart bool `json:"failedToStart,omitempty"` Personal bool `json:"personal,omitempty"` PercentageComplete int32 `json:"percentageComplete,omitempty"` BranchName string `json:"branchName,omitempty"` DefaultBranch bool `json:"defaultBranch,omitempty"` UnspecifiedBranch bool `json:"unspecifiedBranch,omitempty"` History bool `json:"history,omitempty"` Pinned bool `json:"pinned,omitempty"` Href string `json:"href,omitempty"` WebUrl string `json:"webUrl,omitempty"` QueuePosition int32 `json:"queuePosition,omitempty"` LimitedChangesCount int32 `json:"limitedChangesCount,omitempty"` ArtifactsDirectory string `json:"artifactsDirectory,omitempty"` Links *Links `json:"links,omitempty"` StatusText string `json:"statusText,omitempty"` BuildType *BuildType `json:"buildType,omitempty"` Comment *Comment `json:"comment,omitempty"` Tags *Tags `json:"tags,omitempty"` PinInfo *Comment `json:"pinInfo,omitempty"` User *User `json:"user,omitempty"` StartEstimate string `json:"startEstimate,omitempty"` WaitReason string `json:"waitReason,omitempty"` FinishEstimate string `json:"finishEstimate,omitempty"` DelayedByBuild *Build `json:"delayedByBuild,omitempty"` PlannedAgent *Agent `json:"plannedAgent,omitempty"` ApprovalInfo *ApprovalInfo `json:"approvalInfo,omitempty"` RunningInfo *ProgressInfo `json:"running-info,omitempty"` CanceledInfo *Comment `json:"canceledInfo,omitempty"` QueuedDate string `json:"queuedDate,omitempty"` StartDate string `json:"startDate,omitempty"` FinishDate string `json:"finishDate,omitempty"` Triggered *TriggeredBy `json:"triggered,omitempty"` LastChanges *Changes `json:"lastChanges,omitempty"` Changes *Changes `json:"changes,omitempty"` Revisions *Revisions `json:"revisions,omitempty"` VersionedSettingsRevision *Revision `json:"versionedSettingsRevision,omitempty"` ArtifactDependencyChanges *BuildChanges `json:"artifactDependencyChanges,omitempty"` Agent *Agent `json:"agent,omitempty"` CompatibleAgents *Agents `json:"compatibleAgents,omitempty"` TestOccurrences *TestOccurrences `json:"testOccurrences,omitempty"` ProblemOccurrences *ProblemOccurrences `json:"problemOccurrences,omitempty"` Artifacts *Files `json:"artifacts,omitempty"` RelatedIssues *IssuesUsages `json:"relatedIssues,omitempty"` Properties *Properties `json:"properties,omitempty"` ResultingProperties *Properties `json:"resultingProperties,omitempty"` Attributes *Entries `json:"attributes,omitempty"` Statistics *Properties `json:"statistics,omitempty"` Metadata *Datas `json:"metadata,omitempty"` SnapshotDependencies *Builds `json:"snapshot-dependencies,omitempty"` ArtifactDependencies *Builds `json:"artifact-dependencies,omitempty"` CustomArtifactDependencies *ArtifactDependencies `json:"custom-artifact-dependencies,omitempty"` SettingsHash string `json:"settingsHash,omitempty"` CurrentSettingsHash string `json:"currentSettingsHash,omitempty"` ModificationId string `json:"modificationId,omitempty"` ChainModificationId string `json:"chainModificationId,omitempty"` ReplacementIds *Items `json:"replacementIds,omitempty"` Related *Related `json:"related,omitempty"` TriggeringOptions *BuildTriggeringOptions `json:"triggeringOptions,omitempty"` UsedByOtherBuilds bool `json:"usedByOtherBuilds,omitempty"` StatusChangeComment *Comment `json:"statusChangeComment,omitempty"` VcsLabels []VcsLabel `json:"vcsLabels,omitempty"` DetachedFromAgent bool `json:"detachedFromAgent,omitempty"` FinishOnAgentDate string `json:"finishOnAgentDate,omitempty"` Customized bool `json:"customized,omitempty"` Customization *Customizations `json:"customization,omitempty"` ChangesCollectingInProgress bool `json:"changesCollectingInProgress,omitempty"` QueuedWaitReasons *Properties `json:"queuedWaitReasons,omitempty"` DownloadedArtifacts *DownloadedArtifacts `json:"downloadedArtifacts,omitempty"` FirstBuildWithSameChanges *Build `json:"firstBuildWithSameChanges,omitempty"` Locator string `json:"locator,omitempty"` }
Represents a build instance.
type BuildApiService ¶
type BuildApiService service
func (*BuildApiService) AddBuildVcsLabel ¶
func (a *BuildApiService) AddBuildVcsLabel(ctx context.Context, buildLocator string, localVarOptionals *AddBuildVcsLabelOpts) (VcsLabels, *http.Response, error)
func (*BuildApiService) AddLogMessageToBuild ¶
func (a *BuildApiService) AddLogMessageToBuild(ctx context.Context, buildLocator string, localVarOptionals *AddLogMessageToBuildOpts) (*http.Response, error)
func (*BuildApiService) AddProblemToBuild ¶
func (a *BuildApiService) AddProblemToBuild(ctx context.Context, buildLocator string, localVarOptionals *AddProblemToBuildOpts) (ProblemOccurrence, *http.Response, error)
func (*BuildApiService) AddTagsToBuild ¶
func (a *BuildApiService) AddTagsToBuild(ctx context.Context, buildLocator string, localVarOptionals *AddTagsToBuildOpts) (Tags, *http.Response, error)
func (*BuildApiService) AddTagsToMultipleBuilds ¶
func (a *BuildApiService) AddTagsToMultipleBuilds(ctx context.Context, buildLocator string, localVarOptionals *AddTagsToMultipleBuildsOpts) (MultipleOperationResult, *http.Response, error)
func (*BuildApiService) CancelBuild ¶
func (a *BuildApiService) CancelBuild(ctx context.Context, buildLocator string, localVarOptionals *CancelBuildOpts) (Build, *http.Response, error)
func (*BuildApiService) CancelMultiple ¶
func (a *BuildApiService) CancelMultiple(ctx context.Context, buildLocator string, localVarOptionals *CancelMultipleOpts) (MultipleOperationResult, *http.Response, error)
func (*BuildApiService) DeleteBuild ¶
func (a *BuildApiService) DeleteBuild(ctx context.Context, buildLocator string) (*http.Response, error)
BuildApiService Delete build matching the locator.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
func (*BuildApiService) DeleteBuildComment ¶
func (a *BuildApiService) DeleteBuildComment(ctx context.Context, buildLocator string) (*http.Response, error)
BuildApiService Remove the build comment matching the locator.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
func (*BuildApiService) DeleteMultipleBuildComments ¶
func (a *BuildApiService) DeleteMultipleBuildComments(ctx context.Context, buildLocator string, localVarOptionals *DeleteMultipleBuildCommentsOpts) (MultipleOperationResult, *http.Response, error)
func (*BuildApiService) DeleteMultipleBuilds ¶
func (a *BuildApiService) DeleteMultipleBuilds(ctx context.Context, buildLocator string, localVarOptionals *DeleteMultipleBuildsOpts) (MultipleOperationResult, *http.Response, error)
func (*BuildApiService) DownloadFileOfBuild ¶
func (a *BuildApiService) DownloadFileOfBuild(ctx context.Context, path string, buildLocator string, localVarOptionals *DownloadFileOfBuildOpts) (*http.Response, error)
func (*BuildApiService) GetAggregatedBuildStatus ¶
func (a *BuildApiService) GetAggregatedBuildStatus(ctx context.Context, buildLocator string) (string, *http.Response, error)
BuildApiService Get the build status of aggregated matching builds.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
@return string
func (*BuildApiService) GetAggregatedBuildStatusIcon ¶
func (a *BuildApiService) GetAggregatedBuildStatusIcon(ctx context.Context, buildLocator string, suffix string) (*http.Response, error)
BuildApiService Get the status icon (in specified format) of aggregated matching builds.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
- @param suffix
func (*BuildApiService) GetAllBuilds ¶
func (a *BuildApiService) GetAllBuilds(ctx context.Context, localVarOptionals *GetAllBuildsOpts) (Builds, *http.Response, error)
func (*BuildApiService) GetArtifactDependencyChanges ¶
func (a *BuildApiService) GetArtifactDependencyChanges(ctx context.Context, buildLocator string, localVarOptionals *GetArtifactDependencyChangesOpts) (BuildChanges, *http.Response, error)
func (*BuildApiService) GetArtifactsDirectory ¶
func (a *BuildApiService) GetArtifactsDirectory(ctx context.Context, buildLocator string) (string, *http.Response, error)
BuildApiService Get the artifacts' directory of the matching build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
@return string
func (*BuildApiService) GetBuild ¶
func (a *BuildApiService) GetBuild(ctx context.Context, buildLocator string, localVarOptionals *GetBuildOpts) (Build, *http.Response, error)
func (*BuildApiService) GetBuildActualParameters ¶
func (a *BuildApiService) GetBuildActualParameters(ctx context.Context, buildLocator string, localVarOptionals *GetBuildActualParametersOpts) (Properties, *http.Response, error)
func (*BuildApiService) GetBuildField ¶
func (a *BuildApiService) GetBuildField(ctx context.Context, buildLocator string, field string) (string, *http.Response, error)
BuildApiService Get a field of the matching build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
- @param field
@return string
func (*BuildApiService) GetBuildFinishDate ¶
func (a *BuildApiService) GetBuildFinishDate(ctx context.Context, buildLocator string) (string, *http.Response, error)
BuildApiService Get the finish date of the matching build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
@return string
func (*BuildApiService) GetBuildNumber ¶
func (a *BuildApiService) GetBuildNumber(ctx context.Context, buildLocator string) (string, *http.Response, error)
BuildApiService Get the number of the matching build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
@return string
func (*BuildApiService) GetBuildPinInfo ¶
func (a *BuildApiService) GetBuildPinInfo(ctx context.Context, buildLocator string, localVarOptionals *GetBuildPinInfoOpts) (PinInfo, *http.Response, error)
func (*BuildApiService) GetBuildProblems ¶
func (a *BuildApiService) GetBuildProblems(ctx context.Context, buildLocator string, localVarOptionals *GetBuildProblemsOpts) (ProblemOccurrences, *http.Response, error)
func (*BuildApiService) GetBuildRelatedIssues ¶
func (a *BuildApiService) GetBuildRelatedIssues(ctx context.Context, buildLocator string, localVarOptionals *GetBuildRelatedIssuesOpts) (IssuesUsages, *http.Response, error)
func (*BuildApiService) GetBuildResolved ¶
func (a *BuildApiService) GetBuildResolved(ctx context.Context, buildLocator string, value string) (string, *http.Response, error)
BuildApiService Get the resolvement status of the matching build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
- @param value
@return string
func (*BuildApiService) GetBuildResultingProperties ¶
func (a *BuildApiService) GetBuildResultingProperties(ctx context.Context, buildLocator string, propertyName string) (string, *http.Response, error)
BuildApiService Update a build parameter of the matching build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
- @param propertyName
@return string
func (*BuildApiService) GetBuildSourceFile ¶
func (a *BuildApiService) GetBuildSourceFile(ctx context.Context, buildLocator string, fileName string) (*http.Response, error)
BuildApiService Get a source file of the matching build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
- @param fileName
func (*BuildApiService) GetBuildStatisticValue ¶
func (a *BuildApiService) GetBuildStatisticValue(ctx context.Context, buildLocator string, name string) (string, *http.Response, error)
BuildApiService Get a statistical value of the matching build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
- @param name
@return string
func (*BuildApiService) GetBuildStatisticValues ¶
func (a *BuildApiService) GetBuildStatisticValues(ctx context.Context, buildLocator string, localVarOptionals *GetBuildStatisticValuesOpts) (Properties, *http.Response, error)
func (*BuildApiService) GetBuildStatus ¶
func (a *BuildApiService) GetBuildStatus(ctx context.Context, buildLocator string) (string, *http.Response, error)
BuildApiService Get status of the matching build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
@return string
func (*BuildApiService) GetBuildStatusIcon ¶
func (a *BuildApiService) GetBuildStatusIcon(ctx context.Context, buildLocator string, suffix string) (*http.Response, error)
BuildApiService Get the status icon (in specified format) of the matching build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
- @param suffix
func (*BuildApiService) GetBuildStatusText ¶
func (a *BuildApiService) GetBuildStatusText(ctx context.Context, buildLocator string) (string, *http.Response, error)
BuildApiService Get the build status text of the matching build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
@return string
func (*BuildApiService) GetBuildTags ¶
func (a *BuildApiService) GetBuildTags(ctx context.Context, buildLocator string, localVarOptionals *GetBuildTagsOpts) (Tags, *http.Response, error)
func (*BuildApiService) GetBuildTestOccurrences ¶
func (a *BuildApiService) GetBuildTestOccurrences(ctx context.Context, buildLocator string, localVarOptionals *GetBuildTestOccurrencesOpts) (TestOccurrences, *http.Response, error)
func (*BuildApiService) GetBuildVcsLabels ¶
func (a *BuildApiService) GetBuildVcsLabels(ctx context.Context, buildLocator string, localVarOptionals *GetBuildVcsLabelsOpts) (VcsLabels, *http.Response, error)
func (*BuildApiService) GetCanceledInfo ¶
func (a *BuildApiService) GetCanceledInfo(ctx context.Context, buildLocator string, localVarOptionals *GetCanceledInfoOpts) (Comment, *http.Response, error)
func (*BuildApiService) GetFileMetadataOfBuild ¶
func (*BuildApiService) GetFilesListForSubpathOfBuild ¶
func (a *BuildApiService) GetFilesListForSubpathOfBuild(ctx context.Context, path string, buildLocator string, localVarOptionals *GetFilesListForSubpathOfBuildOpts) (Files, *http.Response, error)
func (*BuildApiService) GetFilesListOfBuild ¶
func (a *BuildApiService) GetFilesListOfBuild(ctx context.Context, buildLocator string, localVarOptionals *GetFilesListOfBuildOpts) (Files, *http.Response, error)
func (*BuildApiService) GetMultipleBuilds ¶
func (a *BuildApiService) GetMultipleBuilds(ctx context.Context, buildLocator string, localVarOptionals *GetMultipleBuildsOpts) (Builds, *http.Response, error)
func (*BuildApiService) GetZippedFileOfBuild ¶
func (a *BuildApiService) GetZippedFileOfBuild(ctx context.Context, path string, buildLocator string, localVarOptionals *GetZippedFileOfBuildOpts) (*http.Response, error)
func (*BuildApiService) MarkBuildAsRunning ¶
func (a *BuildApiService) MarkBuildAsRunning(ctx context.Context, buildLocator string, localVarOptionals *MarkBuildAsRunningOpts) (Build, *http.Response, error)
func (*BuildApiService) PinMultipleBuilds ¶
func (a *BuildApiService) PinMultipleBuilds(ctx context.Context, buildLocator string, localVarOptionals *PinMultipleBuildsOpts) (MultipleOperationResult, *http.Response, error)
func (*BuildApiService) RemoveMultipleBuildTags ¶
func (a *BuildApiService) RemoveMultipleBuildTags(ctx context.Context, buildLocator string, localVarOptionals *RemoveMultipleBuildTagsOpts) (MultipleOperationResult, *http.Response, error)
func (*BuildApiService) ResetBuildFinishProperties ¶
func (a *BuildApiService) ResetBuildFinishProperties(ctx context.Context, buildLocator string) (*http.Response, error)
BuildApiService Remove build parameters from the matching build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
func (*BuildApiService) SetBuildComment ¶
func (a *BuildApiService) SetBuildComment(ctx context.Context, buildLocator string, localVarOptionals *SetBuildCommentOpts) (*http.Response, error)
func (*BuildApiService) SetBuildFinishDate ¶
func (a *BuildApiService) SetBuildFinishDate(ctx context.Context, buildLocator string, localVarOptionals *SetBuildFinishDateOpts) (string, *http.Response, error)
func (*BuildApiService) SetBuildNumber ¶
func (a *BuildApiService) SetBuildNumber(ctx context.Context, buildLocator string, localVarOptionals *SetBuildNumberOpts) (string, *http.Response, error)
func (*BuildApiService) SetBuildPinInfo ¶
func (a *BuildApiService) SetBuildPinInfo(ctx context.Context, buildLocator string, localVarOptionals *SetBuildPinInfoOpts) (PinInfo, *http.Response, error)
func (*BuildApiService) SetBuildStatus ¶
func (a *BuildApiService) SetBuildStatus(ctx context.Context, buildLocator string, localVarOptionals *SetBuildStatusOpts) (*http.Response, error)
func (*BuildApiService) SetBuildStatusText ¶
func (a *BuildApiService) SetBuildStatusText(ctx context.Context, buildLocator string, localVarOptionals *SetBuildStatusTextOpts) (string, *http.Response, error)
func (*BuildApiService) SetBuildTags ¶
func (a *BuildApiService) SetBuildTags(ctx context.Context, buildLocator string, localVarOptionals *SetBuildTagsOpts) (Tags, *http.Response, error)
func (*BuildApiService) SetFinishedTime ¶
func (a *BuildApiService) SetFinishedTime(ctx context.Context, buildLocator string) (string, *http.Response, error)
BuildApiService Marks the running build as finished by passing agent the current time of the build to finish.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildLocator
@return string
func (*BuildApiService) SetMultipleBuildComments ¶
func (a *BuildApiService) SetMultipleBuildComments(ctx context.Context, buildLocator string, localVarOptionals *SetMultipleBuildCommentsOpts) (MultipleOperationResult, *http.Response, error)
type BuildCancelRequest ¶
type BuildCancelRequest struct { Comment string `json:"comment,omitempty"` ReaddIntoQueue bool `json:"readdIntoQueue,omitempty"` }
Represents a cancel request for the specific build.
type BuildChange ¶
type BuildChange struct { NextBuild *Build `json:"nextBuild,omitempty"` PrevBuild *Build `json:"prevBuild,omitempty"` }
Represents links to the next or previous build.
type BuildChanges ¶
type BuildChanges struct { Count int32 `json:"count,omitempty"` BuildChange []BuildChange `json:"buildChange,omitempty"` }
Represents a list of BuildChange entities.
type BuildLocator ¶
type BuildLocator struct { // Project (direct or indirect parent) locator. AffectedProject string `json:"affectedProject,omitempty"` // Agent locator. Agent string `json:"agent,omitempty"` // typeId of agent used to execute build. AgentTypeId int32 `json:"agentTypeId,omitempty"` // State can be any. Any bool `json:"any,omitempty"` ArtifactDependency string `json:"artifactDependency,omitempty"` // Branch locator. Branch string `json:"branch,omitempty"` // Build type locator. BuildType string `json:"buildType,omitempty"` // Is canceled. Canceled bool `json:"canceled,omitempty"` // Agent locator. CompatibleAgent string `json:"compatibleAgent,omitempty"` // Is composite. Composite bool `json:"composite,omitempty"` // For paginated calls, how many entities to return per page. Count int32 `json:"count,omitempty"` // If true, applies default filter which returns only \"normal\" builds (finished builds which are not canceled, not failed-to-start, not personal, and on default branch (in branched build configurations)). DefaultFilter bool `json:"defaultFilter,omitempty"` // Is failed to start. FailedToStart bool `json:"failedToStart,omitempty"` // Requires either date or build dimension. FinishDate string `json:"finishDate,omitempty"` // Is finished. Finished bool `json:"finished,omitempty"` // Is hanging. Hanging bool `json:"hanging,omitempty"` // Is history build. History bool `json:"history,omitempty"` // Entity ID. Id int32 `json:"id,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` // Limit processing to the latest `<lookupLimit>` entities. LookupLimit int32 `json:"lookupLimit,omitempty"` Number string `json:"number,omitempty"` // Is a personal build. Personal bool `json:"personal,omitempty"` // Is pinned. Pinned bool `json:"pinned,omitempty"` // Project (direct parent) locator. Project string `json:"project,omitempty"` Property string `json:"property,omitempty"` // Is queued. Queued bool `json:"queued,omitempty"` // Requires either date or build dimension. QueuedDate string `json:"queuedDate,omitempty"` // Build revision. Revision string `json:"revision,omitempty"` // Is running. Running bool `json:"running,omitempty"` SnapshotDependency string `json:"snapshotDependency,omitempty"` // For paginated calls, from which entity to start rendering the page. Start int32 `json:"start,omitempty"` // Requires either date or build dimension. StartDate string `json:"startDate,omitempty"` State string `json:"state,omitempty"` Status string `json:"status,omitempty"` // Tag locator. Tag string `json:"tag,omitempty"` // ID of a build or build promotion. TaskId int32 `json:"taskId,omitempty"` // For personal builds checks the owner of the build, triggerring user in other cases. User string `json:"user,omitempty"` }
Represents a locator string for filtering Build entities.
type BuildQueueApiService ¶
type BuildQueueApiService service
func (*BuildQueueApiService) AddBuildToQueue ¶
func (a *BuildQueueApiService) AddBuildToQueue(ctx context.Context, localVarOptionals *AddBuildToQueueOpts) (Build, *http.Response, error)
func (*BuildQueueApiService) AddTagsToBuildOfBuildQueue ¶
func (a *BuildQueueApiService) AddTagsToBuildOfBuildQueue(ctx context.Context, buildLocator string, localVarOptionals *AddTagsToBuildOfBuildQueueOpts) (*http.Response, error)
func (*BuildQueueApiService) ApproveQueuedBuild ¶
func (a *BuildQueueApiService) ApproveQueuedBuild(ctx context.Context, buildLocator string, localVarOptionals *ApproveQueuedBuildOpts) (ApprovalInfo, *http.Response, error)
func (*BuildQueueApiService) CancelQueuedBuild ¶
func (a *BuildQueueApiService) CancelQueuedBuild(ctx context.Context, queuedBuildLocator string, localVarOptionals *CancelQueuedBuildOpts) (Build, *http.Response, error)
func (*BuildQueueApiService) DeleteAllQueuedBuilds ¶
func (a *BuildQueueApiService) DeleteAllQueuedBuilds(ctx context.Context, localVarOptionals *DeleteAllQueuedBuildsOpts) (*http.Response, error)
func (*BuildQueueApiService) DeleteQueuedBuild ¶
func (a *BuildQueueApiService) DeleteQueuedBuild(ctx context.Context, queuedBuildLocator string) (*http.Response, error)
BuildQueueApiService Delete a queued matching build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param queuedBuildLocator
func (*BuildQueueApiService) GetAllQueuedBuilds ¶
func (a *BuildQueueApiService) GetAllQueuedBuilds(ctx context.Context, localVarOptionals *GetAllQueuedBuildsOpts) (Builds, *http.Response, error)
func (*BuildQueueApiService) GetApprovalInfo ¶
func (a *BuildQueueApiService) GetApprovalInfo(ctx context.Context, buildLocator string, localVarOptionals *GetApprovalInfoOpts) (ApprovalInfo, *http.Response, error)
func (*BuildQueueApiService) GetCompatibleAgentsForBuild ¶
func (a *BuildQueueApiService) GetCompatibleAgentsForBuild(ctx context.Context, queuedBuildLocator string, localVarOptionals *GetCompatibleAgentsForBuildOpts) (Agents, *http.Response, error)
func (*BuildQueueApiService) GetQueuedBuild ¶
func (a *BuildQueueApiService) GetQueuedBuild(ctx context.Context, queuedBuildLocator string, localVarOptionals *GetQueuedBuildOpts) (Build, *http.Response, error)
func (*BuildQueueApiService) GetQueuedBuildPosition ¶
func (a *BuildQueueApiService) GetQueuedBuildPosition(ctx context.Context, queuePosition string, localVarOptionals *GetQueuedBuildPositionOpts) (Build, *http.Response, error)
func (*BuildQueueApiService) GetQueuedBuildTags ¶
func (a *BuildQueueApiService) GetQueuedBuildTags(ctx context.Context, buildLocator string, localVarOptionals *GetQueuedBuildTagsOpts) (Tags, *http.Response, error)
func (*BuildQueueApiService) SetQueuedBuildPosition ¶
func (a *BuildQueueApiService) SetQueuedBuildPosition(ctx context.Context, queuePosition string, localVarOptionals *SetQueuedBuildPositionOpts) (Build, *http.Response, error)
func (*BuildQueueApiService) SetQueuedBuildsOrder ¶
func (a *BuildQueueApiService) SetQueuedBuildsOrder(ctx context.Context, localVarOptionals *SetQueuedBuildsOrderOpts) (Builds, *http.Response, error)
type BuildQueueLocator ¶
type BuildQueueLocator struct { // Agent locator. Agent string `json:"agent,omitempty"` // Build type locator. BuildType string `json:"buildType,omitempty"` // For paginated calls, how many entities to return per page. Count int32 `json:"count,omitempty"` // Entity ID. Id int32 `json:"id,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` // Is personal. Personal bool `json:"personal,omitempty"` // Agent pool locator. Pool string `json:"pool,omitempty"` // Project locator. Project string `json:"project,omitempty"` // For paginated calls, from which entity to start rendering the page. Start int32 `json:"start,omitempty"` TaskId string `json:"taskId,omitempty"` // User locator. User string `json:"user,omitempty"` }
Represents a locator string for filtering Build entities.
type BuildStatusUpdate ¶
type BuildTriggerCustomization ¶
type BuildTriggerCustomization struct { EnforceCleanCheckout bool `json:"enforceCleanCheckout,omitempty"` EnforceCleanCheckoutForDependencies bool `json:"enforceCleanCheckoutForDependencies,omitempty"` Parameters *Properties `json:"parameters,omitempty"` }
Represents build customization settings of a trigger
type BuildTriggeringOptions ¶
type BuildTriggeringOptions struct { CleanSources bool `json:"cleanSources,omitempty"` CleanSourcesInAllDependencies bool `json:"cleanSourcesInAllDependencies,omitempty"` RebuildAllDependencies bool `json:"rebuildAllDependencies,omitempty"` RebuildFailedOrIncompleteDependencies bool `json:"rebuildFailedOrIncompleteDependencies,omitempty"` QueueAtTop bool `json:"queueAtTop,omitempty"` FreezeSettings bool `json:"freezeSettings,omitempty"` TagDependencies bool `json:"tagDependencies,omitempty"` RebuildDependencies *BuildTypes `json:"rebuildDependencies,omitempty"` }
Represents the dependency/queue settings with which this build has been started.
type BuildType ¶
type BuildType struct { Id string `json:"id,omitempty"` InternalId string `json:"internalId,omitempty"` Name string `json:"name,omitempty"` TemplateFlag bool `json:"templateFlag,omitempty"` Type_ string `json:"type,omitempty"` Paused bool `json:"paused,omitempty"` Uuid string `json:"uuid,omitempty"` Description string `json:"description,omitempty"` ProjectName string `json:"projectName,omitempty"` ProjectId string `json:"projectId,omitempty"` ProjectInternalId string `json:"projectInternalId,omitempty"` Href string `json:"href,omitempty"` WebUrl string `json:"webUrl,omitempty"` Inherited bool `json:"inherited,omitempty"` Links *Links `json:"links,omitempty"` Project *Project `json:"project,omitempty"` Templates *BuildTypes `json:"templates,omitempty"` Template *BuildType `json:"template,omitempty"` VcsRootEntries *VcsRootEntries `json:"vcs-root-entries,omitempty"` Settings *Properties `json:"settings,omitempty"` Parameters *Properties `json:"parameters,omitempty"` Steps *Steps `json:"steps,omitempty"` Features *Features `json:"features,omitempty"` Triggers *Triggers `json:"triggers,omitempty"` SnapshotDependencies *SnapshotDependencies `json:"snapshot-dependencies,omitempty"` ArtifactDependencies *ArtifactDependencies `json:"artifact-dependencies,omitempty"` AgentRequirements *AgentRequirements `json:"agent-requirements,omitempty"` Branches *Branches `json:"branches,omitempty"` Builds *Builds `json:"builds,omitempty"` Investigations *Investigations `json:"investigations,omitempty"` CompatibleAgents *Agents `json:"compatibleAgents,omitempty"` VcsRootInstances *VcsRootInstances `json:"vcsRootInstances,omitempty"` ExternalStatusAllowed bool `json:"externalStatusAllowed,omitempty"` PauseComment *Comment `json:"pauseComment,omitempty"` Locator string `json:"locator,omitempty"` }
Represents a build configuration.
type BuildTypeApiService ¶
type BuildTypeApiService service
func (*BuildTypeApiService) AddAgentRequirementToBuildType ¶
func (a *BuildTypeApiService) AddAgentRequirementToBuildType(ctx context.Context, btLocator string, localVarOptionals *AddAgentRequirementToBuildTypeOpts) (AgentRequirement, *http.Response, error)
func (*BuildTypeApiService) AddArtifactDependencyToBuildType ¶
func (a *BuildTypeApiService) AddArtifactDependencyToBuildType(ctx context.Context, btLocator string, localVarOptionals *AddArtifactDependencyToBuildTypeOpts) (ArtifactDependency, *http.Response, error)
func (*BuildTypeApiService) AddBuildFeatureToBuildType ¶
func (a *BuildTypeApiService) AddBuildFeatureToBuildType(ctx context.Context, btLocator string, localVarOptionals *AddBuildFeatureToBuildTypeOpts) (Feature, *http.Response, error)
func (*BuildTypeApiService) AddBuildStepToBuildType ¶
func (a *BuildTypeApiService) AddBuildStepToBuildType(ctx context.Context, btLocator string, localVarOptionals *AddBuildStepToBuildTypeOpts) (Step, *http.Response, error)
func (*BuildTypeApiService) AddBuildTemplate ¶
func (a *BuildTypeApiService) AddBuildTemplate(ctx context.Context, btLocator string, localVarOptionals *AddBuildTemplateOpts) (BuildType, *http.Response, error)
func (*BuildTypeApiService) AddParameterToBuildFeature ¶
func (*BuildTypeApiService) AddParameterToBuildStep ¶
func (*BuildTypeApiService) AddSnapshotDependencyToBuildType ¶
func (a *BuildTypeApiService) AddSnapshotDependencyToBuildType(ctx context.Context, btLocator string, localVarOptionals *AddSnapshotDependencyToBuildTypeOpts) (SnapshotDependency, *http.Response, error)
func (*BuildTypeApiService) AddTriggerToBuildType ¶
func (a *BuildTypeApiService) AddTriggerToBuildType(ctx context.Context, btLocator string, localVarOptionals *AddTriggerToBuildTypeOpts) (Trigger, *http.Response, error)
func (*BuildTypeApiService) AddVcsRootToBuildType ¶
func (a *BuildTypeApiService) AddVcsRootToBuildType(ctx context.Context, btLocator string, localVarOptionals *AddVcsRootToBuildTypeOpts) (VcsRootEntry, *http.Response, error)
func (*BuildTypeApiService) CreateBuildParameterOfBuildType ¶
func (a *BuildTypeApiService) CreateBuildParameterOfBuildType(ctx context.Context, btLocator string, localVarOptionals *CreateBuildParameterOfBuildTypeOpts) (Property, *http.Response, error)
func (*BuildTypeApiService) CreateBuildType ¶
func (a *BuildTypeApiService) CreateBuildType(ctx context.Context, localVarOptionals *CreateBuildTypeOpts) (BuildType, *http.Response, error)
func (*BuildTypeApiService) DeleteAgentRequirement ¶
func (a *BuildTypeApiService) DeleteAgentRequirement(ctx context.Context, btLocator string, agentRequirementLocator string) (*http.Response, error)
BuildTypeApiService Remove an agent requirement of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param agentRequirementLocator
func (*BuildTypeApiService) DeleteArtifactDependency ¶
func (a *BuildTypeApiService) DeleteArtifactDependency(ctx context.Context, btLocator string, artifactDepLocator string) (*http.Response, error)
BuildTypeApiService Remove an artifact dependency from the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param artifactDepLocator
func (*BuildTypeApiService) DeleteBuildParameterOfBuildType ¶
func (a *BuildTypeApiService) DeleteBuildParameterOfBuildType(ctx context.Context, name string, btLocator string) (*http.Response, error)
BuildTypeApiService Delete build parameter.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name
- @param btLocator
func (*BuildTypeApiService) DeleteBuildParametersOfBuildType ¶
func (a *BuildTypeApiService) DeleteBuildParametersOfBuildType(ctx context.Context, btLocator string) (*http.Response, error)
BuildTypeApiService Delete all build parameters.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
func (*BuildTypeApiService) DeleteBuildStep ¶
func (a *BuildTypeApiService) DeleteBuildStep(ctx context.Context, btLocator string, stepId string) (*http.Response, error)
BuildTypeApiService Delete a build step of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param stepId
func (*BuildTypeApiService) DeleteBuildStepParameters ¶
func (a *BuildTypeApiService) DeleteBuildStepParameters(ctx context.Context, btLocator string, stepId string, localVarOptionals *DeleteBuildStepParametersOpts) (Properties, *http.Response, error)
func (*BuildTypeApiService) DeleteBuildType ¶
func (a *BuildTypeApiService) DeleteBuildType(ctx context.Context, btLocator string) (*http.Response, error)
BuildTypeApiService Delete build configuration matching the locator.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
func (*BuildTypeApiService) DeleteFeatureOfBuildType ¶
func (a *BuildTypeApiService) DeleteFeatureOfBuildType(ctx context.Context, btLocator string, featureId string) (*http.Response, error)
BuildTypeApiService Remove a build feature of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param featureId
func (*BuildTypeApiService) DeleteSnapshotDependency ¶
func (a *BuildTypeApiService) DeleteSnapshotDependency(ctx context.Context, btLocator string, snapshotDepLocator string) (*http.Response, error)
BuildTypeApiService Delete a snapshot dependency of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param snapshotDepLocator
func (*BuildTypeApiService) DeleteTrigger ¶
func (a *BuildTypeApiService) DeleteTrigger(ctx context.Context, btLocator string, triggerLocator string) (*http.Response, error)
BuildTypeApiService Delete a trigger of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param triggerLocator
func (*BuildTypeApiService) DeleteVcsRootOfBuildType ¶
func (a *BuildTypeApiService) DeleteVcsRootOfBuildType(ctx context.Context, btLocator string, vcsRootLocator string) (*http.Response, error)
BuildTypeApiService Remove a VCS root of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param vcsRootLocator
func (*BuildTypeApiService) DownloadFileOfBuildType ¶
func (a *BuildTypeApiService) DownloadFileOfBuildType(ctx context.Context, path string, btLocator string, localVarOptionals *DownloadFileOfBuildTypeOpts) (*http.Response, error)
func (*BuildTypeApiService) GetAgentRequirement ¶
func (a *BuildTypeApiService) GetAgentRequirement(ctx context.Context, btLocator string, agentRequirementLocator string, localVarOptionals *GetAgentRequirementOpts) (AgentRequirement, *http.Response, error)
func (*BuildTypeApiService) GetAgentRequirementParameter ¶
func (a *BuildTypeApiService) GetAgentRequirementParameter(ctx context.Context, btLocator string, agentRequirementLocator string, fieldName string) (string, *http.Response, error)
BuildTypeApiService Get a setting of an agent requirement of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param agentRequirementLocator
- @param fieldName
@return string
func (*BuildTypeApiService) GetAliases ¶
func (a *BuildTypeApiService) GetAliases(ctx context.Context, btLocator string, localVarOptionals *GetAliasesOpts) (Items, *http.Response, error)
func (*BuildTypeApiService) GetAllAgentRequirements ¶
func (a *BuildTypeApiService) GetAllAgentRequirements(ctx context.Context, btLocator string, localVarOptionals *GetAllAgentRequirementsOpts) (AgentRequirements, *http.Response, error)
func (*BuildTypeApiService) GetAllArtifactDependencies ¶
func (a *BuildTypeApiService) GetAllArtifactDependencies(ctx context.Context, btLocator string, localVarOptionals *GetAllArtifactDependenciesOpts) (ArtifactDependencies, *http.Response, error)
func (*BuildTypeApiService) GetAllBranchesOfBuildType ¶
func (a *BuildTypeApiService) GetAllBranchesOfBuildType(ctx context.Context, btLocator string, localVarOptionals *GetAllBranchesOfBuildTypeOpts) (Branches, *http.Response, error)
func (*BuildTypeApiService) GetAllBuildFeatureParameters ¶
func (a *BuildTypeApiService) GetAllBuildFeatureParameters(ctx context.Context, btLocator string, featureId string, localVarOptionals *GetAllBuildFeatureParametersOpts) (Properties, *http.Response, error)
func (*BuildTypeApiService) GetAllBuildFeatures ¶
func (a *BuildTypeApiService) GetAllBuildFeatures(ctx context.Context, btLocator string, localVarOptionals *GetAllBuildFeaturesOpts) (Features, *http.Response, error)
func (*BuildTypeApiService) GetAllBuildStepParameters ¶
func (a *BuildTypeApiService) GetAllBuildStepParameters(ctx context.Context, btLocator string, stepId string, localVarOptionals *GetAllBuildStepParametersOpts) (Properties, *http.Response, error)
func (*BuildTypeApiService) GetAllBuildSteps ¶
func (a *BuildTypeApiService) GetAllBuildSteps(ctx context.Context, btLocator string, localVarOptionals *GetAllBuildStepsOpts) (Steps, *http.Response, error)
func (*BuildTypeApiService) GetAllBuildTemplates ¶
func (a *BuildTypeApiService) GetAllBuildTemplates(ctx context.Context, btLocator string, localVarOptionals *GetAllBuildTemplatesOpts) (BuildTypes, *http.Response, error)
func (*BuildTypeApiService) GetAllBuildTypes ¶
func (a *BuildTypeApiService) GetAllBuildTypes(ctx context.Context, localVarOptionals *GetAllBuildTypesOpts) (BuildTypes, *http.Response, error)
func (*BuildTypeApiService) GetAllInvestigationsOfBuildType ¶
func (a *BuildTypeApiService) GetAllInvestigationsOfBuildType(ctx context.Context, btLocator string, localVarOptionals *GetAllInvestigationsOfBuildTypeOpts) (Investigations, *http.Response, error)
func (*BuildTypeApiService) GetAllSnapshotDependencies ¶
func (a *BuildTypeApiService) GetAllSnapshotDependencies(ctx context.Context, btLocator string, localVarOptionals *GetAllSnapshotDependenciesOpts) (SnapshotDependencies, *http.Response, error)
func (*BuildTypeApiService) GetAllTriggers ¶
func (a *BuildTypeApiService) GetAllTriggers(ctx context.Context, btLocator string, localVarOptionals *GetAllTriggersOpts) (Triggers, *http.Response, error)
func (*BuildTypeApiService) GetAllVcsRootsOfBuildType ¶
func (a *BuildTypeApiService) GetAllVcsRootsOfBuildType(ctx context.Context, btLocator string, localVarOptionals *GetAllVcsRootsOfBuildTypeOpts) (VcsRootEntries, *http.Response, error)
func (*BuildTypeApiService) GetArtifactDependency ¶
func (a *BuildTypeApiService) GetArtifactDependency(ctx context.Context, btLocator string, artifactDepLocator string, localVarOptionals *GetArtifactDependencyOpts) (ArtifactDependency, *http.Response, error)
func (*BuildTypeApiService) GetArtifactDependencyParameter ¶
func (a *BuildTypeApiService) GetArtifactDependencyParameter(ctx context.Context, btLocator string, artifactDepLocator string, fieldName string) (string, *http.Response, error)
BuildTypeApiService Get a parameter of an artifact dependency of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param artifactDepLocator
- @param fieldName
@return string
func (*BuildTypeApiService) GetBuildFeature ¶
func (a *BuildTypeApiService) GetBuildFeature(ctx context.Context, btLocator string, featureId string, localVarOptionals *GetBuildFeatureOpts) (Feature, *http.Response, error)
func (*BuildTypeApiService) GetBuildFeatureParameter ¶
func (a *BuildTypeApiService) GetBuildFeatureParameter(ctx context.Context, btLocator string, featureId string, parameterName string) (string, *http.Response, error)
BuildTypeApiService Get a parameter of a build feature of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param featureId
- @param parameterName
@return string
func (*BuildTypeApiService) GetBuildFeatureSetting ¶
func (a *BuildTypeApiService) GetBuildFeatureSetting(ctx context.Context, btLocator string, featureId string, name string) (string, *http.Response, error)
BuildTypeApiService Get the setting of a build feature of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param featureId
- @param name
@return string
func (*BuildTypeApiService) GetBuildParameterOfBuildType ¶
func (a *BuildTypeApiService) GetBuildParameterOfBuildType(ctx context.Context, name string, btLocator string, localVarOptionals *GetBuildParameterOfBuildTypeOpts) (Property, *http.Response, error)
func (*BuildTypeApiService) GetBuildParameterSpecificationOfBuildType ¶
func (a *BuildTypeApiService) GetBuildParameterSpecificationOfBuildType(ctx context.Context, name string, btLocator string) (string, *http.Response, error)
BuildTypeApiService Get build parameter specification.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name
- @param btLocator
@return string
func (*BuildTypeApiService) GetBuildParameterTypeOfBuildType ¶
func (a *BuildTypeApiService) GetBuildParameterTypeOfBuildType(ctx context.Context, name string, btLocator string) (ModelType, *http.Response, error)
BuildTypeApiService Get type of build parameter.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name
- @param btLocator
@return ModelType
func (*BuildTypeApiService) GetBuildParameterValueOfBuildType ¶
func (a *BuildTypeApiService) GetBuildParameterValueOfBuildType(ctx context.Context, name string, btLocator string) (string, *http.Response, error)
BuildTypeApiService Get value of build parameter.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name
- @param btLocator
@return string
func (*BuildTypeApiService) GetBuildParametersOfBuildType ¶
func (a *BuildTypeApiService) GetBuildParametersOfBuildType(ctx context.Context, btLocator string, localVarOptionals *GetBuildParametersOfBuildTypeOpts) (Properties, *http.Response, error)
func (*BuildTypeApiService) GetBuildStep ¶
func (a *BuildTypeApiService) GetBuildStep(ctx context.Context, btLocator string, stepId string, localVarOptionals *GetBuildStepOpts) (Step, *http.Response, error)
func (*BuildTypeApiService) GetBuildStepParameter ¶
func (a *BuildTypeApiService) GetBuildStepParameter(ctx context.Context, btLocator string, stepId string, parameterName string) (string, *http.Response, error)
BuildTypeApiService Get a parameter of a build step of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param stepId
- @param parameterName
@return string
func (*BuildTypeApiService) GetBuildStepSetting ¶
func (a *BuildTypeApiService) GetBuildStepSetting(ctx context.Context, btLocator string, stepId string, fieldName string) (string, *http.Response, error)
BuildTypeApiService Get the setting of a build step of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param stepId
- @param fieldName
@return string
func (*BuildTypeApiService) GetBuildTemplate ¶
func (a *BuildTypeApiService) GetBuildTemplate(ctx context.Context, btLocator string, templateLocator string, localVarOptionals *GetBuildTemplateOpts) (BuildType, *http.Response, error)
func (*BuildTypeApiService) GetBuildType ¶
func (a *BuildTypeApiService) GetBuildType(ctx context.Context, btLocator string, localVarOptionals *GetBuildTypeOpts) (BuildType, *http.Response, error)
func (*BuildTypeApiService) GetBuildTypeBuildTags ¶
func (a *BuildTypeApiService) GetBuildTypeBuildTags(ctx context.Context, btLocator string, localVarOptionals *GetBuildTypeBuildTagsOpts) (Tags, *http.Response, error)
func (*BuildTypeApiService) GetBuildTypeBuilds ¶
func (a *BuildTypeApiService) GetBuildTypeBuilds(ctx context.Context, btLocator string, localVarOptionals *GetBuildTypeBuildsOpts) (Builds, *http.Response, error)
func (*BuildTypeApiService) GetBuildTypeField ¶
func (a *BuildTypeApiService) GetBuildTypeField(ctx context.Context, btLocator string, field string) (string, *http.Response, error)
BuildTypeApiService Get a field of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param field
@return string
func (*BuildTypeApiService) GetBuildTypeSettingsFile ¶
func (a *BuildTypeApiService) GetBuildTypeSettingsFile(ctx context.Context, btLocator string) (string, *http.Response, error)
BuildTypeApiService Get the settings file of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
@return string
func (*BuildTypeApiService) GetFileMetadataOfBuildType ¶
func (*BuildTypeApiService) GetFilesListForSubpathOfBuildType ¶
func (a *BuildTypeApiService) GetFilesListForSubpathOfBuildType(ctx context.Context, path string, btLocator string, localVarOptionals *GetFilesListForSubpathOfBuildTypeOpts) (Files, *http.Response, error)
func (*BuildTypeApiService) GetFilesListOfBuildType ¶
func (a *BuildTypeApiService) GetFilesListOfBuildType(ctx context.Context, btLocator string, localVarOptionals *GetFilesListOfBuildTypeOpts) (Files, *http.Response, error)
func (*BuildTypeApiService) GetSnapshotDependency ¶
func (a *BuildTypeApiService) GetSnapshotDependency(ctx context.Context, btLocator string, snapshotDepLocator string, localVarOptionals *GetSnapshotDependencyOpts) (SnapshotDependency, *http.Response, error)
func (*BuildTypeApiService) GetTrigger ¶
func (a *BuildTypeApiService) GetTrigger(ctx context.Context, btLocator string, triggerLocator string, localVarOptionals *GetTriggerOpts) (Trigger, *http.Response, error)
func (*BuildTypeApiService) GetTriggerParameter ¶
func (a *BuildTypeApiService) GetTriggerParameter(ctx context.Context, btLocator string, triggerLocator string, fieldName string) (string, *http.Response, error)
BuildTypeApiService Get a parameter of a trigger of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param triggerLocator
- @param fieldName
@return string
func (*BuildTypeApiService) GetVcsRoot ¶
func (a *BuildTypeApiService) GetVcsRoot(ctx context.Context, btLocator string, vcsRootLocator string, localVarOptionals *GetVcsRootOpts) (VcsRootEntry, *http.Response, error)
func (*BuildTypeApiService) GetVcsRootCheckoutRules ¶
func (a *BuildTypeApiService) GetVcsRootCheckoutRules(ctx context.Context, btLocator string, vcsRootLocator string) (string, *http.Response, error)
BuildTypeApiService Get checkout rules of a VCS root of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param btLocator
- @param vcsRootLocator
@return string
func (*BuildTypeApiService) GetVcsRootInstancesOfBuildType ¶
func (a *BuildTypeApiService) GetVcsRootInstancesOfBuildType(ctx context.Context, btLocator string, localVarOptionals *GetVcsRootInstancesOfBuildTypeOpts) (VcsRootInstances, *http.Response, error)
func (*BuildTypeApiService) GetZippedFileOfBuildType ¶
func (a *BuildTypeApiService) GetZippedFileOfBuildType(ctx context.Context, path string, btLocator string, localVarOptionals *GetZippedFileOfBuildTypeOpts) (*http.Response, error)
func (*BuildTypeApiService) RemoveAllTemplates ¶
func (a *BuildTypeApiService) RemoveAllTemplates(ctx context.Context, btLocator string, localVarOptionals *RemoveAllTemplatesOpts) (*http.Response, error)
func (*BuildTypeApiService) RemoveTemplate ¶
func (a *BuildTypeApiService) RemoveTemplate(ctx context.Context, btLocator string, templateLocator string, localVarOptionals *RemoveTemplateOpts) (*http.Response, error)
func (*BuildTypeApiService) ReplaceAgentRequirement ¶
func (a *BuildTypeApiService) ReplaceAgentRequirement(ctx context.Context, btLocator string, agentRequirementLocator string, localVarOptionals *ReplaceAgentRequirementOpts) (AgentRequirement, *http.Response, error)
func (*BuildTypeApiService) ReplaceAllAgentRequirements ¶
func (a *BuildTypeApiService) ReplaceAllAgentRequirements(ctx context.Context, btLocator string, localVarOptionals *ReplaceAllAgentRequirementsOpts) (AgentRequirements, *http.Response, error)
func (*BuildTypeApiService) ReplaceAllArtifactDependencies ¶
func (a *BuildTypeApiService) ReplaceAllArtifactDependencies(ctx context.Context, btLocator string, localVarOptionals *ReplaceAllArtifactDependenciesOpts) (ArtifactDependencies, *http.Response, error)
func (*BuildTypeApiService) ReplaceAllBuildFeatures ¶
func (a *BuildTypeApiService) ReplaceAllBuildFeatures(ctx context.Context, btLocator string, localVarOptionals *ReplaceAllBuildFeaturesOpts) (Features, *http.Response, error)
func (*BuildTypeApiService) ReplaceAllBuildSteps ¶
func (a *BuildTypeApiService) ReplaceAllBuildSteps(ctx context.Context, btLocator string, localVarOptionals *ReplaceAllBuildStepsOpts) (Steps, *http.Response, error)
func (*BuildTypeApiService) ReplaceAllSnapshotDependencies ¶
func (a *BuildTypeApiService) ReplaceAllSnapshotDependencies(ctx context.Context, btLocator string, localVarOptionals *ReplaceAllSnapshotDependenciesOpts) (SnapshotDependencies, *http.Response, error)
func (*BuildTypeApiService) ReplaceAllTriggers ¶
func (a *BuildTypeApiService) ReplaceAllTriggers(ctx context.Context, btLocator string, localVarOptionals *ReplaceAllTriggersOpts) (Triggers, *http.Response, error)
func (*BuildTypeApiService) ReplaceAllVcsRoots ¶
func (a *BuildTypeApiService) ReplaceAllVcsRoots(ctx context.Context, btLocator string, localVarOptionals *ReplaceAllVcsRootsOpts) (VcsRootEntries, *http.Response, error)
func (*BuildTypeApiService) ReplaceArtifactDependency ¶
func (a *BuildTypeApiService) ReplaceArtifactDependency(ctx context.Context, btLocator string, artifactDepLocator string, localVarOptionals *ReplaceArtifactDependencyOpts) (ArtifactDependency, *http.Response, error)
func (*BuildTypeApiService) ReplaceBuildFeature ¶
func (a *BuildTypeApiService) ReplaceBuildFeature(ctx context.Context, btLocator string, featureId string, localVarOptionals *ReplaceBuildFeatureOpts) (Feature, *http.Response, error)
func (*BuildTypeApiService) ReplaceBuildFeatureParameters ¶
func (a *BuildTypeApiService) ReplaceBuildFeatureParameters(ctx context.Context, btLocator string, featureId string, localVarOptionals *ReplaceBuildFeatureParametersOpts) (Properties, *http.Response, error)
func (*BuildTypeApiService) ReplaceBuildStep ¶
func (a *BuildTypeApiService) ReplaceBuildStep(ctx context.Context, btLocator string, stepId string, localVarOptionals *ReplaceBuildStepOpts) (Step, *http.Response, error)
func (*BuildTypeApiService) ReplaceSnapshotDependency ¶
func (a *BuildTypeApiService) ReplaceSnapshotDependency(ctx context.Context, btLocator string, snapshotDepLocator string, localVarOptionals *ReplaceSnapshotDependencyOpts) (SnapshotDependency, *http.Response, error)
func (*BuildTypeApiService) ReplaceTrigger ¶
func (a *BuildTypeApiService) ReplaceTrigger(ctx context.Context, btLocator string, triggerLocator string, localVarOptionals *ReplaceTriggerOpts) (Trigger, *http.Response, error)
func (*BuildTypeApiService) SetAgentRequirementParameter ¶
func (*BuildTypeApiService) SetArtifactDependencyParameter ¶
func (*BuildTypeApiService) SetBuildFeatureParameter ¶
func (*BuildTypeApiService) SetBuildStepParameter ¶
func (*BuildTypeApiService) SetBuildTypeField ¶
func (a *BuildTypeApiService) SetBuildTypeField(ctx context.Context, btLocator string, field string, localVarOptionals *SetBuildTypeFieldOpts) (string, *http.Response, error)
func (*BuildTypeApiService) SetBuildTypeTemplates ¶
func (a *BuildTypeApiService) SetBuildTypeTemplates(ctx context.Context, btLocator string, localVarOptionals *SetBuildTypeTemplatesOpts) (BuildTypes, *http.Response, error)
func (*BuildTypeApiService) SetTriggerParameter ¶
func (*BuildTypeApiService) UpdateBuildParameterOfBuildType ¶
func (a *BuildTypeApiService) UpdateBuildParameterOfBuildType(ctx context.Context, name string, btLocator string, localVarOptionals *UpdateBuildParameterOfBuildTypeOpts) (Property, *http.Response, error)
func (*BuildTypeApiService) UpdateBuildParameterSpecificationOfBuildType ¶
func (a *BuildTypeApiService) UpdateBuildParameterSpecificationOfBuildType(ctx context.Context, name string, btLocator string, localVarOptionals *UpdateBuildParameterSpecificationOfBuildTypeOpts) (string, *http.Response, error)
func (*BuildTypeApiService) UpdateBuildParameterTypeOfBuildType ¶
func (a *BuildTypeApiService) UpdateBuildParameterTypeOfBuildType(ctx context.Context, name string, btLocator string, localVarOptionals *UpdateBuildParameterTypeOfBuildTypeOpts) (ModelType, *http.Response, error)
func (*BuildTypeApiService) UpdateBuildParameterValueOfBuildType ¶
func (a *BuildTypeApiService) UpdateBuildParameterValueOfBuildType(ctx context.Context, name string, btLocator string, localVarOptionals *UpdateBuildParameterValueOfBuildTypeOpts) (string, *http.Response, error)
func (*BuildTypeApiService) UpdateBuildParametersOfBuildType ¶
func (a *BuildTypeApiService) UpdateBuildParametersOfBuildType(ctx context.Context, btLocator string, localVarOptionals *UpdateBuildParametersOfBuildTypeOpts) (Properties, *http.Response, error)
func (*BuildTypeApiService) UpdateBuildTypeVcsRoot ¶
func (a *BuildTypeApiService) UpdateBuildTypeVcsRoot(ctx context.Context, btLocator string, vcsRootLocator string, localVarOptionals *UpdateBuildTypeVcsRootOpts) (VcsRootEntry, *http.Response, error)
func (*BuildTypeApiService) UpdateBuildTypeVcsRootCheckoutRules ¶
func (a *BuildTypeApiService) UpdateBuildTypeVcsRootCheckoutRules(ctx context.Context, btLocator string, vcsRootLocator string, localVarOptionals *UpdateBuildTypeVcsRootCheckoutRulesOpts) (string, *http.Response, error)
type BuildTypeLocator ¶
type BuildTypeLocator struct { // Project (direct or indirect parent) locator. AffectedProject string `json:"affectedProject,omitempty"` // Build locator. Build string `json:"build,omitempty"` // For paginated calls, how many entities to return per page. Count int32 `json:"count,omitempty"` Id string `json:"id,omitempty"` InternalId string `json:"internalId,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` Name string `json:"name,omitempty"` // Is paused. Paused bool `json:"paused,omitempty"` // Project (direct parent) locator. Project string `json:"project,omitempty"` // For paginated calls, from which entity to start rendering the page. Start int32 `json:"start,omitempty"` // Base template locator. Template string `json:"template,omitempty"` // Is a template. TemplateFlag bool `json:"templateFlag,omitempty"` Uuid string `json:"uuid,omitempty"` // VCS root locator. VcsRoot string `json:"vcsRoot,omitempty"` // VCS root instance locator. VcsRootInstance string `json:"vcsRootInstance,omitempty"` }
Represents a locator string for filtering BuildType entities.
type BuildTypes ¶
type BuildTypes struct { Count int32 `json:"count,omitempty"` Href string `json:"href,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` BuildType []BuildType `json:"buildType,omitempty"` }
Represents a paginated list of BuildType entities.
type Builds ¶
type Builds struct { Href string `json:"href,omitempty"` Build []Build `json:"build,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` Count int32 `json:"count,omitempty"` }
Represents a paginated list of Build entities.
type CancelBuildOpts ¶
type CancelMultipleOpts ¶
type CancelQueuedBuildOpts ¶
type Change ¶
type Change struct { Id int64 `json:"id,omitempty"` Version string `json:"version,omitempty"` InternalVersion string `json:"internalVersion,omitempty"` Username string `json:"username,omitempty"` Date string `json:"date,omitempty"` RegistrationDate string `json:"registrationDate,omitempty"` Personal bool `json:"personal,omitempty"` Href string `json:"href,omitempty"` WebUrl string `json:"webUrl,omitempty"` Comment string `json:"comment,omitempty"` User *User `json:"user,omitempty"` Type_ string `json:"type,omitempty"` SnapshotDependencyLink *SnapshotDependencyLink `json:"snapshotDependencyLink,omitempty"` Files *FileChanges `json:"files,omitempty"` VcsRootInstance *VcsRootInstance `json:"vcsRootInstance,omitempty"` ParentChanges *Changes `json:"parentChanges,omitempty"` ParentRevisions *Items `json:"parentRevisions,omitempty"` Attributes *Properties `json:"attributes,omitempty"` StoresProjectSettings bool `json:"storesProjectSettings,omitempty"` Status *ChangeStatus `json:"status,omitempty"` Commiter *Commiter `json:"commiter,omitempty"` CanEditComment bool `json:"canEditComment,omitempty"` Locator string `json:"locator,omitempty"` }
Represents a VCS change (commit).
type ChangeApiService ¶
type ChangeApiService service
func (*ChangeApiService) GetAllChanges ¶
func (a *ChangeApiService) GetAllChanges(ctx context.Context, localVarOptionals *GetAllChangesOpts) (Changes, *http.Response, error)
func (*ChangeApiService) GetChange ¶
func (a *ChangeApiService) GetChange(ctx context.Context, changeLocator string, localVarOptionals *GetChangeOpts) (Change, *http.Response, error)
func (*ChangeApiService) GetChangeAttributes ¶
func (a *ChangeApiService) GetChangeAttributes(ctx context.Context, changeLocator string, localVarOptionals *GetChangeAttributesOpts) (Entries, *http.Response, error)
func (*ChangeApiService) GetChangeDuplicates ¶
func (a *ChangeApiService) GetChangeDuplicates(ctx context.Context, changeLocator string, localVarOptionals *GetChangeDuplicatesOpts) (Changes, *http.Response, error)
func (*ChangeApiService) GetChangeField ¶
func (a *ChangeApiService) GetChangeField(ctx context.Context, changeLocator string, field string) (string, *http.Response, error)
ChangeApiService Get a field of the matching change.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param changeLocator
- @param field
@return string
func (*ChangeApiService) GetChangeIssue ¶
func (a *ChangeApiService) GetChangeIssue(ctx context.Context, changeLocator string) (Issues, *http.Response, error)
ChangeApiService Get issues of the matching change.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param changeLocator
@return Issues
func (*ChangeApiService) GetChangeParentChanges ¶
func (a *ChangeApiService) GetChangeParentChanges(ctx context.Context, changeLocator string, localVarOptionals *GetChangeParentChangesOpts) (Changes, *http.Response, error)
func (*ChangeApiService) GetChangeParentRevisions ¶
func (a *ChangeApiService) GetChangeParentRevisions(ctx context.Context, changeLocator string) (Items, *http.Response, error)
ChangeApiService Get parent revisions of the matching change.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param changeLocator
@return Items
func (*ChangeApiService) GetChangeVcsRoot ¶
func (a *ChangeApiService) GetChangeVcsRoot(ctx context.Context, changeLocator string, localVarOptionals *GetChangeVcsRootOpts) (VcsRootInstance, *http.Response, error)
type ChangeLocator ¶
type ChangeLocator struct { // Project (direct or indirect parent) locator. AffectedProject string `json:"affectedProject,omitempty"` // Build locator. Build string `json:"build,omitempty"` // Build type locator. BuildType string `json:"buildType,omitempty"` Comment string `json:"comment,omitempty"` // For paginated calls, how many entities to return per page. Count int32 `json:"count,omitempty"` File string `json:"file,omitempty"` // Entity ID. Id int32 `json:"id,omitempty"` InternalVersion string `json:"internalVersion,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` // Is pending. Pending bool `json:"pending,omitempty"` // Project locator. Project string `json:"project,omitempty"` // Commit SHA since which the changes should be returned. SinceChange string `json:"sinceChange,omitempty"` // For paginated calls, from which entity to start rendering the page. Start int32 `json:"start,omitempty"` // User locator. User string `json:"user,omitempty"` // VCS side username. Username string `json:"username,omitempty"` // VCS root locator. VcsRoot string `json:"vcsRoot,omitempty"` // VCS instance locator. VcsRootInstance string `json:"vcsRootInstance,omitempty"` Version string `json:"version,omitempty"` }
Represents a locator string for filtering Change entities.
type ChangeStatus ¶
type ChangeStatus struct { RunningSuccessfullyBuilds int32 `json:"runningSuccessfullyBuilds,omitempty"` PendingBuildTypes int32 `json:"pendingBuildTypes,omitempty"` TotalProblems int32 `json:"totalProblems,omitempty"` NewFailedTests int32 `json:"newFailedTests,omitempty"` OtherFailedTests int32 `json:"otherFailedTests,omitempty"` QueuedBuildsCount int32 `json:"queuedBuildsCount,omitempty"` CriticalBuilds *Builds `json:"criticalBuilds,omitempty"` NotCriticalBuilds *Builds `json:"notCriticalBuilds,omitempty"` NewTestsFailedBuilds *Builds `json:"newTestsFailedBuilds,omitempty"` CompilationErrorBuilds *Builds `json:"compilationErrorBuilds,omitempty"` SuccessfulBuilds int32 `json:"successfulBuilds,omitempty"` FinishedBuilds int32 `json:"finishedBuilds,omitempty"` RunningBuilds int32 `json:"runningBuilds,omitempty"` FailedBuilds int32 `json:"failedBuilds,omitempty"` CancelledBuilds int32 `json:"cancelledBuilds,omitempty"` }
Aggregated statuses of the first builds with this change. Fairly expensive to compute.
type Changes ¶
type Changes struct { Href string `json:"href,omitempty"` Change []Change `json:"change,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` Count int32 `json:"count,omitempty"` }
Represents a paginated list of Change entities.
type CloudImage ¶
type CloudImage struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Href string `json:"href,omitempty"` Profile *CloudProfile `json:"profile,omitempty"` Instances *CloudInstances `json:"instances,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` AgentTypeId int32 `json:"agentTypeId,omitempty"` AgentPoolId int32 `json:"agentPoolId,omitempty"` OperatingSystemName string `json:"operatingSystemName,omitempty"` Locator string `json:"locator,omitempty"` }
Represents a cloud instance image saved with a profile.
type CloudImageLocator ¶
type CloudImageLocator struct { // Project (direct or indirect parent) locator. AffectedProject string `json:"affectedProject,omitempty"` // Agent locator. Agent string `json:"agent,omitempty"` // Agent pool locator. AgentPool string `json:"agentPool,omitempty"` Id string `json:"id,omitempty"` // Cloud instance locator. Instance string `json:"instance,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` Name string `json:"name,omitempty"` // Cloud profile locator. Profile string `json:"profile,omitempty"` // Project locator. Project string `json:"project,omitempty"` Property string `json:"property,omitempty"` }
Represents a locator string for filtering CloudImage entities.
type CloudImages ¶
type CloudImages struct { Count int32 `json:"count,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` Href string `json:"href,omitempty"` CloudImage []CloudImage `json:"cloudImage,omitempty"` }
Represents a paginated list of CloudImage entities.
type CloudInstance ¶
type CloudInstance struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` StartDate string `json:"startDate,omitempty"` NetworkAddress string `json:"networkAddress,omitempty"` Href string `json:"href,omitempty"` Image *CloudImage `json:"image,omitempty"` Agent *Agent `json:"agent,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }
Represents a running cloud instance.
type CloudInstanceApiService ¶
type CloudInstanceApiService service
func (*CloudInstanceApiService) GetAllCloudImages ¶
func (a *CloudInstanceApiService) GetAllCloudImages(ctx context.Context, localVarOptionals *GetAllCloudImagesOpts) (CloudImages, *http.Response, error)
func (*CloudInstanceApiService) GetAllCloudInstances ¶
func (a *CloudInstanceApiService) GetAllCloudInstances(ctx context.Context, localVarOptionals *GetAllCloudInstancesOpts) (CloudInstances, *http.Response, error)
func (*CloudInstanceApiService) GetAllCloudProfiles ¶
func (a *CloudInstanceApiService) GetAllCloudProfiles(ctx context.Context, localVarOptionals *GetAllCloudProfilesOpts) (CloudProfiles, *http.Response, error)
func (*CloudInstanceApiService) GetCloudImage ¶
func (a *CloudInstanceApiService) GetCloudImage(ctx context.Context, imageLocator string, localVarOptionals *GetCloudImageOpts) (CloudImage, *http.Response, error)
func (*CloudInstanceApiService) GetCloudInstance ¶
func (a *CloudInstanceApiService) GetCloudInstance(ctx context.Context, instanceLocator string, localVarOptionals *GetCloudInstanceOpts) (CloudInstance, *http.Response, error)
func (*CloudInstanceApiService) GetCloudProfile ¶
func (a *CloudInstanceApiService) GetCloudProfile(ctx context.Context, profileLocator string, localVarOptionals *GetCloudProfileOpts) (CloudProfile, *http.Response, error)
func (*CloudInstanceApiService) StartInstance ¶
func (a *CloudInstanceApiService) StartInstance(ctx context.Context, localVarOptionals *StartInstanceOpts) (*http.Response, error)
func (*CloudInstanceApiService) StopInstance ¶
func (a *CloudInstanceApiService) StopInstance(ctx context.Context, instanceLocator string) (*http.Response, error)
CloudInstanceApiService Stop cloud instance matching the locator.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param instanceLocator
type CloudInstanceLocator ¶
type CloudInstanceLocator struct { // Project (direct or indirect parent) locator. AffectedProject string `json:"affectedProject,omitempty"` // Agent locator. Agent string `json:"agent,omitempty"` Id string `json:"id,omitempty"` // Cloud image locator. Instance string `json:"instance,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` NetworkAddress string `json:"networkAddress,omitempty"` // Cloud profile locator. Profile string `json:"profile,omitempty"` // Project locator. Project string `json:"project,omitempty"` Property string `json:"property,omitempty"` }
Represents a locator string for filtering CloudInstance entities.
type CloudInstances ¶
type CloudInstances struct { Count int32 `json:"count,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` Href string `json:"href,omitempty"` CloudInstance []CloudInstance `json:"cloudInstance,omitempty"` }
Represents a paginated list of CloudInstance entities.
type CloudProfile ¶
type CloudProfile struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` CloudProviderId string `json:"cloudProviderId,omitempty"` Href string `json:"href,omitempty"` Project *Project `json:"project,omitempty"` Images *CloudImages `json:"images,omitempty"` }
Represents a cloud agent profile.
type CloudProfileLocator ¶
type CloudProfileLocator struct { // Project (direct or indirect parent) locator. AffectedProject string `json:"affectedProject,omitempty"` CloudProviderId string `json:"cloudProviderId,omitempty"` Id string `json:"id,omitempty"` // Cloud image locator. Instance string `json:"instance,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` Name string `json:"name,omitempty"` // Project locator. Project string `json:"project,omitempty"` Property string `json:"property,omitempty"` }
Represents a locator string for filtering CloudProfile entities.
type CloudProfiles ¶
type CloudProfiles struct { Count int32 `json:"count,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` Href string `json:"href,omitempty"` CloudProfile []CloudProfile `json:"cloudProfile,omitempty"` }
Represents a paginated list of CloudProfile entities.
type Comment ¶
type Comment struct { Timestamp string `json:"timestamp,omitempty"` Text string `json:"text,omitempty"` User *User `json:"user,omitempty"` }
Represents a dated comment of the specific user.
type Commiter ¶
type Commiter struct { VcsUsername string `json:"vcsUsername,omitempty"` Users *Users `json:"users,omitempty"` }
Represents a commiter to a VCS.
type Compatibilities ¶
type Compatibilities struct { Count int32 `json:"count,omitempty"` Compatibility []Compatibility `json:"compatibility,omitempty"` }
Represents a list of Compatibility entities.
type Compatibility ¶
type Compatibility struct { Compatible bool `json:"compatible,omitempty"` Agent *Agent `json:"agent,omitempty"` BuildType *BuildType `json:"buildType,omitempty"` UnmetRequirements *Requirements `json:"unmetRequirements,omitempty"` }
Represents a compatibility relation between the agent and build configuration.
type CompatibilityPolicy ¶
type CompatibilityPolicy struct { Policy string `json:"policy,omitempty"` BuildTypes *BuildTypes `json:"buildTypes,omitempty"` }
Represents a build configuration run policy and included build configurations.
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type CreateAgentPoolOpts ¶
type CreateBuildTypeOpts ¶
type Customizations ¶
type Customizations struct { Parameters map[string]string `json:"parameters,omitempty"` Changes map[string]string `json:"changes,omitempty"` ArtifactDependencies map[string]string `json:"artifactDependencies,omitempty"` }
Represents build customizations (artifact dependency overrides, custom parameters or changesets).
type DisabledResponsibilities ¶
type DisabledResponsibilities struct { Count int32 `json:"count,omitempty"` Responsibility []Responsibility `json:"responsibility,omitempty"` }
Represents a set of responsibilities that are currently disabled but can be enabled on a TeamCity node.
type DownloadFileOfBuildOpts ¶
type DownloadInfo ¶
type DownloadInfo struct { Build *Build `json:"build,omitempty"` ArtifactInfo []ArtifactDownloadInfo `json:"artifactInfo,omitempty"` Count int32 `json:"count,omitempty"` }
List of metadata on artifacts downloaded from [or provided by] a build.
type DownloadedArtifacts ¶
type DownloadedArtifacts struct { UnfilteredCount int32 `json:"unfilteredCount,omitempty"` DownloadInfo []DownloadInfo `json:"downloadInfo,omitempty"` Count int32 `json:"count,omitempty"` }
Collection of artifacts metadata which were downloaded from dependencies of this build or delivered to ones depending on this build.
type EffectiveResponsibilities ¶
type EffectiveResponsibilities struct { Count int32 `json:"count,omitempty"` Responsibility []Responsibility `json:"responsibility,omitempty"` }
Represents a set of effective responsibilities of a TeamCity node. A responsibility becomes effective once it is enabled in the server configuration and a responsible node detects this change and updates its state.
type EnabledInfo ¶
type EnabledInfo struct { Status bool `json:"status,omitempty"` Comment *Comment `json:"comment,omitempty"` StatusSwitchTime string `json:"statusSwitchTime,omitempty"` }
Represents the current enablement status of the agent.
type EnabledResponsibilities ¶
type EnabledResponsibilities struct { Count int32 `json:"count,omitempty"` Responsibility []Responsibility `json:"responsibility,omitempty"` }
Represents a set of enabled responsibilities of a TeamCity node.
type Environment ¶
type Environment struct { OsType string `json:"osType,omitempty"` OsName string `json:"osName,omitempty"` }
Represents the details of the agent's OS.
type Feature ¶
type Feature struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type_ string `json:"type,omitempty"` Disabled bool `json:"disabled,omitempty"` Inherited bool `json:"inherited,omitempty"` Href string `json:"href,omitempty"` Properties *Properties `json:"properties,omitempty"` }
Represents a build feature.
type Features ¶
type Features struct { Count int32 `json:"count,omitempty"` Feature []Feature `json:"feature,omitempty"` }
Represents a list of Feature entities.
type File ¶
type File struct { Name string `json:"name,omitempty"` FullName string `json:"fullName,omitempty"` Size int64 `json:"size,omitempty"` ModificationTime string `json:"modificationTime,omitempty"` Href string `json:"href,omitempty"` Parent **os.File `json:"parent,omitempty"` Content *Href `json:"content,omitempty"` Children *Files `json:"children,omitempty"` }
Represents a file.
type FileChange ¶
type FileChange struct { BeforeRevision string `json:"before-revision,omitempty"` AfterRevision string `json:"after-revision,omitempty"` ChangeType string `json:"changeType,omitempty"` ChangeTypeComment string `json:"changeTypeComment,omitempty"` File string `json:"file,omitempty"` RelativeFile string `json:"relative-file,omitempty"` Directory bool `json:"directory,omitempty"` }
Represents the specific file change (in the scope of the commit).
type FileChanges ¶
type FileChanges struct { Count int32 `json:"count,omitempty"` File []FileChange `json:"file,omitempty"` }
Represents a list of FileChange entities.
type Files ¶
type Files struct { Count int32 `json:"count,omitempty"` Href string `json:"href,omitempty"` File []*os.File `json:"file,omitempty"` }
Represents a list of File entities.
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type GetAgentOpts ¶
type GetAgentPoolOpts ¶
type GetAgentRequirementOpts ¶
type GetAliasesOpts ¶
type GetAllAgentPoolsOpts ¶
type GetAllAgentsOpts ¶
type GetAllAuditEventsOpts ¶
type GetAllBranchesOpts ¶
type GetAllBuildFeaturesOpts ¶
type GetAllBuildProblemsOpts ¶
type GetAllBuildStepsOpts ¶
type GetAllBuildTypesOpts ¶
type GetAllBuildsOpts ¶
type GetAllChangesOpts ¶
type GetAllCloudImagesOpts ¶
type GetAllCloudProfilesOpts ¶
type GetAllGroupsOpts ¶
type GetAllMetricsOpts ¶
type GetAllMutedTestsOpts ¶
type GetAllNodesOpts ¶
type GetAllPluginsOpts ¶
type GetAllProjectsOpts ¶
type GetAllQueuedBuildsOpts ¶
type GetAllTriggersOpts ¶
type GetAllUserGroupsOpts ¶
type GetAllUsersOpts ¶
type GetAllVcsRootsOpts ¶
type GetApprovalInfoOpts ¶
type GetAuditEventOpts ¶
type GetAuthorizedInfoOpts ¶
type GetBuildFeatureOpts ¶
type GetBuildOpts ¶
type GetBuildParameterOpts ¶
type GetBuildParametersOpts ¶
type GetBuildPinInfoOpts ¶
type GetBuildProblemOpts ¶
type GetBuildProblemsOpts ¶
type GetBuildStepOpts ¶
type GetBuildTagsOpts ¶
type GetBuildTemplateOpts ¶
type GetBuildTypeBuildsOpts ¶
type GetBuildTypeOpts ¶
type GetBuildVcsLabelsOpts ¶
type GetCanceledInfoOpts ¶
type GetCategoriesOpts ¶
type GetChangeAttributesOpts ¶
type GetChangeDuplicatesOpts ¶
type GetChangeOpts ¶
type GetChangeVcsRootOpts ¶
type GetCloudImageOpts ¶
type GetCloudInstanceOpts ¶
type GetCloudProfileOpts ¶
type GetDefaultTemplateOpts ¶
type GetEnabledInfoOpts ¶
type GetFeatureOpts ¶
type GetFeaturesOpts ¶
type GetFileMetadataOpts ¶
type GetFilesListOfBuildOpts ¶
type GetFilesListOpts ¶
type GetGroupPropertiesOpts ¶
type GetHealthItemsOpts ¶
type GetInvestigationOpts ¶
type GetLicenseKeyOpts ¶
type GetLicenseKeysOpts ¶
type GetLicensingDataOpts ¶
type GetMultipleBuildsOpts ¶
type GetMutedTestOpts ¶
type GetNodeOpts ¶
type GetPluginInfoOpts ¶
type GetProjectOpts ¶
type GetProjectTemplatesOpts ¶
type GetQueuedBuildOpts ¶
type GetQueuedBuildTagsOpts ¶
type GetRootEndpointsOpts ¶
type GetServerInfoOpts ¶
type GetSingleCategoryOpts ¶
type GetSingleHealthItemOpts ¶
type GetTestOccurrenceOpts ¶
type GetTriggerOpts ¶
type GetUserGroupOfGroupOpts ¶
type GetUserGroupOpts ¶
type GetUserOpts ¶
type GetUserPermissionsOpts ¶
type GetUserPropertiesOpts ¶
type GetUserTokensOpts ¶
type GetVcsRootInstanceOpts ¶
type GetVcsRootInstancesOpts ¶
type GetVcsRootOpts ¶
type GetZippedFileOpts ¶
type Group ¶
type Group struct { Key string `json:"key,omitempty"` Name string `json:"name,omitempty"` Href string `json:"href,omitempty"` Description string `json:"description,omitempty"` ParentGroups *Groups `json:"parent-groups,omitempty"` ChildGroups *Groups `json:"child-groups,omitempty"` Users *Users `json:"users,omitempty"` Roles *Roles `json:"roles,omitempty"` Properties *Properties `json:"properties,omitempty"` }
Represents a user group.
type GroupApiService ¶
type GroupApiService service
func (*GroupApiService) AddGroup ¶
func (a *GroupApiService) AddGroup(ctx context.Context, localVarOptionals *AddGroupOpts) (Group, *http.Response, error)
func (*GroupApiService) AddRoleAtScopeToGroup ¶
func (a *GroupApiService) AddRoleAtScopeToGroup(ctx context.Context, groupLocator string, roleId string, scope string) (Role, *http.Response, error)
GroupApiService Add a role with the specific scope to the matching user group.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupLocator
- @param roleId
- @param scope
@return Role
func (*GroupApiService) AddRoleToGroup ¶
func (a *GroupApiService) AddRoleToGroup(ctx context.Context, groupLocator string, localVarOptionals *AddRoleToGroupOpts) (Role, *http.Response, error)
func (*GroupApiService) DeleteGroup ¶
func (a *GroupApiService) DeleteGroup(ctx context.Context, groupLocator string) (*http.Response, error)
GroupApiService Delete user group matching the locator.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupLocator
func (*GroupApiService) GetAllGroups ¶
func (a *GroupApiService) GetAllGroups(ctx context.Context, localVarOptionals *GetAllGroupsOpts) (Groups, *http.Response, error)
func (*GroupApiService) GetGroupParentGroups ¶
func (a *GroupApiService) GetGroupParentGroups(ctx context.Context, groupLocator string, localVarOptionals *GetGroupParentGroupsOpts) (Groups, *http.Response, error)
func (*GroupApiService) GetGroupProperties ¶
func (a *GroupApiService) GetGroupProperties(ctx context.Context, groupLocator string, localVarOptionals *GetGroupPropertiesOpts) (Properties, *http.Response, error)
func (*GroupApiService) GetGroupProperty ¶
func (a *GroupApiService) GetGroupProperty(ctx context.Context, groupLocator string, name string) (string, *http.Response, error)
GroupApiService Get a property of the matching user group.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupLocator
- @param name
@return string
func (*GroupApiService) GetGroupRoleAtScope ¶
func (a *GroupApiService) GetGroupRoleAtScope(ctx context.Context, groupLocator string, roleId string, scope string) (Role, *http.Response, error)
GroupApiService Get a role with the specific scope of the matching user group.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupLocator
- @param roleId
- @param scope
@return Role
func (*GroupApiService) GetGroupRoles ¶
func (a *GroupApiService) GetGroupRoles(ctx context.Context, groupLocator string) (Roles, *http.Response, error)
GroupApiService Get all roles of the matching user group.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupLocator
@return Roles
func (*GroupApiService) GetUserGroupOfGroup ¶
func (a *GroupApiService) GetUserGroupOfGroup(ctx context.Context, groupLocator string, localVarOptionals *GetUserGroupOfGroupOpts) (Group, *http.Response, error)
func (*GroupApiService) RemoveGroupProperty ¶
func (a *GroupApiService) RemoveGroupProperty(ctx context.Context, groupLocator string, name string) (*http.Response, error)
GroupApiService Remove a property of the matching user group.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupLocator
- @param name
func (*GroupApiService) RemoveRoleAtScopeFromGroup ¶
func (a *GroupApiService) RemoveRoleAtScopeFromGroup(ctx context.Context, groupLocator string, roleId string, scope string) (*http.Response, error)
GroupApiService Remove a role with the specific scope from the matching user group.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupLocator
- @param roleId
- @param scope
func (*GroupApiService) SetGroupParentGroups ¶
func (a *GroupApiService) SetGroupParentGroups(ctx context.Context, groupLocator string, localVarOptionals *SetGroupParentGroupsOpts) (Groups, *http.Response, error)
func (*GroupApiService) SetGroupProperty ¶
func (a *GroupApiService) SetGroupProperty(ctx context.Context, groupLocator string, name string, localVarOptionals *SetGroupPropertyOpts) (string, *http.Response, error)
func (*GroupApiService) SetGroupRoles ¶
func (a *GroupApiService) SetGroupRoles(ctx context.Context, groupLocator string, localVarOptionals *SetGroupRolesOpts) (Roles, *http.Response, error)
type GroupApprovalRule ¶
type GroupApprovalRule struct { Group *Group `json:"group,omitempty"` RequiredApprovalsCount int32 `json:"requiredApprovalsCount,omitempty"` CurrentlyApprovedBy *Users `json:"currentlyApprovedBy,omitempty"` }
Represents group approval rule and its current status for the given build.
type GroupApprovals ¶
type GroupApprovals struct { Count int32 `json:"count,omitempty"` GroupApproval []GroupApprovalRule `json:"groupApproval,omitempty"` }
Represents a list of GroupApprovalRule entities.
type HealthApiService ¶
type HealthApiService service
func (*HealthApiService) GetCategories ¶
func (a *HealthApiService) GetCategories(ctx context.Context, localVarOptionals *GetCategoriesOpts) (HealthCategories, *http.Response, error)
func (*HealthApiService) GetHealthItems ¶
func (a *HealthApiService) GetHealthItems(ctx context.Context, localVarOptionals *GetHealthItemsOpts) (HealthStatusItems, *http.Response, error)
func (*HealthApiService) GetSingleCategory ¶
func (a *HealthApiService) GetSingleCategory(ctx context.Context, locator string, localVarOptionals *GetSingleCategoryOpts) (HealthCategory, *http.Response, error)
func (*HealthApiService) GetSingleHealthItem ¶
func (a *HealthApiService) GetSingleHealthItem(ctx context.Context, locator string, localVarOptionals *GetSingleHealthItemOpts) (HealthItem, *http.Response, error)
type HealthCategories ¶
type HealthCategories struct { Count int32 `json:"count,omitempty"` HealthCategory []HealthCategory `json:"healthCategory,omitempty"` Href string `json:"href,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` }
Represents a paginated list of HealthCategory entities.
type HealthCategory ¶
type HealthItem ¶
type HealthItem struct { Identity string `json:"identity,omitempty"` Severity string `json:"severity,omitempty"` HealthCategory *HealthCategory `json:"healthCategory,omitempty"` }
Represents a server health item.
type HealthStatusItems ¶
type HealthStatusItems struct { Count int32 `json:"count,omitempty"` HealthItem []HealthItem `json:"healthItem,omitempty"` Href string `json:"href,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` }
Represents a paginated list of HealthItem entities.
type Investigation ¶
type Investigation struct { Id string `json:"id,omitempty"` State string `json:"state,omitempty"` Href string `json:"href,omitempty"` Assignee *User `json:"assignee,omitempty"` Assignment *Comment `json:"assignment,omitempty"` Scope *ProblemScope `json:"scope,omitempty"` Target *ProblemTarget `json:"target,omitempty"` Resolution *Resolution `json:"resolution,omitempty"` Responsible *User `json:"responsible,omitempty"` }
Represents an investigation of a build problem.
type InvestigationApiService ¶
type InvestigationApiService service
func (*InvestigationApiService) AddInvestigation ¶
func (a *InvestigationApiService) AddInvestigation(ctx context.Context, localVarOptionals *AddInvestigationOpts) (Investigation, *http.Response, error)
func (*InvestigationApiService) AddMultipleInvestigations ¶
func (a *InvestigationApiService) AddMultipleInvestigations(ctx context.Context, localVarOptionals *AddMultipleInvestigationsOpts) (Investigations, *http.Response, error)
func (*InvestigationApiService) DeleteInvestigation ¶
func (a *InvestigationApiService) DeleteInvestigation(ctx context.Context, investigationLocator string) (*http.Response, error)
InvestigationApiService Delete investigation matching the locator.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param investigationLocator
func (*InvestigationApiService) GetAllInvestigations ¶
func (a *InvestigationApiService) GetAllInvestigations(ctx context.Context, localVarOptionals *GetAllInvestigationsOpts) (Investigations, *http.Response, error)
func (*InvestigationApiService) GetInvestigation ¶
func (a *InvestigationApiService) GetInvestigation(ctx context.Context, investigationLocator string, localVarOptionals *GetInvestigationOpts) (Investigation, *http.Response, error)
func (*InvestigationApiService) ReplaceInvestigation ¶
func (a *InvestigationApiService) ReplaceInvestigation(ctx context.Context, investigationLocator string, localVarOptionals *ReplaceInvestigationOpts) (Investigation, *http.Response, error)
type InvestigationLocator ¶
type InvestigationLocator struct { // Project (direct or indirect parent) locator. AffectedProject string `json:"affectedProject,omitempty"` Assignee string `json:"assignee,omitempty"` // Project (direct parent) locator. AssignmentProject string `json:"assignmentProject,omitempty"` // Build type locator. BuildType string `json:"buildType,omitempty"` // For paginated calls, how many entities to return per page. Count int32 `json:"count,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` // Limit processing to the latest `<lookupLimit>` entities. LookupLimit int32 `json:"lookupLimit,omitempty"` // Problem locator. Problem string `json:"problem,omitempty"` Reporter string `json:"reporter,omitempty"` Resolution string `json:"resolution,omitempty"` // yyyyMMddTHHmmss+ZZZZ SinceDate time.Time `json:"sinceDate,omitempty"` // For paginated calls, from which entity to start rendering the page. Start int32 `json:"start,omitempty"` State string `json:"state,omitempty"` // Test locator. Test string `json:"test,omitempty"` Type_ string `json:"type,omitempty"` }
Represents a locator string for filtering Investigation entities.
type Investigations ¶
type Investigations struct { Count int32 `json:"count,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` Href string `json:"href,omitempty"` Investigation []Investigation `json:"investigation,omitempty"` }
Represents a paginated list of Investigation entities.
type IssueUsage ¶
type IssueUsage struct { Changes *Changes `json:"changes,omitempty"` Issue *Issue `json:"issue,omitempty"` }
Represents a relation between the issue and the Changes entity.
type Issues ¶
type Issues struct {
Issues []Issue `json:"issues,omitempty"`
}
Represents a list of Issue entities.
type IssuesUsages ¶
type IssuesUsages struct { IssueUsage []IssueUsage `json:"issueUsage,omitempty"` Href string `json:"href,omitempty"` Count int32 `json:"count,omitempty"` }
Represents a list of IssueUsage entities.
type Items ¶
type Items struct {
Item []string `json:"item,omitempty"`
}
Represents a list of items (strings).
type LicenseKey ¶
type LicenseKey struct { Valid bool `json:"valid,omitempty"` Active bool `json:"active,omitempty"` Expired bool `json:"expired,omitempty"` Obsolete bool `json:"obsolete,omitempty"` ExpirationDate string `json:"expirationDate,omitempty"` MaintenanceEndDate string `json:"maintenanceEndDate,omitempty"` Type_ string `json:"type,omitempty"` Servers int32 `json:"servers,omitempty"` Agents int32 `json:"agents,omitempty"` UnlimitedAgents bool `json:"unlimitedAgents,omitempty"` BuildTypes int32 `json:"buildTypes,omitempty"` UnlimitedBuildTypes bool `json:"unlimitedBuildTypes,omitempty"` ErrorDetails string `json:"errorDetails,omitempty"` Key string `json:"key,omitempty"` RawType string `json:"rawType,omitempty"` }
Represents a license key details.
type LicenseKeys ¶
type LicenseKeys struct { Count int32 `json:"count,omitempty"` Href string `json:"href,omitempty"` LicenseKey []LicenseKey `json:"licenseKey,omitempty"` }
Represents a list of LicenseKey entities.
type LicensingData ¶
type LicensingData struct { LicenseUseExceeded bool `json:"licenseUseExceeded,omitempty"` MaxAgents int32 `json:"maxAgents,omitempty"` UnlimitedAgents bool `json:"unlimitedAgents,omitempty"` MaxBuildTypes int32 `json:"maxBuildTypes,omitempty"` UnlimitedBuildTypes bool `json:"unlimitedBuildTypes,omitempty"` BuildTypesLeft int32 `json:"buildTypesLeft,omitempty"` ServerLicenseType string `json:"serverLicenseType,omitempty"` ServerEffectiveReleaseDate string `json:"serverEffectiveReleaseDate,omitempty"` AgentsLeft int32 `json:"agentsLeft,omitempty"` LicenseKeys *LicenseKeys `json:"licenseKeys,omitempty"` }
Represents license state details (available build configurations, agents, etc.).
type Link ¶
type Link struct { Type_ string `json:"type,omitempty"` Url string `json:"url,omitempty"` RelativeUrl string `json:"relativeUrl,omitempty"` }
Represents a list of URLs.
type MarkBuildAsRunningOpts ¶
type MetaData ¶
type MetaData struct { Id string `json:"id,omitempty"` Entries *Entries `json:"entries,omitempty"` }
Represents a named Entries entity.
type Metric ¶
type Metric struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` PrometheusName string `json:"prometheusName,omitempty"` MetricValues *MetricValues `json:"metricValues,omitempty"` MetricTags *MetricTags `json:"metricTags,omitempty"` }
Represents the specific server metric.
type MetricTags ¶
type MetricTags struct { Count int32 `json:"count,omitempty"` MetricTag []MetricTag `json:"metricTag,omitempty"` }
Represents a list of MetricTag entities.
type MetricValue ¶
type MetricValue struct { Name string `json:"name,omitempty"` Value float64 `json:"value,omitempty"` Tags *MetricTags `json:"tags,omitempty"` }
Represents a metric value.
type MetricValues ¶
type MetricValues struct { Count int32 `json:"count,omitempty"` MetricValue []MetricValue `json:"metricValue,omitempty"` }
Represents a list of MetricValue entities.
type Metrics ¶
type Metrics struct { Count int32 `json:"count,omitempty"` Metric []Metric `json:"metric,omitempty"` }
Represents a list of Metric entities.
type ModelType ¶
type ModelType struct {
RawValue string `json:"rawValue,omitempty"`
}
Represents a build parameter type string.
type MultipleOperationResult ¶
type MultipleOperationResult struct { Count int32 `json:"count,omitempty"` ErrorCount int32 `json:"errorCount,omitempty"` OperationResult []OperationResult `json:"operationResult,omitempty"` }
Represents a list of OperationResult entities.
type Mute ¶
type Mute struct { Id int32 `json:"id,omitempty"` Href string `json:"href,omitempty"` Assignment *Comment `json:"assignment,omitempty"` Scope *ProblemScope `json:"scope,omitempty"` Target *ProblemTarget `json:"target,omitempty"` Resolution *Resolution `json:"resolution,omitempty"` }
Represents a muted test.
type MuteApiService ¶
type MuteApiService service
func (*MuteApiService) GetAllMutedTests ¶
func (a *MuteApiService) GetAllMutedTests(ctx context.Context, localVarOptionals *GetAllMutedTestsOpts) (Mutes, *http.Response, error)
func (*MuteApiService) GetMutedTest ¶
func (a *MuteApiService) GetMutedTest(ctx context.Context, muteLocator string, localVarOptionals *GetMutedTestOpts) (Mute, *http.Response, error)
func (*MuteApiService) MuteMultipleTests ¶
func (a *MuteApiService) MuteMultipleTests(ctx context.Context, localVarOptionals *MuteMultipleTestsOpts) (Mutes, *http.Response, error)
func (*MuteApiService) MuteTest ¶
func (a *MuteApiService) MuteTest(ctx context.Context, localVarOptionals *MuteTestOpts) (Mute, *http.Response, error)
func (*MuteApiService) UnmuteTest ¶
func (a *MuteApiService) UnmuteTest(ctx context.Context, muteLocator string, localVarOptionals *UnmuteTestOpts) (*http.Response, error)
type MuteLocator ¶
type MuteLocator struct { // Project (direct or indirect parent) locator. AffectedProject string `json:"affectedProject,omitempty"` // yyyyMMddTHHmmss+ZZZZ CreationDate time.Time `json:"creationDate,omitempty"` Id int32 `json:"id,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` // Problem locator. Problem string `json:"problem,omitempty"` // Project (direct parent) locator. Project string `json:"project,omitempty"` // User who muted this test. Reporter string `json:"reporter,omitempty"` Resolution string `json:"resolution,omitempty"` // Test locator. Test string `json:"test,omitempty"` Type_ string `json:"type,omitempty"` // yyyyMMddTHHmmss+ZZZZ UnmuteDate time.Time `json:"unmuteDate,omitempty"` }
Represents a locator string for filtering Mute entities.
type MuteMultipleTestsOpts ¶
type Mutes ¶
type Mutes struct { Count int32 `json:"count,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` Href string `json:"href,omitempty"` Mute []Mute `json:"mute,omitempty"` }
Represents a paginated list of Mute entities.
type NewBuildTypeDescription ¶
type NewBuildTypeDescription struct { CopyAllAssociatedSettings bool `json:"copyAllAssociatedSettings,omitempty"` ProjectsIdsMap *Properties `json:"projectsIdsMap,omitempty"` BuildTypesIdsMap *Properties `json:"buildTypesIdsMap,omitempty"` VcsRootsIdsMap *Properties `json:"vcsRootsIdsMap,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` SourceBuildTypeLocator string `json:"sourceBuildTypeLocator,omitempty"` SourceBuildType *BuildType `json:"sourceBuildType,omitempty"` }
Represents a build configuration stub.
type NewProjectDescription ¶
type NewProjectDescription struct { CopyAllAssociatedSettings bool `json:"copyAllAssociatedSettings,omitempty"` ProjectsIdsMap *Properties `json:"projectsIdsMap,omitempty"` BuildTypesIdsMap *Properties `json:"buildTypesIdsMap,omitempty"` VcsRootsIdsMap *Properties `json:"vcsRootsIdsMap,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` SourceProjectLocator string `json:"sourceProjectLocator,omitempty"` SourceProject *Project `json:"sourceProject,omitempty"` ParentProject *Project `json:"parentProject,omitempty"` }
Represents a project stub.
type Node ¶
type Node struct { Id string `json:"id,omitempty"` Url string `json:"url,omitempty"` State string `json:"state,omitempty"` Role string `json:"role,omitempty"` Current bool `json:"current,omitempty"` EnabledResponsibilities *EnabledResponsibilities `json:"enabledResponsibilities,omitempty"` DisabledResponsibilities *DisabledResponsibilities `json:"disabledResponsibilities,omitempty"` EffectiveResponsibilities *EffectiveResponsibilities `json:"effectiveResponsibilities,omitempty"` }
Represents a TeamCity node.
type NodeApiService ¶
type NodeApiService service
func (*NodeApiService) ChangeNodeResponsibility ¶
func (a *NodeApiService) ChangeNodeResponsibility(ctx context.Context, nodeLocator string, name string, localVarOptionals *ChangeNodeResponsibilityOpts) (EnabledResponsibilities, *http.Response, error)
func (*NodeApiService) GetAllNodes ¶
func (a *NodeApiService) GetAllNodes(ctx context.Context, localVarOptionals *GetAllNodesOpts) (Nodes, *http.Response, error)
func (*NodeApiService) GetDisabledResponsibilities ¶
func (a *NodeApiService) GetDisabledResponsibilities(ctx context.Context, nodeLocator string, localVarOptionals *GetDisabledResponsibilitiesOpts) (DisabledResponsibilities, *http.Response, error)
func (*NodeApiService) GetEffectiveResponsibilities ¶
func (a *NodeApiService) GetEffectiveResponsibilities(ctx context.Context, nodeLocator string, localVarOptionals *GetEffectiveResponsibilitiesOpts) (EffectiveResponsibilities, *http.Response, error)
func (*NodeApiService) GetEnabledResponsibilities ¶
func (a *NodeApiService) GetEnabledResponsibilities(ctx context.Context, nodeLocator string, localVarOptionals *GetEnabledResponsibilitiesOpts) (EnabledResponsibilities, *http.Response, error)
type OperationResult ¶
type OperationResult struct { Message string `json:"message,omitempty"` Related *RelatedEntity `json:"related,omitempty"` }
Represents a relation between a message and a related entity.
type ParsedTestName ¶
type ParsedTestName struct { TestPackage string `json:"testPackage,omitempty"` TestSuite string `json:"testSuite,omitempty"` TestClass string `json:"testClass,omitempty"` TestShortName string `json:"testShortName,omitempty"` TestNameWithoutPrefix string `json:"testNameWithoutPrefix,omitempty"` TestMethodName string `json:"testMethodName,omitempty"` TestNameWithParameters string `json:"testNameWithParameters,omitempty"` }
Represents test metadata (package, method, class, and so on).
type Permission ¶
type Permission struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Global bool `json:"global,omitempty"` }
Represents a permission.
type PermissionAssignment ¶
type PermissionAssignment struct { Permission *Permission `json:"permission,omitempty"` Project *Project `json:"project,omitempty"` }
Represents a relation between the specific permission and a project.
type PermissionAssignments ¶
type PermissionAssignments struct { Count int32 `json:"count,omitempty"` PermissionAssignment []PermissionAssignment `json:"permissionAssignment,omitempty"` }
Represents a list of PermissionAssignment entities.
type PermissionRestriction ¶
type PermissionRestriction struct { IsGlobalScope bool `json:"isGlobalScope,omitempty"` Project *Project `json:"project,omitempty"` Permission *Permission `json:"permission,omitempty"` }
Represents permission restrictions of an authentication token.
type PermissionRestrictions ¶
type PermissionRestrictions struct { Count int32 `json:"count,omitempty"` PermissionRestriction []PermissionRestriction `json:"permissionRestriction,omitempty"` }
Represents a list of PermissionRestriction entities.
type PinInfo ¶
type PinInfo struct { Status bool `json:"status,omitempty"` Comment *Comment `json:"comment,omitempty"` }
Represents the pinned status of this build.
type PinMultipleBuildsOpts ¶
type Plugin ¶
type Plugin struct { Name string `json:"name,omitempty"` DisplayName string `json:"displayName,omitempty"` Version string `json:"version,omitempty"` LoadPath string `json:"loadPath,omitempty"` Parameters *Properties `json:"parameters,omitempty"` }
Represents a plugin.
type Plugins ¶
type Plugins struct { Count int32 `json:"count,omitempty"` Plugin []Plugin `json:"plugin,omitempty"` }
Represents a list of Plugin entities.
type Problem ¶
type Problem struct { Id string `json:"id,omitempty"` Type_ string `json:"type,omitempty"` Identity string `json:"identity,omitempty"` Href string `json:"href,omitempty"` Description string `json:"description,omitempty"` Mutes *Mutes `json:"mutes,omitempty"` Investigations *Investigations `json:"investigations,omitempty"` ProblemOccurrences *ProblemOccurrences `json:"problemOccurrences,omitempty"` Locator string `json:"locator,omitempty"` }
Represents an issue with the test.
type ProblemApiService ¶
type ProblemApiService service
func (*ProblemApiService) GetAllBuildProblems ¶
func (a *ProblemApiService) GetAllBuildProblems(ctx context.Context, localVarOptionals *GetAllBuildProblemsOpts) (Problems, *http.Response, error)
func (*ProblemApiService) GetBuildProblem ¶
func (a *ProblemApiService) GetBuildProblem(ctx context.Context, problemLocator string, localVarOptionals *GetBuildProblemOpts) (Problem, *http.Response, error)
type ProblemLocator ¶
type ProblemLocator struct { // Project (direct or indirect parent) locator. AffectedProject string `json:"affectedProject,omitempty"` // Build locator. Build string `json:"build,omitempty"` // For paginated calls, how many entities to return per page. Count int32 `json:"count,omitempty"` // Is currently failing. CurrentlyFailing bool `json:"currentlyFailing,omitempty"` // Is currently investigated. CurrentlyInvestigated bool `json:"currentlyInvestigated,omitempty"` // Is currently muted. CurrentlyMuted bool `json:"currentlyMuted,omitempty"` // Entity ID. Id int32 `json:"id,omitempty"` Identity string `json:"identity,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` // Limit processing to the latest `<lookupLimit>` entities. LookupLimit int32 `json:"lookupLimit,omitempty"` // For paginated calls, from which entity to start rendering the page. Start int32 `json:"start,omitempty"` Type_ string `json:"type,omitempty"` }
Represents a locator string for filtering Problem entities.
type ProblemOccurrence ¶
type ProblemOccurrence struct { Id string `json:"id,omitempty"` Type_ string `json:"type,omitempty"` Identity string `json:"identity,omitempty"` Href string `json:"href,omitempty"` Muted bool `json:"muted,omitempty"` CurrentlyInvestigated bool `json:"currentlyInvestigated,omitempty"` CurrentlyMuted bool `json:"currentlyMuted,omitempty"` LogAnchor string `json:"logAnchor,omitempty"` NewFailure bool `json:"newFailure,omitempty"` Details string `json:"details,omitempty"` AdditionalData string `json:"additionalData,omitempty"` Problem *Problem `json:"problem,omitempty"` Mute *Mute `json:"mute,omitempty"` Build *Build `json:"build,omitempty"` }
Represents an instance of a failed test in the specific build.
type ProblemOccurrenceApiService ¶
type ProblemOccurrenceApiService service
func (*ProblemOccurrenceApiService) GetAllBuildProblemOccurrences ¶
func (a *ProblemOccurrenceApiService) GetAllBuildProblemOccurrences(ctx context.Context, localVarOptionals *GetAllBuildProblemOccurrencesOpts) (ProblemOccurrences, *http.Response, error)
func (*ProblemOccurrenceApiService) GetBuildProblemOccurrence ¶
func (a *ProblemOccurrenceApiService) GetBuildProblemOccurrence(ctx context.Context, problemLocator string, localVarOptionals *GetBuildProblemOccurrenceOpts) (ProblemOccurrence, *http.Response, error)
type ProblemOccurrenceLocator ¶
type ProblemOccurrenceLocator struct { // Project (direct or indirect parent) locator. AffectedProject string `json:"affectedProject,omitempty"` // Build locator. Build string `json:"build,omitempty"` // For paginated calls, how many entities to return per page. Count int32 `json:"count,omitempty"` // Is currently failing. CurrentlyFailing bool `json:"currentlyFailing,omitempty"` // Is currently investigated. CurrentlyInvestigated bool `json:"currentlyInvestigated,omitempty"` // Is currently muted. CurrentlyMuted bool `json:"currentlyMuted,omitempty"` Identity string `json:"identity,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` // Limit processing to the latest `<lookupLimit>` entities. LookupLimit int32 `json:"lookupLimit,omitempty"` // Has ever been muted. Muted bool `json:"muted,omitempty"` Problem string `json:"problem,omitempty"` // For paginated calls, from which entity to start rendering the page. Start int32 `json:"start,omitempty"` Type_ string `json:"type,omitempty"` }
Represents a locator string for filtering ProblemOccurrence entities.
type ProblemOccurrences ¶
type ProblemOccurrences struct { Count int32 `json:"count,omitempty"` Href string `json:"href,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` ProblemOccurrence []ProblemOccurrence `json:"problemOccurrence,omitempty"` Passed int32 `json:"passed,omitempty"` Failed int32 `json:"failed,omitempty"` NewFailed int32 `json:"newFailed,omitempty"` Ignored int32 `json:"ignored,omitempty"` Muted int32 `json:"muted,omitempty"` }
Represents a paginated list of ProblemOccurrence entities.
type ProblemScope ¶
type ProblemScope struct { Project *Project `json:"project,omitempty"` BuildTypes *BuildTypes `json:"buildTypes,omitempty"` BuildType *BuildType `json:"buildType,omitempty"` }
Represents an investigation scope.
type ProblemTarget ¶
type ProblemTarget struct { AnyProblem bool `json:"anyProblem,omitempty"` Tests *Tests `json:"tests,omitempty"` Problems *Problems `json:"problems,omitempty"` }
Represents an investigation target.
type Problems ¶
type Problems struct { Count int32 `json:"count,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` Problem []Problem `json:"problem,omitempty"` }
Represents a paginated list of Problem entities.
type ProgressInfo ¶
type ProgressInfo struct { PercentageComplete int32 `json:"percentageComplete,omitempty"` ElapsedSeconds int64 `json:"elapsedSeconds,omitempty"` EstimatedTotalSeconds int64 `json:"estimatedTotalSeconds,omitempty"` LeftSeconds int64 `json:"leftSeconds,omitempty"` CurrentStageText string `json:"currentStageText,omitempty"` Outdated bool `json:"outdated,omitempty"` ProbablyHanging bool `json:"probablyHanging,omitempty"` LastActivityTime string `json:"lastActivityTime,omitempty"` OutdatedReasonBuild *Build `json:"outdatedReasonBuild,omitempty"` }
Represents a progress estimate of this build.
type Project ¶
type Project struct { Id string `json:"id,omitempty"` InternalId string `json:"internalId,omitempty"` Uuid string `json:"uuid,omitempty"` Name string `json:"name,omitempty"` ParentProjectId string `json:"parentProjectId,omitempty"` ParentProjectInternalId string `json:"parentProjectInternalId,omitempty"` ParentProjectName string `json:"parentProjectName,omitempty"` Archived bool `json:"archived,omitempty"` Virtual bool `json:"virtual,omitempty"` Description string `json:"description,omitempty"` Href string `json:"href,omitempty"` WebUrl string `json:"webUrl,omitempty"` Links *Links `json:"links,omitempty"` ParentProject *Project `json:"parentProject,omitempty"` ReadOnlyUI *StateField `json:"readOnlyUI,omitempty"` DefaultTemplate *BuildType `json:"defaultTemplate,omitempty"` BuildTypes *BuildTypes `json:"buildTypes,omitempty"` Templates *BuildTypes `json:"templates,omitempty"` Parameters *Properties `json:"parameters,omitempty"` VcsRoots *VcsRoots `json:"vcsRoots,omitempty"` ProjectFeatures *ProjectFeatures `json:"projectFeatures,omitempty"` Projects *Projects `json:"projects,omitempty"` CloudProfiles *CloudProfiles `json:"cloudProfiles,omitempty"` AncestorProjects *Projects `json:"ancestorProjects,omitempty"` Locator string `json:"locator,omitempty"` }
Represents a project.
type ProjectApiService ¶
type ProjectApiService service
func (*ProjectApiService) AddAgentPoolsProject ¶
func (a *ProjectApiService) AddAgentPoolsProject(ctx context.Context, projectLocator string, localVarOptionals *AddAgentPoolsProjectOpts) (AgentPool, *http.Response, error)
func (*ProjectApiService) AddBuildType ¶
func (a *ProjectApiService) AddBuildType(ctx context.Context, projectLocator string, localVarOptionals *AddBuildTypeOpts) (BuildType, *http.Response, error)
func (*ProjectApiService) AddFeature ¶
func (a *ProjectApiService) AddFeature(ctx context.Context, projectLocator string, localVarOptionals *AddFeatureOpts) (interface{}, *http.Response, error)
func (*ProjectApiService) AddProject ¶
func (a *ProjectApiService) AddProject(ctx context.Context, localVarOptionals *AddProjectOpts) (Project, *http.Response, error)
func (*ProjectApiService) AddSecureToken ¶
func (a *ProjectApiService) AddSecureToken(ctx context.Context, projectLocator string, localVarOptionals *AddSecureTokenOpts) (string, *http.Response, error)
func (*ProjectApiService) AddTemplate ¶
func (a *ProjectApiService) AddTemplate(ctx context.Context, projectLocator string, localVarOptionals *AddTemplateOpts) (BuildType, *http.Response, error)
func (*ProjectApiService) CreateBuildParameter ¶
func (a *ProjectApiService) CreateBuildParameter(ctx context.Context, projectLocator string, localVarOptionals *CreateBuildParameterOpts) (Property, *http.Response, error)
func (*ProjectApiService) DeleteBuildParameter ¶
func (a *ProjectApiService) DeleteBuildParameter(ctx context.Context, name string, projectLocator string) (*http.Response, error)
ProjectApiService Delete build parameter.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name
- @param projectLocator
func (*ProjectApiService) DeleteBuildParameters ¶
func (a *ProjectApiService) DeleteBuildParameters(ctx context.Context, projectLocator string) (*http.Response, error)
ProjectApiService Delete all build parameters.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectLocator
func (*ProjectApiService) DeleteFeature ¶
func (a *ProjectApiService) DeleteFeature(ctx context.Context, featureLocator string, projectLocator string) (*http.Response, error)
ProjectApiService Delete a matching feature.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param featureLocator
- @param projectLocator
func (*ProjectApiService) DeleteProject ¶
func (a *ProjectApiService) DeleteProject(ctx context.Context, projectLocator string) (*http.Response, error)
ProjectApiService Delete project matching the locator.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectLocator
func (*ProjectApiService) GetAgentPoolsProject ¶
func (a *ProjectApiService) GetAgentPoolsProject(ctx context.Context, projectLocator string, localVarOptionals *GetAgentPoolsProjectOpts) (AgentPools, *http.Response, error)
func (*ProjectApiService) GetAllBranches ¶
func (a *ProjectApiService) GetAllBranches(ctx context.Context, projectLocator string, localVarOptionals *GetAllBranchesOpts) (Branches, *http.Response, error)
func (*ProjectApiService) GetAllBuildTypesOrdered ¶
func (a *ProjectApiService) GetAllBuildTypesOrdered(ctx context.Context, projectLocator string, localVarOptionals *GetAllBuildTypesOrderedOpts) (BuildTypes, *http.Response, error)
func (*ProjectApiService) GetAllProjects ¶
func (a *ProjectApiService) GetAllProjects(ctx context.Context, localVarOptionals *GetAllProjectsOpts) (Projects, *http.Response, error)
func (*ProjectApiService) GetAllSubprojectsOrdered ¶
func (a *ProjectApiService) GetAllSubprojectsOrdered(ctx context.Context, projectLocator string, localVarOptionals *GetAllSubprojectsOrderedOpts) (Projects, *http.Response, error)
func (*ProjectApiService) GetBuildParameter ¶
func (a *ProjectApiService) GetBuildParameter(ctx context.Context, name string, projectLocator string, localVarOptionals *GetBuildParameterOpts) (Property, *http.Response, error)
func (*ProjectApiService) GetBuildParameterSpecification ¶
func (a *ProjectApiService) GetBuildParameterSpecification(ctx context.Context, name string, projectLocator string) (string, *http.Response, error)
ProjectApiService Get build parameter specification.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name
- @param projectLocator
@return string
func (*ProjectApiService) GetBuildParameterType ¶
func (a *ProjectApiService) GetBuildParameterType(ctx context.Context, name string, projectLocator string) (ModelType, *http.Response, error)
ProjectApiService Get type of build parameter.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name
- @param projectLocator
@return ModelType
func (*ProjectApiService) GetBuildParameterValue ¶
func (a *ProjectApiService) GetBuildParameterValue(ctx context.Context, name string, projectLocator string) (string, *http.Response, error)
ProjectApiService Get value of build parameter.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name
- @param projectLocator
@return string
func (*ProjectApiService) GetBuildParameters ¶
func (a *ProjectApiService) GetBuildParameters(ctx context.Context, projectLocator string, localVarOptionals *GetBuildParametersOpts) (Properties, *http.Response, error)
func (*ProjectApiService) GetDefaultTemplate ¶
func (a *ProjectApiService) GetDefaultTemplate(ctx context.Context, projectLocator string, localVarOptionals *GetDefaultTemplateOpts) (BuildType, *http.Response, error)
func (*ProjectApiService) GetFeature ¶
func (a *ProjectApiService) GetFeature(ctx context.Context, featureLocator string, projectLocator string, localVarOptionals *GetFeatureOpts) (interface{}, *http.Response, error)
func (*ProjectApiService) GetFeatures ¶
func (a *ProjectApiService) GetFeatures(ctx context.Context, projectLocator string, localVarOptionals *GetFeaturesOpts) (interface{}, *http.Response, error)
func (*ProjectApiService) GetProject ¶
func (a *ProjectApiService) GetProject(ctx context.Context, projectLocator string, localVarOptionals *GetProjectOpts) (Project, *http.Response, error)
func (*ProjectApiService) GetProjectField ¶
func (a *ProjectApiService) GetProjectField(ctx context.Context, projectLocator string, field string) (string, *http.Response, error)
ProjectApiService Get a field of the matching project.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectLocator
- @param field
@return string
func (*ProjectApiService) GetProjectParentProject ¶
func (a *ProjectApiService) GetProjectParentProject(ctx context.Context, projectLocator string, localVarOptionals *GetProjectParentProjectOpts) (Project, *http.Response, error)
func (*ProjectApiService) GetProjectSettingsFile ¶
func (a *ProjectApiService) GetProjectSettingsFile(ctx context.Context, projectLocator string) (string, *http.Response, error)
ProjectApiService Get the settings file of the matching build configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectLocator
@return string
func (*ProjectApiService) GetProjectTemplates ¶
func (a *ProjectApiService) GetProjectTemplates(ctx context.Context, projectLocator string, localVarOptionals *GetProjectTemplatesOpts) (BuildTypes, *http.Response, error)
func (*ProjectApiService) GetSecureValue ¶
func (a *ProjectApiService) GetSecureValue(ctx context.Context, projectLocator string, token string) (string, *http.Response, error)
ProjectApiService Get a secure token of the matching project.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectLocator
- @param token
@return string
func (*ProjectApiService) RemoveDefaultTemplate ¶
func (a *ProjectApiService) RemoveDefaultTemplate(ctx context.Context, projectLocator string, localVarOptionals *RemoveDefaultTemplateOpts) (*http.Response, error)
func (*ProjectApiService) RemoveProjectFromAgentPool ¶
func (a *ProjectApiService) RemoveProjectFromAgentPool(ctx context.Context, projectLocator string, agentPoolLocator string) (*http.Response, error)
ProjectApiService Unassign a project from the matching agent pool.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectLocator
- @param agentPoolLocator
func (*ProjectApiService) SetAgentPoolsProject ¶
func (a *ProjectApiService) SetAgentPoolsProject(ctx context.Context, projectLocator string, localVarOptionals *SetAgentPoolsProjectOpts) (AgentPools, *http.Response, error)
func (*ProjectApiService) SetBuildTypesOrder ¶
func (a *ProjectApiService) SetBuildTypesOrder(ctx context.Context, projectLocator string, localVarOptionals *SetBuildTypesOrderOpts) (BuildTypes, *http.Response, error)
func (*ProjectApiService) SetDefaultTemplate ¶
func (a *ProjectApiService) SetDefaultTemplate(ctx context.Context, projectLocator string, localVarOptionals *SetDefaultTemplateOpts) (BuildType, *http.Response, error)
func (*ProjectApiService) SetParentProject ¶
func (a *ProjectApiService) SetParentProject(ctx context.Context, projectLocator string, localVarOptionals *SetParentProjectOpts) (Project, *http.Response, error)
func (*ProjectApiService) SetProjectField ¶
func (a *ProjectApiService) SetProjectField(ctx context.Context, projectLocator string, field string, localVarOptionals *SetProjectFieldOpts) (string, *http.Response, error)
func (*ProjectApiService) SetSubprojectsOrder ¶
func (a *ProjectApiService) SetSubprojectsOrder(ctx context.Context, projectLocator string, localVarOptionals *SetSubprojectsOrderOpts) (Projects, *http.Response, error)
func (*ProjectApiService) UpdateBuildParameter ¶
func (a *ProjectApiService) UpdateBuildParameter(ctx context.Context, name string, projectLocator string, localVarOptionals *UpdateBuildParameterOpts) (Property, *http.Response, error)
func (*ProjectApiService) UpdateBuildParameterSpecification ¶
func (a *ProjectApiService) UpdateBuildParameterSpecification(ctx context.Context, name string, projectLocator string, localVarOptionals *UpdateBuildParameterSpecificationOpts) (string, *http.Response, error)
func (*ProjectApiService) UpdateBuildParameterType ¶
func (a *ProjectApiService) UpdateBuildParameterType(ctx context.Context, name string, projectLocator string, localVarOptionals *UpdateBuildParameterTypeOpts) (ModelType, *http.Response, error)
func (*ProjectApiService) UpdateBuildParameterValue ¶
func (a *ProjectApiService) UpdateBuildParameterValue(ctx context.Context, name string, projectLocator string, localVarOptionals *UpdateBuildParameterValueOpts) (string, *http.Response, error)
func (*ProjectApiService) UpdateBuildParameters ¶
func (a *ProjectApiService) UpdateBuildParameters(ctx context.Context, projectLocator string, localVarOptionals *UpdateBuildParametersOpts) (Properties, *http.Response, error)
func (*ProjectApiService) UpdateFeature ¶
func (a *ProjectApiService) UpdateFeature(ctx context.Context, featureLocator string, projectLocator string, localVarOptionals *UpdateFeatureOpts) (interface{}, *http.Response, error)
func (*ProjectApiService) UpdateFeatures ¶
func (a *ProjectApiService) UpdateFeatures(ctx context.Context, projectLocator string, localVarOptionals *UpdateFeaturesOpts) (interface{}, *http.Response, error)
type ProjectFeature ¶
type ProjectFeature struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type_ string `json:"type,omitempty"` Disabled bool `json:"disabled,omitempty"` Inherited bool `json:"inherited,omitempty"` Href string `json:"href,omitempty"` Properties *Properties `json:"properties,omitempty"` }
Represents a project feature.
type ProjectFeatures ¶
type ProjectFeatures struct { Count int32 `json:"count,omitempty"` Href string `json:"href,omitempty"` ProjectFeature []ProjectFeature `json:"projectFeature,omitempty"` }
Represents a list of ProjectFeature entities.
type ProjectLocator ¶
type ProjectLocator struct { // Project (direct or indirect parent) locator. AffectedProject string `json:"affectedProject,omitempty"` // Is archived. Archived bool `json:"archived,omitempty"` // Build locator. Build string `json:"build,omitempty"` // Build type locator. BuildType string `json:"buildType,omitempty"` // For paginated calls, how many entities to return per page. Count int32 `json:"count,omitempty"` // Default template locator. DefaultTemplate string `json:"defaultTemplate,omitempty"` Id string `json:"id,omitempty"` InternalId string `json:"internalId,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` Name string `json:"name,omitempty"` // Associated agent pool locator. Pool string `json:"pool,omitempty"` // Project (direct parent) locator. Project string `json:"project,omitempty"` // Project feature locator. ProjectFeature string `json:"projectFeature,omitempty"` // For paginated calls, from which entity to start rendering the page. Start int32 `json:"start,omitempty"` Uuid string `json:"uuid,omitempty"` // VCS root locator. VcsRoot string `json:"vcsRoot,omitempty"` // Is virtual (default=false). Virtual bool `json:"virtual,omitempty"` }
Represents a locator string for filtering Project entities.
type Projects ¶
type Projects struct { Count int32 `json:"count,omitempty"` Href string `json:"href,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` Project []Project `json:"project,omitempty"` }
Represents a paginated list of Project entities.
type Properties ¶
type Properties struct { Count int32 `json:"count,omitempty"` Href string `json:"href,omitempty"` Property []Property `json:"property,omitempty"` }
Represents a list of Property entities.
type Property ¶
type Property struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` Inherited bool `json:"inherited,omitempty"` Type_ *ModelType `json:"type,omitempty"` }
Represents a name-value-type relation.
type PutAvatarOpts ¶
type Related ¶
type Related struct {
Builds *Builds `json:"builds,omitempty"`
}
Represents a link to the Builds entity.
type RelatedEntities ¶
type RelatedEntities struct { Count int32 `json:"count,omitempty"` Entity []RelatedEntity `json:"entity,omitempty"` }
Represents a list of RelatedEntity entities.
type RelatedEntity ¶
type RelatedEntity struct { Type_ string `json:"type,omitempty"` Unknown bool `json:"unknown,omitempty"` InternalId string `json:"internalId,omitempty"` Text string `json:"text,omitempty"` Build *Build `json:"build,omitempty"` BuildType *BuildType `json:"buildType,omitempty"` Project *Project `json:"project,omitempty"` User *User `json:"user,omitempty"` Group *Group `json:"group,omitempty"` Problem *Problem `json:"problem,omitempty"` Agent *Agent `json:"agent,omitempty"` VcsRoot *VcsRoot `json:"vcsRoot,omitempty"` Change *Change `json:"change,omitempty"` AgentPool *AgentPool `json:"agentPool,omitempty"` }
Represents a related entity.
type RemoveAllTemplatesOpts ¶
type RemoveTemplateOpts ¶
type RemoveUserFromGroupOpts ¶
type ReplaceAllTriggersOpts ¶
type ReplaceAllVcsRootsOpts ¶
type ReplaceBuildFeatureOpts ¶
type ReplaceBuildStepOpts ¶
type ReplaceTriggerOpts ¶
type ReplaceUserOpts ¶
type RepositoryState ¶
type RepositoryState struct { Timestamp string `json:"timestamp,omitempty"` Count int32 `json:"count,omitempty"` Branch []BranchVersion `json:"branch,omitempty"` }
Represents the list of the repository Branch entities with their recent revisions.
type Requirements ¶
type Requirements struct {
Description string `json:"description,omitempty"`
}
Represents a list of unmet requirements of a build.
type Resolution ¶
Represents an investigation resolution timestamp and details.
type Responsibility ¶
type Responsibility struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` }
Represents a single responsibility of a TeamCity node.
type Revision ¶
type Revision struct { Version string `json:"version,omitempty"` InternalVersion string `json:"internalVersion,omitempty"` VcsBranchName string `json:"vcsBranchName,omitempty"` VcsRootInstance *VcsRootInstance `json:"vcs-root-instance,omitempty"` CheckoutRules string `json:"checkout-rules,omitempty"` }
Represents a revision related to a VCS change.
type Revisions ¶
type Revisions struct { Count int32 `json:"count,omitempty"` Revision []Revision `json:"revision,omitempty"` FailOnMissingRevisions bool `json:"failOnMissingRevisions,omitempty"` }
Represents a list of Revision entities.
type Role ¶
type Role struct { RoleId string `json:"roleId,omitempty"` Scope string `json:"scope,omitempty"` Href string `json:"href,omitempty"` }
Represents a user/group role.
type Roles ¶
type Roles struct {
Role []Role `json:"role,omitempty"`
}
Represents a list of Role entities.
type RootApiService ¶
type RootApiService service
func (*RootApiService) GetApiVersion ¶
RootApiService Get the API version.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return string
func (*RootApiService) GetPluginInfo ¶
func (a *RootApiService) GetPluginInfo(ctx context.Context, localVarOptionals *GetPluginInfoOpts) (Plugin, *http.Response, error)
func (*RootApiService) GetRootEndpointsOfRoot ¶
func (a *RootApiService) GetRootEndpointsOfRoot(ctx context.Context) (string, *http.Response, error)
RootApiService Get root endpoints.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return string
func (*RootApiService) GetVersion ¶
RootApiService Get the TeamCity server version.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return string
type Server ¶
type Server struct { Version string `json:"version,omitempty"` VersionMajor int32 `json:"versionMajor,omitempty"` VersionMinor int32 `json:"versionMinor,omitempty"` StartTime string `json:"startTime,omitempty"` CurrentTime string `json:"currentTime,omitempty"` BuildNumber string `json:"buildNumber,omitempty"` BuildDate string `json:"buildDate,omitempty"` InternalId string `json:"internalId,omitempty"` Role string `json:"role,omitempty"` WebUrl string `json:"webUrl,omitempty"` Projects *Href `json:"projects,omitempty"` VcsRoots *Href `json:"vcsRoots,omitempty"` Builds *Href `json:"builds,omitempty"` Users *Href `json:"users,omitempty"` UserGroups *Href `json:"userGroups,omitempty"` Agents *Href `json:"agents,omitempty"` BuildQueue *Href `json:"buildQueue,omitempty"` AgentPools *Href `json:"agentPools,omitempty"` Investigations *Href `json:"investigations,omitempty"` Mutes *Href `json:"mutes,omitempty"` ArtifactsUrl string `json:"artifactsUrl,omitempty"` Nodes *Href `json:"nodes,omitempty"` }
Represents various details of this server including the installation version.
type ServerApiService ¶
type ServerApiService service
func (*ServerApiService) AddLicenseKeys ¶
func (a *ServerApiService) AddLicenseKeys(ctx context.Context, localVarOptionals *AddLicenseKeysOpts) (LicenseKeys, *http.Response, error)
func (*ServerApiService) DeleteLicenseKey ¶
func (a *ServerApiService) DeleteLicenseKey(ctx context.Context, licenseKey string) (*http.Response, error)
ServerApiService Delete a license key.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param licenseKey
func (*ServerApiService) DownloadFileOfServer ¶
func (a *ServerApiService) DownloadFileOfServer(ctx context.Context, path string, areaId string) (*http.Response, error)
ServerApiService Download specific file.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param path
- @param areaId
func (*ServerApiService) GetAllMetrics ¶
func (a *ServerApiService) GetAllMetrics(ctx context.Context, localVarOptionals *GetAllMetricsOpts) (Metrics, *http.Response, error)
func (*ServerApiService) GetAllPlugins ¶
func (a *ServerApiService) GetAllPlugins(ctx context.Context, localVarOptionals *GetAllPluginsOpts) (Plugins, *http.Response, error)
func (*ServerApiService) GetBackupStatus ¶
ServerApiService Get the latest backup status.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return string
func (*ServerApiService) GetFileMetadataOfServer ¶
func (*ServerApiService) GetFilesListForSubpathOfServer ¶
func (a *ServerApiService) GetFilesListForSubpathOfServer(ctx context.Context, path string, areaId string, localVarOptionals *GetFilesListForSubpathOfServerOpts) (Files, *http.Response, error)
func (*ServerApiService) GetFilesListOfServer ¶
func (a *ServerApiService) GetFilesListOfServer(ctx context.Context, areaId string, localVarOptionals *GetFilesListOfServerOpts) (Files, *http.Response, error)
func (*ServerApiService) GetLicenseKey ¶
func (a *ServerApiService) GetLicenseKey(ctx context.Context, licenseKey string, localVarOptionals *GetLicenseKeyOpts) (LicenseKey, *http.Response, error)
func (*ServerApiService) GetLicenseKeys ¶
func (a *ServerApiService) GetLicenseKeys(ctx context.Context, localVarOptionals *GetLicenseKeysOpts) (LicenseKeys, *http.Response, error)
func (*ServerApiService) GetLicensingData ¶
func (a *ServerApiService) GetLicensingData(ctx context.Context, localVarOptionals *GetLicensingDataOpts) (LicensingData, *http.Response, error)
func (*ServerApiService) GetServerField ¶
func (a *ServerApiService) GetServerField(ctx context.Context, field string) (string, *http.Response, error)
ServerApiService Get a field of the server info.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param field
@return string
func (*ServerApiService) GetServerInfo ¶
func (a *ServerApiService) GetServerInfo(ctx context.Context, localVarOptionals *GetServerInfoOpts) (Server, *http.Response, error)
func (*ServerApiService) GetZippedFileOfServer ¶
func (a *ServerApiService) GetZippedFileOfServer(ctx context.Context, path string, areaId string, localVarOptionals *GetZippedFileOfServerOpts) (*http.Response, error)
func (*ServerApiService) StartBackup ¶
func (a *ServerApiService) StartBackup(ctx context.Context, localVarOptionals *StartBackupOpts) (string, *http.Response, error)
type SetAgentFieldOpts ¶
type SetAgentPoolFieldOpts ¶
type SetAgentPoolOpts ¶
type SetAuthorizedInfoOpts ¶
type SetBuildCommentOpts ¶
type SetBuildFinishDateOpts ¶
type SetBuildNumberOpts ¶
type SetBuildPinInfoOpts ¶
type SetBuildStatusOpts ¶
type SetBuildStatusTextOpts ¶
type SetBuildTagsOpts ¶
type SetBuildTypeFieldOpts ¶
type SetBuildTypesOrderOpts ¶
type SetDefaultTemplateOpts ¶
type SetEnabledInfoOpts ¶
type SetGroupPropertyOpts ¶
type SetGroupRolesOpts ¶
type SetParentProjectOpts ¶
type SetProjectFieldOpts ¶
type SetSubprojectsOrderOpts ¶
type SetTriggerParameterOpts ¶
type SetUserFieldOpts ¶
type SetUserGroupsOpts ¶
type SetUserPropertyOpts ¶
type SetUserRolesOpts ¶
type SetVcsRootFieldOpts ¶
type SetVcsRootPropertyOpts ¶
type SnapshotDependencies ¶
type SnapshotDependencies struct { Count int32 `json:"count,omitempty"` SnapshotDependency []SnapshotDependency `json:"snapshot-dependency,omitempty"` }
Represents a list of SnapshotDependency entities.
type SnapshotDependency ¶
type SnapshotDependency struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type_ string `json:"type,omitempty"` Disabled bool `json:"disabled,omitempty"` Inherited bool `json:"inherited,omitempty"` Href string `json:"href,omitempty"` Properties *Properties `json:"properties,omitempty"` SourceBuildType *BuildType `json:"source-buildType,omitempty"` }
Represents a snapshot dependency relation.
type SnapshotDependencyLink ¶
type StartBackupOpts ¶
type StartInstanceOpts ¶
type StateField ¶
type StateField struct { Value bool `json:"value,omitempty"` Inherited bool `json:"inherited,omitempty"` }
Represents a project state field (as of now, limited to the read-only state of project).
type Step ¶
type Step struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type_ string `json:"type,omitempty"` Disabled bool `json:"disabled,omitempty"` Inherited bool `json:"inherited,omitempty"` Href string `json:"href,omitempty"` Properties *Properties `json:"properties,omitempty"` }
Represents a build step.
type Tag ¶
type Tag struct { Name string `json:"name,omitempty"` Owner *User `json:"owner,omitempty"` Private bool `json:"private,omitempty"` }
Represents a single build tag.
type TagLocator ¶
type TagLocator struct { Name string `json:"name,omitempty"` Owner string `json:"owner,omitempty"` Private string `json:"private,omitempty"` }
Represents a locator string for filtering Tag entities.
type TeamCityNodeLocator ¶
type TeamCityNodeLocator struct { // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` Role string `json:"role,omitempty"` State string `json:"state,omitempty"` }
Represents a locator string for filtering Node entities.
type TestCounters ¶
type TestCounters struct { Ignored int32 `json:"ignored,omitempty"` Failed int32 `json:"failed,omitempty"` Muted int32 `json:"muted,omitempty"` Success int32 `json:"success,omitempty"` All int32 `json:"all,omitempty"` NewFailed int32 `json:"newFailed,omitempty"` Duration int64 `json:"duration,omitempty"` }
Represents a test results counter (how many times this test was successful/failed/muted/ignored).
type TestLocator ¶
type TestLocator struct { // Project (direct or indirect parent) locator. AffectedProject string `json:"affectedProject,omitempty"` // For paginated calls, how many entities to return per page. Count int32 `json:"count,omitempty"` // Is currently failing. CurrentlyFailing bool `json:"currentlyFailing,omitempty"` // Is currently investigated. CurrentlyInvestigated bool `json:"currentlyInvestigated,omitempty"` // Is currently muted. CurrentlyMuted bool `json:"currentlyMuted,omitempty"` // Entity ID. Id int32 `json:"id,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` // Limit processing to the latest `<lookupLimit>` entities. LookupLimit int32 `json:"lookupLimit,omitempty"` // Build type locator (for finding out if this test is affected by mutes in build type). MuteAffected string `json:"muteAffected,omitempty"` Name string `json:"name,omitempty"` // For paginated calls, from which entity to start rendering the page. Start int32 `json:"start,omitempty"` }
Represents a locator string for filtering Test entities.
type TestOccurrence ¶
type TestOccurrence struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Status string `json:"status,omitempty"` Ignored bool `json:"ignored,omitempty"` Duration int32 `json:"duration,omitempty"` RunOrder string `json:"runOrder,omitempty"` NewFailure bool `json:"newFailure,omitempty"` Muted bool `json:"muted,omitempty"` CurrentlyMuted bool `json:"currentlyMuted,omitempty"` CurrentlyInvestigated bool `json:"currentlyInvestigated,omitempty"` Href string `json:"href,omitempty"` IgnoreDetails string `json:"ignoreDetails,omitempty"` Details string `json:"details,omitempty"` Mute *Mute `json:"mute,omitempty"` Build *Build `json:"build,omitempty"` FirstFailed *TestOccurrence `json:"firstFailed,omitempty"` NextFixed *TestOccurrence `json:"nextFixed,omitempty"` Invocations *TestOccurrences `json:"invocations,omitempty"` Metadata *TestRunMetadata `json:"metadata,omitempty"` LogAnchor string `json:"logAnchor,omitempty"` }
Represents a relation between a test and the specific build.
type TestOccurrenceApiService ¶
type TestOccurrenceApiService service
func (*TestOccurrenceApiService) GetAllTestOccurrences ¶
func (a *TestOccurrenceApiService) GetAllTestOccurrences(ctx context.Context, localVarOptionals *GetAllTestOccurrencesOpts) (TestOccurrences, *http.Response, error)
func (*TestOccurrenceApiService) GetTestOccurrence ¶
func (a *TestOccurrenceApiService) GetTestOccurrence(ctx context.Context, testLocator string, localVarOptionals *GetTestOccurrenceOpts) (TestOccurrence, *http.Response, error)
type TestOccurrenceLocator ¶
type TestOccurrenceLocator struct { // Project (direct or indirect parent) locator. AffectedProject string `json:"affectedProject,omitempty"` Branch string `json:"branch,omitempty"` // Build locator. Build string `json:"build,omitempty"` // Build type locator. BuildType string `json:"buildType,omitempty"` // For paginated calls, how many entities to return per page. Count int32 `json:"count,omitempty"` // Is currently failing. CurrentlyFailing bool `json:"currentlyFailing,omitempty"` // Is currently investigated. CurrentlyInvestigated bool `json:"currentlyInvestigated,omitempty"` CurrentlyMuted string `json:"currentlyMuted,omitempty"` // Entity ID. Id int32 `json:"id,omitempty"` // Is ignored. Ignored bool `json:"ignored,omitempty"` IncludePersonal bool `json:"includePersonal,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` // Limit processing to the latest `<lookupLimit>` entities. LookupLimit int32 `json:"lookupLimit,omitempty"` // Is muted. Muted bool `json:"muted,omitempty"` Name string `json:"name,omitempty"` NewFailure string `json:"newFailure,omitempty"` // For paginated calls, from which entity to start rendering the page. Start int32 `json:"start,omitempty"` Status string `json:"status,omitempty"` // Test locator. Test string `json:"test,omitempty"` }
Represents a locator string for filtering TestOccurrence entities.
type TestOccurrences ¶
type TestOccurrences struct { Count int32 `json:"count,omitempty"` Href string `json:"href,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` TestOccurrence []TestOccurrence `json:"testOccurrence,omitempty"` TestCounters *TestCounters `json:"testCounters,omitempty"` Passed int32 `json:"passed,omitempty"` Muted int32 `json:"muted,omitempty"` Ignored int32 `json:"ignored,omitempty"` Failed int32 `json:"failed,omitempty"` NewFailed int32 `json:"newFailed,omitempty"` }
Represents a paginated list of TestOccurrence entities.
type TestRunMetadata ¶
type TestRunMetadata struct { Count int32 `json:"count,omitempty"` TypedValues []TypedValue `json:"typedValues,omitempty"` }
Represents a list of TypedValue entities.
type Tests ¶
type Tests struct { Count int32 `json:"count,omitempty"` MyTestCounters *TestCounters `json:"myTestCounters,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` }
Represents a paginated list of Test entities.
type Token ¶
type Token struct { Name string `json:"name,omitempty"` CreationTime time.Time `json:"creationTime,omitempty"` Value string `json:"value,omitempty"` ExpirationTime time.Time `json:"expirationTime,omitempty"` PermissionRestrictions *PermissionRestrictions `json:"permissionRestrictions,omitempty"` }
Represents an authentication token.
type Trigger ¶
type Trigger struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type_ string `json:"type,omitempty"` Disabled bool `json:"disabled,omitempty"` Inherited bool `json:"inherited,omitempty"` Href string `json:"href,omitempty"` Properties *Properties `json:"properties,omitempty"` BuildCustomization *BuildTriggerCustomization `json:"buildCustomization,omitempty"` }
Represents a build trigger.
type TriggeredBy ¶
type TriggeredBy struct { Type_ string `json:"type,omitempty"` Details string `json:"details,omitempty"` Date string `json:"date,omitempty"` DisplayText string `json:"displayText,omitempty"` RawValue string `json:"rawValue,omitempty"` User *User `json:"user,omitempty"` Build *Build `json:"build,omitempty"` BuildType *BuildType `json:"buildType,omitempty"` Properties *Properties `json:"properties,omitempty"` }
Represents the user/trigger/dependency which caused this build to start.
type Triggers ¶
type Triggers struct { Count int32 `json:"count,omitempty"` Trigger []Trigger `json:"trigger,omitempty"` }
Represents a list of Trigger entities.
type TypedValue ¶
type TypedValue struct { Name string `json:"name,omitempty"` Type_ string `json:"type,omitempty"` Value string `json:"value,omitempty"` }
Represents a name-value-type relation.
type UnmuteTestOpts ¶
type UpdateFeatureOpts ¶
type UpdateFeaturesOpts ¶
type User ¶
type User struct { Username string `json:"username,omitempty"` Name string `json:"name,omitempty"` Id int64 `json:"id,omitempty"` Email string `json:"email,omitempty"` LastLogin string `json:"lastLogin,omitempty"` Password string `json:"password,omitempty"` HasPassword bool `json:"hasPassword,omitempty"` Realm string `json:"realm,omitempty"` Href string `json:"href,omitempty"` Properties *Properties `json:"properties,omitempty"` Roles *Roles `json:"roles,omitempty"` Groups *Groups `json:"groups,omitempty"` Locator string `json:"locator,omitempty"` Avatars *UserAvatars `json:"avatars,omitempty"` Enabled2FA bool `json:"enabled2FA,omitempty"` }
Represents a user.
type UserApiService ¶
type UserApiService service
func (*UserApiService) AddRoleToUser ¶
func (a *UserApiService) AddRoleToUser(ctx context.Context, userLocator string, localVarOptionals *AddRoleToUserOpts) (Role, *http.Response, error)
func (*UserApiService) AddRoleToUserAtScope ¶
func (a *UserApiService) AddRoleToUserAtScope(ctx context.Context, userLocator string, roleId string, scope string) (Role, *http.Response, error)
UserApiService Add a role with the specific scope to the matching user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userLocator
- @param roleId
- @param scope
@return Role
func (*UserApiService) AddUser ¶
func (a *UserApiService) AddUser(ctx context.Context, localVarOptionals *AddUserOpts) (User, *http.Response, error)
func (*UserApiService) AddUserToken ¶
func (a *UserApiService) AddUserToken(ctx context.Context, userLocator string, localVarOptionals *AddUserTokenOpts) (Token, *http.Response, error)
func (*UserApiService) DeleteUser ¶
func (a *UserApiService) DeleteUser(ctx context.Context, userLocator string) (*http.Response, error)
UserApiService Delete user matching the locator.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userLocator
func (*UserApiService) DeleteUserField ¶
func (a *UserApiService) DeleteUserField(ctx context.Context, userLocator string, field string) (*http.Response, error)
UserApiService Remove a property of the matching user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userLocator
- @param field
func (*UserApiService) DeleteUserToken ¶
func (a *UserApiService) DeleteUserToken(ctx context.Context, userLocator string, name string) (*http.Response, error)
UserApiService Remove an authentication token from the matching user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userLocator
- @param name
func (*UserApiService) GetAllUserGroups ¶
func (a *UserApiService) GetAllUserGroups(ctx context.Context, userLocator string, localVarOptionals *GetAllUserGroupsOpts) (Groups, *http.Response, error)
func (*UserApiService) GetAllUserRoles ¶
func (a *UserApiService) GetAllUserRoles(ctx context.Context, userLocator string) (Roles, *http.Response, error)
UserApiService Get all user roles of the matching user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userLocator
@return Roles
func (*UserApiService) GetAllUsers ¶
func (a *UserApiService) GetAllUsers(ctx context.Context, localVarOptionals *GetAllUsersOpts) (Users, *http.Response, error)
func (*UserApiService) GetUser ¶
func (a *UserApiService) GetUser(ctx context.Context, userLocator string, localVarOptionals *GetUserOpts) (User, *http.Response, error)
func (*UserApiService) GetUserField ¶
func (a *UserApiService) GetUserField(ctx context.Context, userLocator string, field string) (string, *http.Response, error)
UserApiService Get a field of the matching user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userLocator
- @param field
@return string
func (*UserApiService) GetUserGroup ¶
func (a *UserApiService) GetUserGroup(ctx context.Context, userLocator string, groupLocator string, localVarOptionals *GetUserGroupOpts) (Group, *http.Response, error)
func (*UserApiService) GetUserPermissions ¶
func (a *UserApiService) GetUserPermissions(ctx context.Context, userLocator string, localVarOptionals *GetUserPermissionsOpts) (PermissionAssignments, *http.Response, error)
func (*UserApiService) GetUserProperties ¶
func (a *UserApiService) GetUserProperties(ctx context.Context, userLocator string, localVarOptionals *GetUserPropertiesOpts) (Properties, *http.Response, error)
func (*UserApiService) GetUserProperty ¶
func (a *UserApiService) GetUserProperty(ctx context.Context, userLocator string, name string) (string, *http.Response, error)
UserApiService Get a property of the matching user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userLocator
- @param name
@return string
func (*UserApiService) GetUserRolesAtScope ¶
func (a *UserApiService) GetUserRolesAtScope(ctx context.Context, userLocator string, roleId string, scope string) (Role, *http.Response, error)
UserApiService Get a user role with the specific scope from the matching user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userLocator
- @param roleId
- @param scope
@return Role
func (*UserApiService) GetUserTokens ¶
func (a *UserApiService) GetUserTokens(ctx context.Context, userLocator string, localVarOptionals *GetUserTokensOpts) (Tokens, *http.Response, error)
func (*UserApiService) RemoveUserFromGroup ¶
func (a *UserApiService) RemoveUserFromGroup(ctx context.Context, userLocator string, groupLocator string, localVarOptionals *RemoveUserFromGroupOpts) (*http.Response, error)
func (*UserApiService) RemoveUserProperty ¶
func (a *UserApiService) RemoveUserProperty(ctx context.Context, userLocator string, name string) (*http.Response, error)
UserApiService Remove a property of the matching user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userLocator
- @param name
func (*UserApiService) RemoveUserRememberMe ¶
func (a *UserApiService) RemoveUserRememberMe(ctx context.Context, userLocator string) (*http.Response, error)
UserApiService Remove the RememberMe data of the matching user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userLocator
func (*UserApiService) RemoveUserRoleAtScope ¶
func (a *UserApiService) RemoveUserRoleAtScope(ctx context.Context, userLocator string, roleId string, scope string) (*http.Response, error)
UserApiService Remove a role with the specific scope from the matching user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userLocator
- @param roleId
- @param scope
func (*UserApiService) ReplaceUser ¶
func (a *UserApiService) ReplaceUser(ctx context.Context, userLocator string, localVarOptionals *ReplaceUserOpts) (User, *http.Response, error)
func (*UserApiService) SetUserField ¶
func (a *UserApiService) SetUserField(ctx context.Context, userLocator string, field string, localVarOptionals *SetUserFieldOpts) (string, *http.Response, error)
func (*UserApiService) SetUserGroups ¶
func (a *UserApiService) SetUserGroups(ctx context.Context, userLocator string, localVarOptionals *SetUserGroupsOpts) (Groups, *http.Response, error)
func (*UserApiService) SetUserProperty ¶
func (a *UserApiService) SetUserProperty(ctx context.Context, userLocator string, name string, localVarOptionals *SetUserPropertyOpts) (string, *http.Response, error)
func (*UserApiService) SetUserRoles ¶
func (a *UserApiService) SetUserRoles(ctx context.Context, userLocator string, localVarOptionals *SetUserRolesOpts) (Roles, *http.Response, error)
type UserApprovalRule ¶
type UserApprovalRule struct { Approved bool `json:"approved,omitempty"` User *User `json:"user,omitempty"` }
Represents user approval rule and its current status for the given build.
type UserApprovals ¶
type UserApprovals struct { Count int32 `json:"count,omitempty"` UserApproval []UserApprovalRule `json:"userApproval,omitempty"` }
Represents a list of UserApprovalRule entities.
type UserAvatars ¶
type UserAvatars struct { UrlToSize20 string `json:"urlToSize20,omitempty"` UrlToSize28 string `json:"urlToSize28,omitempty"` UrlToSize32 string `json:"urlToSize32,omitempty"` UrlToSize40 string `json:"urlToSize40,omitempty"` UrlToSize56 string `json:"urlToSize56,omitempty"` UrlToSize64 string `json:"urlToSize64,omitempty"` UrlToSize80 string `json:"urlToSize80,omitempty"` }
Represents a group of links to the user's avatars
type UserGroupLocator ¶
type UserGroupLocator struct { // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` Key string `json:"key,omitempty"` Name string `json:"name,omitempty"` }
Represents a locator string for filtering Group entities.
type UserLocator ¶
type UserLocator struct { // User group (direct or indirect parent) locator. AffectedGroup string `json:"affectedGroup,omitempty"` // Return user that has issued this request. Current string `json:"current,omitempty"` Email string `json:"email,omitempty"` // User group (direct parent) locator. Group string `json:"group,omitempty"` Id string `json:"id,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` LastLogin time.Time `json:"lastLogin,omitempty"` Name string `json:"name,omitempty"` Property string `json:"property,omitempty"` // Role locator. Role string `json:"role,omitempty"` Username string `json:"username,omitempty"` }
Represents a locator string for filtering User entities.
type VcsCheckStatus ¶
type VcsCheckStatus struct { Status string `json:"status,omitempty"` RequestorType string `json:"requestorType,omitempty"` Timestamp string `json:"timestamp,omitempty"` }
Represents the last known repository check status.
type VcsLabel ¶
type VcsLabel struct { Text string `json:"text,omitempty"` FailureReason string `json:"failureReason,omitempty"` Status string `json:"status,omitempty"` BuildId int64 `json:"buildId,omitempty"` VcsRootInstance *VcsRootInstance `json:"vcs-root-instance,omitempty"` }
Represents a VCS-side label of this build's sources.
type VcsLabels ¶
type VcsLabels struct { Count int32 `json:"count,omitempty"` VcsLabel []VcsLabel `json:"vcsLabel,omitempty"` }
Represents a list of VcsLabel entities.
type VcsRoot ¶
type VcsRoot struct { Id string `json:"id,omitempty"` InternalId string `json:"internalId,omitempty"` Uuid string `json:"uuid,omitempty"` Name string `json:"name,omitempty"` VcsName string `json:"vcsName,omitempty"` ModificationCheckInterval int32 `json:"modificationCheckInterval,omitempty"` Href string `json:"href,omitempty"` Project *Project `json:"project,omitempty"` Properties *Properties `json:"properties,omitempty"` VcsRootInstances *VcsRootInstances `json:"vcsRootInstances,omitempty"` RepositoryIdStrings *Items `json:"repositoryIdStrings,omitempty"` ProjectLocator string `json:"projectLocator,omitempty"` Locator string `json:"locator,omitempty"` }
Represents a VCS root.
type VcsRootApiService ¶
type VcsRootApiService service
func (*VcsRootApiService) AddVcsRoot ¶
func (a *VcsRootApiService) AddVcsRoot(ctx context.Context, localVarOptionals *AddVcsRootOpts) (VcsRoot, *http.Response, error)
func (*VcsRootApiService) DeleteAllVcsRootProperties ¶
func (a *VcsRootApiService) DeleteAllVcsRootProperties(ctx context.Context, vcsRootLocator string) (*http.Response, error)
VcsRootApiService Delete all properties of the matching VCS root.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vcsRootLocator
func (*VcsRootApiService) DeleteVcsRoot ¶
func (a *VcsRootApiService) DeleteVcsRoot(ctx context.Context, vcsRootLocator string) (*http.Response, error)
VcsRootApiService Remove VCS root matching the locator.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vcsRootLocator
func (*VcsRootApiService) DeleteVcsRootProperty ¶
func (a *VcsRootApiService) DeleteVcsRootProperty(ctx context.Context, vcsRootLocator string, name string) (*http.Response, error)
VcsRootApiService Delete a property of the matching VCS root.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vcsRootLocator
- @param name
func (*VcsRootApiService) GetAllVcsRootProperties ¶
func (a *VcsRootApiService) GetAllVcsRootProperties(ctx context.Context, vcsRootLocator string, localVarOptionals *GetAllVcsRootPropertiesOpts) (Properties, *http.Response, error)
func (*VcsRootApiService) GetAllVcsRoots ¶
func (a *VcsRootApiService) GetAllVcsRoots(ctx context.Context, localVarOptionals *GetAllVcsRootsOpts) (VcsRoots, *http.Response, error)
func (*VcsRootApiService) GetRootEndpoints ¶
func (a *VcsRootApiService) GetRootEndpoints(ctx context.Context, vcsRootLocator string, localVarOptionals *GetRootEndpointsOpts) (VcsRoot, *http.Response, error)
func (*VcsRootApiService) GetVcsRootField ¶
func (a *VcsRootApiService) GetVcsRootField(ctx context.Context, vcsRootLocator string, field string) (string, *http.Response, error)
VcsRootApiService Get a field of the matching VCS root.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vcsRootLocator
- @param field
@return string
func (*VcsRootApiService) GetVcsRootInstances ¶
func (a *VcsRootApiService) GetVcsRootInstances(ctx context.Context, vcsRootLocator string, localVarOptionals *GetVcsRootInstancesOpts) (VcsRootInstances, *http.Response, error)
func (*VcsRootApiService) GetVcsRootProperty ¶
func (a *VcsRootApiService) GetVcsRootProperty(ctx context.Context, vcsRootLocator string, name string) (string, *http.Response, error)
VcsRootApiService Get a property on the matching VCS root.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vcsRootLocator
- @param name
@return string
func (*VcsRootApiService) GetVcsRootSettingsFile ¶
func (a *VcsRootApiService) GetVcsRootSettingsFile(ctx context.Context, vcsRootLocator string) (string, *http.Response, error)
VcsRootApiService Get the settings file of the matching VCS root.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vcsRootLocator
@return string
func (*VcsRootApiService) SetVcsRootField ¶
func (a *VcsRootApiService) SetVcsRootField(ctx context.Context, vcsRootLocator string, field string, localVarOptionals *SetVcsRootFieldOpts) (string, *http.Response, error)
func (*VcsRootApiService) SetVcsRootProperties ¶
func (a *VcsRootApiService) SetVcsRootProperties(ctx context.Context, vcsRootLocator string, localVarOptionals *SetVcsRootPropertiesOpts) (Properties, *http.Response, error)
func (*VcsRootApiService) SetVcsRootProperty ¶
func (a *VcsRootApiService) SetVcsRootProperty(ctx context.Context, vcsRootLocator string, name string, localVarOptionals *SetVcsRootPropertyOpts) (string, *http.Response, error)
type VcsRootEntries ¶
type VcsRootEntries struct { Count int32 `json:"count,omitempty"` VcsRootEntry []VcsRootEntry `json:"vcs-root-entry,omitempty"` }
Represents a list of VcsRootEntry entities.
type VcsRootEntry ¶
type VcsRootEntry struct { Id string `json:"id,omitempty"` Inherited bool `json:"inherited,omitempty"` VcsRoot *VcsRoot `json:"vcs-root,omitempty"` CheckoutRules string `json:"checkout-rules,omitempty"` }
Represents a VCS root assigned to this build configuration.
type VcsRootInstance ¶
type VcsRootInstance struct { Id string `json:"id,omitempty"` VcsRootId string `json:"vcs-root-id,omitempty"` VcsRootInternalId string `json:"vcsRootInternalId,omitempty"` Name string `json:"name,omitempty"` VcsName string `json:"vcsName,omitempty"` ModificationCheckInterval int32 `json:"modificationCheckInterval,omitempty"` CommitHookMode bool `json:"commitHookMode,omitempty"` LastVersion string `json:"lastVersion,omitempty"` LastVersionInternal string `json:"lastVersionInternal,omitempty"` Href string `json:"href,omitempty"` VcsRoot *VcsRoot `json:"vcs-root,omitempty"` Status *VcsStatus `json:"status,omitempty"` RepositoryState *RepositoryState `json:"repositoryState,omitempty"` Properties *Properties `json:"properties,omitempty"` RepositoryIdStrings *Items `json:"repositoryIdStrings,omitempty"` ProjectLocator string `json:"projectLocator,omitempty"` }
Represents a relation between a VCS root and unique settings set for this root.
type VcsRootInstanceApiService ¶
type VcsRootInstanceApiService service
func (*VcsRootInstanceApiService) DeleteVcsRootInstanceField ¶
func (a *VcsRootInstanceApiService) DeleteVcsRootInstanceField(ctx context.Context, vcsRootInstanceLocator string, field string) (*http.Response, error)
VcsRootInstanceApiService Remove a field of the matching VCS root instance.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vcsRootInstanceLocator
- @param field
func (*VcsRootInstanceApiService) DeleteVcsRootInstanceRepositoryState ¶
func (a *VcsRootInstanceApiService) DeleteVcsRootInstanceRepositoryState(ctx context.Context, vcsRootInstanceLocator string) (*http.Response, error)
VcsRootInstanceApiService Delete the last repository state of the matching VCS root instance.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vcsRootInstanceLocator
func (*VcsRootInstanceApiService) DownloadFile ¶
func (a *VcsRootInstanceApiService) DownloadFile(ctx context.Context, path string, vcsRootInstanceLocator string) (*http.Response, error)
VcsRootInstanceApiService Download specific file.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param path
- @param vcsRootInstanceLocator
func (*VcsRootInstanceApiService) GetAllVcsRootInstances ¶
func (a *VcsRootInstanceApiService) GetAllVcsRootInstances(ctx context.Context, localVarOptionals *GetAllVcsRootInstancesOpts) (VcsRootInstances, *http.Response, error)
func (*VcsRootInstanceApiService) GetFileMetadata ¶
func (*VcsRootInstanceApiService) GetFilesList ¶
func (a *VcsRootInstanceApiService) GetFilesList(ctx context.Context, vcsRootInstanceLocator string, localVarOptionals *GetFilesListOpts) (Files, *http.Response, error)
func (*VcsRootInstanceApiService) GetFilesListForSubpath ¶
func (a *VcsRootInstanceApiService) GetFilesListForSubpath(ctx context.Context, path string, vcsRootInstanceLocator string, localVarOptionals *GetFilesListForSubpathOpts) (Files, *http.Response, error)
func (*VcsRootInstanceApiService) GetVcsRootInstance ¶
func (a *VcsRootInstanceApiService) GetVcsRootInstance(ctx context.Context, vcsRootInstanceLocator string, localVarOptionals *GetVcsRootInstanceOpts) (VcsRootInstance, *http.Response, error)
func (*VcsRootInstanceApiService) GetVcsRootInstanceCreationDate ¶
func (a *VcsRootInstanceApiService) GetVcsRootInstanceCreationDate(ctx context.Context, vcsRootInstanceLocator string) (string, *http.Response, error)
VcsRootInstanceApiService Get the creation date of the matching VCS root instance.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vcsRootInstanceLocator
@return string
func (*VcsRootInstanceApiService) GetVcsRootInstanceField ¶
func (a *VcsRootInstanceApiService) GetVcsRootInstanceField(ctx context.Context, vcsRootInstanceLocator string, field string) (string, *http.Response, error)
VcsRootInstanceApiService Get a field of the matching VCS root instance.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vcsRootInstanceLocator
- @param field
@return string
func (*VcsRootInstanceApiService) GetVcsRootInstanceProperties ¶
func (a *VcsRootInstanceApiService) GetVcsRootInstanceProperties(ctx context.Context, vcsRootInstanceLocator string, localVarOptionals *GetVcsRootInstancePropertiesOpts) (Properties, *http.Response, error)
func (*VcsRootInstanceApiService) GetVcsRootInstanceRepositoryState ¶
func (a *VcsRootInstanceApiService) GetVcsRootInstanceRepositoryState(ctx context.Context, vcsRootInstanceLocator string, localVarOptionals *GetVcsRootInstanceRepositoryStateOpts) (Entries, *http.Response, error)
func (*VcsRootInstanceApiService) GetZippedFile ¶
func (a *VcsRootInstanceApiService) GetZippedFile(ctx context.Context, path string, vcsRootInstanceLocator string, localVarOptionals *GetZippedFileOpts) (*http.Response, error)
func (*VcsRootInstanceApiService) RequestPendingChangesCheck ¶
func (a *VcsRootInstanceApiService) RequestPendingChangesCheck(ctx context.Context, localVarOptionals *RequestPendingChangesCheckOpts) (VcsRootInstances, *http.Response, error)
func (*VcsRootInstanceApiService) SetVcsRootInstanceField ¶
func (a *VcsRootInstanceApiService) SetVcsRootInstanceField(ctx context.Context, vcsRootInstanceLocator string, field string, localVarOptionals *SetVcsRootInstanceFieldOpts) (string, *http.Response, error)
func (*VcsRootInstanceApiService) SetVcsRootInstanceRepositoryState ¶
func (a *VcsRootInstanceApiService) SetVcsRootInstanceRepositoryState(ctx context.Context, vcsRootInstanceLocator string, localVarOptionals *SetVcsRootInstanceRepositoryStateOpts) (Entries, *http.Response, error)
func (*VcsRootInstanceApiService) TriggerCommitHookNotification ¶
func (a *VcsRootInstanceApiService) TriggerCommitHookNotification(ctx context.Context, localVarOptionals *TriggerCommitHookNotificationOpts) (*http.Response, error)
type VcsRootInstanceLocator ¶
type VcsRootInstanceLocator struct { // Project (direct or indirect parent) locator. AffectedProject string `json:"affectedProject,omitempty"` // Build locator. Build string `json:"build,omitempty"` // Build type locator. BuildType string `json:"buildType,omitempty"` // For paginated calls, how many entities to return per page. Count int32 `json:"count,omitempty"` // Entity ID. Id int32 `json:"id,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` // Limit processing to the latest `<lookupLimit>` entities. LookupLimit int32 `json:"lookupLimit,omitempty"` // Project (direct parent) locator. Project string `json:"project,omitempty"` Property string `json:"property,omitempty"` // For paginated calls, from which entity to start rendering the page. Start int32 `json:"start,omitempty"` // Type of VCS (e.g. jetbrains.git). Type_ string `json:"type,omitempty"` // VCS root locator. VcsRoot string `json:"vcsRoot,omitempty"` // Is used for versioned settings. VersionedSettings bool `json:"versionedSettings,omitempty"` }
Represents a locator string for filtering VcsRootInstance entities.
type VcsRootInstances ¶
type VcsRootInstances struct { Count int32 `json:"count,omitempty"` Href string `json:"href,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` VcsRootInstance []VcsRootInstance `json:"vcs-root-instance,omitempty"` }
Represents a paginated list of VcsRootInstance entities.
type VcsRootLocator ¶
type VcsRootLocator struct { // Project (direct or indirect parent) locator. AffectedProject string `json:"affectedProject,omitempty"` // For paginated calls, how many entities to return per page. Count int32 `json:"count,omitempty"` // Entity ID. Id int32 `json:"id,omitempty"` InternalId string `json:"internalId,omitempty"` // Supply multiple locators and return a union of the results. Item string `json:"item,omitempty"` // Limit processing to the latest `<lookupLimit>` entities. LookupLimit int32 `json:"lookupLimit,omitempty"` Name string `json:"name,omitempty"` // Project (direct parent) locator. Project string `json:"project,omitempty"` Property string `json:"property,omitempty"` // For paginated calls, from which entity to start rendering the page. Start int32 `json:"start,omitempty"` // Type of VCS (e.g. jetbrains.git). Type_ string `json:"type,omitempty"` Uuid string `json:"uuid,omitempty"` }
Represents a locator string for filtering VcsRoot entities.
type VcsRoots ¶
type VcsRoots struct { Count int32 `json:"count,omitempty"` Href string `json:"href,omitempty"` NextHref string `json:"nextHref,omitempty"` PrevHref string `json:"prevHref,omitempty"` VcsRoot []VcsRoot `json:"vcs-root,omitempty"` }
Represents a paginated list of VcsRoot entities.
type VcsStatus ¶
type VcsStatus struct { Current *VcsCheckStatus `json:"current,omitempty"` Previous *VcsCheckStatus `json:"previous,omitempty"` }
Represents links to the last or previous VCS root check.
Source Files ¶
- api_agent.go
- api_agent_pool.go
- api_audit.go
- api_avatar.go
- api_build.go
- api_build_queue.go
- api_build_type.go
- api_change.go
- api_cloud_instance.go
- api_group.go
- api_health.go
- api_investigation.go
- api_mute.go
- api_node.go
- api_problem.go
- api_problem_occurrence.go
- api_project.go
- api_root.go
- api_server.go
- api_test_occurrence.go
- api_user.go
- api_vcs_root.go
- api_vcs_root_instance.go
- client.go
- configuration.go
- model_agent.go
- model_agent_locator.go
- model_agent_pool.go
- model_agent_pool_locator.go
- model_agent_pools.go
- model_agent_requirement.go
- model_agent_requirements.go
- model_agents.go
- model_approval_info.go
- model_artifact_dependencies.go
- model_artifact_dependency.go
- model_artifact_download_info.go
- model_audit_action.go
- model_audit_event.go
- model_audit_events.go
- model_audit_locator.go
- model_authorized_info.go
- model_branch.go
- model_branch_locator.go
- model_branch_version.go
- model_branches.go
- model_build.go
- model_build_cancel_request.go
- model_build_change.go
- model_build_changes.go
- model_build_locator.go
- model_build_queue_locator.go
- model_build_status_update.go
- model_build_trigger_customization.go
- model_build_triggering_options.go
- model_build_type.go
- model_build_type_locator.go
- model_build_types.go
- model_builds.go
- model_change.go
- model_change_locator.go
- model_change_status.go
- model_changes.go
- model_cloud_image.go
- model_cloud_image_locator.go
- model_cloud_images.go
- model_cloud_instance.go
- model_cloud_instance_locator.go
- model_cloud_instances.go
- model_cloud_profile.go
- model_cloud_profile_locator.go
- model_cloud_profiles.go
- model_comment.go
- model_commiter.go
- model_compatibilities.go
- model_compatibility.go
- model_compatibility_policy.go
- model_customizations.go
- model_datas.go
- model_disabled_responsibilities.go
- model_download_info.go
- model_downloaded_artifacts.go
- model_effective_responsibilities.go
- model_enabled_info.go
- model_enabled_responsibilities.go
- model_entries.go
- model_entry.go
- model_environment.go
- model_feature.go
- model_features.go
- model_file.go
- model_file_change.go
- model_file_changes.go
- model_files.go
- model_group.go
- model_group_approval_rule.go
- model_group_approvals.go
- model_groups.go
- model_health_categories.go
- model_health_category.go
- model_health_item.go
- model_health_status_items.go
- model_href.go
- model_investigation.go
- model_investigation_locator.go
- model_investigations.go
- model_issue.go
- model_issue_usage.go
- model_issues.go
- model_issues_usages.go
- model_items.go
- model_license_key.go
- model_license_keys.go
- model_licensing_data.go
- model_link.go
- model_links.go
- model_meta_data.go
- model_metric.go
- model_metric_tag.go
- model_metric_tags.go
- model_metric_value.go
- model_metric_values.go
- model_metrics.go
- model_multiple_operation_result.go
- model_mute.go
- model_mute_locator.go
- model_mutes.go
- model_new_build_type_description.go
- model_new_project_description.go
- model_node.go
- model_nodes.go
- model_operation_result.go
- model_parsed_test_name.go
- model_permission.go
- model_permission_assignment.go
- model_permission_assignments.go
- model_permission_restriction.go
- model_permission_restrictions.go
- model_pin_info.go
- model_plugin.go
- model_plugins.go
- model_problem.go
- model_problem_locator.go
- model_problem_occurrence.go
- model_problem_occurrence_locator.go
- model_problem_occurrences.go
- model_problem_scope.go
- model_problem_target.go
- model_problems.go
- model_progress_info.go
- model_project.go
- model_project_feature.go
- model_project_features.go
- model_project_locator.go
- model_projects.go
- model_properties.go
- model_property.go
- model_related.go
- model_related_entities.go
- model_related_entity.go
- model_repository_state.go
- model_requirements.go
- model_resolution.go
- model_responsibility.go
- model_revision.go
- model_revisions.go
- model_role.go
- model_roles.go
- model_server.go
- model_snapshot_dependencies.go
- model_snapshot_dependency.go
- model_snapshot_dependency_link.go
- model_state_field.go
- model_step.go
- model_steps.go
- model_tag.go
- model_tag_locator.go
- model_tags.go
- model_team_city_node_locator.go
- model_test_counters.go
- model_test_locator.go
- model_test_occurrence.go
- model_test_occurrence_locator.go
- model_test_occurrences.go
- model_test_run_metadata.go
- model_tests.go
- model_token.go
- model_tokens.go
- model_trigger.go
- model_triggered_by.go
- model_triggers.go
- model_type.go
- model_typed_value.go
- model_user.go
- model_user_approval_rule.go
- model_user_approvals.go
- model_user_avatars.go
- model_user_group_locator.go
- model_user_locator.go
- model_users.go
- model_vcs_check_status.go
- model_vcs_label.go
- model_vcs_labels.go
- model_vcs_root.go
- model_vcs_root_entries.go
- model_vcs_root_entry.go
- model_vcs_root_instance.go
- model_vcs_root_instance_locator.go
- model_vcs_root_instances.go
- model_vcs_root_locator.go
- model_vcs_roots.go
- model_vcs_status.go
- response.go