Documentation
¶
Index ¶
- Constants
- func Bin() string
- func GetPowerUserWorkspaceID(userID string) string
- func IsMCPServerID(id string) bool
- func IsMCPServerInstanceID(id string) bool
- func IsModelID(id string) bool
- func IsPowerUserWorkspaceID(id string) bool
- func IsRunID(id string) bool
- func IsSystemMCPServerID(id string) bool
- func IsWebhookSystemMCPServerID(id string) bool
- func MCPConnectURL(serverURL, id string) string
- func MCPOAuthCallbackURL(serverURL string) string
- func MCPOAuthCredentialName(mcpServerName string) string
- func NanobotAgentConnectURL(serverURL, id string) string
- func SetBinToSelf()
Constants ¶
View Source
const ( SystemThreadPrefix = "st1" ThreadPrefix = "t1" ThreadAuthorizationPrefix = "ta1" RunPrefix = "r1" ModelPrefix = "m1" AliasPrefix = "al1" DefaultModelAliasPrefix = "dma1" ProjectPrefix = "p1" UserDeletePrefix = "ud1" UserRoleChangePrefix = "urc1" UserGroupChangePrefix = "ugc1" GroupRoleChangePrefix = "grc1" MCPServerPrefix = "ms1" MCPNetworkPolicyPrefix = "mnp1" MCPServerInstancePrefix = "msi1" ImagePullSecretPrefix = "ips1" CatalogPrefix = "mcat1" SystemCatalogPrefix = "smcat1" SkillRepositoryPrefix = "skr1" SkillPrefix = "sk1" SkillAccessRulePrefix = "sar1" OAuthClientPrefix = "oc1" OAuthAuthRequestPrefix = "oar1" AccessControlRulePrefix = "acr1" MCPWebhookValidationPrefix = "mwv1" PowerUserWorkspacePrefix = "puw1" AuditLogExportPrefix = "ael1" ScheduledAuditLogExportPrefix = "sael1" SystemMCPServerPrefix = "sms1" ModelAccessPolicyPrefix = "map1" MessagePolicyPrefix = "mp1" NanobotAgentPrefix = "nba1" PublishedArtifactPrefix = "pa1" OktaGroupMigrationPrefix = "ogm1" ObotMCPServerName = SystemMCPServerPrefix + "obot-mcp-server" )
View Source
const ( ModelProviderTool = "obot-model-provider" OpenAIModelProviderTool = "openai-model-provider" AnthropicModelProviderTool = "anthropic-model-provider" OpenAIAPIKeyEnvVar = "OPENAI_API_KEY" AnthropicAPIKeyEnvVar = "ANTHROPIC_API_KEY" DefaultNamespace = "default" DefaultCatalog = "default" DefaultSkillRepository = "default" DefaultRoleSettingName = "user-default-role-setting" K8sSettingsName = "k8s-settings" AppPreferencesName = "app-preferences" ModelProviderCredential = "sys.model.provider.credential" GenericModelProviderCredentialContext = "model-provider" GenericAuthProviderCredentialContext = "auth-provider" MCPWebhookValidationCredentialContext = "mcp-webhook-context" JWKCredentialContext = "jwk" )
View Source
const BinEnvVar = "OBOT_BIN"
View Source
const (
// MCPOAuthCredentialContextPrefix is the credential context prefix for MCP OAuth credentials
MCPOAuthCredentialContextPrefix = "mcp-oauth"
)
Variables ¶
This section is empty.
Functions ¶
func GetPowerUserWorkspaceID ¶ added in v0.12.0
func IsMCPServerID ¶ added in v0.8.0
func IsMCPServerInstanceID ¶ added in v0.8.0
func IsPowerUserWorkspaceID ¶ added in v0.15.0
func IsSystemMCPServerID ¶ added in v0.15.0
func IsWebhookSystemMCPServerID ¶ added in v0.20.0
func MCPConnectURL ¶ added in v0.15.0
func MCPOAuthCallbackURL ¶ added in v0.22.0
func MCPOAuthCredentialName ¶ added in v0.17.0
MCPOAuthCredentialName returns the credential name for an MCP server's OAuth credentials
func NanobotAgentConnectURL ¶ added in v0.17.0
func SetBinToSelf ¶
func SetBinToSelf()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.