Versions in this module Expand all Collapse all v0 v0.0.1 Jan 21, 2020 Changes in this version + func ValidateID(v interface{}, k string) (ws []string, errors []error) + func ValidateVcsRootID(v interface{}, k string) (ws []string, errors []error) + type Client struct + HTTPClient *http.Client + func New(host, username, password string, version string) *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