types

package
v0.0.0-...-bdca12e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ToolTypeContainer  = ToolType("container")
	ToolTypeJavaScript = ToolType("javascript")
	ToolTypePython     = ToolType("python")
	ToolTypeScript     = ToolType("script")
)
View Source
const (
	// We're start with 4 here so that our old and new roles are mutually exclusive.
	// This makes migrations and detecting when migrations are needed easier.
	RoleBasic Role = 1 << (iota + 2)
	RoleOwner
	RoleAdmin
	RoleAuditor
	RolePowerUserPlus
	RolePowerUser

	RoleUnknown Role = 0

	GroupOwner         = "owner"
	GroupAdmin         = "admin"
	GroupAuditor       = "auditor"
	GroupPowerUserPlus = "power-user-plus"
	GroupPowerUser     = "power-user"
	GroupBasic         = "basic"
	GroupAuthenticated = "authenticated"
)

Variables

This section is empty.

Functions

func GetParams

func GetParams(params map[string]string) *jsonschema.Schema

func IsNotFound

func IsNotFound(err error) bool

func ValidateURLHostname

func ValidateURLHostname(u string, hostname string) error

ValidateURLHostname checks if the URL matches the hostname. If the provided hostname does not contain a wildcard, the hostname in the URL must match the provided hostname. A wildcard prefix (*.) can be used to match any number of characters (i.e. "*.example.com" matches both "foo.example.com" and "foo.bar.example.com", but not "example.com").

Types

type APIActivity

type APIActivity struct {
	UserID string `json:"userID"`
	Date   Time   `json:"date"`
}

func (*APIActivity) DeepCopy

func (in *APIActivity) DeepCopy() *APIActivity

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIActivity.

func (*APIActivity) DeepCopyInto

func (in *APIActivity) DeepCopyInto(out *APIActivity)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type APIActivityList

type APIActivityList List[APIActivity]

func (*APIActivityList) DeepCopy

func (in *APIActivityList) DeepCopy() *APIActivityList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIActivityList.

func (*APIActivityList) DeepCopyInto

func (in *APIActivityList) DeepCopyInto(out *APIActivityList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AccessControlRule

type AccessControlRule struct {
	Metadata                  `json:",inline"`
	MCPCatalogID              string `json:"mcpCatalogID"`
	PowerUserWorkspaceID      string `json:"powerUserWorkspaceID,omitempty"`
	PowerUserID               string `json:"powerUserID,omitempty"`
	Generated                 bool   `json:"generated,omitempty"`
	AccessControlRuleManifest `json:",inline"`
}

func (*AccessControlRule) DeepCopy

func (in *AccessControlRule) DeepCopy() *AccessControlRule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlRule.

func (*AccessControlRule) DeepCopyInto

func (in *AccessControlRule) DeepCopyInto(out *AccessControlRule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AccessControlRuleList

type AccessControlRuleList List[AccessControlRule]

func (*AccessControlRuleList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlRuleList.

func (*AccessControlRuleList) DeepCopyInto

func (in *AccessControlRuleList) DeepCopyInto(out *AccessControlRuleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AccessControlRuleManifest

type AccessControlRuleManifest struct {
	DisplayName string     `json:"displayName,omitempty"`
	Subjects    []Subject  `json:"subjects,omitempty"`
	Resources   []Resource `json:"resources,omitempty"`
}

func (*AccessControlRuleManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlRuleManifest.

func (*AccessControlRuleManifest) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (AccessControlRuleManifest) Validate

func (a AccessControlRuleManifest) Validate() error

type Agent

type Agent struct {
	Metadata
	AgentManifest
	AliasAssigned *bool                              `json:"aliasAssigned,omitempty"`
	AuthStatus    map[string]OAuthAppLoginAuthStatus `json:"authStatus,omitempty"`
	// ToolInfo provides information about the tools for this agent, like which credentials they use and whether that
	// credential has been created. This is a pointer so that we can distinguish between an empty map (no tool information)
	// and nil (tool information not processed yet).
	ToolInfo           *map[string]ToolInfo `json:"toolInfo,omitempty"`
	TextEmbeddingModel string               `json:"textEmbeddingModel,omitempty"`
}

func (*Agent) DeepCopy

func (in *Agent) DeepCopy() *Agent

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Agent.

func (*Agent) DeepCopyInto

func (in *Agent) DeepCopyInto(out *Agent)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AgentIcons

type AgentIcons struct {
	Icon          string `json:"icon"`
	IconDark      string `json:"iconDark"`
	Collapsed     string `json:"collapsed"`
	CollapsedDark string `json:"collapsedDark"`
}

func (*AgentIcons) DeepCopy

func (in *AgentIcons) DeepCopy() *AgentIcons

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentIcons.

func (*AgentIcons) DeepCopyInto

func (in *AgentIcons) DeepCopyInto(out *AgentIcons)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AgentList

type AgentList List[Agent]

func (*AgentList) DeepCopy

func (in *AgentList) DeepCopy() *AgentList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentList.

func (*AgentList) DeepCopyInto

func (in *AgentList) DeepCopyInto(out *AgentList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AgentManifest

type AgentManifest struct {
	Name                  string            `json:"name"`
	Icons                 *AgentIcons       `json:"icons"`
	Description           string            `json:"description"`
	Default               bool              `json:"default"`
	Temperature           *float32          `json:"temperature"`
	Cache                 *bool             `json:"cache"`
	Alias                 string            `json:"alias"`
	Prompt                string            `json:"prompt"`
	KnowledgeDescription  string            `json:"knowledgeDescription"`
	Tools                 []string          `json:"tools"`
	AvailableThreadTools  []string          `json:"availableThreadTools"`
	DefaultThreadTools    []string          `json:"defaultThreadTools"`
	OAuthApps             []string          `json:"oauthApps"`
	IntroductionMessage   string            `json:"introductionMessage"`
	StarterMessages       []string          `json:"starterMessages"`
	MaxThreadTools        int               `json:"maxThreadTools"`
	Params                map[string]string `json:"params"`
	Model                 string            `json:"model"`
	Env                   []EnvVar          `json:"env"`
	Credentials           []string          `json:"credentials"`
	WebsiteKnowledge      *WebsiteKnowledge `json:"websiteKnowledge,omitempty"`
	AllowedModelProviders []string          `json:"allowedModelProviders"`
	AllowedModels         []string          `json:"allowedModels"`
}

func (*AgentManifest) DeepCopy

func (in *AgentManifest) DeepCopy() *AgentManifest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentManifest.

func (*AgentManifest) DeepCopyInto

func (in *AgentManifest) DeepCopyInto(out *AgentManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (AgentManifest) GetParams

func (m AgentManifest) GetParams() *jsonschema.Schema

type Assistant

type Assistant struct {
	Metadata
	Name                  string            `json:"name"`
	Default               bool              `json:"default"`
	Description           string            `json:"description"`
	Icons                 AgentIcons        `json:"icons"`
	Alias                 string            `json:"alias,omitempty"`
	IntroductionMessage   string            `json:"introductionMessage"`
	StarterMessages       []string          `json:"starterMessages"`
	EntityID              string            `json:"entityID"`
	MaxTools              int               `json:"maxTools,omitempty"`
	WebsiteKnowledge      *WebsiteKnowledge `json:"websiteKnowledge,omitempty"`
	AllowedModelProviders []string          `json:"allowedModelProviders,omitempty"`
	AvailableThreadTools  []string          `json:"availableThreadTools,omitempty"`
	DefaultThreadTools    []string          `json:"defaultThreadTools,omitempty"`
	Tools                 []string          `json:"tools,omitempty"`
	AllowedModels         []string          `json:"allowedModels,omitempty"`
}

func (*Assistant) DeepCopy

func (in *Assistant) DeepCopy() *Assistant

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Assistant.

func (*Assistant) DeepCopyInto

func (in *Assistant) DeepCopyInto(out *Assistant)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AssistantList

type AssistantList List[Assistant]

func (*AssistantList) DeepCopy

func (in *AssistantList) DeepCopy() *AssistantList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssistantList.

func (*AssistantList) DeepCopyInto

func (in *AssistantList) DeepCopyInto(out *AssistantList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AssistantTool

type AssistantTool struct {
	Metadata
	ToolManifest
	Enabled bool `json:"enabled,omitempty"`
	Builtin bool `json:"builtin,omitempty"`
}

func (*AssistantTool) DeepCopy

func (in *AssistantTool) DeepCopy() *AssistantTool

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssistantTool.

func (*AssistantTool) DeepCopyInto

func (in *AssistantTool) DeepCopyInto(out *AssistantTool)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AssistantToolList

type AssistantToolList struct {
	Items []AssistantTool `json:"items"`
}

func (*AssistantToolList) DeepCopy

func (in *AssistantToolList) DeepCopy() *AssistantToolList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssistantToolList.

func (*AssistantToolList) DeepCopyInto

func (in *AssistantToolList) DeepCopyInto(out *AssistantToolList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AuthProvider

type AuthProvider struct {
	Metadata
	AuthProviderManifest
	AuthProviderStatus
}

func (*AuthProvider) DeepCopy

func (in *AuthProvider) DeepCopy() *AuthProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthProvider.

func (*AuthProvider) DeepCopyInto

func (in *AuthProvider) DeepCopyInto(out *AuthProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AuthProviderList

type AuthProviderList List[AuthProvider]

func (*AuthProviderList) DeepCopy

func (in *AuthProviderList) DeepCopy() *AuthProviderList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthProviderList.

func (*AuthProviderList) DeepCopyInto

func (in *AuthProviderList) DeepCopyInto(out *AuthProviderList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AuthProviderManifest

type AuthProviderManifest struct {
	Name          string `json:"name"`
	Namespace     string `json:"namespace"`
	ToolReference string `json:"toolReference"`
}

func (*AuthProviderManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthProviderManifest.

func (*AuthProviderManifest) DeepCopyInto

func (in *AuthProviderManifest) DeepCopyInto(out *AuthProviderManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AuthProviderStatus

type AuthProviderStatus struct {
	CommonProviderStatus
}

func (*AuthProviderStatus) DeepCopy

func (in *AuthProviderStatus) DeepCopy() *AuthProviderStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthProviderStatus.

func (*AuthProviderStatus) DeepCopyInto

func (in *AuthProviderStatus) DeepCopyInto(out *AuthProviderStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientInfo

type ClientInfo struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

func (*ClientInfo) DeepCopy

func (in *ClientInfo) DeepCopy() *ClientInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientInfo.

func (*ClientInfo) DeepCopyInto

func (in *ClientInfo) DeepCopyInto(out *ClientInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CommonProviderMetadata

type CommonProviderMetadata struct {
	Icon        string `json:"icon,omitempty"`
	IconDark    string `json:"iconDark,omitempty"`
	Description string `json:"description,omitempty"`
	Link        string `json:"link,omitempty"`
}

func (*CommonProviderMetadata) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonProviderMetadata.

func (*CommonProviderMetadata) DeepCopyInto

func (in *CommonProviderMetadata) DeepCopyInto(out *CommonProviderMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CommonProviderStatus

type CommonProviderStatus struct {
	CommonProviderMetadata
	Configured                      bool                             `json:"configured"`
	RequiredConfigurationParameters []ProviderConfigurationParameter `json:"requiredConfigurationParameters,omitempty"`
	OptionalConfigurationParameters []ProviderConfigurationParameter `json:"optionalConfigurationParameters,omitempty"`
	MissingConfigurationParameters  []string                         `json:"missingConfigurationParameters,omitempty"`
	Error                           string                           `json:"error,omitempty"`
}

func (*CommonProviderStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonProviderStatus.

func (*CommonProviderStatus) DeepCopyInto

func (in *CommonProviderStatus) DeepCopyInto(out *CommonProviderStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContainerizedRuntimeConfig

type ContainerizedRuntimeConfig struct {
	Image   string   `json:"image"`             // Required: Docker image name
	Command string   `json:"command,omitempty"` // Optional: Override container command
	Args    []string `json:"args,omitempty"`    // Optional: Container arguments
	Port    int      `json:"port"`              // Required: Container port
	Path    string   `json:"path"`              // Required: HTTP path for MCP endpoint
}

ContainerizedRuntimeConfig represents configuration for containerized runtime (Docker containers)

func (*ContainerizedRuntimeConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerizedRuntimeConfig.

func (*ContainerizedRuntimeConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Credential

type Credential struct {
	ContextID string   `json:"contextID,omitempty"`
	Name      string   `json:"name,omitempty"`
	EnvVars   []string `json:"envVars,omitempty"`
	ExpiresAt *Time    `json:"expiresAt,omitempty"`
}

func (*Credential) DeepCopy

func (in *Credential) DeepCopy() *Credential

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Credential.

func (*Credential) DeepCopyInto

func (in *Credential) DeepCopyInto(out *Credential)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CredentialList

type CredentialList List[Credential]

func (*CredentialList) DeepCopy

func (in *CredentialList) DeepCopy() *CredentialList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialList.

func (*CredentialList) DeepCopyInto

func (in *CredentialList) DeepCopyInto(out *CredentialList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CronJob

type CronJob struct {
	Metadata
	CronJobManifest
	LastRunStartedAt           *Time `json:"lastRunStartedAt,omitempty"`
	LastSuccessfulRunCompleted *Time `json:"lastSuccessfulRunCompleted,omitempty"`
	NextRunAt                  *Time `json:"nextRunAt,omitempty"`
}

func (*CronJob) DeepCopy

func (in *CronJob) DeepCopy() *CronJob

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob.

func (*CronJob) DeepCopyInto

func (in *CronJob) DeepCopyInto(out *CronJob)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CronJobList

type CronJobList List[CronJob]

func (*CronJobList) DeepCopy

func (in *CronJobList) DeepCopy() *CronJobList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList.

func (*CronJobList) DeepCopyInto

func (in *CronJobList) DeepCopyInto(out *CronJobList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CronJobManifest

type CronJobManifest struct {
	Description  string    `json:"description,omitempty"`
	Schedule     string    `json:"schedule,omitempty"`
	WorkflowName string    `json:"workflowName,omitempty"`
	Input        string    `json:"input,omitempty"`
	TaskSchedule *Schedule `json:"taskSchedule,omitempty"`
}

func (*CronJobManifest) DeepCopy

func (in *CronJobManifest) DeepCopy() *CronJobManifest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobManifest.

func (*CronJobManifest) DeepCopyInto

func (in *CronJobManifest) DeepCopyInto(out *CronJobManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DefaultModelAlias

type DefaultModelAlias struct {
	DefaultModelAliasManifest
}

func (*DefaultModelAlias) DeepCopy

func (in *DefaultModelAlias) DeepCopy() *DefaultModelAlias

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultModelAlias.

func (*DefaultModelAlias) DeepCopyInto

func (in *DefaultModelAlias) DeepCopyInto(out *DefaultModelAlias)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DefaultModelAliasList

type DefaultModelAliasList List[DefaultModelAlias]

func (*DefaultModelAliasList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultModelAliasList.

func (*DefaultModelAliasList) DeepCopyInto

func (in *DefaultModelAliasList) DeepCopyInto(out *DefaultModelAliasList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DefaultModelAliasManifest

type DefaultModelAliasManifest struct {
	Alias string `json:"alias"`
	Model string `json:"model"`
}

func (*DefaultModelAliasManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultModelAliasManifest.

func (*DefaultModelAliasManifest) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DefaultModelAliasType

type DefaultModelAliasType string
const (
	DefaultModelAliasTypeTextEmbedding   DefaultModelAliasType = "text-embedding"
	DefaultModelAliasTypeLLM             DefaultModelAliasType = "llm"
	DefaultModelAliasTypeLLMMini         DefaultModelAliasType = "llm-mini"
	DefaultModelAliasTypeImageGeneration DefaultModelAliasType = "image-generation"
	DefaultModelAliasTypeVision          DefaultModelAliasType = "vision"
)

type DeploymentCondition

type DeploymentCondition struct {
	// Type of deployment condition.
	Type string `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status string `json:"status"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`
	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime Time `json:"lastTransitionTime"`
	// Last time the condition was updated.
	LastUpdateTime Time `json:"lastUpdateTime"`
}

func (*DeploymentCondition) DeepCopy

func (in *DeploymentCondition) DeepCopy() *DeploymentCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition.

func (*DeploymentCondition) DeepCopyInto

func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EmailReceiver

type EmailReceiver struct {
	Metadata
	EmailReceiverManifest
	AliasAssigned *bool  `json:"aliasAssigned,omitempty"`
	EmailAddress  string `json:"emailAddress,omitempty"`
}

func (*EmailReceiver) DeepCopy

func (in *EmailReceiver) DeepCopy() *EmailReceiver

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailReceiver.

func (*EmailReceiver) DeepCopyInto

func (in *EmailReceiver) DeepCopyInto(out *EmailReceiver)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EmailReceiverList

type EmailReceiverList List[EmailReceiver]

func (*EmailReceiverList) DeepCopy

func (in *EmailReceiverList) DeepCopy() *EmailReceiverList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailReceiverList.

func (*EmailReceiverList) DeepCopyInto

func (in *EmailReceiverList) DeepCopyInto(out *EmailReceiverList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EmailReceiverManifest

type EmailReceiverManifest struct {
	Name           string   `json:"name"`
	Description    string   `json:"description"`
	Alias          string   `json:"alias,omitempty"`
	WorkflowName   string   `json:"workflowName"`
	AllowedSenders []string `json:"allowedSenders,omitempty"`
}

func (*EmailReceiverManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailReceiverManifest.

func (*EmailReceiverManifest) DeepCopyInto

func (in *EmailReceiverManifest) DeepCopyInto(out *EmailReceiverManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EnvVar

type EnvVar struct {
	Name        string `json:"name"`
	Value       string `json:"value"`
	Description string `json:"description"`
	Existing    bool   `json:"existing"`
}

func (*EnvVar) DeepCopy

func (in *EnvVar) DeepCopy() *EnvVar

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.

func (*EnvVar) DeepCopyInto

func (in *EnvVar) DeepCopyInto(out *EnvVar)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ErrHTTP

type ErrHTTP struct {
	Code    int
	Message string
}

func NewErrAlreadyExists

func NewErrAlreadyExists(message string, args ...any) *ErrHTTP

func NewErrBadRequest

func NewErrBadRequest(message string, args ...any) *ErrHTTP

func NewErrForbidden

func NewErrForbidden(message string, args ...any) *ErrHTTP

func NewErrHTTP

func NewErrHTTP(code int, message string) *ErrHTTP

func NewErrNotFound

func NewErrNotFound(message string, args ...any) *ErrHTTP

func (*ErrHTTP) DeepCopy

func (in *ErrHTTP) DeepCopy() *ErrHTTP

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrHTTP.

func (*ErrHTTP) DeepCopyInto

func (in *ErrHTTP) DeepCopyInto(out *ErrHTTP)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ErrHTTP) Error

func (e *ErrHTTP) Error() string

type Field

type Field struct {
	Name        string   `json:"name,omitempty"`
	Sensitive   *bool    `json:"sensitive,omitempty"`
	Description string   `json:"description,omitempty"`
	Options     []string `json:"options,omitempty"`
}

Field should match exactly what is in the GPTScript SDK

func (*Field) DeepCopy

func (in *Field) DeepCopy() *Field

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Field.

func (*Field) DeepCopyInto

func (in *Field) DeepCopyInto(out *Field)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Fields

type Fields []Field

func ToFields

func ToFields(fields gptscript.Fields) Fields

func (Fields) DeepCopy

func (in Fields) DeepCopy() Fields

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fields.

func (Fields) DeepCopyInto

func (in Fields) DeepCopyInto(out *Fields)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type File

type File struct {
	Name string `json:"name,omitempty"`
}

func (*File) DeepCopy

func (in *File) DeepCopy() *File

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.

func (*File) DeepCopyInto

func (in *File) DeepCopyInto(out *File)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FileList

type FileList List[File]

func (*FileList) DeepCopy

func (in *FileList) DeepCopy() *FileList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileList.

func (*FileList) DeepCopyInto

func (in *FileList) DeepCopyInto(out *FileList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FileScannerProvider

type FileScannerProvider struct {
	Metadata
	FileScannerProviderManifest
	FileScannerProviderStatus
}

func (*FileScannerProvider) DeepCopy

func (in *FileScannerProvider) DeepCopy() *FileScannerProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileScannerProvider.

func (*FileScannerProvider) DeepCopyInto

func (in *FileScannerProvider) DeepCopyInto(out *FileScannerProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FileScannerProviderList

type FileScannerProviderList List[FileScannerProvider]

func (*FileScannerProviderList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileScannerProviderList.

func (*FileScannerProviderList) DeepCopyInto

func (in *FileScannerProviderList) DeepCopyInto(out *FileScannerProviderList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FileScannerProviderManifest

type FileScannerProviderManifest struct {
	Name          string `json:"name"`
	Namespace     string `json:"namespace"`
	ToolReference string `json:"toolReference"`
}

func (*FileScannerProviderManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileScannerProviderManifest.

func (*FileScannerProviderManifest) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FileScannerProviderStatus

type FileScannerProviderStatus struct {
	CommonProviderStatus
}

func (*FileScannerProviderStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileScannerProviderStatus.

func (*FileScannerProviderStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FolderSet

type FolderSet map[string]Item

func (FolderSet) DeepCopy

func (in FolderSet) DeepCopy() FolderSet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderSet.

func (FolderSet) DeepCopyInto

func (in FolderSet) DeepCopyInto(out *FolderSet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InvokeResponse

type InvokeResponse struct {
	Events   <-chan Progress
	ThreadID string
}

+k8s:openapi-gen=false

type Item

type Item struct{}

func (*Item) DeepCopy

func (in *Item) DeepCopy() *Item

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Item.

func (*Item) DeepCopyInto

func (in *Item) DeepCopyInto(out *Item)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KnowledgeFile

type KnowledgeFile struct {
	Metadata
	FileName               string             `json:"fileName"`
	State                  KnowledgeFileState `json:"state"`
	Error                  string             `json:"error,omitempty"`
	AgentID                string             `json:"agentID,omitempty"`
	ThreadID               string             `json:"threadID,omitempty"`
	KnowledgeSetID         string             `json:"knowledgeSetID,omitempty"`
	KnowledgeSourceID      string             `json:"knowledgeSourceID,omitempty"`
	Approved               *bool              `json:"approved,omitempty"`
	URL                    string             `json:"url,omitempty"`
	UpdatedAt              string             `json:"updatedAt,omitempty"`
	Checksum               string             `json:"checksum,omitempty"`
	LastIngestionStartTime *Time              `json:"lastIngestionStartTime,omitempty"`
	LastIngestionEndTime   *Time              `json:"lastIngestionEndTime,omitempty"`
	LastRunIDs             []string           `json:"lastRunIDs,omitempty"`
	SizeInBytes            int64              `json:"sizeInBytes,omitempty"`
}

func (*KnowledgeFile) DeepCopy

func (in *KnowledgeFile) DeepCopy() *KnowledgeFile

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnowledgeFile.

func (*KnowledgeFile) DeepCopyInto

func (in *KnowledgeFile) DeepCopyInto(out *KnowledgeFile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KnowledgeFileList

type KnowledgeFileList List[KnowledgeFile]

func (*KnowledgeFileList) DeepCopy

func (in *KnowledgeFileList) DeepCopy() *KnowledgeFileList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnowledgeFileList.

func (*KnowledgeFileList) DeepCopyInto

func (in *KnowledgeFileList) DeepCopyInto(out *KnowledgeFileList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KnowledgeFileState

type KnowledgeFileState string
const (
	KnowledgeFileStatePending     KnowledgeFileState = "pending"
	KnowledgeFileStateIngesting   KnowledgeFileState = "ingesting"
	KnowledgeFileStateIngested    KnowledgeFileState = "ingested"
	KnowledgeFileStateError       KnowledgeFileState = "error"
	KnowledgeFileStateUnsupported KnowledgeFileState = "unsupported"

	// KnowledgeFileStateUnapproved This is only a public API state, not a real orchestration state
	KnowledgeFileStateUnapproved KnowledgeFileState = "unapproved"
	// KnowledgeFileStatePendingApproval This is only a public API state, not a real orchestration state
	KnowledgeFileStatePendingApproval KnowledgeFileState = "pending-approval"
)

func (KnowledgeFileState) IsTerminal

func (k KnowledgeFileState) IsTerminal() bool

type KnowledgeSource

type KnowledgeSource struct {
	Metadata
	KnowledgeSourceManifest `json:",inline"`
	AgentID                 string               `json:"agentID,omitempty"`
	State                   KnowledgeSourceState `json:"state,omitempty"`
	SyncDetails             json.RawMessage      `json:"syncDetails,omitempty"`
	Status                  string               `json:"status,omitempty"`
	Error                   string               `json:"error,omitempty"`
	LastSyncStartTime       *Time                `json:"lastSyncStartTime,omitempty"`
	LastSyncEndTime         *Time                `json:"lastSyncEndTime,omitempty"`
	LastRunID               string               `json:"lastRunID,omitempty"`
}

func (*KnowledgeSource) DeepCopy

func (in *KnowledgeSource) DeepCopy() *KnowledgeSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnowledgeSource.

func (*KnowledgeSource) DeepCopyInto

func (in *KnowledgeSource) DeepCopyInto(out *KnowledgeSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KnowledgeSourceInput

type KnowledgeSourceInput struct {
	OneDriveConfig        *OneDriveConfig        `json:"onedriveConfig,omitempty"`
	NotionConfig          *NotionConfig          `json:"notionConfig,omitempty"`
	WebsiteCrawlingConfig *WebsiteCrawlingConfig `json:"websiteCrawlingConfig,omitempty"`
}

func (*KnowledgeSourceInput) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnowledgeSourceInput.

func (*KnowledgeSourceInput) DeepCopyInto

func (in *KnowledgeSourceInput) DeepCopyInto(out *KnowledgeSourceInput)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KnowledgeSourceInput) GetCredential

func (k *KnowledgeSourceInput) GetCredential() string

func (*KnowledgeSourceInput) GetType

func (*KnowledgeSourceInput) Validate

func (k *KnowledgeSourceInput) Validate() error

type KnowledgeSourceList

type KnowledgeSourceList List[KnowledgeSource]

func (*KnowledgeSourceList) DeepCopy

func (in *KnowledgeSourceList) DeepCopy() *KnowledgeSourceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnowledgeSourceList.

func (*KnowledgeSourceList) DeepCopyInto

func (in *KnowledgeSourceList) DeepCopyInto(out *KnowledgeSourceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KnowledgeSourceManifest

type KnowledgeSourceManifest struct {
	SyncSchedule          string   `json:"syncSchedule,omitempty"`
	AutoApprove           *bool    `json:"autoApprove,omitempty"`
	FilePathPrefixInclude []string `json:"filePathPrefixInclude,omitempty"`
	FilePathPrefixExclude []string `json:"filePathPrefixExclude,omitempty"`
	KnowledgeSourceInput  `json:",inline"`
}

func (*KnowledgeSourceManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnowledgeSourceManifest.

func (*KnowledgeSourceManifest) DeepCopyInto

func (in *KnowledgeSourceManifest) DeepCopyInto(out *KnowledgeSourceManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KnowledgeSourceState

type KnowledgeSourceState string
const (
	KnowledgeSourceStatePending KnowledgeSourceState = "pending"
	KnowledgeSourceStateSyncing KnowledgeSourceState = "syncing"
	KnowledgeSourceStateSynced  KnowledgeSourceState = "synced"
	KnowledgeSourceStateError   KnowledgeSourceState = "error"
)

func (KnowledgeSourceState) IsTerminal

func (k KnowledgeSourceState) IsTerminal() bool

type KnowledgeSourceType

type KnowledgeSourceType string
var (
	KnowledgeSourceTypeOneDrive KnowledgeSourceType = "onedrive"
	KnowledgeSourceTypeNotion   KnowledgeSourceType = "notion"
	KnowledgeSourceTypeWebsite  KnowledgeSourceType = "website"
)

type List

type List[T any] struct {
	Items []T `json:"items"`
}

+k8s:openapi-gen=false

type MCPAuditLog

type MCPAuditLog struct {
	ID                        uint            `json:"id"`
	CreatedAt                 Time            `json:"createdAt"`
	UserID                    string          `json:"userID"`
	MCPID                     string          `json:"mcpID"`
	PowerUserWorkspaceID      string          `json:"powerUserWorkspaceID,omitempty"`
	MCPServerDisplayName      string          `json:"mcpServerDisplayName"`
	MCPServerCatalogEntryName string          `json:"mcpServerCatalogEntryName"`
	ClientInfo                ClientInfo      `json:"client"`
	ClientIP                  string          `json:"clientIP"`
	CallType                  string          `json:"callType"`
	CallIdentifier            string          `json:"callIdentifier,omitempty"`
	RequestBody               json.RawMessage `json:"requestBody,omitempty"`
	ResponseBody              json.RawMessage `json:"responseBody,omitempty"`
	ResponseStatus            int             `json:"responseStatus"`
	WebhookStatuses           []WebhookStatus `json:"webhookStatus,omitempty"`
	Error                     string          `json:"error,omitempty"`
	ProcessingTimeMs          int64           `json:"processingTimeMs"`
	SessionID                 string          `json:"sessionID,omitempty"`
	RequestID                 string          `json:"requestID,omitempty"`
	UserAgent                 string          `json:"userAgent,omitempty"`
	RequestHeaders            json.RawMessage `json:"requestHeaders,omitempty"`
	ResponseHeaders           json.RawMessage `json:"responseHeaders,omitempty"`
}

MCPAuditLog represents an audit log entry for MCP API calls

func (*MCPAuditLog) DeepCopy

func (in *MCPAuditLog) DeepCopy() *MCPAuditLog

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPAuditLog.

func (*MCPAuditLog) DeepCopyInto

func (in *MCPAuditLog) DeepCopyInto(out *MCPAuditLog)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPAuditLogList

type MCPAuditLogList List[MCPAuditLog]

MCPAuditLogList represents a list of MCP audit logs

func (*MCPAuditLogList) DeepCopy

func (in *MCPAuditLogList) DeepCopy() *MCPAuditLogList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPAuditLogList.

func (*MCPAuditLogList) DeepCopyInto

func (in *MCPAuditLogList) DeepCopyInto(out *MCPAuditLogList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPAuditLogResponse

type MCPAuditLogResponse struct {
	MCPAuditLogList `json:",inline"`
	Total           int64 `json:"total"`
	Limit           int   `json:"limit"`
	Offset          int   `json:"offset"`
}

func (*MCPAuditLogResponse) DeepCopy

func (in *MCPAuditLogResponse) DeepCopy() *MCPAuditLogResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPAuditLogResponse.

func (*MCPAuditLogResponse) DeepCopyInto

func (in *MCPAuditLogResponse) DeepCopyInto(out *MCPAuditLogResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPCatalog

type MCPCatalog struct {
	Metadata
	MCPCatalogManifest
	LastSynced Time              `json:"lastSynced,omitzero"`
	SyncErrors map[string]string `json:"syncErrors,omitempty"`
	IsSyncing  bool              `json:"isSyncing,omitempty"`
}

func (*MCPCatalog) DeepCopy

func (in *MCPCatalog) DeepCopy() *MCPCatalog

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPCatalog.

func (*MCPCatalog) DeepCopyInto

func (in *MCPCatalog) DeepCopyInto(out *MCPCatalog)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPCatalogList

type MCPCatalogList List[MCPCatalog]

func (*MCPCatalogList) DeepCopy

func (in *MCPCatalogList) DeepCopy() *MCPCatalogList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPCatalogList.

func (*MCPCatalogList) DeepCopyInto

func (in *MCPCatalogList) DeepCopyInto(out *MCPCatalogList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPCatalogManifest

type MCPCatalogManifest struct {
	DisplayName string   `json:"displayName"`
	SourceURLs  []string `json:"sourceURLs"`
}

func (*MCPCatalogManifest) DeepCopy

func (in *MCPCatalogManifest) DeepCopy() *MCPCatalogManifest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPCatalogManifest.

func (*MCPCatalogManifest) DeepCopyInto

func (in *MCPCatalogManifest) DeepCopyInto(out *MCPCatalogManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPEnv

type MCPEnv struct {
	MCPHeader `json:",inline"`
	File      bool `json:"file"`
}

func (*MCPEnv) DeepCopy

func (in *MCPEnv) DeepCopy() *MCPEnv

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPEnv.

func (*MCPEnv) DeepCopyInto

func (in *MCPEnv) DeepCopyInto(out *MCPEnv)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPHeader

type MCPHeader struct {
	Name        string `json:"name"`
	Description string `json:"description"`

	Key string `json:"key"`

	// For static headers
	Value string `json:"value"`

	// For user-supplied headers
	Sensitive bool `json:"sensitive"`
	Required  bool `json:"required"`
}

func (*MCPHeader) DeepCopy

func (in *MCPHeader) DeepCopy() *MCPHeader

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPHeader.

func (*MCPHeader) DeepCopyInto

func (in *MCPHeader) DeepCopyInto(out *MCPHeader)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPPromptReadStats

type MCPPromptReadStats struct {
	PromptName string `json:"promptName"`
	ReadCount  int64  `json:"readCount"`
}

MCPPromptReadStats represents statistics for individual prompt reads

func (*MCPPromptReadStats) DeepCopy

func (in *MCPPromptReadStats) DeepCopy() *MCPPromptReadStats

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPPromptReadStats.

func (*MCPPromptReadStats) DeepCopyInto

func (in *MCPPromptReadStats) DeepCopyInto(out *MCPPromptReadStats)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPResourceReadStats

type MCPResourceReadStats struct {
	ResourceURI string `json:"resourceURI"`
	ReadCount   int64  `json:"readCount"`
}

MCPResourceReadStats represents statistics for individual resource reads

func (*MCPResourceReadStats) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPResourceReadStats.

func (*MCPResourceReadStats) DeepCopyInto

func (in *MCPResourceReadStats) DeepCopyInto(out *MCPResourceReadStats)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPSelector

type MCPSelector struct {
	Method      string   `json:"method,omitempty"`
	Identifiers []string `json:"identifiers,omitempty"`
}

func (*MCPSelector) DeepCopy

func (in *MCPSelector) DeepCopy() *MCPSelector

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPSelector.

func (*MCPSelector) DeepCopyInto

func (in *MCPSelector) DeepCopyInto(out *MCPSelector)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MCPSelector) Matches

func (f *MCPSelector) Matches(method, identifier string) bool

type MCPSelectors

type MCPSelectors []MCPSelector

func (MCPSelectors) DeepCopy

func (in MCPSelectors) DeepCopy() MCPSelectors

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPSelectors.

func (MCPSelectors) DeepCopyInto

func (in MCPSelectors) DeepCopyInto(out *MCPSelectors)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (MCPSelectors) Matches

func (f MCPSelectors) Matches(method, identifier string) bool

type MCPServer

type MCPServer struct {
	Metadata
	MCPServerManifest MCPServerManifest `json:"manifest"`

	// Alias is a user-defined alias for the MCP server.
	// This may only be set for single user and remote MCP servers (i.e. where `MCPCatalogID` is "").
	Alias                  string   `json:"alias,omitempty"`
	UserID                 string   `json:"userID"`
	Configured             bool     `json:"configured"`
	MissingRequiredEnvVars []string `json:"missingRequiredEnvVars,omitempty"`
	MissingRequiredHeaders []string `json:"missingRequiredHeader,omitempty"`
	CatalogEntryID         string   `json:"catalogEntryID"`
	PowerUserWorkspaceID   string   `json:"powerUserWorkspaceID"`
	MCPCatalogID           string   `json:"mcpCatalogID,omitempty"`
	ConnectURL             string   `json:"connectURL,omitempty"`

	// NeedsUpdate indicates whether the configuration in this server's catalog entry has drift from this server's configuration.
	NeedsUpdate bool `json:"needsUpdate,omitempty"`

	// NeedsURL indicates whether the server's URL needs to be updated to match the catalog entry.
	NeedsURL bool `json:"needsURL,omitempty"`

	// PreviousURL contains the URL of the server before it was updated to match the catalog entry.
	PreviousURL string `json:"previousURL,omitempty"`

	// MCPServerInstanceUserCount contains the number of unique users with server instances pointing to this MCP server.
	// This is only set for multi-user servers.
	MCPServerInstanceUserCount *int `json:"mcpServerInstanceUserCount,omitempty"`

	// DeploymentStatus indicates the overall status of the MCP server deployment (Ready, Progressing, Failed).
	DeploymentStatus string `json:"deploymentStatus,omitempty"`

	// DeploymentAvailableReplicas is the number of available replicas in the deployment.
	DeploymentAvailableReplicas *int32 `json:"deploymentAvailableReplicas,omitempty"`

	// DeploymentReadyReplicas is the number of ready replicas in the deployment.
	DeploymentReadyReplicas *int32 `json:"deploymentReadyReplicas,omitempty"`

	// DeploymentReplicas is the desired number of replicas in the deployment.
	DeploymentReplicas *int32 `json:"deploymentReplicas,omitempty"`

	// DeploymentConditions contains key deployment conditions that indicate deployment health.
	DeploymentConditions []DeploymentCondition `json:"deploymentConditions,omitempty"`

	// Template indicates whether this MCP server is a template server.
	// Template servers are hidden from user views and are used for creating project instances.
	Template bool `json:"template,omitempty"`
}

func (*MCPServer) DeepCopy

func (in *MCPServer) DeepCopy() *MCPServer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServer.

func (*MCPServer) DeepCopyInto

func (in *MCPServer) DeepCopyInto(out *MCPServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPServerCatalogEntry

type MCPServerCatalogEntry struct {
	Metadata
	Manifest                  MCPServerCatalogEntryManifest `json:"manifest"`
	Editable                  bool                          `json:"editable,omitempty"`
	CatalogName               string                        `json:"catalogName,omitempty"`
	SourceURL                 string                        `json:"sourceURL,omitempty"`
	UserCount                 int                           `json:"userCount,omitempty"`
	LastUpdated               *Time                         `json:"lastUpdated,omitempty"`
	ToolPreviewsLastGenerated *Time                         `json:"toolPreviewsLastGenerated,omitempty"`
	PowerUserWorkspaceID      string                        `json:"powerUserWorkspaceID,omitempty"`
	PowerUserID               string                        `json:"powerUserID,omitempty"`
}

func (*MCPServerCatalogEntry) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServerCatalogEntry.

func (*MCPServerCatalogEntry) DeepCopyInto

func (in *MCPServerCatalogEntry) DeepCopyInto(out *MCPServerCatalogEntry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPServerCatalogEntryList

type MCPServerCatalogEntryList List[MCPServerCatalogEntry]

func (*MCPServerCatalogEntryList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServerCatalogEntryList.

func (*MCPServerCatalogEntryList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPServerCatalogEntryManifest

type MCPServerCatalogEntryManifest struct {
	Metadata    map[string]string `json:"metadata,omitempty"`
	Name        string            `json:"name"`
	Description string            `json:"description"`
	Icon        string            `json:"icon"`
	RepoURL     string            `json:"repoURL,omitempty"`
	ToolPreview []MCPServerTool   `json:"toolPreview,omitempty"`

	// Runtime configuration
	Runtime Runtime `json:"runtime"`

	// Runtime-specific configurations (only one should be populated based on runtime)
	UVXConfig           *UVXRuntimeConfig           `json:"uvxConfig,omitempty"`
	NPXConfig           *NPXRuntimeConfig           `json:"npxConfig,omitempty"`
	ContainerizedConfig *ContainerizedRuntimeConfig `json:"containerizedConfig,omitempty"`
	RemoteConfig        *RemoteCatalogConfig        `json:"remoteConfig,omitempty"`

	Env []MCPEnv `json:"env,omitempty"`
}

func (*MCPServerCatalogEntryManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServerCatalogEntryManifest.

func (*MCPServerCatalogEntryManifest) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPServerDetails

type MCPServerDetails struct {
	DeploymentName string           `json:"deploymentName"`
	Namespace      string           `json:"namespace"`
	LastRestart    Time             `json:"lastRestart"`
	ReadyReplicas  int32            `json:"readyReplicas"`
	Replicas       int32            `json:"replicas"`
	IsAvailable    bool             `json:"isAvailable"`
	Events         []MCPServerEvent `json:"events"`
}

func (*MCPServerDetails) DeepCopy

func (in *MCPServerDetails) DeepCopy() *MCPServerDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServerDetails.

func (*MCPServerDetails) DeepCopyInto

func (in *MCPServerDetails) DeepCopyInto(out *MCPServerDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPServerEvent

type MCPServerEvent struct {
	Time         Time   `json:"time"`
	Reason       string `json:"reason"`
	Message      string `json:"message"`
	EventType    string `json:"eventType"`
	Action       string `json:"action"`
	Count        int32  `json:"count"`
	ResourceName string `json:"resourceName"`
	ResourceKind string `json:"resourceKind"`
}

func (*MCPServerEvent) DeepCopy

func (in *MCPServerEvent) DeepCopy() *MCPServerEvent

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServerEvent.

func (*MCPServerEvent) DeepCopyInto

func (in *MCPServerEvent) DeepCopyInto(out *MCPServerEvent)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPServerInstance

type MCPServerInstance struct {
	Metadata
	// UserID is the user that owns this MCP server instance.
	UserID string `json:"userID,omitempty"`
	// MCPServerID is the ID of the MCP server this instance is associated with.
	MCPServerID string `json:"mcpServerID,omitempty"`
	// MCPCatalogID is the ID of the MCP catalog that the server that this instance points to is shared within.
	MCPCatalogID string `json:"mcpCatalogID,omitempty"`
	// MCPServerCatalogEntryID is the ID of the MCP server catalog entry that the server that this instance points to is based on, if there is one.
	MCPServerCatalogEntryID string `json:"mcpServerCatalogEntryID,omitempty"`
	// PowerUserWorkspaceID is the ID of the PowerUserWorkspace that the server that this instance points to is owned by, if there is one.
	PowerUserWorkspaceID string `json:"powerUserWorkspaceID,omitempty"`
	// ConnectURL is the URL to connect to the MCP server.
	ConnectURL string `json:"connectURL,omitempty"`
}

func (*MCPServerInstance) DeepCopy

func (in *MCPServerInstance) DeepCopy() *MCPServerInstance

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServerInstance.

func (*MCPServerInstance) DeepCopyInto

func (in *MCPServerInstance) DeepCopyInto(out *MCPServerInstance)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPServerInstanceList

type MCPServerInstanceList List[MCPServerInstance]

func (*MCPServerInstanceList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServerInstanceList.

func (*MCPServerInstanceList) DeepCopyInto

func (in *MCPServerInstanceList) DeepCopyInto(out *MCPServerInstanceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPServerList

type MCPServerList List[MCPServer]

func (*MCPServerList) DeepCopy

func (in *MCPServerList) DeepCopy() *MCPServerList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServerList.

func (*MCPServerList) DeepCopyInto

func (in *MCPServerList) DeepCopyInto(out *MCPServerList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPServerManifest

type MCPServerManifest struct {
	Metadata    map[string]string `json:"metadata,omitempty"`
	Name        string            `json:"name"`
	Description string            `json:"description"`
	Icon        string            `json:"icon"`
	ToolPreview []MCPServerTool   `json:"toolPreview,omitempty"`

	// Runtime configuration
	Runtime Runtime `json:"runtime"`

	// Runtime-specific configurations (only one should be populated based on runtime)
	UVXConfig           *UVXRuntimeConfig           `json:"uvxConfig,omitempty"`
	NPXConfig           *NPXRuntimeConfig           `json:"npxConfig,omitempty"`
	ContainerizedConfig *ContainerizedRuntimeConfig `json:"containerizedConfig,omitempty"`
	RemoteConfig        *RemoteRuntimeConfig        `json:"remoteConfig,omitempty"`

	Env []MCPEnv `json:"env,omitempty"`

	// Legacy fields that are deprecated, used only for cleaning up old servers
	Command string      `json:"command,omitempty"`
	Args    []string    `json:"args,omitempty"`
	URL     string      `json:"url,omitempty"`
	Headers []MCPHeader `json:"headers,omitempty"`
}

func MapCatalogEntryToServer

func MapCatalogEntryToServer(catalogEntry MCPServerCatalogEntryManifest, userURL string) (MCPServerManifest, error)

MapCatalogEntryToServer converts an MCPServerCatalogEntryManifest to an MCPServerManifest For remote runtime, userURL is used when the catalog entry has a hostname constraint

func (*MCPServerManifest) DeepCopy

func (in *MCPServerManifest) DeepCopy() *MCPServerManifest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServerManifest.

func (*MCPServerManifest) DeepCopyInto

func (in *MCPServerManifest) DeepCopyInto(out *MCPServerManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPServerTool

type MCPServerTool struct {
	ID          string            `json:"id"`
	Name        string            `json:"name"`
	Description string            `json:"description,omitempty"`
	Params      map[string]string `json:"params,omitempty"`
	Credentials []string          `json:"credentials,omitempty"`
	Enabled     bool              `json:"enabled"`
	Unsupported bool              `json:"unsupported,omitempty"`
}

func (*MCPServerTool) DeepCopy

func (in *MCPServerTool) DeepCopy() *MCPServerTool

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServerTool.

func (*MCPServerTool) DeepCopyInto

func (in *MCPServerTool) DeepCopyInto(out *MCPServerTool)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPToolCallStats

type MCPToolCallStats struct {
	ToolName  string                 `json:"toolName"`
	CallCount int64                  `json:"callCount"`
	Items     []MCPToolCallStatsItem `json:"items"`
}

MCPToolCallStats represents statistics for individual tool calls

func (*MCPToolCallStats) DeepCopy

func (in *MCPToolCallStats) DeepCopy() *MCPToolCallStats

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPToolCallStats.

func (*MCPToolCallStats) DeepCopyInto

func (in *MCPToolCallStats) DeepCopyInto(out *MCPToolCallStats)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPToolCallStatsItem

type MCPToolCallStatsItem struct {
	CreatedAt        Time   `json:"createdAt"`
	UserID           string `json:"userID"`
	ProcessingTimeMs int64  `json:"processingTimeMs"`
	ResponseStatus   int    `json:"responseStatus"`
	Error            string `json:"error"`
}

MCPToolCallStats represents statistics for individual tool calls

func (*MCPToolCallStatsItem) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPToolCallStatsItem.

func (*MCPToolCallStatsItem) DeepCopyInto

func (in *MCPToolCallStatsItem) DeepCopyInto(out *MCPToolCallStatsItem)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPUsageStatItem

type MCPUsageStatItem struct {
	MCPID                     string                 `json:"mcpID"`
	MCPServerDisplayName      string                 `json:"mcpServerDisplayName"`
	MCPServerCatalogEntryName string                 `json:"mcpServerCatalogEntryName"`
	ToolCalls                 []MCPToolCallStats     `json:"toolCalls,omitempty"`
	ResourceReads             []MCPResourceReadStats `json:"resourceReads,omitempty"`
	PromptReads               []MCPPromptReadStats   `json:"promptReads,omitempty"`
}

MCPUsageStatItem represents usage statistics for MCP servers

func (*MCPUsageStatItem) DeepCopy

func (in *MCPUsageStatItem) DeepCopy() *MCPUsageStatItem

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPUsageStatItem.

func (*MCPUsageStatItem) DeepCopyInto

func (in *MCPUsageStatItem) DeepCopyInto(out *MCPUsageStatItem)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPUsageStats

type MCPUsageStats struct {
	TotalCalls  int64              `json:"totalCalls"`
	UniqueUsers int64              `json:"uniqueUsers"`
	TimeStart   Time               `json:"timeStart"`
	TimeEnd     Time               `json:"timeEnd"`
	Items       []MCPUsageStatItem `json:"items"`
}

func (*MCPUsageStats) DeepCopy

func (in *MCPUsageStats) DeepCopy() *MCPUsageStats

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPUsageStats.

func (*MCPUsageStats) DeepCopyInto

func (in *MCPUsageStats) DeepCopyInto(out *MCPUsageStats)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPUsageStatsList

type MCPUsageStatsList List[MCPUsageStatItem]

MCPUsageStatsList represents a list of MCP usage statistics

func (*MCPUsageStatsList) DeepCopy

func (in *MCPUsageStatsList) DeepCopy() *MCPUsageStatsList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPUsageStatsList.

func (*MCPUsageStatsList) DeepCopyInto

func (in *MCPUsageStatsList) DeepCopyInto(out *MCPUsageStatsList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPWebhookValidation

type MCPWebhookValidation struct {
	Metadata                     `json:",inline"`
	MCPWebhookValidationManifest `json:",inline"`
	HasSecret                    bool `json:"hasSecret,omitempty"`
}

func (*MCPWebhookValidation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPWebhookValidation.

func (*MCPWebhookValidation) DeepCopyInto

func (in *MCPWebhookValidation) DeepCopyInto(out *MCPWebhookValidation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPWebhookValidationList

type MCPWebhookValidationList List[MCPWebhookValidation]

func (*MCPWebhookValidationList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPWebhookValidationList.

func (*MCPWebhookValidationList) DeepCopyInto

func (in *MCPWebhookValidationList) DeepCopyInto(out *MCPWebhookValidationList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MCPWebhookValidationManifest

type MCPWebhookValidationManifest struct {
	Name      string       `json:"name,omitempty"`
	Resources []Resource   `json:"resources,omitempty"`
	URL       string       `json:"url,omitempty"`
	Secret    string       `json:"secret,omitempty"`
	Selectors MCPSelectors `json:"selectors,omitempty"`
	Disabled  bool         `json:"disabled,omitempty"`
}

func (*MCPWebhookValidationManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPWebhookValidationManifest.

func (*MCPWebhookValidationManifest) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MCPWebhookValidationManifest) Validate

func (m *MCPWebhookValidationManifest) Validate() error

type Memory

type Memory struct {
	ID        string `json:"id,omitempty"`
	Content   string `json:"content,omitempty"`
	CreatedAt Time   `json:"createdAt,omitempty"`
}

Memory represents a single memory item

func (*Memory) DeepCopy

func (in *Memory) DeepCopy() *Memory

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Memory.

func (*Memory) DeepCopyInto

func (in *Memory) DeepCopyInto(out *Memory)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemoryList

type MemoryList struct {
	Metadata
	Items []Memory `json:"items"`
}

MemoryList represents a list of memories

func (*MemoryList) DeepCopy

func (in *MemoryList) DeepCopy() *MemoryList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryList.

func (*MemoryList) DeepCopyInto

func (in *MemoryList) DeepCopyInto(out *MemoryList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Metadata

type Metadata struct {
	ID       string            `json:"id,omitempty"`
	Created  Time              `json:"created,omitempty"`
	Deleted  *Time             `json:"deleted,omitempty"`
	Links    map[string]string `json:"links,omitempty"`
	Metadata map[string]string `json:"metadata,omitempty"`
	Type     string            `json:"type,omitempty"`
}

func (*Metadata) DeepCopy

func (in *Metadata) DeepCopy() *Metadata

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.

func (*Metadata) DeepCopyInto

func (in *Metadata) DeepCopyInto(out *Metadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Model

type Model struct {
	Metadata
	ModelManifest
	ModelStatus
}

func (*Model) DeepCopy

func (in *Model) DeepCopy() *Model

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Model.

func (*Model) DeepCopyInto

func (in *Model) DeepCopyInto(out *Model)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModelList

type ModelList List[Model]

func (*ModelList) DeepCopy

func (in *ModelList) DeepCopy() *ModelList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelList.

func (*ModelList) DeepCopyInto

func (in *ModelList) DeepCopyInto(out *ModelList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModelManifest

type ModelManifest struct {
	Name          string     `json:"name,omitempty"`
	DisplayName   string     `json:"displayName,omitempty"`
	TargetModel   string     `json:"targetModel,omitempty"`
	ModelProvider string     `json:"modelProvider,omitempty"`
	Alias         string     `json:"alias,omitempty"`
	Active        bool       `json:"active"`
	Usage         ModelUsage `json:"usage"`
}

func (*ModelManifest) DeepCopy

func (in *ModelManifest) DeepCopy() *ModelManifest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelManifest.

func (*ModelManifest) DeepCopyInto

func (in *ModelManifest) DeepCopyInto(out *ModelManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModelProvider

type ModelProvider struct {
	Metadata
	ModelProviderManifest
	ModelProviderStatus
}

func (*ModelProvider) DeepCopy

func (in *ModelProvider) DeepCopy() *ModelProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelProvider.

func (*ModelProvider) DeepCopyInto

func (in *ModelProvider) DeepCopyInto(out *ModelProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModelProviderList

type ModelProviderList List[ModelProvider]

func (*ModelProviderList) DeepCopy

func (in *ModelProviderList) DeepCopy() *ModelProviderList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelProviderList.

func (*ModelProviderList) DeepCopyInto

func (in *ModelProviderList) DeepCopyInto(out *ModelProviderList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModelProviderManifest

type ModelProviderManifest struct {
	Name          string `json:"name"`
	ToolReference string `json:"toolReference"`
}

func (*ModelProviderManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelProviderManifest.

func (*ModelProviderManifest) DeepCopyInto

func (in *ModelProviderManifest) DeepCopyInto(out *ModelProviderManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModelProviderStatus

type ModelProviderStatus struct {
	CommonProviderStatus
	ModelsBackPopulated *bool `json:"modelsBackPopulated,omitempty"`
}

func (*ModelProviderStatus) DeepCopy

func (in *ModelProviderStatus) DeepCopy() *ModelProviderStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelProviderStatus.

func (*ModelProviderStatus) DeepCopyInto

func (in *ModelProviderStatus) DeepCopyInto(out *ModelProviderStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModelStatus

type ModelStatus struct {
	AliasAssigned     *bool  `json:"aliasAssigned,omitempty"`
	ModelProviderName string `json:"modelProviderName"`
	Icon              string `json:"icon,omitempty"`
	IconDark          string `json:"iconDark,omitempty"`
}

func (*ModelStatus) DeepCopy

func (in *ModelStatus) DeepCopy() *ModelStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelStatus.

func (*ModelStatus) DeepCopyInto

func (in *ModelStatus) DeepCopyInto(out *ModelStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModelUsage

type ModelUsage string
const (
	ModelUsageLLM       ModelUsage = "llm"
	ModelUsageEmbedding ModelUsage = "text-embedding"
	ModelUsageImage     ModelUsage = "image-generation"
	ModelUsageVision    ModelUsage = "vision"
	ModelUsageOther     ModelUsage = "other"
	ModelUsageUnknown   ModelUsage = ""
)

type NPXRuntimeConfig

type NPXRuntimeConfig struct {
	Package string   `json:"package"`        // Required: NPM package name
	Args    []string `json:"args,omitempty"` // Optional: Additional arguments
}

NPXRuntimeConfig represents configuration for NPX runtime (Node.js packages via npx)

func (*NPXRuntimeConfig) DeepCopy

func (in *NPXRuntimeConfig) DeepCopy() *NPXRuntimeConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NPXRuntimeConfig.

func (*NPXRuntimeConfig) DeepCopyInto

func (in *NPXRuntimeConfig) DeepCopyInto(out *NPXRuntimeConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NotionConfig

type NotionConfig struct{}

func (*NotionConfig) DeepCopy

func (in *NotionConfig) DeepCopy() *NotionConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotionConfig.

func (*NotionConfig) DeepCopyInto

func (in *NotionConfig) DeepCopyInto(out *NotionConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OAuthApp

type OAuthApp struct {
	Metadata
	OAuthAppManifest
}

func (*OAuthApp) DeepCopy

func (in *OAuthApp) DeepCopy() *OAuthApp

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthApp.

func (*OAuthApp) DeepCopyInto

func (in *OAuthApp) DeepCopyInto(out *OAuthApp)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OAuthAppList

type OAuthAppList List[OAuthApp]

func (*OAuthAppList) DeepCopy

func (in *OAuthAppList) DeepCopy() *OAuthAppList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthAppList.

func (*OAuthAppList) DeepCopyInto

func (in *OAuthAppList) DeepCopyInto(out *OAuthAppList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OAuthAppLoginAuthStatus

type OAuthAppLoginAuthStatus struct {
	URL           string `json:"url,omitempty"`
	Authenticated bool   `json:"authenticated,omitempty"`
	Required      *bool  `json:"required,omitempty"`
	Error         string `json:"error,omitempty"`
}

func (*OAuthAppLoginAuthStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthAppLoginAuthStatus.

func (*OAuthAppLoginAuthStatus) DeepCopyInto

func (in *OAuthAppLoginAuthStatus) DeepCopyInto(out *OAuthAppLoginAuthStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OAuthAppManifest

type OAuthAppManifest struct {
	Type         OAuthAppType `json:"type"`
	Name         string       `json:"name,omitempty"`
	ClientID     string       `json:"clientID"`
	ClientSecret string       `json:"clientSecret,omitempty"`
	// These fields are only needed for custom OAuth apps.
	AuthURL  string `json:"authURL,omitempty"`
	TokenURL string `json:"tokenURL,omitempty"`
	// This field is only needed for Microsoft 365 OAuth apps.
	TenantID *string `json:"tenantID,omitempty"`
	// This field is only needed for HubSpot OAuth apps.
	AppID string `json:"appID,omitempty"`
	// This field is optional for HubSpot OAuth apps.
	OptionalScope string `json:"optionalScope,omitempty"`
	// This field is required, it correlates to the integration name in the gptscript oauth cred tool
	Alias string `json:"alias,omitempty"`
	// Global indicates if the OAuth app is globally applied to all agents. Defaults to false.
	Global *bool `json:"global,omitempty"`
	// This field is only used by Salesforce
	InstanceURL string `json:"instanceURL,omitempty"`
	// This field is used for GitLab enterprise instances
	GitLabBaseURL string `json:"gitlabBaseURL,omitempty"`
	// AuthorizationServerURL is the URL used in the MCP oauth flow
	AuthorizationServerURL string `json:"authorizationServerURL,omitempty"`
}

func (*OAuthAppManifest) DeepCopy

func (in *OAuthAppManifest) DeepCopy() *OAuthAppManifest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthAppManifest.

func (*OAuthAppManifest) DeepCopyInto

func (in *OAuthAppManifest) DeepCopyInto(out *OAuthAppManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OAuthAppType

type OAuthAppType string
const (
	OAuthAppTypeAtlassian    OAuthAppType = "atlassian"
	OAuthAppTypeMicrosoft365 OAuthAppType = "microsoft365"
	OAuthAppTypeSlack        OAuthAppType = "slack"
	OAuthAppTypeNotion       OAuthAppType = "notion"
	OAuthAppTypeHubSpot      OAuthAppType = "hubspot"
	OAuthAppTypeGitHub       OAuthAppType = "github"
	OAuthAppTypeGoogle       OAuthAppType = "google"
	OAuthAppTypeSalesforce   OAuthAppType = "salesforce"
	OAuthAppTypeZoom         OAuthAppType = "zoom"
	OAuthAppTypeLinkedIn     OAuthAppType = "linkedin"
	OAuthAppTypePagerDuty    OAuthAppType = "pagerduty"
	OAuthAppTypeSmartThings  OAuthAppType = "smartthings"
	OAuthAppTypeGitLab       OAuthAppType = "gitlab"
	OAuthAppTypeCustom       OAuthAppType = "custom"
)

type OAuthClient

type OAuthClient struct {
	Metadata
	OAuthClientManifest
	RegistrationAccessToken    string `json:"registration_access_token,omitempty"`
	RegistrationTokenIssuedAt  int64  `json:"registration_token_issued_at"`
	RegistrationTokenExpiresAt int64  `json:"registration_token_expires_at"`
	RegistrationClientURI      string `json:"registration_client_uri"`
	ClientID                   string `json:"client_id"`
	ClientSecret               string `json:"client_secret,omitempty"`
	ClientSecretIssuedAt       int64  `json:"client_secret_issued_at"`
	ClientSecretExpiresAt      int64  `json:"client_secret_expires_at"`
}

func (*OAuthClient) DeepCopy

func (in *OAuthClient) DeepCopy() *OAuthClient

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClient.

func (*OAuthClient) DeepCopyInto

func (in *OAuthClient) DeepCopyInto(out *OAuthClient)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OAuthClientManifest

type OAuthClientManifest struct {
	// RedirectURI is a single redirection URI string
	// Maintained for backward compatibility
	//
	// Deprecated: use RedirectURIs instead
	RedirectURI string `json:"redirect_uri,omitempty"`

	// RedirectURIs is an array of redirection URI strings for use in redirect-based flows
	// such as the authorization code and implicit flows. As required by Section 2 of OAuth 2.0 [RFC6749],
	// clients using flows with redirection MUST register their redirection URI values.
	// Required for redirect-based flows.
	RedirectURIs []string `json:"redirect_uris,omitempty"`

	// TokenEndpointAuthMethod is a string indicator of the requested authentication method for the token endpoint.
	// Values defined include: "none", "client_secret_post", "client_secret_basic".
	// If unspecified or omitted, the default is "client_secret_basic".
	// Optional.
	TokenEndpointAuthMethod string `json:"token_endpoint_auth_method,omitempty"`

	// GrantTypes is an array of OAuth 2.0 grant type strings that the client can use at the token endpoint.
	// If omitted, the default behavior is that the client will use only the "authorization_code" Grant Type.
	// Optional.
	GrantTypes []string `json:"grant_types,omitempty"`

	// ResponseTypes is an array of the OAuth 2.0 response type strings that the client can use at the authorization endpoint.
	// If omitted, the default is that the client will use only the "code" response type.
	// Optional.
	ResponseTypes []string `json:"response_types,omitempty"`

	// ClientName is a human-readable string name of the client to be presented to the end-user during authorization.
	// If omitted, the authorization server MAY display the raw "client_id" value to the end-user instead.
	// It is RECOMMENDED that clients always send this field.
	// Optional.
	ClientName string `json:"client_name,omitempty"`

	// ClientURI is a URL string of a web page providing information about the client.
	// If present, the server SHOULD display this URL to the end-user in a clickable fashion.
	// It is RECOMMENDED that clients always send this field.
	// Optional.
	ClientURI string `json:"client_uri,omitempty"`

	// LogoURI is a URL string that references a logo for the client.
	// If present, the server SHOULD display this image to the end-user during approval.
	// Optional.
	LogoURI string `json:"logo_uri,omitempty"`

	// Scope is a string containing a space-separated list of scope values that the client can use when requesting access tokens.
	// If omitted, an authorization server MAY register a client with a default set of scopes.
	// Optional.
	Scope string `json:"scope,omitempty"`

	// Contacts is an array of strings representing ways to contact people responsible for this client, typically email addresses.
	// Optional.
	Contacts []string `json:"contacts,omitempty"`

	// TOSURI is a URL string that points to a human-readable terms of service document for the client.
	// Optional.
	TOSURI string `json:"tos_uri,omitempty"`

	// PolicyURI is a URL string that points to a human-readable privacy policy document.
	// Optional.
	PolicyURI string `json:"policy_uri,omitempty"`

	// JWKSURI is a URL string referencing the client's JSON Web Key (JWK) Set document, which contains the client's public keys.
	// The "jwks_uri" and "jwks" parameters MUST NOT both be present in the same request or response.
	// Optional.
	JWKSURI string `json:"jwks_uri,omitempty"`

	// JWKS is the client's JSON Web Key Set document value, which contains the client's public keys.
	// This parameter is intended to be used by clients that cannot use the "jwks_uri" parameter.
	// The "jwks_uri" and "jwks" parameters MUST NOT both be present in the same request or response.
	// Optional.
	JWKS string `json:"jwks,omitempty"`

	// SoftwareID is a unique identifier string assigned by the client developer or software publisher
	// used by registration endpoints to identify the client software to be dynamically registered.
	// Optional.
	SoftwareID string `json:"software_id,omitempty"`

	// SoftwareVersion is a version identifier string for the client software identified by "software_id".
	// Optional.
	SoftwareVersion string `json:"software_version,omitempty"`
}

func (*OAuthClientManifest) DeepCopy

func (in *OAuthClientManifest) DeepCopy() *OAuthClientManifest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClientManifest.

func (*OAuthClientManifest) DeepCopyInto

func (in *OAuthClientManifest) DeepCopyInto(out *OAuthClientManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OAuthToken

type OAuthToken struct {
	AccessToken  string `json:"access_token"`
	RefreshToken string `json:"refresh_token"`
	ExpiresIn    int    `json:"expires_in"`
	TokenType    string `json:"token_type"`
}

func (*OAuthToken) DeepCopy

func (in *OAuthToken) DeepCopy() *OAuthToken

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthToken.

func (*OAuthToken) DeepCopyInto

func (in *OAuthToken) DeepCopyInto(out *OAuthToken)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OnEmail

type OnEmail struct {
	EmailReceiverManifest `json:",inline"`
}

func (*OnEmail) DeepCopy

func (in *OnEmail) DeepCopy() *OnEmail

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnEmail.

func (*OnEmail) DeepCopyInto

func (in *OnEmail) DeepCopyInto(out *OnEmail)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OnWebhook

type OnWebhook struct {
	WebhookManifest `json:",inline"`
}

func (*OnWebhook) DeepCopy

func (in *OnWebhook) DeepCopy() *OnWebhook

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnWebhook.

func (*OnWebhook) DeepCopyInto

func (in *OnWebhook) DeepCopyInto(out *OnWebhook)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OneDriveConfig

type OneDriveConfig struct {
	SharedLinks []string `json:"sharedLinks,omitempty"`
}

func (*OneDriveConfig) DeepCopy

func (in *OneDriveConfig) DeepCopy() *OneDriveConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OneDriveConfig.

func (*OneDriveConfig) DeepCopyInto

func (in *OneDriveConfig) DeepCopyInto(out *OneDriveConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PowerUserWorkspace

type PowerUserWorkspace struct {
	Metadata
	UserID string `json:"userID,omitempty"`
	Role   Role   `json:"role,omitempty"`
}

func (*PowerUserWorkspace) DeepCopy

func (in *PowerUserWorkspace) DeepCopy() *PowerUserWorkspace

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PowerUserWorkspace.

func (*PowerUserWorkspace) DeepCopyInto

func (in *PowerUserWorkspace) DeepCopyInto(out *PowerUserWorkspace)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PowerUserWorkspaceList

type PowerUserWorkspaceList List[PowerUserWorkspace]

func (*PowerUserWorkspaceList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PowerUserWorkspaceList.

func (*PowerUserWorkspaceList) DeepCopyInto

func (in *PowerUserWorkspaceList) DeepCopyInto(out *PowerUserWorkspaceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Progress

type Progress struct {
	// RunID should be populated for all progress events to associate this event with a run
	// If RunID is not populated, the event will not specify tied to any particular run
	RunID string `json:"runID,omitempty"`

	// ThreadID may be populated on any event indicating the current thread of the event stream
	ThreadID string `json:"threadID,omitempty"`

	// ParentRunID is the parent run of the run that is specified in the RunID field
	ParentRunID string `json:"parentRunID,omitempty"`

	// Time is the time the event was generated
	Time *Time `json:"time,omitempty"`

	// Content is the output data. The content for all events should be concatenated to form the entire output
	// If you wish to print event and are not concerned with tracking the internal progress when one can just
	// only the content field in a very simple loop
	Content string `json:"content"`

	// ContentID is a unique identifier for the content. This is used to track the content across multiple events.
	// This field applies to Content and ToolInput.Content fields.
	ContentID string `json:"contentID,omitempty"`

	// Some input that was provided to the run
	Input string `json:"input,omitempty"`
	// InputIsStepTemplateInput indicates that the input will be passed to a step template. Later an event will be
	// sent with the step template invoke information in the StepTemplateInvoke field
	InputIsStepTemplateInput bool `json:"inputIsStepTemplateInput,omitempty"`
	// StepTemplateInvoke indicates that a step template is being invoked
	StepTemplateInvoke *StepTemplateInvoke `json:"stepTemplateInvoke,omitempty"`
	// If prompt is set, content will also be set, but you can ignore the content field and instead handle the explicit
	// information in the prompt field which will provider more information for things such as OAuth
	Prompt *Prompt `json:"prompt,omitempty"`
	// The step that is currently being executed. When this is set the following events are assumed to be part of
	// this step until the next step is set. This field is not always set, only set when the set changes
	Step *Step `json:"step,omitempty"`
	// ToolInput indicates the LLM is currently generating tool arguments which can sometime take a while
	ToolInput *ToolInput `json:"toolInput,omitempty"`
	// ToolCall indicates the LLM is currently calling a tool.
	ToolCall *ToolCall `json:"toolCall,omitempty"`
	// WaitingOnModel indicates we are waiting for the model to start responding with content
	WaitingOnModel bool `json:"waitingOnModel,omitempty"`
	// Error indicates that an error occurred
	Error string `json:"error,omitempty"`
	// The run is done, either success or failure
	RunComplete bool `json:"runComplete,omitempty"`
	// ReplayComplete indicates that all existing events have been sent and future events will be new events
	ReplayComplete bool `json:"replayComplete,omitempty"`
	// Username is the username of the user who triggered the run
	Username string `json:"username,omitempty"`
}

func (*Progress) DeepCopy

func (in *Progress) DeepCopy() *Progress

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Progress.

func (*Progress) DeepCopyInto

func (in *Progress) DeepCopyInto(out *Progress)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Project

type Project struct {
	Metadata
	ProjectManifest
	AssistantID                  string                       `json:"assistantID,omitempty"`
	Editor                       bool                         `json:"editor"`
	ParentID                     string                       `json:"parentID,omitempty"`
	SourceProjectID              string                       `json:"sourceProjectID,omitempty"`
	UserID                       string                       `json:"userID,omitempty"`
	WorkflowNamesFromIntegration WorkflowNamesFromIntegration `json:"workflowNamesFromIntegration,omitempty"`
	TemplateUpgradeAvailable     bool                         `json:"templateUpgradeAvailable,omitempty"`
	TemplateUpgradeInProgress    bool                         `json:"templateUpgradeInProgress,omitempty"`
	TemplateLastUpgraded         *Time                        `json:"templateLastUpgraded,omitempty"`
	TemplatePublicID             string                       `json:"templatePublicID,omitempty"`
}

func (*Project) DeepCopy

func (in *Project) DeepCopy() *Project

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.

func (*Project) DeepCopyInto

func (in *Project) DeepCopyInto(out *Project)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectCapabilities

type ProjectCapabilities struct {
	OnSlackMessage   bool       `json:"onSlackMessage,omitempty"`
	OnDiscordMessage bool       `json:"onDiscordMessage,omitempty"`
	OnEmail          *OnEmail   `json:"onEmail,omitempty"`
	OnWebhook        *OnWebhook `json:"onWebhook,omitempty"`
}

func (*ProjectCapabilities) DeepCopy

func (in *ProjectCapabilities) DeepCopy() *ProjectCapabilities

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectCapabilities.

func (*ProjectCapabilities) DeepCopyInto

func (in *ProjectCapabilities) DeepCopyInto(out *ProjectCapabilities)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectCredential

type ProjectCredential struct {
	ToolID    string `json:"toolID,omitempty"`
	ToolName  string `json:"toolName,omitempty"`
	Icon      string `json:"icon,omitempty"`
	Exists    bool   `json:"exists"`
	BaseAgent bool   `json:"baseAgent"`
}

func (*ProjectCredential) DeepCopy

func (in *ProjectCredential) DeepCopy() *ProjectCredential

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectCredential.

func (*ProjectCredential) DeepCopyInto

func (in *ProjectCredential) DeepCopyInto(out *ProjectCredential)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectCredentialList

type ProjectCredentialList List[ProjectCredential]

func (*ProjectCredentialList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectCredentialList.

func (*ProjectCredentialList) DeepCopyInto

func (in *ProjectCredentialList) DeepCopyInto(out *ProjectCredentialList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectInvitationManifest

type ProjectInvitationManifest struct {
	Code    string                  `json:"code,omitempty"`
	Project *Project                `json:"project,omitempty"`
	Status  ProjectInvitationStatus `json:"status,omitempty"`
	Created string                  `json:"created,omitempty"`
}

func (*ProjectInvitationManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectInvitationManifest.

func (*ProjectInvitationManifest) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectInvitationStatus

type ProjectInvitationStatus string
const (
	ProjectInvitationStatusPending  ProjectInvitationStatus = "pending"
	ProjectInvitationStatusAccepted ProjectInvitationStatus = "accepted"
	ProjectInvitationStatusRejected ProjectInvitationStatus = "rejected"
	ProjectInvitationStatusExpired  ProjectInvitationStatus = "expired"
)

type ProjectList

type ProjectList List[Project]

func (*ProjectList) DeepCopy

func (in *ProjectList) DeepCopy() *ProjectList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectList.

func (*ProjectList) DeepCopyInto

func (in *ProjectList) DeepCopyInto(out *ProjectList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectMCPServer

type ProjectMCPServer struct {
	Metadata
	ProjectMCPServerManifest
	Name        string `json:"name"`
	Description string `json:"description"`
	Icon        string `json:"icon"`
	UserID      string `json:"userID"`

	// The following status fields are always copied from the MCPServer that this points to.
	Configured  bool `json:"configured"`
	NeedsURL    bool `json:"needsURL"`
	NeedsUpdate bool `json:"needsUpdate"`
}

func (*ProjectMCPServer) DeepCopy

func (in *ProjectMCPServer) DeepCopy() *ProjectMCPServer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectMCPServer.

func (*ProjectMCPServer) DeepCopyInto

func (in *ProjectMCPServer) DeepCopyInto(out *ProjectMCPServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectMCPServerList

type ProjectMCPServerList List[ProjectMCPServer]

func (*ProjectMCPServerList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectMCPServerList.

func (*ProjectMCPServerList) DeepCopyInto

func (in *ProjectMCPServerList) DeepCopyInto(out *ProjectMCPServerList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectMCPServerManifest

type ProjectMCPServerManifest struct {
	MCPID string `json:"mcpID"`
	Alias string `json:"alias,omitempty"`
}

func (*ProjectMCPServerManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectMCPServerManifest.

func (*ProjectMCPServerManifest) DeepCopyInto

func (in *ProjectMCPServerManifest) DeepCopyInto(out *ProjectMCPServerManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectManifest

type ProjectManifest struct {
	ThreadManifest
	Capabilities         *ProjectCapabilities `json:"capabilities,omitempty"`
	DefaultModelProvider string               `json:"defaultModelProvider,omitempty"`
	DefaultModel         string               `json:"defaultModel,omitempty"`
	Models               map[string][]string  `json:"models,omitempty"`
}

func (*ProjectManifest) DeepCopy

func (in *ProjectManifest) DeepCopy() *ProjectManifest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectManifest.

func (*ProjectManifest) DeepCopyInto

func (in *ProjectManifest) DeepCopyInto(out *ProjectManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectMember

type ProjectMember struct {
	UserID  string `json:"userID,omitempty"`
	IconURL string `json:"iconURL,omitempty"`
	Email   string `json:"email,omitempty"`
	IsOwner bool   `json:"isOwner,omitempty"`
}

func (*ProjectMember) DeepCopy

func (in *ProjectMember) DeepCopy() *ProjectMember

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectMember.

func (*ProjectMember) DeepCopyInto

func (in *ProjectMember) DeepCopyInto(out *ProjectMember)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectShare

type ProjectShare struct {
	Metadata
	ProjectShareManifest
	PublicID    string      `json:"publicID,omitempty"`
	ProjectID   string      `json:"projectID,omitempty"`
	Name        string      `json:"name,omitempty"`
	Description string      `json:"description,omitempty"`
	Icons       *AgentIcons `json:"icons"`
	Featured    bool        `json:"featured,omitempty"`
	Tools       []string    `json:"tools,omitempty"`
	Editor      bool        `json:"editor,omitempty"`
}

func (*ProjectShare) DeepCopy

func (in *ProjectShare) DeepCopy() *ProjectShare

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectShare.

func (*ProjectShare) DeepCopyInto

func (in *ProjectShare) DeepCopyInto(out *ProjectShare)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectShareList

type ProjectShareList List[ProjectShare]

func (*ProjectShareList) DeepCopy

func (in *ProjectShareList) DeepCopy() *ProjectShareList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectShareList.

func (*ProjectShareList) DeepCopyInto

func (in *ProjectShareList) DeepCopyInto(out *ProjectShareList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectShareManifest

type ProjectShareManifest struct {
	Public bool     `json:"public,omitempty"`
	Users  []string `json:"users,omitempty"`
}

func (*ProjectShareManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectShareManifest.

func (*ProjectShareManifest) DeepCopyInto

func (in *ProjectShareManifest) DeepCopyInto(out *ProjectShareManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectTemplate

type ProjectTemplate struct {
	Metadata
	ProjectSnapshot                  ThreadManifest `json:"projectSnapshot,omitempty"`
	ProjectSnapshotLastUpgraded      *Time          `json:"projectSnapshotLastUpgraded,omitempty"`
	ProjectSnapshotStale             bool           `json:"projectSnapshotStale,omitempty"`
	ProjectSnapshotUpgradeInProgress bool           `json:"projectSnapshotUpgradeInProgress,omitempty"`
	MCPServers                       []string       `json:"mcpServers,omitempty"`
	AssistantID                      string         `json:"assistantID,omitempty"`
	ProjectID                        string         `json:"projectID,omitempty"`
	PublicID                         string         `json:"publicID,omitempty"`
	Ready                            bool           `json:"ready,omitempty"`
}

func (*ProjectTemplate) DeepCopy

func (in *ProjectTemplate) DeepCopy() *ProjectTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectTemplate.

func (*ProjectTemplate) DeepCopyInto

func (in *ProjectTemplate) DeepCopyInto(out *ProjectTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectTemplateList

type ProjectTemplateList List[ProjectTemplate]

func (*ProjectTemplateList) DeepCopy

func (in *ProjectTemplateList) DeepCopy() *ProjectTemplateList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectTemplateList.

func (*ProjectTemplateList) DeepCopyInto

func (in *ProjectTemplateList) DeepCopyInto(out *ProjectTemplateList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Prompt

type Prompt struct {
	ID          string            `json:"id,omitempty"`
	Name        string            `json:"name,omitempty"`
	Description string            `json:"description,omitempty"`
	Time        *Time             `json:"time,omitempty"`
	Message     string            `json:"message,omitempty"`
	Fields      Fields            `json:"fields,omitempty"`
	Sensitive   bool              `json:"sensitive,omitempty"`
	Metadata    map[string]string `json:"metadata,omitempty"`
}

func (*Prompt) DeepCopy

func (in *Prompt) DeepCopy() *Prompt

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Prompt.

func (*Prompt) DeepCopyInto

func (in *Prompt) DeepCopyInto(out *Prompt)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PromptResponse

type PromptResponse struct {
	ID        string            `json:"id,omitempty"`
	Responses map[string]string `json:"response,omitempty"`
}

func (*PromptResponse) DeepCopy

func (in *PromptResponse) DeepCopy() *PromptResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromptResponse.

func (*PromptResponse) DeepCopyInto

func (in *PromptResponse) DeepCopyInto(out *PromptResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProviderConfigurationParameter

type ProviderConfigurationParameter struct {
	Name         string `json:"name"`
	FriendlyName string `json:"friendlyName,omitempty"`
	Description  string `json:"description,omitempty"`
	Sensitive    bool   `json:"sensitive,omitempty"`
	Hidden       bool   `json:"hidden,omitempty"`
}

func (*ProviderConfigurationParameter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigurationParameter.

func (*ProviderConfigurationParameter) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RemainingTokenUsage

type RemainingTokenUsage struct {
	UserID                    string `json:"userID,omitempty"`
	PromptTokens              int    `json:"promptTokens"`
	CompletionTokens          int    `json:"completionTokens"`
	UnlimitedPromptTokens     bool   `json:"unlimitedPromptTokens"`
	UnlimitedCompletionTokens bool   `json:"unlimitedCompletionTokens"`
}

func (*RemainingTokenUsage) DeepCopy

func (in *RemainingTokenUsage) DeepCopy() *RemainingTokenUsage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemainingTokenUsage.

func (*RemainingTokenUsage) DeepCopyInto

func (in *RemainingTokenUsage) DeepCopyInto(out *RemainingTokenUsage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RemainingTokenUsageList

type RemainingTokenUsageList List[RemainingTokenUsage]

func (*RemainingTokenUsageList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemainingTokenUsageList.

func (*RemainingTokenUsageList) DeepCopyInto

func (in *RemainingTokenUsageList) DeepCopyInto(out *RemainingTokenUsageList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RemoteCatalogConfig

type RemoteCatalogConfig struct {
	FixedURL    string      `json:"fixedURL,omitempty"`    // Fixed URL for all instances
	URLTemplate string      `json:"urlTemplate,omitempty"` // URL template for user URLs
	Hostname    string      `json:"hostname,omitempty"`    // Required hostname for user URLs
	Headers     []MCPHeader `json:"headers,omitempty"`     // Optional
}

RemoteCatalogConfig represents template configuration for remote servers in catalog entries

func (*RemoteCatalogConfig) DeepCopy

func (in *RemoteCatalogConfig) DeepCopy() *RemoteCatalogConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteCatalogConfig.

func (*RemoteCatalogConfig) DeepCopyInto

func (in *RemoteCatalogConfig) DeepCopyInto(out *RemoteCatalogConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RemoteRuntimeConfig

type RemoteRuntimeConfig struct {
	URL        string      `json:"url"`               // Required: Full URL to remote MCP server
	Headers    []MCPHeader `json:"headers,omitempty"` // Optional
	IsTemplate bool        `json:"isTemplate"`        // Optional: Whether the URL is a template
}

RemoteRuntimeConfig represents configuration for remote runtime (External MCP servers)

func (*RemoteRuntimeConfig) DeepCopy

func (in *RemoteRuntimeConfig) DeepCopy() *RemoteRuntimeConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteRuntimeConfig.

func (*RemoteRuntimeConfig) DeepCopyInto

func (in *RemoteRuntimeConfig) DeepCopyInto(out *RemoteRuntimeConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Resource

type Resource struct {
	Type ResourceType `json:"type"`
	ID   string       `json:"id"`
}

func (*Resource) DeepCopy

func (in *Resource) DeepCopy() *Resource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.

func (*Resource) DeepCopyInto

func (in *Resource) DeepCopyInto(out *Resource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Resource) Validate

func (r Resource) Validate() error

type ResourceType

type ResourceType string
const (
	ResourceTypeMCPServerCatalogEntry ResourceType = "mcpServerCatalogEntry"
	ResourceTypeMCPServer             ResourceType = "mcpServer"
	ResourceTypeMcpCatalog            ResourceType = "mcpCatalog"
	ResourceTypeSelector              ResourceType = "selector"
)

type Role

type Role int

func (Role) Groups

func (u Role) Groups() []string

func (Role) HasRole

func (u Role) HasRole(role Role) bool

func (Role) IsExactBaseRole

func (u Role) IsExactBaseRole(role Role) bool

func (Role) SwitchBaseRole

func (u Role) SwitchBaseRole(role Role) Role

type Run

type Run struct {
	ID             string `json:"id,omitempty"`
	Created        Time   `json:"created,omitempty"`
	ThreadID       string `json:"threadID,omitempty"`
	AgentID        string `json:"agentID,omitempty"`
	WorkflowID     string `json:"workflowID,omitempty"`
	WorkflowStepID string `json:"workflowStepID,omitempty"`
	PreviousRunID  string `json:"previousRunID,omitempty"`
	Input          string `json:"input"`
	State          string `json:"state,omitempty"`
	Output         string `json:"output,omitempty"`
	Error          string `json:"error,omitempty"`
}

func (*Run) DeepCopy

func (in *Run) DeepCopy() *Run

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Run.

func (*Run) DeepCopyInto

func (in *Run) DeepCopyInto(out *Run)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RunDebug

type RunDebug struct {
	// Spec is opaque, for human eyes only
	Spec any `json:"spec"`
	// Status is opaque, for human eyes only
	Status   any                            `json:"status"`
	Frames   map[string]gptscript.CallFrame `json:"frames"`
	RunState any                            `json:"runState,omitempty"`
}

+k8s:openapi-gen=false

type RunList

type RunList List[Run]

func (*RunList) DeepCopy

func (in *RunList) DeepCopy() *RunList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunList.

func (*RunList) DeepCopyInto

func (in *RunList) DeepCopyInto(out *RunList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Runtime

type Runtime string

Runtime represents the execution runtime type for MCP servers

const (
	RuntimeUVX           Runtime = "uvx"
	RuntimeNPX           Runtime = "npx"
	RuntimeContainerized Runtime = "containerized"
	RuntimeRemote        Runtime = "remote"
)

Runtime constants for different MCP server execution environments

type RuntimeValidationError

type RuntimeValidationError struct {
	Runtime Runtime
	Field   string
	Message string
}

RuntimeValidationError represents a validation error for runtime-specific configuration

func (*RuntimeValidationError) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeValidationError.

func (*RuntimeValidationError) DeepCopyInto

func (in *RuntimeValidationError) DeepCopyInto(out *RuntimeValidationError)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (RuntimeValidationError) Error

func (e RuntimeValidationError) Error() string

type Schedule

type Schedule struct {
	// Valid values are: "hourly", "daily", "weekly", "monthly"
	Interval string `json:"interval"`
	Hour     int    `json:"hour"`
	Minute   int    `json:"minute"`
	Day      int    `json:"day"`
	Weekday  int    `json:"weekday"`
	TimeZone string `json:"timezone"`
}

func (*Schedule) DeepCopy

func (in *Schedule) DeepCopy() *Schedule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Schedule.

func (*Schedule) DeepCopyInto

func (in *Schedule) DeepCopyInto(out *Schedule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SlackReceiver

type SlackReceiver struct {
	Metadata
	SlackReceiverManifest

	ClientSecret  string `json:"clientSecret,omitempty"`
	SigningSecret string `json:"signingSecret,omitempty"`
	AppToken      string `json:"appToken,omitempty"`
}

func (*SlackReceiver) DeepCopy

func (in *SlackReceiver) DeepCopy() *SlackReceiver

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackReceiver.

func (*SlackReceiver) DeepCopyInto

func (in *SlackReceiver) DeepCopyInto(out *SlackReceiver)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SlackReceiverList

type SlackReceiverList List[SlackReceiver]

func (*SlackReceiverList) DeepCopy

func (in *SlackReceiverList) DeepCopy() *SlackReceiverList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackReceiverList.

func (*SlackReceiverList) DeepCopyInto

func (in *SlackReceiverList) DeepCopyInto(out *SlackReceiverList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SlackReceiverManifest

type SlackReceiverManifest struct {
	// AppID corresponds to the App ID of the Slack app. It's important to not that
	// this value is not validated. The user can insert whatever they want here. Don't
	// trust this value. Use the value from oauth flow to validate the app.
	AppID    string `json:"appId,omitempty"`
	ClientID string `json:"clientId,omitempty"`
}

SlackReceiverManifest defines the configuration for a Slack receiver

func (*SlackReceiverManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackReceiverManifest.

func (*SlackReceiverManifest) DeepCopyInto

func (in *SlackReceiverManifest) DeepCopyInto(out *SlackReceiverManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Step

type Step struct {
	ID   string   `json:"id,omitempty"`
	Step string   `json:"step,omitempty"`
	Loop []string `json:"loop,omitempty"`
}

func FindStep

func FindStep(manifest *WorkflowManifest, id string) (_ *Step, parentID string)

func (*Step) DeepCopy

func (in *Step) DeepCopy() *Step

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Step.

func (*Step) DeepCopyInto

func (in *Step) DeepCopyInto(out *Step)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Step) Display

func (s Step) Display() string

type StepTemplateInvoke

type StepTemplateInvoke struct {
	Name        string            `json:"name,omitempty"`
	Description string            `json:"description,omitempty"`
	Args        map[string]string `json:"args,omitempty"`
	Result      string            `json:"result,omitempty"`
}

func (*StepTemplateInvoke) DeepCopy

func (in *StepTemplateInvoke) DeepCopy() *StepTemplateInvoke

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepTemplateInvoke.

func (*StepTemplateInvoke) DeepCopyInto

func (in *StepTemplateInvoke) DeepCopyInto(out *StepTemplateInvoke)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Subject

type Subject struct {
	Type SubjectType `json:"type"`
	ID   string      `json:"id"`
}

func (*Subject) DeepCopy

func (in *Subject) DeepCopy() *Subject

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject.

func (*Subject) DeepCopyInto

func (in *Subject) DeepCopyInto(out *Subject)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Subject) Validate

func (s Subject) Validate() error

type SubjectType

type SubjectType string
const (
	SubjectTypeGroup    SubjectType = "group"
	SubjectTypeUser     SubjectType = "user"
	SubjectTypeSelector SubjectType = "selector"
)

type Task

type Task struct {
	Metadata
	TaskManifest
	ProjectID string `json:"projectID,omitempty"`
	Alias     string `json:"alias,omitempty"`
	Managed   bool   `json:"managed"`
}

func (*Task) DeepCopy

func (in *Task) DeepCopy() *Task

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Task.

func (*Task) DeepCopyInto

func (in *Task) DeepCopyInto(out *Task)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskEmail

type TaskEmail struct {
}

func (*TaskEmail) DeepCopy

func (in *TaskEmail) DeepCopy() *TaskEmail

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskEmail.

func (*TaskEmail) DeepCopyInto

func (in *TaskEmail) DeepCopyInto(out *TaskEmail)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskList

type TaskList List[Task]

func (*TaskList) DeepCopy

func (in *TaskList) DeepCopy() *TaskList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskList.

func (*TaskList) DeepCopyInto

func (in *TaskList) DeepCopyInto(out *TaskList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskManifest

type TaskManifest struct {
	Name             string                `json:"name"`
	Description      string                `json:"description"`
	Steps            []TaskStep            `json:"steps"`
	Schedule         *Schedule             `json:"schedule"`
	Webhook          *TaskWebhook          `json:"webhook"`
	Email            *TaskEmail            `json:"email"`
	OnDemand         *TaskOnDemand         `json:"onDemand"`
	OnSlackMessage   *TaskOnSlackMessage   `json:"onSlackMessage"`
	OnDiscordMessage *TaskOnDiscordMessage `json:"onDiscordMessage"`
}

func (*TaskManifest) DeepCopy

func (in *TaskManifest) DeepCopy() *TaskManifest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskManifest.

func (*TaskManifest) DeepCopyInto

func (in *TaskManifest) DeepCopyInto(out *TaskManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskOnDemand

type TaskOnDemand struct {
	Params map[string]string `json:"params,omitempty"`
}

func (*TaskOnDemand) DeepCopy

func (in *TaskOnDemand) DeepCopy() *TaskOnDemand

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskOnDemand.

func (*TaskOnDemand) DeepCopyInto

func (in *TaskOnDemand) DeepCopyInto(out *TaskOnDemand)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskOnDiscordMessage

type TaskOnDiscordMessage struct {
}

func (*TaskOnDiscordMessage) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskOnDiscordMessage.

func (*TaskOnDiscordMessage) DeepCopyInto

func (in *TaskOnDiscordMessage) DeepCopyInto(out *TaskOnDiscordMessage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskOnSlackMessage

type TaskOnSlackMessage struct {
}

func (*TaskOnSlackMessage) DeepCopy

func (in *TaskOnSlackMessage) DeepCopy() *TaskOnSlackMessage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskOnSlackMessage.

func (*TaskOnSlackMessage) DeepCopyInto

func (in *TaskOnSlackMessage) DeepCopyInto(out *TaskOnSlackMessage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskRun

type TaskRun struct {
	Metadata
	TaskID    string       `json:"taskID,omitempty"`
	ThreadID  string       `json:"threadID,omitempty"`
	Input     string       `json:"input,omitempty"`
	Output    string       `json:"output,omitempty"`
	Task      TaskManifest `json:"task,omitempty"`
	StartTime *Time        `json:"startTime,omitempty"`
	EndTime   *Time        `json:"endTime,omitempty"`
	Error     string       `json:"error,omitempty"`
}

func (*TaskRun) DeepCopy

func (in *TaskRun) DeepCopy() *TaskRun

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskRun.

func (*TaskRun) DeepCopyInto

func (in *TaskRun) DeepCopyInto(out *TaskRun)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskRunList

type TaskRunList List[TaskRun]

func (*TaskRunList) DeepCopy

func (in *TaskRunList) DeepCopy() *TaskRunList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskRunList.

func (*TaskRunList) DeepCopyInto

func (in *TaskRunList) DeepCopyInto(out *TaskRunList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskStep

type TaskStep struct {
	ID   string   `json:"id,omitempty"`
	Step string   `json:"step,omitempty"`
	Loop []string `json:"loop,omitempty"`
}

func (*TaskStep) DeepCopy

func (in *TaskStep) DeepCopy() *TaskStep

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskStep.

func (*TaskStep) DeepCopyInto

func (in *TaskStep) DeepCopyInto(out *TaskStep)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskWebhook

type TaskWebhook struct {
}

func (*TaskWebhook) DeepCopy

func (in *TaskWebhook) DeepCopy() *TaskWebhook

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskWebhook.

func (*TaskWebhook) DeepCopyInto

func (in *TaskWebhook) DeepCopyInto(out *TaskWebhook)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TemplateAuthorization

type TemplateAuthorization struct {
	TemplateAuthorizationManifest
}

func (*TemplateAuthorization) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateAuthorization.

func (*TemplateAuthorization) DeepCopyInto

func (in *TemplateAuthorization) DeepCopyInto(out *TemplateAuthorization)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TemplateAuthorizationList

type TemplateAuthorizationList List[TemplateAuthorization]

func (*TemplateAuthorizationList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateAuthorizationList.

func (*TemplateAuthorizationList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TemplateAuthorizationManifest

type TemplateAuthorizationManifest struct {
	UserID     string `json:"userID,omitempty"`
	TemplateID string `json:"templateID,omitempty"`
}

func (*TemplateAuthorizationManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateAuthorizationManifest.

func (*TemplateAuthorizationManifest) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Thread

type Thread struct {
	Metadata
	ThreadManifest
	AssistantID     string   `json:"assistantID,omitempty"`
	TaskID          string   `json:"taskID,omitempty"`
	TaskRunID       string   `json:"taskRunID,omitempty"`
	WebhookID       string   `json:"webhookID,omitempty"`
	EmailReceiverID string   `json:"emailReceiverID,omitempty"`
	State           string   `json:"state,omitempty"`
	LastRunID       string   `json:"lastRunID,omitempty"`
	CurrentRunID    string   `json:"currentRunID,omitempty"`
	ProjectID       string   `json:"projectID,omitempty"`
	UserID          string   `json:"userID,omitempty"`
	Abort           bool     `json:"abort,omitempty"`
	SystemTask      bool     `json:"systemTask,omitempty"`
	Ephemeral       bool     `json:"ephemeral,omitempty"`
	Project         bool     `json:"project,omitempty"`
	Env             []string `json:"env,omitempty"`
	Ready           bool     `json:"ready,omitempty"`
}

func (*Thread) DeepCopy

func (in *Thread) DeepCopy() *Thread

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Thread.

func (*Thread) DeepCopyInto

func (in *Thread) DeepCopyInto(out *Thread)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ThreadAuthorization

type ThreadAuthorization struct {
	ThreadAuthorizationManifest
}

func (*ThreadAuthorization) DeepCopy

func (in *ThreadAuthorization) DeepCopy() *ThreadAuthorization

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreadAuthorization.

func (*ThreadAuthorization) DeepCopyInto

func (in *ThreadAuthorization) DeepCopyInto(out *ThreadAuthorization)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ThreadAuthorizationList

type ThreadAuthorizationList List[ThreadAuthorization]

func (*ThreadAuthorizationList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreadAuthorizationList.

func (*ThreadAuthorizationList) DeepCopyInto

func (in *ThreadAuthorizationList) DeepCopyInto(out *ThreadAuthorizationList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ThreadAuthorizationManifest

type ThreadAuthorizationManifest struct {
	UserID   string `json:"userID,omitempty"`
	ThreadID string `json:"threadID,omitempty"`
}

func (*ThreadAuthorizationManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreadAuthorizationManifest.

func (*ThreadAuthorizationManifest) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ThreadList

type ThreadList List[Thread]

func (*ThreadList) DeepCopy

func (in *ThreadList) DeepCopy() *ThreadList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreadList.

func (*ThreadList) DeepCopyInto

func (in *ThreadList) DeepCopyInto(out *ThreadList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ThreadManifest

type ThreadManifest struct {
	ThreadManifestManagedFields `json:",inline"`

	Tools           []string            `json:"tools,omitempty"`
	ModelProvider   string              `json:"modelProvider,omitempty"`
	Model           string              `json:"model,omitempty"`
	Prompt          string              `json:"prompt"`
	SharedTasks     []string            `json:"sharedTasks,omitempty"`
	AllowedMCPTools map[string][]string `json:"allowedMCPTools,omitempty"`
}

func (*ThreadManifest) DeepCopy

func (in *ThreadManifest) DeepCopy() *ThreadManifest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreadManifest.

func (*ThreadManifest) DeepCopyInto

func (in *ThreadManifest) DeepCopyInto(out *ThreadManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ThreadManifestManagedFields

type ThreadManifestManagedFields struct {
	Name                string            `json:"name"`
	Description         string            `json:"description,omitempty"`
	Icons               *AgentIcons       `json:"icons"`
	IntroductionMessage string            `json:"introductionMessage"`
	StarterMessages     []string          `json:"starterMessages"`
	WebsiteKnowledge    *WebsiteKnowledge `json:"websiteKnowledge,omitempty"`
}

func (*ThreadManifestManagedFields) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreadManifestManagedFields.

func (*ThreadManifestManagedFields) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Time

type Time struct {
	Time time.Time
}

func NewTime

func NewTime(t time.Time) *Time

func NewTimeFromPointer

func NewTimeFromPointer(t *time.Time) *Time

NewTimeFromPointer creates a new Time object from a pointer to a time.Time object. If the pointer is nil, the function returns nil.

func (*Time) DeepCopy

func (in *Time) DeepCopy() *Time

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Time.

func (*Time) DeepCopyInto

func (t *Time) DeepCopyInto(out *Time)

DeepCopyInto creates a deep-copy of the Time value. You can do a straight copy of the object because the underlying time.Time type is effectively immutable in the time API.

func (*Time) GetTime

func (t *Time) GetTime() time.Time

func (*Time) IsZero

func (t *Time) IsZero() bool

func (Time) MarshalJSON

func (t Time) MarshalJSON() ([]byte, error)

func (Time) OpenAPISchemaFormat

func (Time) OpenAPISchemaFormat() string

func (Time) OpenAPISchemaType

func (Time) OpenAPISchemaType() []string

func (Time) ToUnstructured

func (t Time) ToUnstructured() any

ToUnstructured implement value.UnstructuredConverter to make k8s happy? Dunno if I really need this.

func (*Time) UnmarshalJSON

func (t *Time) UnmarshalJSON(data []byte) error

type TokenUsage

type TokenUsage struct {
	UserID           string `json:"userID,omitempty"`
	RunName          string `json:"runName,omitempty"`
	PromptTokens     int    `json:"promptTokens"`
	CompletionTokens int    `json:"completionTokens"`
	TotalTokens      int    `json:"totalTokens"`
	Date             Time   `json:"date,omitzero"`
	PersonalToken    bool   `json:"personalToken"`
}

func (*TokenUsage) DeepCopy

func (in *TokenUsage) DeepCopy() *TokenUsage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenUsage.

func (*TokenUsage) DeepCopyInto

func (in *TokenUsage) DeepCopyInto(out *TokenUsage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TokenUsageList

type TokenUsageList List[TokenUsage]

func (*TokenUsageList) DeepCopy

func (in *TokenUsageList) DeepCopy() *TokenUsageList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenUsageList.

func (*TokenUsageList) DeepCopyInto

func (in *TokenUsageList) DeepCopyInto(out *TokenUsageList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ToolCall

type ToolCall struct {
	Name        string            `json:"name,omitempty"`
	Description string            `json:"description,omitempty"`
	TaskID      string            `json:"taskID,omitempty"`
	TaskRunID   string            `json:"taskRunID,omitempty"`
	Input       string            `json:"input,omitempty"`
	Output      string            `json:"output,omitempty"`
	Metadata    map[string]string `json:"metadata,omitempty"`
}

func (*ToolCall) DeepCopy

func (in *ToolCall) DeepCopy() *ToolCall

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolCall.

func (*ToolCall) DeepCopyInto

func (in *ToolCall) DeepCopyInto(out *ToolCall)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ToolInfo

type ToolInfo struct {
	CredentialNames []string `json:"credentialNames,omitempty"`
	Authorized      bool     `json:"authorized"`
}

func (*ToolInfo) DeepCopy

func (in *ToolInfo) DeepCopy() *ToolInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolInfo.

func (*ToolInfo) DeepCopyInto

func (in *ToolInfo) DeepCopyInto(out *ToolInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ToolInput

type ToolInput struct {
	Name        string            `json:"name,omitempty"`
	Description string            `json:"description,omitempty"`
	Input       string            `json:"input,omitempty"`
	Metadata    map[string]string `json:"metadata,omitempty"`
}

func (*ToolInput) DeepCopy

func (in *ToolInput) DeepCopy() *ToolInput

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolInput.

func (*ToolInput) DeepCopyInto

func (in *ToolInput) DeepCopyInto(out *ToolInput)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ToolManifest

type ToolManifest struct {
	Name         string            `json:"name,omitempty"`
	Description  string            `json:"description,omitempty"`
	Icon         string            `json:"icon,omitempty"`
	ToolType     ToolType          `json:"toolType,omitempty"`
	Image        string            `json:"image,omitempty"`
	Context      string            `json:"context,omitempty"`
	Instructions string            `json:"instructions,omitempty"`
	Params       map[string]string `json:"params,omitempty"`
}

func (*ToolManifest) DeepCopy

func (in *ToolManifest) DeepCopy() *ToolManifest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolManifest.

func (*ToolManifest) DeepCopyInto

func (in *ToolManifest) DeepCopyInto(out *ToolManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ToolReference

type ToolReference struct {
	Metadata
	ToolReferenceManifest
	Resolved       bool              `json:"resolved,omitempty"`
	Error          string            `json:"error,omitempty"`
	Builtin        bool              `json:"builtin,omitempty"`
	Description    string            `json:"description,omitempty"`
	Credentials    []string          `json:"credentials,omitempty"`
	Params         map[string]string `json:"params,omitempty"`
	Bundle         bool              `json:"bundle,omitempty"`
	BundleToolName string            `json:"bundleToolName,omitempty"`
}

func (*ToolReference) DeepCopy

func (in *ToolReference) DeepCopy() *ToolReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolReference.

func (*ToolReference) DeepCopyInto

func (in *ToolReference) DeepCopyInto(out *ToolReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ToolReferenceList

type ToolReferenceList List[ToolReference]

func (*ToolReferenceList) DeepCopy

func (in *ToolReferenceList) DeepCopy() *ToolReferenceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolReferenceList.

func (*ToolReferenceList) DeepCopyInto

func (in *ToolReferenceList) DeepCopyInto(out *ToolReferenceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ToolReferenceManifest

type ToolReferenceManifest struct {
	Name      string            `json:"name"`
	ToolType  ToolReferenceType `json:"toolType"`
	Commit    string            `json:"commit,omitempty"`
	Reference string            `json:"reference,omitempty"`
	Active    bool              `json:"active,omitempty"`
}

func (*ToolReferenceManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolReferenceManifest.

func (*ToolReferenceManifest) DeepCopyInto

func (in *ToolReferenceManifest) DeepCopyInto(out *ToolReferenceManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ToolReferenceType

type ToolReferenceType string
const (
	ToolReferenceTypeTool                    ToolReferenceType = "tool"
	ToolReferenceTypeKnowledgeDataSource     ToolReferenceType = "knowledgeDataSource"
	ToolReferenceTypeKnowledgeDocumentLoader ToolReferenceType = "knowledgeDocumentLoader"
	ToolReferenceTypeSystem                  ToolReferenceType = "system"
	ToolReferenceTypeModelProvider           ToolReferenceType = "modelProvider"
	ToolReferenceTypeAuthProvider            ToolReferenceType = "authProvider"
	ToolReferenceTypeFileScannerProvider     ToolReferenceType = "fileScannerProvider"
)

type ToolType

type ToolType string

type UVXRuntimeConfig

type UVXRuntimeConfig struct {
	Package string   `json:"package"`        // Required: Python package name
	Command string   `json:"command"`        // Optional: Specific command to run inside of the package. If empty, the package name will be treated as the command.
	Args    []string `json:"args,omitempty"` // Optional: Additional arguments
}

UVXRuntimeConfig represents configuration for UVX runtime (Python packages via uvx)

func (*UVXRuntimeConfig) DeepCopy

func (in *UVXRuntimeConfig) DeepCopy() *UVXRuntimeConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UVXRuntimeConfig.

func (*UVXRuntimeConfig) DeepCopyInto

func (in *UVXRuntimeConfig) DeepCopyInto(out *UVXRuntimeConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type User

type User struct {
	Metadata
	Username                   string   `json:"username,omitempty"`
	Role                       Role     `json:"role,omitempty"`
	Groups                     []string `json:"groups,omitempty"`
	ExplicitRole               bool     `json:"explicitRole,omitempty"`
	Email                      string   `json:"email,omitempty"`
	IconURL                    string   `json:"iconURL,omitempty"`
	Timezone                   string   `json:"timezone,omitempty"`
	CurrentAuthProvider        string   `json:"currentAuthProvider,omitempty"`
	LastActiveDay              Time     `json:"lastActiveDay,omitzero"`
	Internal                   bool     `json:"internal,omitempty"`
	DailyPromptTokensLimit     int      `json:"dailyPromptTokensLimit,omitempty"`
	DailyCompletionTokensLimit int      `json:"dailyCompletionTokensLimit,omitempty"`
	DisplayName                string   `json:"displayName,omitempty"`
	DeletedAt                  *Time    `json:"deletedAt,omitempty"`
	OriginalEmail              string   `json:"originalEmail,omitempty"`
	OriginalUsername           string   `json:"originalUsername,omitempty"`
}

func (*User) DeepCopy

func (in *User) DeepCopy() *User

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserDefaultRoleSetting

type UserDefaultRoleSetting struct {
	Role Role `json:"role"`
}

func (*UserDefaultRoleSetting) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserDefaultRoleSetting.

func (*UserDefaultRoleSetting) DeepCopyInto

func (in *UserDefaultRoleSetting) DeepCopyInto(out *UserDefaultRoleSetting)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserList

type UserList List[User]

func (*UserList) DeepCopy

func (in *UserList) DeepCopy() *UserList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.

func (*UserList) DeepCopyInto

func (in *UserList) DeepCopyInto(out *UserList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Webhook

type Webhook struct {
	Metadata
	WebhookManifest
	AliasAssigned              *bool `json:"aliasAssigned,omitempty"`
	LastSuccessfulRunCompleted *Time `json:"lastSuccessfulRunCompleted,omitempty"`
	HasToken                   bool  `json:"hasToken,omitempty"`
}

func (*Webhook) DeepCopy

func (in *Webhook) DeepCopy() *Webhook

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Webhook.

func (*Webhook) DeepCopyInto

func (in *Webhook) DeepCopyInto(out *Webhook)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebhookList

type WebhookList List[Webhook]

func (*WebhookList) DeepCopy

func (in *WebhookList) DeepCopy() *WebhookList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookList.

func (*WebhookList) DeepCopyInto

func (in *WebhookList) DeepCopyInto(out *WebhookList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebhookManifest

type WebhookManifest struct {
	Name             string   `json:"name"`
	Description      string   `json:"description"`
	Alias            string   `json:"alias"`
	WorkflowName     string   `json:"workflowName"`
	Headers          []string `json:"headers"`
	Secret           string   `json:"secret"`
	ValidationHeader string   `json:"validationHeader"`
}

func (*WebhookManifest) DeepCopy

func (in *WebhookManifest) DeepCopy() *WebhookManifest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookManifest.

func (*WebhookManifest) DeepCopyInto

func (in *WebhookManifest) DeepCopyInto(out *WebhookManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebhookStatus

type WebhookStatus struct {
	URL     string `json:"url"`
	Status  string `json:"status"`
	Message string `json:"message"`
}

func (*WebhookStatus) DeepCopy

func (in *WebhookStatus) DeepCopy() *WebhookStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookStatus.

func (*WebhookStatus) DeepCopyInto

func (in *WebhookStatus) DeepCopyInto(out *WebhookStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebsiteCrawlingConfig

type WebsiteCrawlingConfig struct {
	URLs []string `json:"urls,omitempty"`
}

func (*WebsiteCrawlingConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsiteCrawlingConfig.

func (*WebsiteCrawlingConfig) DeepCopyInto

func (in *WebsiteCrawlingConfig) DeepCopyInto(out *WebsiteCrawlingConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebsiteDefinition

type WebsiteDefinition struct {
	Site        string `json:"site,omitempty"`
	Description string `json:"description,omitempty"`
}

func (*WebsiteDefinition) DeepCopy

func (in *WebsiteDefinition) DeepCopy() *WebsiteDefinition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsiteDefinition.

func (*WebsiteDefinition) DeepCopyInto

func (in *WebsiteDefinition) DeepCopyInto(out *WebsiteDefinition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebsiteKnowledge

type WebsiteKnowledge struct {
	Sites []WebsiteDefinition `json:"sites,omitempty"`
	// The tool to use for website search. If no values are set in Sites, this tool will be removed
	// from agents tools. This value must also match a tool in the agent or threads tools.
	SiteTool string `json:"siteTool,omitempty"`
}

func (*WebsiteKnowledge) DeepCopy

func (in *WebsiteKnowledge) DeepCopy() *WebsiteKnowledge

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsiteKnowledge.

func (*WebsiteKnowledge) DeepCopyInto

func (in *WebsiteKnowledge) DeepCopyInto(out *WebsiteKnowledge)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Workflow

type Workflow struct {
	Metadata
	WorkflowManifest
	ThreadID string `json:"threadID,omitempty"`
}

func (*Workflow) DeepCopy

func (in *Workflow) DeepCopy() *Workflow

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workflow.

func (*Workflow) DeepCopyInto

func (in *Workflow) DeepCopyInto(out *Workflow)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkflowExecution

type WorkflowExecution struct {
	Metadata
	Workflow  WorkflowManifest `json:"workflow,omitempty"`
	StartTime Time             `json:"startTime"`
	EndTime   *Time            `json:"endTime"`
	Input     string           `json:"input"`
	Error     string           `json:"error,omitempty"`
}

func (*WorkflowExecution) DeepCopy

func (in *WorkflowExecution) DeepCopy() *WorkflowExecution

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowExecution.

func (*WorkflowExecution) DeepCopyInto

func (in *WorkflowExecution) DeepCopyInto(out *WorkflowExecution)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkflowExecutionList

type WorkflowExecutionList List[WorkflowExecution]

func (*WorkflowExecutionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowExecutionList.

func (*WorkflowExecutionList) DeepCopyInto

func (in *WorkflowExecutionList) DeepCopyInto(out *WorkflowExecutionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkflowList

type WorkflowList List[Workflow]

func (*WorkflowList) DeepCopy

func (in *WorkflowList) DeepCopy() *WorkflowList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowList.

func (*WorkflowList) DeepCopyInto

func (in *WorkflowList) DeepCopyInto(out *WorkflowList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkflowManifest

type WorkflowManifest struct {
	Alias            string                `json:"alias"`
	Steps            []Step                `json:"steps"`
	Params           map[string]string     `json:"params,omitempty"`
	Output           string                `json:"output"`
	Name             string                `json:"name,omitempty"`
	Description      string                `json:"description,omitempty"`
	OnSlackMessage   *TaskOnSlackMessage   `json:"onSlackMessage,omitempty"`
	OnDiscordMessage *TaskOnDiscordMessage `json:"onDiscordMessage,omitempty"`
}

func (*WorkflowManifest) DeepCopy

func (in *WorkflowManifest) DeepCopy() *WorkflowManifest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowManifest.

func (*WorkflowManifest) DeepCopyInto

func (in *WorkflowManifest) DeepCopyInto(out *WorkflowManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkflowNamesFromIntegration

type WorkflowNamesFromIntegration struct {
	SlackWorkflowName   string `json:"slackWorkflowName,omitempty"`
	DiscordWorkflowName string `json:"discordWorkflowName,omitempty"`
	EmailWorkflowName   string `json:"emailWorkflowName,omitempty"`
	WebhookWorkflowName string `json:"webhookWorkflowName,omitempty"`
}

func (*WorkflowNamesFromIntegration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowNamesFromIntegration.

func (*WorkflowNamesFromIntegration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkflowState

type WorkflowState string
const (
	WorkflowStatePending  WorkflowState = "Pending"
	WorkflowStateRunning  WorkflowState = "Running"
	WorkflowStateError    WorkflowState = "Error"
	WorkflowStateComplete WorkflowState = "Complete"
	WorkflowStateBlocked  WorkflowState = "Blocked"
)

func (WorkflowState) IsBlocked

func (in WorkflowState) IsBlocked() bool

func (WorkflowState) IsTerminal

func (in WorkflowState) IsTerminal() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL