Documentation
¶
Index ¶
Constants ¶
View Source
const ( MetricsGroup = "metrics" UnauthenticatedGroup = "unauthenticated" )
Variables ¶
This section is empty.
Functions ¶
func CheckMCPIDAccess ¶ added in v0.24.0
Types ¶
type Authorizer ¶
type Authorizer struct {
// contains filtered or unexported fields
}
func NewAuthorizer ¶
func NewAuthorizer(gatewayClient *client.Client, cache, uncached kclient.Client, devMode bool, acrHelper *accesscontrolrule.Helper, skillHelper *skillaccessrule.Helper, registryNoAuth bool) *Authorizer
type Resources ¶ added in v0.7.0
type Resources struct {
MCPServerID string
MCPServerInstanceID string
MCPServerCatalogEntryID string
// MCPID can be the ID of an MCPServer, an MCPServerInstance, or MCPServerCatalogEntry. It is used for interaction with the MCP gateway.
MCPID string
WorkspaceID string
NanobotAgentID string
ProjectID string
PublishedArtifactID string
ArtifactVersion string
SkillID string
DeviceScanID string
OAuthAuthRequestID string
Authorizated ResourcesAuthorized
}
type ResourcesAuthorized ¶ added in v0.7.0
type ResourcesAuthorized struct {
MCPServer *v1.MCPServer
MCPServerInstance *v1.MCPServerInstance
MCPServerCatalogEntry *v1.MCPServerCatalogEntry
PowerUserWorkspace *v1.PowerUserWorkspace
NanobotAgent *v1.NanobotAgent
Project *v1.Project
PublishedArtifact *v1.PublishedArtifact
Skill *v1.Skill
}
Click to show internal directories.
Click to hide internal directories.