Documentation
¶
Index ¶
Constants ¶
View Source
const ( 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, registryNoAuth bool) *Authorizer
type Resources ¶ added in v0.7.0
type Resources struct {
MCPServerID string
MCPServerInstanceID 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
Authorizated ResourcesAuthorized
}
type ResourcesAuthorized ¶ added in v0.7.0
type ResourcesAuthorized struct {
MCPServer *v1.MCPServer
MCPServerInstance *v1.MCPServerInstance
PowerUserWorkspace *v1.PowerUserWorkspace
NanobotAgent *v1.NanobotAgent
Project *v1.Project
PublishedArtifact *v1.PublishedArtifact
}
Click to show internal directories.
Click to hide internal directories.