Versions in this module Expand all Collapse all v1 v1.1.0 Feb 17, 2018 Changes in this version + func Bool(v bool) *bool type CreateOrganizationParams + AgreeTerms *bool v1.0.0 Dec 7, 2017 Changes in this version + const APIVersion + const DefaultBaseURL + type APIError map[string]interface + func (e APIError) Empty() bool + func (e APIError) Error() string + type Client struct + Organizations *OrganizationService + ProjectKeys *ProjectKeyService + ProjectPlugins *ProjectPluginService + Projects *ProjectService + Teams *TeamService + func NewClient(httpClient *http.Client, baseURL *url.URL, token string) *Client + type CreateOrganizationParams struct + Name string + Slug string + type CreateProjectKeyParams struct + Name string + type CreateProjectParams struct + Name string + Slug string + type CreateTeamParams struct + Name string + Slug string + type ListOrganizationParams struct + Cursor string + type Organization struct + Access []string + AccountRateLimit int + AllowSharedIssues bool + AvailableRoles []OrganizationAvailableRole + Avatar OrganizationAvatar + DataScrubber bool + DataScrubberDefaults bool + DateCreated time.Time + DefaultRole string + EnhancedPrivacy bool + Features []string + ID string + IsDefault bool + IsEarlyAdopter bool + Name string + OpenMembership bool + PendingAccessRequests int + ProjectRateLimit int + Quota OrganizationQuota + SafeFields []string + ScrubIPAddresses bool + SensitiveFields []string + Slug string + type OrganizationAvailableRole struct + ID string + Name string + type OrganizationAvatar struct + Type string + UUID *string + type OrganizationQuota struct + AccountLimit int + MaxRate int + MaxRateInterval int + ProjectLimit int + type OrganizationService struct + func (s *OrganizationService) Create(params *CreateOrganizationParams) (*Organization, *http.Response, error) + func (s *OrganizationService) Delete(slug string) (*http.Response, error) + func (s *OrganizationService) Get(slug string) (*Organization, *http.Response, error) + func (s *OrganizationService) List(params *ListOrganizationParams) ([]Organization, *http.Response, error) + func (s *OrganizationService) Update(slug string, params *UpdateOrganizationParams) (*Organization, *http.Response, error) + type Project struct + CallSign string + Color string + DateCreated time.Time + DigestsMaxDelay int + DigestsMinDelay int + Features []string + FirstEvent time.Time + ID string + IsBookmarked bool + IsPublic bool + Name string + Options map[string]interface{} + Organization Organization + ProcessingIssues int + Slug string + Status string + SubjectPrefix string + SubjectTemplate string + Team Team + type ProjectKey struct + DSN ProjectKeyDSN + DateCreated time.Time + ID string + IsActive bool + Name string + ProjectID int + Public string + RateLimit *ProjectKeyRateLimit + Secret string + type ProjectKeyDSN struct + CSP string + Public string + Secret string + type ProjectKeyRateLimit struct + Count int + Window int + type ProjectKeyService struct + func (s *ProjectKeyService) Create(organizationSlug string, projectSlug string, params *CreateProjectKeyParams) (*ProjectKey, *http.Response, error) + func (s *ProjectKeyService) Delete(organizationSlug string, projectSlug string, keyID string) (*http.Response, error) + func (s *ProjectKeyService) List(organizationSlug string, projectSlug string) ([]ProjectKey, *http.Response, error) + func (s *ProjectKeyService) Update(organizationSlug string, projectSlug string, keyID string, ...) (*ProjectKey, *http.Response, error) + type ProjectPlugin struct + Assets []ProjectPluginAsset + CanDisable bool + Config []ProjectPluginConfig + Contexts []string + Doc string + ID string + IsTestable bool + Metadata map[string]interface{} + Name string + Status string + Type string + type ProjectPluginAsset struct + URL string + type ProjectPluginConfig struct + Choices json.RawMessage + DefaultValue interface{} + Help string + Label string + Name string + Placeholder string + ReadOnly bool + Required bool + Type string + Value interface{} + type ProjectPluginService struct + func (s *ProjectPluginService) Disable(organizationSlug string, projectSlug string, id string) (*http.Response, error) + func (s *ProjectPluginService) Enable(organizationSlug string, projectSlug string, id string) (*http.Response, error) + func (s *ProjectPluginService) Get(organizationSlug string, projectSlug string, id string) (*ProjectPlugin, *http.Response, error) + func (s *ProjectPluginService) List(organizationSlug string, projectSlug string) ([]ProjectPlugin, *http.Response, error) + func (s *ProjectPluginService) Update(organizationSlug string, projectSlug string, id string, ...) (*ProjectPlugin, *http.Response, error) + type ProjectService struct + func (s *ProjectService) Create(organizationSlug string, teamSlug string, params *CreateProjectParams) (*Project, *http.Response, error) + func (s *ProjectService) Delete(organizationSlug string, slug string) (*http.Response, error) + func (s *ProjectService) Get(organizationSlug string, slug string) (*Project, *http.Response, error) + func (s *ProjectService) List() ([]Project, *http.Response, error) + func (s *ProjectService) Update(organizationSlug string, slug string, params *UpdateProjectParams) (*Project, *http.Response, error) + type Team struct + DateCreated time.Time + HasAccess bool + ID string + IsMember bool + IsPending bool + Name string + Slug string + type TeamService struct + func (s *TeamService) Create(organizationSlug string, params *CreateTeamParams) (*Team, *http.Response, error) + func (s *TeamService) Delete(organizationSlug string, slug string) (*http.Response, error) + func (s *TeamService) Get(organizationSlug string, slug string) (*Team, *http.Response, error) + func (s *TeamService) List(organizationSlug string) ([]Team, *http.Response, error) + func (s *TeamService) Update(organizationSlug string, slug string, params *UpdateTeamParams) (*Team, *http.Response, error) + type UpdateOrganizationParams struct + Name string + Slug string + type UpdateProjectKeyParams struct + Name string + type UpdateProjectParams struct + DigestsMaxDelay *int + DigestsMinDelay *int + IsBookmarked *bool + Name string + Options map[string]interface{} + Slug string + type UpdateProjectPluginParams map[string]interface + type UpdateTeamParams struct + Name string + Slug string