Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Credential ¶
type Credential struct { Context string `json:"context"` ToolName string `json:"toolName"` Type CredentialType `json:"type"` Env map[string]string `json:"env"` }
type CredentialType ¶ added in v0.8.0
type CredentialType string
const ( CredentialTypeTool CredentialType = "tool" CredentialTypeModelProvider CredentialType = "modelProvider" )
type HelperStore ¶
type HelperStore struct {
// contains filtered or unexported fields
}
func (*HelperStore) Erase ¶
func (h *HelperStore) Erase(serverAddress string) error
func (*HelperStore) Get ¶
func (h *HelperStore) Get(serverAddress string) (types.AuthConfig, error)
func (*HelperStore) GetAll ¶
func (h *HelperStore) GetAll() (map[string]types.AuthConfig, error)
func (*HelperStore) Store ¶
func (h *HelperStore) Store(authConfig types.AuthConfig) error
Click to show internal directories.
Click to hide internal directories.