Documentation ¶
Index ¶
- func ValidateID(v interface{}, k string) (ws []string, errors []error)
- func ValidateVcsRootID(v interface{}, k string) (ws []string, errors []error)
- type Client
- func (c *Client) AttachBuildConfigurationVcsRoot(buildConfID string, vcsRoot *types.VcsRootEntry) error
- func (c *Client) CancelBuild(buildID int64, comment string) error
- func (c *Client) CreateAgentPoolProjectAttachment(pool int, apa *types.AgentPoolAttachment) error
- func (c *Client) CreateBuildConfiguration(buildConfig *types.BuildConfiguration) error
- func (c *Client) CreateProject(project *types.Project) error
- func (c *Client) CreateVcsRoot(vcs *types.VcsRoot) error
- func (c *Client) DeleteAgentPoolProjectAttachement(pool int, project string) error
- func (c *Client) DeleteBuildConfiguration(buildConfID string) error
- func (c *Client) DeleteBuildConfigurationParameter(buildConfID, name string) error
- func (c *Client) DeleteBuildConfigurationSetting(buildConfID, name string) error
- func (c *Client) DeleteProject(projectID string) error
- func (c *Client) DeleteProjectParameter(projectID, name string) error
- func (c *Client) DeleteVcsRoot(VcsRootId string) error
- func (c *Client) DetachBuildConfigurationVcsRoot(buildConfID string, vcsRootID string) error
- func (c *Client) GetAgentPoolById(pool int) (*types.AgentPools, error)
- func (c *Client) GetAgentPoolByName(pool string) (*types.AgentPools, error)
- func (c *Client) GetBuild(buildID string) (*types.Build, error)
- func (c *Client) GetBuildConfiguration(buildConfID string) (*types.BuildConfiguration, error)
- func (c *Client) GetBuildID(buildTypeID, branchName, buildNumber string) (string, error)
- func (c *Client) GetBuildLog(buildID string) (string, error)
- func (c *Client) GetBuildProperties(buildID string) (types.Properties, error)
- func (c *Client) GetChanges(path string) ([]types.Change, error)
- func (c *Client) GetProblems(path string, count int64) ([]types.ProblemOccurrence, error)
- func (c *Client) GetProject(projectID string) (*types.Project, error)
- func (c *Client) GetTests(path string, count int64, failingOnly bool, ignoreMuted bool) ([]types.TestOccurrence, error)
- func (c *Client) GetVcsRoot(VcsRootId string) (*types.VcsRoot, error)
- func (c *Client) QueueBuild(buildTypeID string, branchName string, properties types.Properties) (*types.Build, error)
- func (c *Client) ReplaceAllBuildConfigurationAgentRequirements(buildConfID string, agentRequirements *types.BuildAgentRequirements) error
- func (c *Client) ReplaceAllBuildConfigurationArtifactDependencies(buildConfID string, artifactDependencies *types.BuildArtifactDependencies) error
- func (c *Client) ReplaceAllBuildConfigurationFeatures(buildConfID string, features *types.BuildFeatures) error
- func (c *Client) ReplaceAllBuildConfigurationParameters(buildConfID string, parameters *types.Parameters) error
- func (c *Client) ReplaceAllBuildConfigurationSnapshotDependencies(buildConfID string, snapshotDependencies *types.BuildSnapshotDependencies) error
- func (c *Client) ReplaceAllBuildConfigurationSteps(buildConfID string, steps *types.BuildSteps) error
- func (c *Client) ReplaceAllBuildConfigurationTriggers(buildConfID string, triggers *types.BuildTriggers) error
- func (c *Client) ReplaceAllProjectParameters(projectID string, parameters *types.Parameters) error
- func (c *Client) ReplaceAllVcsRootProperties(VcsRootId string, properties *types.Properties) error
- func (c *Client) ReplaceBuildConfigurationField(buildConfID, name string, value string) error
- func (c *Client) ReplaceBuildConfigurationParameter(buildConfID, name string, parameter *types.Parameter) error
- func (c *Client) ReplaceBuildConfigurationParameterValue(buildConfID, name string, value string) error
- func (c *Client) ReplaceBuildConfigurationSetting(buildConfID, name string, value string) error
- func (c *Client) ReplaceProjectParameter(projectID, name string, parameter *types.Parameter) error
- func (c *Client) SearchBuild(locator string) ([]*types.Build, error)
- func (c *Client) Server() (*types.Server, error)
- func (c *Client) SetBuildConfigurationDescription(buildConfID, description string) error
- func (c *Client) SetBuildConfigurationPaused(buildConfID, state bool) error
- func (c *Client) SetBuildConfigurationTemplate(buildConfID, templateID string) error
- func (c *Client) SetProjectDescription(projectID, description string) error
- func (c *Client) SetProjectField(projectID, field string, content string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateID ¶
func ValidateVcsRootID ¶
Types ¶
type Client ¶
Client to access a TeamCity API
func (*Client) AttachBuildConfigurationVcsRoot ¶
func (c *Client) AttachBuildConfigurationVcsRoot(buildConfID string, vcsRoot *types.VcsRootEntry) error
func (*Client) CreateAgentPoolProjectAttachment ¶
func (c *Client) CreateAgentPoolProjectAttachment(pool int, apa *types.AgentPoolAttachment) error
func (*Client) CreateBuildConfiguration ¶
func (c *Client) CreateBuildConfiguration(buildConfig *types.BuildConfiguration) error
func (*Client) DeleteAgentPoolProjectAttachement ¶
func (*Client) DeleteBuildConfiguration ¶
func (*Client) DeleteBuildConfigurationParameter ¶
func (*Client) DeleteBuildConfigurationSetting ¶
func (*Client) DeleteProject ¶
func (*Client) DeleteProjectParameter ¶
func (*Client) DeleteVcsRoot ¶
func (*Client) DetachBuildConfigurationVcsRoot ¶
func (*Client) GetAgentPoolById ¶
func (c *Client) GetAgentPoolById(pool int) (*types.AgentPools, error)
func (*Client) GetAgentPoolByName ¶
func (c *Client) GetAgentPoolByName(pool string) (*types.AgentPools, error)
func (*Client) GetBuildConfiguration ¶
func (c *Client) GetBuildConfiguration(buildConfID string) (*types.BuildConfiguration, error)
func (*Client) GetBuildID ¶
func (*Client) GetBuildProperties ¶
func (c *Client) GetBuildProperties(buildID string) (types.Properties, error)
func (*Client) GetProblems ¶
func (*Client) QueueBuild ¶
func (*Client) ReplaceAllBuildConfigurationAgentRequirements ¶
func (c *Client) ReplaceAllBuildConfigurationAgentRequirements(buildConfID string, agentRequirements *types.BuildAgentRequirements) error
func (*Client) ReplaceAllBuildConfigurationArtifactDependencies ¶
func (c *Client) ReplaceAllBuildConfigurationArtifactDependencies(buildConfID string, artifactDependencies *types.BuildArtifactDependencies) error
func (*Client) ReplaceAllBuildConfigurationFeatures ¶
func (c *Client) ReplaceAllBuildConfigurationFeatures(buildConfID string, features *types.BuildFeatures) error
func (*Client) ReplaceAllBuildConfigurationParameters ¶
func (c *Client) ReplaceAllBuildConfigurationParameters(buildConfID string, parameters *types.Parameters) error
func (*Client) ReplaceAllBuildConfigurationSnapshotDependencies ¶
func (c *Client) ReplaceAllBuildConfigurationSnapshotDependencies(buildConfID string, snapshotDependencies *types.BuildSnapshotDependencies) error
func (*Client) ReplaceAllBuildConfigurationSteps ¶
func (c *Client) ReplaceAllBuildConfigurationSteps(buildConfID string, steps *types.BuildSteps) error
func (*Client) ReplaceAllBuildConfigurationTriggers ¶
func (c *Client) ReplaceAllBuildConfigurationTriggers(buildConfID string, triggers *types.BuildTriggers) error
func (*Client) ReplaceAllProjectParameters ¶
func (c *Client) ReplaceAllProjectParameters(projectID string, parameters *types.Parameters) error
func (*Client) ReplaceAllVcsRootProperties ¶
func (c *Client) ReplaceAllVcsRootProperties(VcsRootId string, properties *types.Properties) error
func (*Client) ReplaceBuildConfigurationField ¶
func (*Client) ReplaceBuildConfigurationParameter ¶
func (*Client) ReplaceBuildConfigurationParameterValue ¶
func (*Client) ReplaceBuildConfigurationSetting ¶
func (*Client) ReplaceProjectParameter ¶
func (*Client) SetBuildConfigurationDescription ¶
func (*Client) SetBuildConfigurationPaused ¶
func (*Client) SetBuildConfigurationTemplate ¶
func (*Client) SetProjectDescription ¶
Source Files ¶
- agent_pool_get.go
- agent_pool_project_attachment_create.go
- agent_pool_project_attachment_delete.go
- build_configuration_attach_vcs_root.go
- build_configuration_create.go
- build_configuration_delete.go
- build_configuration_delete_parameter.go
- build_configuration_delete_setting.go
- build_configuration_detach_vcs_root.go
- build_configuration_get.go
- build_configuration_replace_all_agent_requirements.go
- build_configuration_replace_all_artifact_dependency.go
- build_configuration_replace_all_feature.go
- build_configuration_replace_all_parameters.go
- build_configuration_replace_all_snapshot_dependency.go
- build_configuration_replace_all_steps.go
- build_configuration_replace_all_trigger.go
- build_configuration_replace_field.go
- build_configuration_replace_parameter.go
- build_configuration_replace_parameter_value.go
- build_configuration_replace_setting.go
- build_configuration_set_description.go
- build_configuration_set_paused.go
- build_configuration_set_template.go
- client.go
- project_create.go
- project_delete.go
- project_delete_parameter.go
- project_get.go
- project_replace_all_parameters.go
- project_replace_parameter.go
- project_set_description.go
- project_set_field.go
- validators.go
- vcs_root_create.go
- vcs_root_delete.go
- vcs_root_get.go
- vcs_root_replace_all_properties.go
Click to show internal directories.
Click to hide internal directories.