v1

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAgentPrompt         = "You are a helpful assistant."
	DefaultWorkflowAgentPrompt = "You are a helpful assistant, precisely follow the given instructions."
)
View Source
const (
	RunFinalizer             = "obot.obot.ai/run"
	ThreadFinalizer          = "obot.obot.ai/thread"
	KnowledgeFileFinalizer   = "obot.obot.ai/knowledge-file"
	WorkspaceFinalizer       = "obot.obot.ai/workspace"
	KnowledgeSetFinalizer    = "obot.obot.ai/knowledge-set"
	KnowledgeSourceFinalizer = "obot.obot.ai/knowledge-source"
	ToolReferenceFinalizer   = "obot.obot.ai/tool-reference"
	AgentFinalizer           = "obot.obot.ai/agent"
	WorkflowFinalizer        = "obot.obot.ai/workflow"

	ModelProviderSyncAnnotation = "obot.ai/model-provider-sync"
	WorkflowSyncAnnotation      = "obot.ai/workflow-sync"
	AgentSyncAnnotation         = "obot.ai/agent-sync"
	AuthProviderSyncAnnotation  = "obot.ai/auth-provider-sync"
)
View Source
const LabelInactive = "obot_inactive_object"
View Source
const Version = "v1"

Variables

View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   obot_platform_ai.Group,
	Version: Version,
}

Functions

func AddToScheme

func AddToScheme(scheme *runtime.Scheme) error

func AddToSchemeWithGV

func AddToSchemeWithGV(scheme *runtime.Scheme, schemeGroupVersion schema.GroupVersion) error

func CredentialTools

func CredentialTools(ctx context.Context, c kclient.Client, namespace string, toolReferenceName string) ([]string, error)

func IsActive added in v0.7.0

func IsActive(o kclient.Object) bool

func NewTime

func NewTime(t *metav1.Time) *types.Time

func OAuthAppGetTokenURL

func OAuthAppGetTokenURL(baseURL string) string

func ObjectNameFromAbsolutePath

func ObjectNameFromAbsolutePath(absolutePath string) string

func SetActive added in v0.7.0

func SetActive(o kclient.Object)

func SetInactive added in v0.7.0

func SetInactive(o kclient.Object)

Types

type Agent

type Agent struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AgentSpec   `json:"spec,omitempty"`
	Status AgentStatus `json:"status,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.

func (*Agent) DeepCopyObject

func (in *Agent) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Agent) FieldNames

func (a *Agent) FieldNames() []string

func (*Agent) Get

func (a *Agent) Get(field string) string

func (*Agent) GetAliasName

func (a *Agent) GetAliasName() string

func (*Agent) GetObservedGeneration

func (a *Agent) GetObservedGeneration() int64

func (*Agent) GetToolInfos

func (a *Agent) GetToolInfos() map[string]types.ToolInfo

func (*Agent) GetTools

func (a *Agent) GetTools() []string

func (*Agent) Has

func (a *Agent) Has(field string) bool

func (*Agent) IsAssigned

func (a *Agent) IsAssigned() bool

func (*Agent) SetAssigned

func (a *Agent) SetAssigned(assigned bool)

func (*Agent) SetObservedGeneration

func (a *Agent) SetObservedGeneration(gen int64)

func (*Agent) SetToolInfos

func (a *Agent) SetToolInfos(toolInfos map[string]types.ToolInfo)

type AgentAuthorization

type AgentAuthorization struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AgentAuthorizationSpec   `json:"spec,omitempty"`
	Status AgentAuthorizationStatus `json:"status,omitempty"`
}

func (*AgentAuthorization) DeepCopy

func (in *AgentAuthorization) DeepCopy() *AgentAuthorization

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

func (*AgentAuthorization) DeepCopyInto

func (in *AgentAuthorization) DeepCopyInto(out *AgentAuthorization)

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

func (*AgentAuthorization) DeepCopyObject

func (in *AgentAuthorization) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AgentAuthorization) DeleteRefs

func (in *AgentAuthorization) DeleteRefs() []Ref

func (*AgentAuthorization) FieldNames

func (in *AgentAuthorization) FieldNames() []string

func (*AgentAuthorization) Get

func (in *AgentAuthorization) Get(field string) (value string)

func (*AgentAuthorization) Has

func (in *AgentAuthorization) Has(field string) (exists bool)

type AgentAuthorizationList

type AgentAuthorizationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []AgentAuthorization `json:"items"`
}

func (*AgentAuthorizationList) DeepCopy

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

func (*AgentAuthorizationList) DeepCopyInto

func (in *AgentAuthorizationList) DeepCopyInto(out *AgentAuthorizationList)

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

func (*AgentAuthorizationList) DeepCopyObject

func (in *AgentAuthorizationList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AgentAuthorizationSpec

type AgentAuthorizationSpec struct {
	types.AgentAuthorizationManifest
}

func (*AgentAuthorizationSpec) DeepCopy

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

func (*AgentAuthorizationSpec) DeepCopyInto

func (in *AgentAuthorizationSpec) DeepCopyInto(out *AgentAuthorizationSpec)

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

type AgentAuthorizationStatus

type AgentAuthorizationStatus struct {
}

func (*AgentAuthorizationStatus) DeepCopy

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

func (*AgentAuthorizationStatus) DeepCopyInto

func (in *AgentAuthorizationStatus) DeepCopyInto(out *AgentAuthorizationStatus)

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

type AgentList

type AgentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Agent `json:"items"`
}

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.

func (*AgentList) DeepCopyObject

func (in *AgentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AgentSpec

type AgentSpec struct {
	Manifest     types.AgentManifest `json:"manifest,omitempty"`
	ContextInput string              `json:"contextInput,omitempty"`
	InputFilters []string            `json:"inputFilters,omitempty"`
	Env          []string            `json:"env,omitempty"`
}

func (*AgentSpec) DeepCopy

func (in *AgentSpec) DeepCopy() *AgentSpec

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

func (*AgentSpec) DeepCopyInto

func (in *AgentSpec) DeepCopyInto(out *AgentSpec)

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

type AgentStatus

type AgentStatus struct {
	KnowledgeSetNames  []string                                 `json:"knowledgeSetNames,omitempty"`
	WorkspaceName      string                                   `json:"workspaceName,omitempty"`
	AliasAssigned      bool                                     `json:"aliasAssigned,omitempty"`
	AuthStatus         map[string]types.OAuthAppLoginAuthStatus `json:"authStatus,omitempty"`
	ToolInfo           map[string]types.ToolInfo                `json:"toolInfo,omitempty"`
	ObservedGeneration int64                                    `json:"observedGeneration,omitempty"`
}

func (*AgentStatus) DeepCopy

func (in *AgentStatus) DeepCopy() *AgentStatus

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

func (*AgentStatus) DeepCopyInto

func (in *AgentStatus) DeepCopyInto(out *AgentStatus)

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

type Alias

type Alias struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AliasSpec   `json:"spec,omitempty"`
	Status EmptyStatus `json:"status,omitempty"`
}

func (*Alias) DeepCopy

func (in *Alias) DeepCopy() *Alias

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

func (*Alias) DeepCopyInto

func (in *Alias) DeepCopyInto(out *Alias)

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

func (*Alias) DeepCopyObject

func (in *Alias) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Alias) DeleteRefs

func (in *Alias) DeleteRefs() []Ref

func (*Alias) NamespaceScoped

func (in *Alias) NamespaceScoped() bool

type AliasList

type AliasList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Alias `json:"items"`
}

func (*AliasList) DeepCopy

func (in *AliasList) DeepCopy() *AliasList

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

func (*AliasList) DeepCopyInto

func (in *AliasList) DeepCopyInto(out *AliasList)

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

func (*AliasList) DeepCopyObject

func (in *AliasList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AliasScoped

type AliasScoped interface {
	// GetAliasScope returns the scope of the alias which defaults to the Kind name if this interface
	// is not implemented.
	GetAliasScope() string
}

type AliasSpec

type AliasSpec struct {
	Name            string `json:"name,omitempty"`
	TargetName      string `json:"targetName,omitempty"`
	TargetNamespace string `json:"targetNamespace,omitempty"`
	TargetKind      string `json:"targetKind,omitempty"`
}

func (*AliasSpec) DeepCopy

func (in *AliasSpec) DeepCopy() *AliasSpec

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

func (*AliasSpec) DeepCopyInto

func (in *AliasSpec) DeepCopyInto(out *AliasSpec)

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

type Aliasable

type Aliasable interface {
	kclient.Object
	Generationed
	GetAliasName() string
	SetAssigned(bool)
	IsAssigned() bool
}

type CronJob

type CronJob struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CronJobSpec   `json:"spec,omitempty"`
	Status            CronJobStatus `json:"status,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.

func (*CronJob) DeepCopyObject

func (in *CronJob) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CronJob) DeleteRefs

func (c *CronJob) DeleteRefs() []Ref

func (*CronJob) FieldNames

func (c *CronJob) FieldNames() []string

func (*CronJob) Get

func (c *CronJob) Get(field string) (value string)

func (*CronJob) GetColumns

func (*CronJob) GetColumns() [][]string

func (*CronJob) Has

func (c *CronJob) Has(field string) (exists bool)

type CronJobList

type CronJobList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CronJob `json:"items"`
}

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.

func (*CronJobList) DeepCopyObject

func (in *CronJobList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CronJobSpec

type CronJobSpec struct {
	types.CronJobManifest `json:",inline"`
	ThreadName            string `json:"threadName,omitempty"`
}

func (*CronJobSpec) DeepCopy

func (in *CronJobSpec) DeepCopy() *CronJobSpec

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

func (*CronJobSpec) DeepCopyInto

func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec)

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

type CronJobStatus

type CronJobStatus struct {
	LastRunStartedAt           *metav1.Time `json:"lastRunStartedAt,omitempty"`
	LastSuccessfulRunCompleted *metav1.Time `json:"lastSuccessfulRunCompleted,omitempty"`
}

func (*CronJobStatus) DeepCopy

func (in *CronJobStatus) DeepCopy() *CronJobStatus

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

func (*CronJobStatus) DeepCopyInto

func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus)

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

type DefaultModelAlias

type DefaultModelAlias struct {
	v1.TypeMeta   `json:",inline"`
	v1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DefaultModelAliasSpec   `json:"spec"`
	Status DefaultModelAliasStatus `json:"status"`
}

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.

func (*DefaultModelAlias) DeepCopyObject

func (in *DefaultModelAlias) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DefaultModelAlias) GetAliasName

func (a *DefaultModelAlias) GetAliasName() string

func (*DefaultModelAlias) GetAliasScope

func (a *DefaultModelAlias) GetAliasScope() string

func (*DefaultModelAlias) GetObservedGeneration

func (a *DefaultModelAlias) GetObservedGeneration() int64

func (*DefaultModelAlias) IsAssigned

func (a *DefaultModelAlias) IsAssigned() bool

func (*DefaultModelAlias) SetAssigned

func (a *DefaultModelAlias) SetAssigned(bool)

func (*DefaultModelAlias) SetObservedGeneration

func (a *DefaultModelAlias) SetObservedGeneration(int64)

type DefaultModelAliasList

type DefaultModelAliasList struct {
	v1.TypeMeta `json:",inline"`
	v1.ListMeta `json:"metadata,omitempty"`
	Items       []DefaultModelAlias `json:"items"`
}

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.

func (*DefaultModelAliasList) DeepCopyObject

func (in *DefaultModelAliasList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DefaultModelAliasSpec

type DefaultModelAliasSpec struct {
	Manifest types.DefaultModelAliasManifest `json:"manifest"`
}

func (*DefaultModelAliasSpec) DeepCopy

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

func (*DefaultModelAliasSpec) DeepCopyInto

func (in *DefaultModelAliasSpec) DeepCopyInto(out *DefaultModelAliasSpec)

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

type DefaultModelAliasStatus

type DefaultModelAliasStatus struct {
	SetAliasName string `json:"setAliasName"`
}

func (*DefaultModelAliasStatus) DeepCopy

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

func (*DefaultModelAliasStatus) DeepCopyInto

func (in *DefaultModelAliasStatus) DeepCopyInto(out *DefaultModelAliasStatus)

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

type DeleteRefs

type DeleteRefs interface {
	DeleteRefs() []Ref
}

type EmailReceiver

type EmailReceiver struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EmailReceiverSpec   `json:"spec,omitempty"`
	Status EmailReceiverStatus `json:"status,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.

func (*EmailReceiver) DeepCopyObject

func (in *EmailReceiver) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*EmailReceiver) DeleteRefs

func (in *EmailReceiver) DeleteRefs() []Ref

func (*EmailReceiver) FieldNames

func (in *EmailReceiver) FieldNames() []string

func (*EmailReceiver) Get

func (in *EmailReceiver) Get(field string) (value string)

func (*EmailReceiver) GetAliasName

func (in *EmailReceiver) GetAliasName() string

func (*EmailReceiver) GetColumns

func (*EmailReceiver) GetColumns() [][]string

func (*EmailReceiver) GetObservedGeneration

func (in *EmailReceiver) GetObservedGeneration() int64

func (*EmailReceiver) Has

func (in *EmailReceiver) Has(field string) (exists bool)

func (*EmailReceiver) IsAssigned

func (in *EmailReceiver) IsAssigned() bool

func (*EmailReceiver) SetAssigned

func (in *EmailReceiver) SetAssigned(assigned bool)

func (*EmailReceiver) SetObservedGeneration

func (in *EmailReceiver) SetObservedGeneration(gen int64)

type EmailReceiverList

type EmailReceiverList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []EmailReceiver `json:"items"`
}

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.

func (*EmailReceiverList) DeepCopyObject

func (in *EmailReceiverList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EmailReceiverSpec

type EmailReceiverSpec struct {
	types.EmailReceiverManifest `json:",inline"`
	ThreadName                  string `json:"threadName,omitempty"`
}

func (*EmailReceiverSpec) DeepCopy

func (in *EmailReceiverSpec) DeepCopy() *EmailReceiverSpec

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

func (*EmailReceiverSpec) DeepCopyInto

func (in *EmailReceiverSpec) DeepCopyInto(out *EmailReceiverSpec)

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

type EmailReceiverStatus

type EmailReceiverStatus struct {
	AliasAssigned      bool  `json:"aliasAssigned,omitempty"`
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

func (*EmailReceiverStatus) DeepCopy

func (in *EmailReceiverStatus) DeepCopy() *EmailReceiverStatus

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

func (*EmailReceiverStatus) DeepCopyInto

func (in *EmailReceiverStatus) DeepCopyInto(out *EmailReceiverStatus)

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

type EmptyStatus

type EmptyStatus struct{}

func (*EmptyStatus) DeepCopy

func (in *EmptyStatus) DeepCopy() *EmptyStatus

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

func (*EmptyStatus) DeepCopyInto

func (in *EmptyStatus) DeepCopyInto(out *EmptyStatus)

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

type Generationed

type Generationed interface {
	GetObservedGeneration() int64
	SetObservedGeneration(int64)
}

type KnowledgeFile

type KnowledgeFile struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   KnowledgeFileSpec   `json:"spec,omitempty"`
	Status KnowledgeFileStatus `json:"status,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.

func (*KnowledgeFile) DeepCopyObject

func (in *KnowledgeFile) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KnowledgeFile) DeleteRefs

func (k *KnowledgeFile) DeleteRefs() []Ref

func (*KnowledgeFile) FieldNames

func (*KnowledgeFile) FieldNames() []string

func (*KnowledgeFile) Get

func (k *KnowledgeFile) Get(field string) string

func (*KnowledgeFile) GetColumns

func (k *KnowledgeFile) GetColumns() [][]string

func (*KnowledgeFile) Has

func (k *KnowledgeFile) Has(field string) bool

func (*KnowledgeFile) PublicState

func (k *KnowledgeFile) PublicState() types.KnowledgeFileState

type KnowledgeFileList

type KnowledgeFileList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []KnowledgeFile `json:"items"`
}

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.

func (*KnowledgeFileList) DeepCopyObject

func (in *KnowledgeFileList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KnowledgeFileSpec

type KnowledgeFileSpec struct {
	KnowledgeSetName    string `json:"knowledgeSetName,omitempty"`
	KnowledgeSourceName string `json:"knowledgeSourceName,omitempty"`
	Approved            *bool  `json:"approved,omitempty"`

	FileName    string `json:"fileName,omitempty"`
	URL         string `json:"url,omitempty"`
	UpdatedAt   string `json:"updatedAt,omitempty"`
	Checksum    string `json:"checksum,omitempty"`
	SizeInBytes int64  `json:"sizeInBytes,omitempty"`

	IngestGeneration int64 `json:"ingestGeneration,omitempty"`
}

func (*KnowledgeFileSpec) DeepCopy

func (in *KnowledgeFileSpec) DeepCopy() *KnowledgeFileSpec

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

func (*KnowledgeFileSpec) DeepCopyInto

func (in *KnowledgeFileSpec) DeepCopyInto(out *KnowledgeFileSpec)

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

type KnowledgeFileStatus

type KnowledgeFileStatus struct {
	State types.KnowledgeFileState `json:"state,omitempty"`
	Error string                   `json:"error,omitempty"`

	URL       string `json:"url,omitempty"`
	UpdatedAt string `json:"updatedAt,omitempty"`
	Checksum  string `json:"checksum,omitempty"`

	RunNames               []string    `json:"runNames,omitempty"`
	LastIngestionStartTime metav1.Time `json:"lastIngestionStartTime,omitempty"`
	LastIngestionEndTime   metav1.Time `json:"lastIngestionEndTime,omitempty"`

	IngestGeneration int64 `json:"ingestGeneration,omitempty"`
	RetryCount       int64 `json:"retryCount,omitempty"`
}

func (*KnowledgeFileStatus) DeepCopy

func (in *KnowledgeFileStatus) DeepCopy() *KnowledgeFileStatus

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

func (*KnowledgeFileStatus) DeepCopyInto

func (in *KnowledgeFileStatus) DeepCopyInto(out *KnowledgeFileStatus)

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

type KnowledgeSet

type KnowledgeSet struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   KnowledgeSetSpec   `json:"spec,omitempty"`
	Status KnowledgeSetStatus `json:"status,omitempty"`
}

func (*KnowledgeSet) DeepCopy

func (in *KnowledgeSet) DeepCopy() *KnowledgeSet

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

func (*KnowledgeSet) DeepCopyInto

func (in *KnowledgeSet) DeepCopyInto(out *KnowledgeSet)

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

func (*KnowledgeSet) DeepCopyObject

func (in *KnowledgeSet) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KnowledgeSet) DeleteRefs

func (in *KnowledgeSet) DeleteRefs() []Ref

func (*KnowledgeSet) FieldNames

func (*KnowledgeSet) FieldNames() []string

func (*KnowledgeSet) Get

func (in *KnowledgeSet) Get(field string) string

func (*KnowledgeSet) GetColumns

func (in *KnowledgeSet) GetColumns() [][]string

func (*KnowledgeSet) Has

func (in *KnowledgeSet) Has(field string) bool

type KnowledgeSetList

type KnowledgeSetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []KnowledgeSet `json:"items"`
}

func (*KnowledgeSetList) DeepCopy

func (in *KnowledgeSetList) DeepCopy() *KnowledgeSetList

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

func (*KnowledgeSetList) DeepCopyInto

func (in *KnowledgeSetList) DeepCopyInto(out *KnowledgeSetList)

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

func (*KnowledgeSetList) DeepCopyObject

func (in *KnowledgeSetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KnowledgeSetManifest

type KnowledgeSetManifest struct {
	DataDescription string `json:"dataDescription,omitempty"`
}

KnowledgeSetManifest should be moved to types once we expose this API

func (*KnowledgeSetManifest) DeepCopy

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

func (*KnowledgeSetManifest) DeepCopyInto

func (in *KnowledgeSetManifest) DeepCopyInto(out *KnowledgeSetManifest)

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

type KnowledgeSetSpec

type KnowledgeSetSpec struct {
	Manifest KnowledgeSetManifest `json:"manifest,omitempty"`

	// AgentName is the name of the agent that created and owns this knowledge set
	AgentName string `json:"agentName,omitempty"`
	// ThreadName is the name of the thread that created and owns this knowledge set
	ThreadName string `json:"threadName,omitempty"`

	FromKnowledgeSetName string `json:"fromKnowledgeSetName,omitempty"`

	// RelatedKnowledgeSetNames is a list of knowledge set that must match the same text embedding model
	// The best effort will be made to keep the same text embedding model used for the related knowledge sets
	RelatedKnowledgeSetNames []string `json:"relatedKnowledgeSetNames,omitempty"`
}

func (*KnowledgeSetSpec) DeepCopy

func (in *KnowledgeSetSpec) DeepCopy() *KnowledgeSetSpec

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

func (*KnowledgeSetSpec) DeepCopyInto

func (in *KnowledgeSetSpec) DeepCopyInto(out *KnowledgeSetSpec)

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

type KnowledgeSetStatus

type KnowledgeSetStatus struct {
	HasContent               bool   `json:"hasContent,omitempty"`
	DatasetCreated           bool   `json:"datasetCreated,omitempty"`
	SuggestedDataDescription string `json:"suggestedDataDescription,omitempty"`
	WorkspaceName            string `json:"workspaceName,omitempty"`
	ThreadName               string `json:"threadName,omitempty"`
	ExistingFile             string `json:"existingFile,omitempty"`
	TextEmbeddingModel       string `json:"textEmbeddingModel,omitempty"`
}

func (*KnowledgeSetStatus) DeepCopy

func (in *KnowledgeSetStatus) DeepCopy() *KnowledgeSetStatus

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

func (*KnowledgeSetStatus) DeepCopyInto

func (in *KnowledgeSetStatus) DeepCopyInto(out *KnowledgeSetStatus)

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

type KnowledgeSource

type KnowledgeSource struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   KnowledgeSourceSpec   `json:"spec,omitempty"`
	Status KnowledgeSourceStatus `json:"status,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.

func (*KnowledgeSource) DeepCopyObject

func (in *KnowledgeSource) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KnowledgeSource) DeleteRefs

func (in *KnowledgeSource) DeleteRefs() []Ref

func (*KnowledgeSource) FieldNames

func (*KnowledgeSource) FieldNames() []string

func (*KnowledgeSource) Get

func (in *KnowledgeSource) Get(field string) string

func (*KnowledgeSource) GetColumns

func (in *KnowledgeSource) GetColumns() [][]string

func (*KnowledgeSource) Has

func (in *KnowledgeSource) Has(field string) bool

func (*KnowledgeSource) PublicState

func (in *KnowledgeSource) PublicState() types.KnowledgeSourceState

type KnowledgeSourceList

type KnowledgeSourceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []KnowledgeSource `json:"items"`
}

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.

func (*KnowledgeSourceList) DeepCopyObject

func (in *KnowledgeSourceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KnowledgeSourceSpec

type KnowledgeSourceSpec struct {
	Manifest         types.KnowledgeSourceManifest `json:"manifest,omitempty"`
	KnowledgeSetName string                        `json:"knowledgeSetName,omitempty"`
	SyncGeneration   int64                         `json:"syncGeneration,omitempty"`
}

func (*KnowledgeSourceSpec) DeepCopy

func (in *KnowledgeSourceSpec) DeepCopy() *KnowledgeSourceSpec

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

func (*KnowledgeSourceSpec) DeepCopyInto

func (in *KnowledgeSourceSpec) DeepCopyInto(out *KnowledgeSourceSpec)

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

type KnowledgeSourceStatus

type KnowledgeSourceStatus struct {
	WorkspaceName     string                     `json:"workspaceName,omitempty"`
	ThreadName        string                     `json:"threadName,omitempty"`
	RunName           string                     `json:"runName,omitempty"`
	SyncState         types.KnowledgeSourceState `json:"syncState,omitempty"`
	Status            string                     `json:"status,omitempty"`
	SyncDetails       []byte                     `json:"syncDetails,omitempty"`
	Error             string                     `json:"error,omitempty"`
	SyncGeneration    int64                      `json:"syncGeneration,omitempty"`
	LastSyncStartTime metav1.Time                `json:"lastSyncStartTime,omitempty"`
	LastSyncEndTime   metav1.Time                `json:"lastSyncEndTime,omitempty"`
	NextSyncTime      metav1.Time                `json:"nextSyncTime,omitempty"`
}

func (*KnowledgeSourceStatus) DeepCopy

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

func (*KnowledgeSourceStatus) DeepCopyInto

func (in *KnowledgeSourceStatus) DeepCopyInto(out *KnowledgeSourceStatus)

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

type KnowledgeSummary

type KnowledgeSummary struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   KnowledgeSummarySpec   `json:"spec,omitempty"`
	Status KnowledgeSummaryStatus `json:"status,omitempty"`
}

func (*KnowledgeSummary) DeepCopy

func (in *KnowledgeSummary) DeepCopy() *KnowledgeSummary

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

func (*KnowledgeSummary) DeepCopyInto

func (in *KnowledgeSummary) DeepCopyInto(out *KnowledgeSummary)

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

func (*KnowledgeSummary) DeepCopyObject

func (in *KnowledgeSummary) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KnowledgeSummary) DeleteRefs

func (in *KnowledgeSummary) DeleteRefs() []Ref

type KnowledgeSummaryList

type KnowledgeSummaryList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []KnowledgeSummary `json:"items"`
}

func (*KnowledgeSummaryList) DeepCopy

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

func (*KnowledgeSummaryList) DeepCopyInto

func (in *KnowledgeSummaryList) DeepCopyInto(out *KnowledgeSummaryList)

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

func (*KnowledgeSummaryList) DeepCopyObject

func (in *KnowledgeSummaryList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KnowledgeSummarySpec

type KnowledgeSummarySpec struct {
	ThreadName  string `json:"threadName,omitempty"`
	ContentHash string `json:"contentHash,omitempty"`
	Summary     []byte `json:"summary,omitempty"`
}

func (*KnowledgeSummarySpec) DeepCopy

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

func (*KnowledgeSummarySpec) DeepCopyInto

func (in *KnowledgeSummarySpec) DeepCopyInto(out *KnowledgeSummarySpec)

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

type KnowledgeSummaryStatus

type KnowledgeSummaryStatus struct {
}

func (*KnowledgeSummaryStatus) DeepCopy

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

func (*KnowledgeSummaryStatus) DeepCopyInto

func (in *KnowledgeSummaryStatus) DeepCopyInto(out *KnowledgeSummaryStatus)

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

type Model

type Model struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ModelSpec   `json:"spec,omitempty"`
	Status            ModelStatus `json:"status,omitempty"`
}

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.

func (*Model) DeepCopyObject

func (in *Model) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Model) FieldNames

func (m *Model) FieldNames() []string

func (*Model) Get

func (m *Model) Get(field string) (value string)

func (*Model) GetAliasName

func (m *Model) GetAliasName() string

func (*Model) GetObservedGeneration

func (m *Model) GetObservedGeneration() int64

func (*Model) Has

func (m *Model) Has(field string) (exists bool)

func (*Model) IsAssigned

func (m *Model) IsAssigned() bool

func (*Model) SetAssigned

func (m *Model) SetAssigned(assigned bool)

func (*Model) SetObservedGeneration

func (m *Model) SetObservedGeneration(gen int64)

type ModelList

type ModelList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Model `json:"items"`
}

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.

func (*ModelList) DeepCopyObject

func (in *ModelList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModelSpec

type ModelSpec struct {
	Manifest types.ModelManifest `json:"manifest,omitempty"`
}

func (*ModelSpec) DeepCopy

func (in *ModelSpec) DeepCopy() *ModelSpec

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

func (*ModelSpec) DeepCopyInto

func (in *ModelSpec) DeepCopyInto(out *ModelSpec)

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"`
	ObservedGeneration int64 `json:"observedGeneration,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 OAuthApp

type OAuthApp struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OAuthAppSpec `json:"spec,omitempty"`
	Status            EmptyStatus  `json:"status,omitempty"`
}

func (*OAuthApp) AuthorizeURL

func (r *OAuthApp) AuthorizeURL(baseURL string) string

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.

func (*OAuthApp) DeepCopyObject

func (in *OAuthApp) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OAuthApp) DeleteRefs

func (r *OAuthApp) DeleteRefs() []Ref

func (*OAuthApp) FieldNames

func (r *OAuthApp) FieldNames() []string

func (*OAuthApp) Get

func (r *OAuthApp) Get(field string) string

func (*OAuthApp) GetAliasName

func (r *OAuthApp) GetAliasName() string

func (*OAuthApp) GetObservedGeneration

func (r *OAuthApp) GetObservedGeneration() int64

func (*OAuthApp) Has

func (r *OAuthApp) Has(field string) bool

func (*OAuthApp) IsAssigned

func (r *OAuthApp) IsAssigned() bool

func (*OAuthApp) RedirectURL

func (r *OAuthApp) RedirectURL(baseURL string) string

func (*OAuthApp) RefreshURL

func (r *OAuthApp) RefreshURL(baseURL string) string

func (*OAuthApp) SetAssigned

func (r *OAuthApp) SetAssigned(bool)

func (*OAuthApp) SetObservedGeneration

func (r *OAuthApp) SetObservedGeneration(int64)

type OAuthAppList

type OAuthAppList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []OAuthApp `json:"items"`
}

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.

func (*OAuthAppList) DeepCopyObject

func (in *OAuthAppList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OAuthAppLogin

type OAuthAppLogin struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OAuthAppLoginSpec   `json:"spec,omitempty"`
	Status            OAuthAppLoginStatus `json:"status,omitempty"`
}

func (*OAuthAppLogin) DeepCopy

func (in *OAuthAppLogin) DeepCopy() *OAuthAppLogin

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

func (*OAuthAppLogin) DeepCopyInto

func (in *OAuthAppLogin) DeepCopyInto(out *OAuthAppLogin)

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

func (*OAuthAppLogin) DeepCopyObject

func (in *OAuthAppLogin) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OAuthAppLogin) DeleteRefs

func (o *OAuthAppLogin) DeleteRefs() []Ref

func (*OAuthAppLogin) FieldNames

func (o *OAuthAppLogin) FieldNames() []string

func (*OAuthAppLogin) Get

func (o *OAuthAppLogin) Get(field string) string

func (*OAuthAppLogin) Has

func (o *OAuthAppLogin) Has(field string) bool

type OAuthAppLoginList

type OAuthAppLoginList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []OAuthAppLogin `json:"items"`
}

func (*OAuthAppLoginList) DeepCopy

func (in *OAuthAppLoginList) DeepCopy() *OAuthAppLoginList

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

func (*OAuthAppLoginList) DeepCopyInto

func (in *OAuthAppLoginList) DeepCopyInto(out *OAuthAppLoginList)

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

func (*OAuthAppLoginList) DeepCopyObject

func (in *OAuthAppLoginList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OAuthAppLoginSpec

type OAuthAppLoginSpec struct {
	CredentialContext string   `json:"credentialContext,omitempty"`
	ToolReference     string   `json:"toolReference,omitempty"`
	OAuthApps         []string `json:"oauthApps,omitempty"`
}

func (*OAuthAppLoginSpec) DeepCopy

func (in *OAuthAppLoginSpec) DeepCopy() *OAuthAppLoginSpec

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

func (*OAuthAppLoginSpec) DeepCopyInto

func (in *OAuthAppLoginSpec) DeepCopyInto(out *OAuthAppLoginSpec)

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

type OAuthAppLoginStatus

type OAuthAppLoginStatus struct {
	External types.OAuthAppLoginAuthStatus `json:"external,omitempty"`
}

func (*OAuthAppLoginStatus) DeepCopy

func (in *OAuthAppLoginStatus) DeepCopy() *OAuthAppLoginStatus

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

func (*OAuthAppLoginStatus) DeepCopyInto

func (in *OAuthAppLoginStatus) DeepCopyInto(out *OAuthAppLoginStatus)

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

type OAuthAppSpec

type OAuthAppSpec struct {
	Manifest types.OAuthAppManifest `json:"manifest,omitempty"`
}

func (*OAuthAppSpec) DeepCopy

func (in *OAuthAppSpec) DeepCopy() *OAuthAppSpec

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

func (*OAuthAppSpec) DeepCopyInto

func (in *OAuthAppSpec) DeepCopyInto(out *OAuthAppSpec)

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

type Ref

type Ref struct {
	ObjType   kclient.Object
	Namespace string
	Name      string
	Alias     string
	Kind      string
}

type Run

type Run struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RunSpec   `json:"spec,omitempty"`
	Status RunStatus `json:"status,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.

func (*Run) DeepCopyObject

func (in *Run) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Run) DeleteRefs

func (in *Run) DeleteRefs() []Ref

func (*Run) FieldNames

func (in *Run) FieldNames() []string

func (*Run) Get

func (in *Run) Get(field string) string

func (*Run) GetColumns

func (in *Run) GetColumns() [][]string

func (*Run) Has

func (in *Run) Has(field string) bool

type RunList

type RunList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Run `json:"items"`
}

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.

func (*RunList) DeepCopyObject

func (in *RunList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RunSpec

type RunSpec struct {
	Synchronous           bool                    `json:"synchronous,omitempty"`
	ThreadName            string                  `json:"threadName,omitempty"`
	AgentName             string                  `json:"agentName,omitempty"`
	WorkflowName          string                  `json:"workflowName,omitempty"`
	WorkflowExecutionName string                  `json:"workflowExecutionName,omitempty"`
	WorkflowStepName      string                  `json:"workflowStepName,omitempty"`
	WorkflowStepID        string                  `json:"workflowStepID,omitempty"`
	PreviousRunName       string                  `json:"previousRunName,omitempty"`
	Input                 string                  `json:"input"`
	Env                   []string                `json:"env,omitempty"`
	Tool                  string                  `json:"tool,omitempty"`
	ToolReferenceType     types.ToolReferenceType `json:"toolReferenceType,omitempty"`
	CredentialContextIDs  []string                `json:"credentialContextIDs,omitempty"`
	DefaultModel          string                  `json:"defaultModel,omitempty"`
	Timeout               metav1.Duration         `json:"timeout,omitempty"`
}

func (*RunSpec) DeepCopy

func (in *RunSpec) DeepCopy() *RunSpec

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

func (*RunSpec) DeepCopyInto

func (in *RunSpec) DeepCopyInto(out *RunSpec)

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

type RunState

type RunState struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RunStateSpec `json:"spec,omitempty"`
	Status EmptyStatus  `json:"status,omitempty"`
}

func (*RunState) DeepCopy

func (in *RunState) DeepCopy() *RunState

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

func (*RunState) DeepCopyInto

func (in *RunState) DeepCopyInto(out *RunState)

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

func (*RunState) DeepCopyObject

func (in *RunState) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RunStateList

type RunStateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []RunState `json:"items"`
}

func (*RunStateList) DeepCopy

func (in *RunStateList) DeepCopy() *RunStateList

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

func (*RunStateList) DeepCopyInto

func (in *RunStateList) DeepCopyInto(out *RunStateList)

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

func (*RunStateList) DeepCopyObject

func (in *RunStateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RunStateSpec

type RunStateSpec struct {
	ThreadName string `json:"threadName,omitempty"`
	Program    []byte `json:"program,omitempty"`
	ChatState  []byte `json:"chatState,omitempty"`
	CallFrame  []byte `json:"callFrame,omitempty"`
	Output     []byte `json:"output,omitempty"`
	Done       bool   `json:"done,omitempty"`
	Error      string `json:"error,omitempty"`
}

func (*RunStateSpec) DeepCopy

func (in *RunStateSpec) DeepCopy() *RunStateSpec

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

func (*RunStateSpec) DeepCopyInto

func (in *RunStateSpec) DeepCopyInto(out *RunStateSpec)

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

type RunStatus

type RunStatus struct {
	Conditions []metav1.Condition       `json:"conditions,omitempty"`
	State      gptscriptclient.RunState `json:"state,omitempty"`
	Output     string                   `json:"output"`
	EndTime    metav1.Time              `json:"endTime,omitempty"`
	Error      string                   `json:"error,omitempty"`
	SubCall    *SubCall                 `json:"subCall,omitempty"`
	TaskResult *TaskResult              `json:"taskResult,omitempty"`
}

func (*RunStatus) DeepCopy

func (in *RunStatus) DeepCopy() *RunStatus

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

func (*RunStatus) DeepCopyInto

func (in *RunStatus) DeepCopyInto(out *RunStatus)

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

type SubCall

type SubCall struct {
	Type     string `json:"type,omitempty"`
	Workflow string `json:"workflow,omitempty"`
	Input    string `json:"input,omitempty"`
}

func (*SubCall) DeepCopy

func (in *SubCall) DeepCopy() *SubCall

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

func (*SubCall) DeepCopyInto

func (in *SubCall) DeepCopyInto(out *SubCall)

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

type TaskResult

type TaskResult struct {
	Type        string `json:"type,omitempty"`
	ID          string `json:"id,omitempty"`
	NextRunName string `json:"nextRunName,omitempty"`
}

func (*TaskResult) DeepCopy

func (in *TaskResult) DeepCopy() *TaskResult

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

func (*TaskResult) DeepCopyInto

func (in *TaskResult) DeepCopyInto(out *TaskResult)

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

type Thread

type Thread struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ThreadSpec   `json:"spec,omitempty"`
	Status ThreadStatus `json:"status,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.

func (*Thread) DeepCopyObject

func (in *Thread) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Thread) DeleteRefs

func (in *Thread) DeleteRefs() []Ref

func (*Thread) FieldNames

func (in *Thread) FieldNames() []string

func (*Thread) Get

func (in *Thread) Get(field string) string

func (*Thread) GetColumns

func (in *Thread) GetColumns() [][]string

func (*Thread) Has

func (in *Thread) Has(field string) (exists bool)

func (*Thread) IsEditor added in v0.7.0

func (in *Thread) IsEditor() bool

func (*Thread) IsProjectBased added in v0.7.0

func (in *Thread) IsProjectBased() bool

func (*Thread) IsProjectThread added in v0.7.0

func (in *Thread) IsProjectThread() bool

func (*Thread) IsUserThread added in v0.7.0

func (in *Thread) IsUserThread() bool

type ThreadAuthorization added in v0.6.0

type ThreadAuthorization struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ThreadAuthorizationSpec   `json:"spec,omitempty"`
	Status ThreadAuthorizationStatus `json:"status,omitempty"`
}

func (*ThreadAuthorization) DeepCopy added in v0.6.0

func (in *ThreadAuthorization) DeepCopy() *ThreadAuthorization

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

func (*ThreadAuthorization) DeepCopyInto added in v0.6.0

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

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

func (*ThreadAuthorization) DeepCopyObject added in v0.6.0

func (in *ThreadAuthorization) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ThreadAuthorization) DeleteRefs added in v0.6.0

func (in *ThreadAuthorization) DeleteRefs() []Ref

func (*ThreadAuthorization) FieldNames added in v0.6.0

func (in *ThreadAuthorization) FieldNames() []string

func (*ThreadAuthorization) Get added in v0.6.0

func (in *ThreadAuthorization) Get(field string) (value string)

func (*ThreadAuthorization) Has added in v0.6.0

func (in *ThreadAuthorization) Has(field string) (exists bool)

type ThreadAuthorizationList added in v0.6.0

type ThreadAuthorizationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []ThreadAuthorization `json:"items"`
}

func (*ThreadAuthorizationList) DeepCopy added in v0.6.0

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

func (*ThreadAuthorizationList) DeepCopyInto added in v0.6.0

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

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

func (*ThreadAuthorizationList) DeepCopyObject added in v0.6.0

func (in *ThreadAuthorizationList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ThreadAuthorizationSpec added in v0.6.0

type ThreadAuthorizationSpec struct {
	types.ThreadAuthorizationManifest
	Accepted bool `json:"accepted,omitempty"`
}

func (*ThreadAuthorizationSpec) DeepCopy added in v0.6.0

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

func (*ThreadAuthorizationSpec) DeepCopyInto added in v0.6.0

func (in *ThreadAuthorizationSpec) DeepCopyInto(out *ThreadAuthorizationSpec)

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

type ThreadAuthorizationStatus added in v0.6.0

type ThreadAuthorizationStatus struct {
}

func (*ThreadAuthorizationStatus) DeepCopy added in v0.6.0

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

func (*ThreadAuthorizationStatus) DeepCopyInto added in v0.6.0

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

type ThreadList

type ThreadList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Thread `json:"items"`
}

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.

func (*ThreadList) DeepCopyObject

func (in *ThreadList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ThreadShare added in v0.7.0

type ThreadShare struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ThreadShareSpec   `json:"spec,omitempty"`
	Status ThreadShareStatus `json:"status,omitempty"`
}

func (*ThreadShare) DeepCopy added in v0.7.0

func (in *ThreadShare) DeepCopy() *ThreadShare

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

func (*ThreadShare) DeepCopyInto added in v0.7.0

func (in *ThreadShare) DeepCopyInto(out *ThreadShare)

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

func (*ThreadShare) DeepCopyObject added in v0.7.0

func (in *ThreadShare) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ThreadShare) DeleteRefs added in v0.7.0

func (in *ThreadShare) DeleteRefs() []Ref

func (*ThreadShare) FieldNames added in v0.7.0

func (in *ThreadShare) FieldNames() []string

func (*ThreadShare) Get added in v0.7.0

func (in *ThreadShare) Get(field string) (value string)

func (*ThreadShare) Has added in v0.7.0

func (in *ThreadShare) Has(field string) (exists bool)

type ThreadShareList added in v0.7.0

type ThreadShareList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []ThreadShare `json:"items"`
}

func (*ThreadShareList) DeepCopy added in v0.7.0

func (in *ThreadShareList) DeepCopy() *ThreadShareList

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

func (*ThreadShareList) DeepCopyInto added in v0.7.0

func (in *ThreadShareList) DeepCopyInto(out *ThreadShareList)

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

func (*ThreadShareList) DeepCopyObject added in v0.7.0

func (in *ThreadShareList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ThreadShareSpec added in v0.7.0

type ThreadShareSpec struct {
	Manifest          types.ProjectShareManifest `json:"manifest,omitempty"`
	PublicID          string                     `json:"publicID,omitempty"`
	UserID            string                     `json:"userID,omitempty"`
	ProjectThreadName string                     `json:"projectThreadName,omitempty"`
	Featured          bool                       `json:"featured,omitempty"`
}

func (*ThreadShareSpec) DeepCopy added in v0.7.0

func (in *ThreadShareSpec) DeepCopy() *ThreadShareSpec

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

func (*ThreadShareSpec) DeepCopyInto added in v0.7.0

func (in *ThreadShareSpec) DeepCopyInto(out *ThreadShareSpec)

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

type ThreadShareStatus added in v0.7.0

type ThreadShareStatus struct {
	Name        string            `json:"name,omitempty"`
	Description string            `json:"description,omitempty"`
	Icons       *types.AgentIcons `json:"icons"`
	Tools       []string          `json:"tools,omitempty"`
}

func (*ThreadShareStatus) DeepCopy added in v0.7.0

func (in *ThreadShareStatus) DeepCopy() *ThreadShareStatus

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

func (*ThreadShareStatus) DeepCopyInto added in v0.7.0

func (in *ThreadShareStatus) DeepCopyInto(out *ThreadShareStatus)

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

type ThreadSpec

type ThreadSpec struct {
	Manifest types.ThreadManifest `json:"manifest,omitempty"`
	// ParentThreadName The scope of this thread will inherit the scope of the parent thread. The parent should always be a project thread.
	ParentThreadName string `json:"parentThreadName,omitempty"`
	// SourceThreadName is the thread that this thread was copied from
	SourceThreadName string `json:"sourceThreadName,omitempty"`
	// AgentName is the associated agent for this thread.
	AgentName string `json:"agentName,omitempty"`
	// WorkspaceName is the workspace that will be used by this thread and a new workspace will not be created
	WorkspaceName string `json:"workspaceName,omitempty"`
	// UserID is the user that created this thread (notice the json field name is userUID, we should probably rename that too at some point)
	UserID string `json:"userUID,omitempty"`
	// SystemTask means that this thread was created for non-user purpose for backend operations
	SystemTask bool `json:"systemTask,omitempty"`
	// Abort means that this thread should be aborted immediately
	Abort bool `json:"abort,omitempty"`
	// This thread is a project thread which essentially used as a scope and not really used as a thread to chat with
	Project bool `json:"project,omitempty"`
	// Env is the environment variable keys that expected to be set in the credential that matches the thread.Name
	Env []types.EnvVar `json:"env,omitempty"`
	// Ephemeral means that this thread is used once and then can be deleted after an interval
	Ephemeral bool `json:"ephemeral,omitempty"`
	// SystemTools are tools that are set on this thread but not visible to the user
	SystemTools []string `json:"systemTools,omitempty"`

	// WorkflowName is the workflow owner of the thread
	WorkflowName string `json:"workflowName,omitempty"`
	// WorkflowExecutionName is the workflow execution owner of the thread
	WorkflowExecutionName string `json:"workflowExecutionName,omitempty"`
	// KnowledgeSourceName is the knowledge source owner of the thread
	KnowledgeSourceName string `json:"remoteKnowledgeSourceName,omitempty"`
	// KnowledgeSetName is the knowledge set owner of the thread
	KnowledgeSetName string `json:"knowledgeSetName,omitempty"`
	// WebhookName is the webhook owner of the thread
	WebhookName string `json:"webhookName,omitempty"`
	// EmailReceiverName is the email receiver owner of the thread
	EmailReceiverName string `json:"emailReceiverName,omitempty"`
	// CronJobName is the cron job owner of the thread
	CronJobName string `json:"cronJobName,omitempty"`
	// OAuthAppLoginName is the oauth app login owner of the thread
	OAuthAppLoginName string `json:"oAuthAppLoginName,omitempty"`
}

func (*ThreadSpec) DeepCopy

func (in *ThreadSpec) DeepCopy() *ThreadSpec

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

func (*ThreadSpec) DeepCopyInto

func (in *ThreadSpec) DeepCopyInto(out *ThreadSpec)

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

type ThreadStatus

type ThreadStatus struct {
	LastRunName            string                   `json:"lastRunName,omitempty"`
	CurrentRunName         string                   `json:"currentRunName,omitempty"`
	LastRunState           gptscriptclient.RunState `json:"lastRunState,omitempty"`
	WorkflowState          types.WorkflowState      `json:"workflowState,omitempty"`
	WorkspaceID            string                   `json:"workspaceID,omitempty"`
	WorkspaceName          string                   `json:"workspaceName,omitempty"`
	KnowledgeSetNames      []string                 `json:"knowledgeSetNames,omitempty"`
	SharedKnowledgeSetName string                   `json:"sharedKnowledgeSetName,omitempty"`
	// SharedWorkspaceName is used primarily to store the database content and is scoped to the project and shared across threads
	SharedWorkspaceName string `json:"sharedWorkspaceName,omitempty"`
	CopiedTasks         bool   `json:"copiedTasks,omitempty"`
	Created             bool   `json:"created,omitempty"`
}

func (*ThreadStatus) DeepCopy

func (in *ThreadStatus) DeepCopy() *ThreadStatus

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

func (*ThreadStatus) DeepCopyInto

func (in *ThreadStatus) DeepCopyInto(out *ThreadStatus)

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

type Tool

type Tool struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ToolSpec   `json:"spec,omitempty"`
	Status ToolStatus `json:"status,omitempty"`
}

func (*Tool) DeepCopy

func (in *Tool) DeepCopy() *Tool

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

func (*Tool) DeepCopyInto

func (in *Tool) DeepCopyInto(out *Tool)

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

func (*Tool) DeepCopyObject

func (in *Tool) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Tool) FieldNames

func (*Tool) FieldNames() []string

func (*Tool) Get

func (in *Tool) Get(field string) string

func (*Tool) Has

func (in *Tool) Has(field string) bool

type ToolList

type ToolList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Tool `json:"items"`
}

func (*ToolList) DeepCopy

func (in *ToolList) DeepCopy() *ToolList

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

func (*ToolList) DeepCopyInto

func (in *ToolList) DeepCopyInto(out *ToolList)

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

func (*ToolList) DeepCopyObject

func (in *ToolList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ToolReference

type ToolReference struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ToolReferenceSpec   `json:"spec,omitempty"`
	Status ToolReferenceStatus `json:"status,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.

func (*ToolReference) DeepCopyObject

func (in *ToolReference) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ToolReference) DeleteRefs added in v0.7.0

func (in *ToolReference) DeleteRefs() []Ref

func (*ToolReference) FieldNames

func (in *ToolReference) FieldNames() []string

func (*ToolReference) Get

func (in *ToolReference) Get(field string) string

func (*ToolReference) GetColumns

func (in *ToolReference) GetColumns() [][]string

func (*ToolReference) Has

func (in *ToolReference) Has(field string) bool

type ToolReferenceList

type ToolReferenceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []ToolReference `json:"items"`
}

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.

func (*ToolReferenceList) DeepCopyObject

func (in *ToolReferenceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ToolReferenceSpec

type ToolReferenceSpec struct {
	Type           types.ToolReferenceType `json:"type,omitempty"`
	Builtin        bool                    `json:"builtin,omitempty"`
	Reference      string                  `json:"reference,omitempty"`
	Active         *bool                   `json:"active,omitempty"`
	Bundle         bool                    `json:"bundle,omitempty"`
	BundleToolName string                  `json:"bundleToolName,omitempty"`
	ForceRefresh   metav1.Time             `json:"forceRefresh,omitempty"`
}

func (*ToolReferenceSpec) DeepCopy

func (in *ToolReferenceSpec) DeepCopy() *ToolReferenceSpec

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

func (*ToolReferenceSpec) DeepCopyInto

func (in *ToolReferenceSpec) DeepCopyInto(out *ToolReferenceSpec)

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

type ToolReferenceStatus

type ToolReferenceStatus struct {
	Reference          string                `json:"reference,omitempty"`
	Commit             string                `json:"commit,omitempty"`
	ObservedGeneration int64                 `json:"observedGeneration,omitempty"`
	Tool               *ToolShortDescription `json:"tool,omitempty"`
	Error              string                `json:"error,omitempty"`
}

func (*ToolReferenceStatus) DeepCopy

func (in *ToolReferenceStatus) DeepCopy() *ToolReferenceStatus

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

func (*ToolReferenceStatus) DeepCopyInto

func (in *ToolReferenceStatus) DeepCopyInto(out *ToolReferenceStatus)

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

type ToolShortDescription

type ToolShortDescription struct {
	Name        string            `json:"name,omitempty"`
	Description string            `json:"description,omitempty"`
	Params      map[string]string `json:"params,omitempty"`
	Metadata    map[string]string `json:"metadata,omitempty"`
	// Credentials are all the credentials for this tool, including for tools exported by this tool.
	Credentials []string `json:"credentials,omitempty"`
	// CredentialNames are the names of the credentials for each tool. This is different from the Credentials field
	// because these names could be aliases and identifies which tools have the same credential.
	CredentialNames []string `json:"credentialNames,omitempty"`
}

func (*ToolShortDescription) DeepCopy

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

func (*ToolShortDescription) DeepCopyInto

func (in *ToolShortDescription) DeepCopyInto(out *ToolShortDescription)

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

type ToolSpec

type ToolSpec struct {
	ThreadName string             `json:"threadName,omitempty"`
	Manifest   types.ToolManifest `json:"manifest,omitempty"`
	Envs       []string           `json:"envs,omitempty"`
}

func (*ToolSpec) DeepCopy

func (in *ToolSpec) DeepCopy() *ToolSpec

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

func (*ToolSpec) DeepCopyInto

func (in *ToolSpec) DeepCopyInto(out *ToolSpec)

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

type ToolStatus

type ToolStatus struct {
}

func (*ToolStatus) DeepCopy

func (in *ToolStatus) DeepCopy() *ToolStatus

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

func (*ToolStatus) DeepCopyInto

func (in *ToolStatus) DeepCopyInto(out *ToolStatus)

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

type ToolUser

type ToolUser interface {
	Generationed
	GetTools() []string
	GetToolInfos() map[string]types.ToolInfo
	SetToolInfos(map[string]types.ToolInfo)
}

type Webhook

type Webhook struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   WebhookSpec   `json:"spec,omitempty"`
	Status WebhookStatus `json:"status,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.

func (*Webhook) DeepCopyObject

func (in *Webhook) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Webhook) DeleteRefs

func (w *Webhook) DeleteRefs() []Ref

func (*Webhook) FieldNames

func (w *Webhook) FieldNames() []string

func (*Webhook) Get

func (w *Webhook) Get(field string) (value string)

func (*Webhook) GetAliasName

func (w *Webhook) GetAliasName() string

func (*Webhook) GetColumns

func (*Webhook) GetColumns() [][]string

func (*Webhook) GetObservedGeneration

func (w *Webhook) GetObservedGeneration() int64

func (*Webhook) Has

func (w *Webhook) Has(field string) (exists bool)

func (*Webhook) IsAssigned

func (w *Webhook) IsAssigned() bool

func (*Webhook) SetAssigned

func (w *Webhook) SetAssigned(assigned bool)

func (*Webhook) SetObservedGeneration

func (w *Webhook) SetObservedGeneration(gen int64)

type WebhookList

type WebhookList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Webhook `json:"items"`
}

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.

func (*WebhookList) DeepCopyObject

func (in *WebhookList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WebhookSpec

type WebhookSpec struct {
	types.WebhookManifest `json:",inline"`
	TokenHash             []byte `json:"tokenHash,omitempty"`
	ThreadName            string
}

func (*WebhookSpec) DeepCopy

func (in *WebhookSpec) DeepCopy() *WebhookSpec

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

func (*WebhookSpec) DeepCopyInto

func (in *WebhookSpec) DeepCopyInto(out *WebhookSpec)

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

type WebhookStatus

type WebhookStatus struct {
	AliasAssigned              bool         `json:"aliasAssigned,omitempty"`
	LastSuccessfulRunCompleted *metav1.Time `json:"lastSuccessfulRunCompleted,omitempty"`
	ObservedGeneration         int64        `json:"observedGeneration,omitempty"`
}

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 Workflow

type Workflow struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   WorkflowSpec   `json:"spec,omitempty"`
	Status WorkflowStatus `json:"status,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.

func (*Workflow) DeepCopyObject

func (in *Workflow) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Workflow) DeleteRefs

func (in *Workflow) DeleteRefs() []Ref

func (*Workflow) FieldNames

func (in *Workflow) FieldNames() []string

func (*Workflow) Get

func (in *Workflow) Get(field string) (value string)

func (*Workflow) Has

func (in *Workflow) Has(field string) (exists bool)

type WorkflowExecution

type WorkflowExecution struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   WorkflowExecutionSpec   `json:"spec,omitempty"`
	Status WorkflowExecutionStatus `json:"status,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.

func (*WorkflowExecution) DeepCopyObject

func (in *WorkflowExecution) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkflowExecution) DeleteRefs

func (in *WorkflowExecution) DeleteRefs() []Ref

func (*WorkflowExecution) FieldNames

func (in *WorkflowExecution) FieldNames() []string

func (*WorkflowExecution) Get

func (in *WorkflowExecution) Get(field string) string

func (*WorkflowExecution) GetColumns

func (in *WorkflowExecution) GetColumns() [][]string

func (*WorkflowExecution) Has

func (in *WorkflowExecution) Has(field string) bool

type WorkflowExecutionList

type WorkflowExecutionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []WorkflowExecution `json:"items"`
}

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.

func (*WorkflowExecutionList) DeepCopyObject

func (in *WorkflowExecutionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WorkflowExecutionSpec

type WorkflowExecutionSpec struct {
	Input string `json:"input,omitempty"`
	// ThreadName is the name of the thread that owns this execution, which is the same as the owning thread of the workflow.
	ThreadName         string `json:"threadName,omitempty"`
	WorkflowName       string `json:"workflowName,omitempty"`
	WebhookName        string `json:"webhookName,omitempty"`
	EmailReceiverName  string `json:"emailReceiverName,omitempty"`
	CronJobName        string `json:"cronJobName,omitempty"`
	WorkflowGeneration int64  `json:"workflowGeneration,omitempty"`
	RunUntilStep       string `json:"runUntilStep,omitempty"`
}

func (*WorkflowExecutionSpec) DeepCopy

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

func (*WorkflowExecutionSpec) DeepCopyInto

func (in *WorkflowExecutionSpec) DeepCopyInto(out *WorkflowExecutionSpec)

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

type WorkflowExecutionStatus

type WorkflowExecutionStatus struct {
	State              types.WorkflowState     `json:"state,omitempty"`
	Output             string                  `json:"output,omitempty"`
	Error              string                  `json:"error,omitempty"`
	ThreadName         string                  `json:"threadName,omitempty"`
	WorkflowManifest   *types.WorkflowManifest `json:"workflowManifest,omitempty"`
	EndTime            *metav1.Time            `json:"endTime,omitempty"`
	WorkflowGeneration int64                   `json:"workflowGeneration,omitempty"`
}

func (*WorkflowExecutionStatus) DeepCopy

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

func (*WorkflowExecutionStatus) DeepCopyInto

func (in *WorkflowExecutionStatus) DeepCopyInto(out *WorkflowExecutionStatus)

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

type WorkflowList

type WorkflowList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Workflow `json:"items"`
}

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.

func (*WorkflowList) DeepCopyObject

func (in *WorkflowList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WorkflowSpec

type WorkflowSpec struct {
	ThreadName         string                 `json:"threadName,omitempty"`
	Manifest           types.WorkflowManifest `json:"manifest,omitempty"`
	Managed            bool                   `json:"managed,omitempty"`
	SourceThreadName   string                 `json:"sourceThreadName,omitempty"`
	SourceWorkflowName string                 `json:"sourceWorkflowName,omitempty"`
}

func (*WorkflowSpec) DeepCopy

func (in *WorkflowSpec) DeepCopy() *WorkflowSpec

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

func (*WorkflowSpec) DeepCopyInto

func (in *WorkflowSpec) DeepCopyInto(out *WorkflowSpec)

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

type WorkflowStatus

type WorkflowStatus struct {
}

func (*WorkflowStatus) DeepCopy

func (in *WorkflowStatus) DeepCopy() *WorkflowStatus

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

func (*WorkflowStatus) DeepCopyInto

func (in *WorkflowStatus) DeepCopyInto(out *WorkflowStatus)

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

type WorkflowStep

type WorkflowStep struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   WorkflowStepSpec   `json:"spec,omitempty"`
	Status WorkflowStepStatus `json:"status,omitempty"`
}

func (*WorkflowStep) DeepCopy

func (in *WorkflowStep) DeepCopy() *WorkflowStep

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

func (*WorkflowStep) DeepCopyInto

func (in *WorkflowStep) DeepCopyInto(out *WorkflowStep)

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

func (*WorkflowStep) DeepCopyObject

func (in *WorkflowStep) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkflowStep) DeleteRefs

func (in *WorkflowStep) DeleteRefs() []Ref

func (*WorkflowStep) FieldNames

func (in *WorkflowStep) FieldNames() []string

func (*WorkflowStep) Get

func (in *WorkflowStep) Get(field string) (value string)

func (*WorkflowStep) GetColumns

func (in *WorkflowStep) GetColumns() [][]string

func (*WorkflowStep) Has

func (in *WorkflowStep) Has(field string) (exists bool)

func (*WorkflowStep) IsGenerationInSync

func (in *WorkflowStep) IsGenerationInSync() bool

type WorkflowStepList

type WorkflowStepList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []WorkflowStep `json:"items"`
}

func (*WorkflowStepList) DeepCopy

func (in *WorkflowStepList) DeepCopy() *WorkflowStepList

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

func (*WorkflowStepList) DeepCopyInto

func (in *WorkflowStepList) DeepCopyInto(out *WorkflowStepList)

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

func (*WorkflowStepList) DeepCopyObject

func (in *WorkflowStepList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WorkflowStepSpec

type WorkflowStepSpec struct {
	AfterWorkflowStepName string     `json:"afterWorkflowStepName,omitempty"`
	Step                  types.Step `json:"step,omitempty"`
	WorkflowExecutionName string     `json:"workflowExecutionName,omitempty"`
	WorkflowGeneration    int64      `json:"workflowGeneration,omitempty"`
}

func (*WorkflowStepSpec) DeepCopy

func (in *WorkflowStepSpec) DeepCopy() *WorkflowStepSpec

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

func (*WorkflowStepSpec) DeepCopyInto

func (in *WorkflowStepSpec) DeepCopyInto(out *WorkflowStepSpec)

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

type WorkflowStepStatus

type WorkflowStepStatus struct {
	WorkflowGeneration int64               `json:"workflowGeneration,omitempty"`
	State              types.WorkflowState `json:"state,omitempty"`
	SubCalls           []SubCall           `json:"subCalls,omitempty"`
	Error              string              `json:"message,omitempty"`
	ThreadName         string              `json:"threadName,omitempty"`
	RunNames           []string            `json:"runNames,omitempty"`
	LastRunName        string              `json:"lastRunName,omitempty"`
}

func (*WorkflowStepStatus) DeepCopy

func (in *WorkflowStepStatus) DeepCopy() *WorkflowStepStatus

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

func (*WorkflowStepStatus) DeepCopyInto

func (in *WorkflowStepStatus) DeepCopyInto(out *WorkflowStepStatus)

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

func (WorkflowStepStatus) FirstRun

func (in WorkflowStepStatus) FirstRun() string

func (WorkflowStepStatus) HasRunsSet

func (in WorkflowStepStatus) HasRunsSet() bool

type Workspace

type Workspace struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              WorkspaceSpec   `json:"spec,omitempty"`
	Status            WorkspaceStatus `json:"status,omitempty"`
}

func (*Workspace) DeepCopy

func (in *Workspace) DeepCopy() *Workspace

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

func (*Workspace) DeepCopyInto

func (in *Workspace) DeepCopyInto(out *Workspace)

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

func (*Workspace) DeepCopyObject

func (in *Workspace) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Workspace) DeleteRefs

func (in *Workspace) DeleteRefs() []Ref

func (*Workspace) FieldNames

func (*Workspace) FieldNames() []string

func (*Workspace) Get

func (in *Workspace) Get(field string) string

func (*Workspace) GetColumns

func (in *Workspace) GetColumns() [][]string

func (*Workspace) Has

func (in *Workspace) Has(field string) bool

type WorkspaceList

type WorkspaceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Workspace `json:"items"`
}

func (*WorkspaceList) DeepCopy

func (in *WorkspaceList) DeepCopy() *WorkspaceList

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

func (*WorkspaceList) DeepCopyInto

func (in *WorkspaceList) DeepCopyInto(out *WorkspaceList)

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

func (*WorkspaceList) DeepCopyObject

func (in *WorkspaceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WorkspaceSpec

type WorkspaceSpec struct {
	AgentName           string   `json:"agentName,omitempty"`
	WorkflowName        string   `json:"workflowName,omitempty"`
	ThreadName          string   `json:"threadName,omitempty"`
	KnowledgeSetName    string   `json:"knowledgeSetName,omitempty"`
	KnowledgeSourceName string   `json:"knowledgeSourceName,omitempty"`
	FromWorkspaceNames  []string `json:"fromWorkspaceNames,omitempty"`
}

func (*WorkspaceSpec) DeepCopy

func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec

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

func (*WorkspaceSpec) DeepCopyInto

func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec)

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

type WorkspaceStatus

type WorkspaceStatus struct {
	WorkspaceID string `json:"workspaceID,omitempty"`
}

func (*WorkspaceStatus) DeepCopy

func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus

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

func (*WorkspaceStatus) DeepCopyInto

func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus)

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

Jump to

Keyboard shortcuts

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