Versions in this module Expand all Collapse all v0 v0.0.1 Sep 5, 2023 Changes in this version + const BuildResultQueryViewBinaryList + const BuildResultQueryViewStatus + const BuildResultQueryViewSummary + type About struct + Commit string + Description string + LastDeployment string + Revision string + Title string + type BuildBinary struct + FileName string + MTime string + Size string + type BuildBinaryList struct + Binary []BuildBinary + Package string + type BuildDimension struct + Unit string + Value string + func (b BuildDimension) String() string + type BuildInfo struct + Arch string + BinaryDependencies []struct{ ... } + DownloadUrl string + Package string + Project string + Release string + Repository string + Rev int + Specfile string + SrcMD5 string + SubPackages []string + VerifyMD5 string + VersRel string + type BuildJobStatus struct + Code string + HostArch string + JobId string + LastDuration string + StartTime string + Uri string + type BuildReason struct + Explain string + OldSource string + Time string + type BuildResult struct + Arch string + BinaryList []BuildBinaryList + Code string + Project string + Repository string + State string + Status []BuildStatus + Summary BuildSummary + type BuildResultList struct + Results []BuildResult + State string + type BuildResultQuery struct + Arch string + LastBuild bool + LocalLink bool + MultiBuild bool + Package string + Repository string + View string + type BuildStatistics struct + Disk struct{ ... } + Download struct{ ... } + Memory struct{ ... } + Times struct{ ... } + type BuildStatus struct + Code string + Details string + Package string + type BuildSummary struct + StatusCount []struct{ ... } + type Client struct + func NewClient(host string, username string, password string) *Client + func (c *Client) GetAbout() (about About, err error) + func (c *Client) GetArchitectures(proj string, repo string) ([]string, error) + func (c *Client) GetBuild(proj string) ([]string, error) + func (c *Client) GetBuildInfo(proj, repo, arch, pkg string) (*BuildInfo, error) + func (c *Client) GetBuildResult(proj string, q BuildResultQuery) (*BuildResultList, error) + func (c *Client) GetBuildStatistics(proj, repo, arch, pkg string) (*BuildStatistics, error) + func (c *Client) GetPackageBinaries(proj, repo, arch, pkg string) (*BuildBinaryList, error) + func (c *Client) GetPackageBuildLog(proj, repo, arch, pkg string) (*string, error) + func (c *Client) GetPackageBuildReason(proj, repo, arch, pkg string) (*BuildReason, error) + func (c *Client) GetPackageBuildStatus(proj, repo, arch, pkg string) (*BuildStatus, error) + func (c *Client) GetPackageJobStatus(proj, repo, arch, pkg string) (*BuildJobStatus, error) + func (c *Client) GetPackages(proj string) ([]string, error) + func (c *Client) GetRaw(url string) (io.ReadCloser, error) + func (c *Client) GetRequest(id string) (*Request, error) + func (c *Client) GetRequestCollection(q RequestCollectionQuery) (*RequestCollection, error) + func (c *Client) GetRequests() ([]string, error) + func (c *Client) GetSourceFile(project string, pkg string, file string) ([]byte, error) + type Directory struct + Count int16 + Entries []Entry + func (dir Directory) GetEntryNames() (names []string) + type Entry struct + Name string + type Issue struct + Change string + CreatedAt string + Label string + Name string + Owner IssueOwner + State string + Summary string + Tracker string + UpdatedAt string + Url string + type IssueOwner struct + Email string + Login string + RealName string + type Package struct + Issues []Issue + Name string + Project string + type PackageRef struct + Package string + Project string + Rev string + type Request struct + Action []RequestAction + Creator string + Description string + History []RequestHistory + Id string + Review []Review + State RequestState + type RequestAction struct + Source PackageRef + Target PackageRef + Type string + type RequestCollection struct + Matches int + Requests []Request + type RequestCollectionQuery struct + Ids []string + Limit int + Offset int + Package string + Project string + Roles []string + States []string + Types []string + User string + WithFullHistory bool + WithHistory bool + type RequestHistory struct + Comment string + Description string + When string + Who string + type RequestState struct + Comment string + Name string + When string + Who string + type Review struct + ByUser string + State string + When string + Who string