Documentation
¶
Index ¶
Constants ¶
View Source
const ( AdminGroup = "admin" AuthenticatedGroup = "authenticated" MetricsGroup = "metrics" UnauthenticatedGroup = "unauthenticated" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
type Authorizer struct {
// contains filtered or unexported fields
}
func NewAuthorizer ¶
func NewAuthorizer(cache, uncached kclient.Client, devMode bool, acrHelper *accesscontrolrule.Helper) *Authorizer
type Resources ¶ added in v0.7.0
type Resources struct {
AssistantID string
ProjectID string
ThreadID string
TemplateID string
TaskID string
MCPServerID string
MCPServerInstanceID string
ProjectMCPServerID string
// MCPID is the ID of either an MCPServer or an MCPServerInstance. It is used for interaction with the MCP gateway.
MCPID string
RunID string
WorkflowID string
PendingAuthorizationID string
ToolID string
Authorizated ResourcesAuthorized
}
Click to show internal directories.
Click to hide internal directories.