Documentation ¶
Overview ¶
Package api provides http handlers for the API.
Index ¶
Constants ¶
This section is empty.
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 orgcreator.OrganizationCreatorService state.StateService workspace.WorkspaceService configversion.ConfigurationVersionService auth.AuthService tokens.TokensService variable.VariableService notifications.NotificationService *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
- organization.go
- organization_marshaler.go
- organization_membership.go
- pagination.go
- run.go
- run_marshaler.go
- state.go
- state_marshaler.go
- tag.go
- tag_marshaler.go
- team.go
- team_marshaler.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.