Documentation ¶
Index ¶
- Constants
- Variables
- type API
- type EnterpriseTemplateScheduleStore
- func (*EnterpriseTemplateScheduleStore) GetTemplateScheduleOptions(ctx context.Context, db database.Store, templateID uuid.UUID) (schedule.TemplateScheduleOptions, error)
- func (*EnterpriseTemplateScheduleStore) SetTemplateScheduleOptions(ctx context.Context, db database.Store, tpl database.Template, ...) (database.Template, error)
- type Options
- type SCIMUser
Constants ¶
View Source
const (
PubsubEventLicenses = "licenses"
)
Variables ¶
View Source
var DefaultSupportLinks = []codersdk.LinkConfig{
{
Name: "Documentation",
Target: "https://coder.com/docs/coder-oss",
Icon: "docs",
},
{
Name: "Report a bug",
Target: "https://github.com/coder/coder/issues/new?labels=needs+grooming&body={CODER_BUILD_INFO}",
Icon: "bug",
},
{
Name: "Join the Coder Discord",
Target: "https://coder.com/chat?utm_source=coder&utm_medium=coder&utm_campaign=server-footer",
Icon: "chat",
},
}
Functions ¶
This section is empty.
Types ¶
type API ¶ added in v0.9.0
type API struct { AGPL *coderd.API *Options // ProxyHealth checks the reachability of all workspace proxies. ProxyHealth *proxyhealth.ProxyHealth // contains filtered or unexported fields }
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 EnterpriseTemplateScheduleStore ¶ added in v0.25.0
type EnterpriseTemplateScheduleStore struct{}
func (*EnterpriseTemplateScheduleStore) GetTemplateScheduleOptions ¶ added in v0.25.0
func (*EnterpriseTemplateScheduleStore) GetTemplateScheduleOptions(ctx context.Context, db database.Store, templateID uuid.UUID) (schedule.TemplateScheduleOptions, error)
func (*EnterpriseTemplateScheduleStore) SetTemplateScheduleOptions ¶ added in v0.25.0
type Options ¶ added in v0.9.0
type Options struct { *coderd.Options RBAC bool AuditLogging bool // Whether to block non-browser connections. BrowserOnly bool SCIMAPIKey []byte // Used for high availability. DERPServerRelayAddress string DERPServerRegionID int EntitlementsUpdateInterval time.Duration ProxyHealthInterval time.Duration Keys map[string]ed25519.PublicKey }
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" format:"email"` 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.