Documentation ¶
Overview ¶
Package api provides http handlers for the API.
Index ¶
Constants ¶
View Source
const ( GithubAPIURL = "https://api.github.com" GithubHTTPURL = "https://github.com" )
Variables ¶
This section is empty.
Functions ¶
func Error ¶
func Error(w http.ResponseWriter, err error)
Error writes an HTTP response with a JSON-API encoded error.
Types ¶
type Options ¶
type Options struct { run.RunService organization.OrganizationService state.StateService workspace.WorkspaceService configversion.ConfigurationVersionService auth.AuthService auth.TeamService tokens.TokensService variable.VariableService notifications.NotificationService vcsprovider.VCSProviderService *surl.Signer MaxConfigSize int64 }
Source Files ¶
- api.go
- configuration_version.go
- configuration_version_marshaler.go
- errors.go
- marshaler.go
- notification_configuration.go
- notification_configuration_marshaler.go
- oauth_client.go
- oauth_client_marshaler.go
- organization.go
- organization_marshaler.go
- organization_membership.go
- run.go
- run_marshaler.go
- state.go
- state_marshaler.go
- tag.go
- tag_marshaler.go
- team.go
- team_marshaler.go
- team_membership.go
- test_helpers.go
- tokens.go
- user.go
- user_marshaler.go
- variable.go
- variable_marshaler.go
- workspace.go
- workspace_marshaler.go
Click to show internal directories.
Click to hide internal directories.