Documentation ¶
Index ¶
Constants ¶
View Source
const GPTScriptHelperPrefix = "gptscript-credential-"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig types.AuthConfig
func (AuthConfig) MarshalJSON ¶
func (a AuthConfig) MarshalJSON() ([]byte, error)
func (*AuthConfig) UnmarshalJSON ¶
func (a *AuthConfig) UnmarshalJSON(data []byte) error
type CLIConfig ¶
type CLIConfig struct { Auths map[string]AuthConfig `json:"auths,omitempty"` CredentialsStore string `json:"credsStore,omitempty"` GPTScriptConfigFile string `json:"gptscriptConfig,omitempty"` GatewayURL string `json:"gatewayURL,omitempty"` Integrations map[string]string `json:"integrations,omitempty"` // contains filtered or unexported fields }
func ReadCLIConfig ¶
func (*CLIConfig) GetAuthConfigs ¶
func (c *CLIConfig) GetAuthConfigs() map[string]types.AuthConfig
func (*CLIConfig) GetFilename ¶
Click to show internal directories.
Click to hide internal directories.