Documentation
¶
Index ¶
Constants ¶
View Source
const ( SecureFileKey = "SECURE_FILE" DstackTappdEndpointKey = "DSTACK_TAPPD_ENDPOINT" TwitterAccountKey = "X_USERNAME" TwitterPasswordKey = "X_PASSWORD" TwitterAppKeyKey = "X_CONSUMER_KEY" TwitterAppSecretKey = "X_CONSUMER_SECRET" LoginServerIpKey = "X_LOGIN_SERVER_IP" LoginServerPortKey = "X_LOGIN_SERVER_PORT" ProtonEmailKey = "PROTONMAIL_EMAIL" ProtonPasswordKey = "PROTONMAIL_PASSWORD" StarknetRpcUrlsKey = "STARKNET_RPC_URLS" AgentRegistryAddressKey = "CONTRACT_ADDRESS" AgentRegistryDeploymentBlockKey = "CONTRACT_DEPLOYMENT_BLOCK" OpenAiKeyKey = "OPENAI_API_KEY" UnencumberEncryptionKeyKey = "UNENCUMBER_ENCRYPTION_KEY" DisableEncumberingKey = "DISABLE_ENCUMBERING" PromptIndexerEndpointKey = "PROMPT_INDEXER_ENDPOINT" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetupManager ¶
type SetupManager struct {
// contains filtered or unexported fields
}
func NewSetupManagerFromEnv ¶
func NewSetupManagerFromEnv() (*SetupManager, error)
func (*SetupManager) Setup ¶
func (m *SetupManager) Setup(ctx context.Context) (*SetupOutput, error)
func (*SetupManager) Validate ¶
func (m *SetupManager) Validate() error
type SetupOutput ¶
type SetupOutput struct {
TwitterUsername string `json:"twitter_username"`
TwitterPassword string `json:"twitter_password"`
ProtonEmail string `json:"proton_email"`
ProtonPassword string `json:"proton_password"`
TwitterConsumerKey string `json:"twitter_consumer_key"`
TwitterConsumerSecret string `json:"twitter_consumer_secret"`
TwitterAuthTokens string `json:"twitter_auth_tokens"`
TwitterAccessToken string `json:"twitter_access_token"`
TwitterAccessTokenSecret string `json:"twitter_access_token_secret"`
StarknetPrivateKeySeed []byte `json:"starknet_private_key_seed"`
StarknetRpcUrls []string `json:"starknet_rpc_urls"`
AgentRegistryAddress *felt.Felt `json:"agent_registry_address"`
AgentRegistryDeploymentBlock uint64 `json:"agent_registry_deployment_block"`
OpenAIKey string `json:"openai_key"`
DstackTappdEndpoint string `json:"dstack_tappd_endpoint"`
UnencumberEncryptionKey [32]byte `json:"encryption_key"`
PromptIndexerEndpoint string `json:"prompt_indexer_endpoint"`
PromptIndexerApiKey string `json:"prompt_indexer_api_key"`
}
type UnencumberData ¶
func NewUnencumberDataFromSetupOutput ¶
func NewUnencumberDataFromSetupOutput(setupOutput *SetupOutput) (*UnencumberData, error)
Click to show internal directories.
Click to hide internal directories.