Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GithubOAuth2Config ¶ added in v0.4.4
type GithubOAuth2Config struct { httpmw.OAuth2Config AuthenticatedUser func(ctx context.Context, client *http.Client) (*github.User, error) ListEmails func(ctx context.Context, client *http.Client) ([]*github.UserEmail, error) ListOrganizationMemberships func(ctx context.Context, client *http.Client) ([]*github.Membership, error) AllowSignups bool AllowOrganizations []string }
GithubOAuth2Provider exposes required functions for the Github authentication flow.
type Options ¶
type Options struct { AccessURL *url.URL Logger slog.Logger Database database.Store Pubsub database.Pubsub AgentConnectionUpdateFrequency time.Duration // APIRateLimit is the minutely throughput rate limit per user or ip. // Setting a rate limit <0 will disable the rate limiter across the entire // app. Specific routes may have their own limiters. APIRateLimit int AWSCertificates awsidentity.Certificates AzureCertificates x509.VerifyOptions GoogleTokenValidator *idtoken.Validator GithubOAuth2Config *GithubOAuth2Config ICEServers []webrtc.ICEServer SecureAuthCookie bool SSHKeygenAlgorithm gitsshkey.Algorithm TURNServer *turnconn.Server Authorizer rbac.Authorizer }
Options are requires parameters for Coder to start.
Source Files
¶
- authorize.go
- coderd.go
- files.go
- gitsshkey.go
- members.go
- organizations.go
- pagination.go
- parameters.go
- provisionerdaemons.go
- provisionerjobs.go
- roles.go
- templates.go
- templateversions.go
- userauth.go
- users.go
- workspaceagents.go
- workspacebuilds.go
- workspaceresourceauth.go
- workspaceresources.go
- workspaces.go
Directories
¶
Path | Synopsis |
---|---|
autobuild
|
|
schedule
package schedule provides utilities for parsing and deserializing cron-style expressions.
|
package schedule provides utilities for parsing and deserializing cron-style expressions. |
Package database connects to external services for stateful storage.
|
Package database connects to external services for stateful storage. |
Click to show internal directories.
Click to hide internal directories.