Documentation ¶
Index ¶
- type BasicResponse
- type Client
- func (client *Client) CreateOrganizationRepository(organizationID string, url string) (*Repository, error)
- func (client *Client) DeleteOrganizationRepository(repositoryID string) error
- func (client *Client) GetOrganization(organizationName string) (*Organization, error)
- func (client *Client) GetRepository(repositorySlug string) (*Repository, error)
- func (client *Client) GetRepositoryById(repositoryId string) (*Repository, error)
- type Organization
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicResponse ¶
type BasicResponse struct { ID string `json:"id"` Attributes struct { TestReporterID string `json:"test_reporter_id"` GithubSlug string `json:"github_slug"` VCSHost string `json:"vcs_host"` HumanName string `json:"human_name"` Branch string `json:"branch"` } `json:"attributes"` Links struct { Self string `json:"self"` Services string `json:"services"` WebCoverage string `json:"web_coverage"` WebIssues string `json:"web_issues"` MaintainabilityBadge string `json:"maintainability_badge"` TestCoverageBadge string `json:"test_coverage_badge"` } `json:"links"` Relationships struct { Account struct { Data struct { ID string `json:"id"` } `json:"data"` } `json:"account"` } `json:"relationships"` }
type Client ¶
func (*Client) CreateOrganizationRepository ¶
func (client *Client) CreateOrganizationRepository(organizationID string, url string) (*Repository, error)
func (*Client) DeleteOrganizationRepository ¶
func (*Client) GetOrganization ¶
func (client *Client) GetOrganization(organizationName string) (*Organization, error)
func (*Client) GetRepository ¶
func (client *Client) GetRepository(repositorySlug string) (*Repository, error)
func (*Client) GetRepositoryById ¶
func (client *Client) GetRepositoryById(repositoryId string) (*Repository, error)
type Organization ¶
type Repository ¶
type Repository struct { Id string TestReporterId string GithubSlug string Organization string RepositoryURL string HumanName string Branch string Attributes string LinkServices string LinkSelf string LinkWebCoverage string LinkWebIssues string LinkMaintainabilityBadge string LinkTestCoverageBadge string }
Click to show internal directories.
Click to hide internal directories.