Documentation ¶
Index ¶
Constants ¶
View Source
const (
PubsubEventLicenses = "licenses"
)
Variables ¶
Functions ¶
func NewEnforcer ¶ added in v0.9.2
func NewEnforcer(userWorkspaceLimit int) workspacequota.Enforcer
Types ¶
type API ¶ added in v0.9.0
func New ¶ added in v0.9.0
New constructs an Enterprise coderd API instance. This handler is designed to wrap the AGPL Coder code and layer Enterprise functionality on top as much as possible.
type SCIMUser ¶ added in v0.9.0
type SCIMUser struct { Schemas []string `json:"schemas"` ID string `json:"id"` UserName string `json:"userName"` Name struct { GivenName string `json:"givenName"` FamilyName string `json:"familyName"` } `json:"name"` Emails []struct { Primary bool `json:"primary"` Value string `json:"value"` Type string `json:"type"` Display string `json:"display"` } `json:"emails"` Active bool `json:"active"` Groups []interface{} `json:"groups"` Meta struct { ResourceType string `json:"resourceType"` } `json:"meta"` }
We currently use our own struct instead of using the SCIM package. This was done mostly because the SCIM package was almost impossible to use. We only need these fields, so it was much simpler to use our own struct. This was tested only with Okta.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.