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

Struct API

enterprise/coderd/coderd.go:779–802  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

777}
778
779type API struct {
780 AGPL *coderd.API
781 *Options
782
783 // ctx is canceled immediately on shutdown, it can be used to abort
784 // interruptible tasks.
785 ctx context.Context
786 cancel context.CancelFunc
787
788 // Detects multiple Coder replicas running at the same time.
789 replicaManager *replicasync.Manager
790 // Meshes DERP connections from multiple replicas.
791 derpMesh *derpmesh.Mesh
792 // ProxyHealth checks the reachability of all workspace proxies.
793 ProxyHealth *proxyhealth.ProxyHealth
794
795 provisionerDaemonAuth *provisionerDaemonAuth
796
797 licenseMetricsCollector *license.MetricsCollector
798 tailnetService *tailnet.ClientService
799
800 aibridgeproxydHandler http.Handler
801 aiSeatTracker *aiseats.SeatTracker
802}
803
804// writeEntitlementWarningsHeader writes the entitlement warnings to the response header
805// for all authenticated users with roles. If there are no warnings, this header will not be written.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected