MCPcopy Index your code
hub / github.com/coder/coder / Valid

Method Valid

coderd/httpapi/queryparams.go:339–339  ·  view source on GitHub ↗

Valid is required on the enum type to be used with ParseEnum.

()

Source from the content-addressed store, hash-verified

337
338 // Valid is required on the enum type to be used with ParseEnum.
339 Valid() bool
340}
341
342// ParseEnum is a function that can be passed into ParseCustom that handles enum

Callers 15

providersFromEnvFunction · 0.65
postChatsMethod · 0.65
ParseEnumFunction · 0.65
TestBuiltInRolesFunction · 0.65
ValidMethod · 0.65

Implementers 7

Rolecoderd/rbac/roles.go
Permissioncoderd/rbac/roles.go
TallymanV1IngestEventcoderd/usage/usagetypes/tallyman.go
DCManagedAgentsV1coderd/usage/usagetypes/events.go
HBAISeatscoderd/usage/usagetypes/events.go
LicenseOptionsenterprise/coderd/coderdenttest/coderd
Responsesprovisioner/echo/serve.go

Calls

no outgoing calls