Documentation
¶
Index ¶
- func Delete(cfg *config.Config, id string, force bool, u *ui.UI) error
- func DeploymentPath(cfg *config.Config, id string) string
- func List(cfg *config.Config, u *ui.UI) error
- func ListWallets(cfg *config.Config, id string, u *ui.UI) error
- func Onboard(cfg *config.Config, opts OnboardOptions, u *ui.UI) error
- func RegenerateToken(cfg *config.Config, id string, u *ui.UI) (string, error)
- func ResolveInstance(cfg *config.Config, args []string) (string, []string, error)
- func ResolveInstanceNamespace(cfg *config.Config) (string, error)
- func ResolveWalletAddress(cfg *config.Config) (string, error)
- func Setup(cfg *config.Config, id string, _ SetupOptions, u *ui.UI) error
- func SetupDefault(cfg *config.Config, u *ui.UI) error
- func Skills(cfg *config.Config, id string, args []string) error
- func Sync(cfg *config.Config, id string, u *ui.UI) error
- func SyncDefaultModels(cfg *config.Config, u *ui.UI) error
- func Token(cfg *config.Config, id string, u *ui.UI) error
- func WriteWalletMetadata(deploymentDir string, wallet *WalletInfo) error
- type DashboardOptions
- type OnboardOptions
- type SetupOptions
- type WalletInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegenerateToken ¶
func ResolveInstance ¶
func WriteWalletMetadata ¶
func WriteWalletMetadata(deploymentDir string, wallet *WalletInfo) error
Types ¶
type DashboardOptions ¶
type OnboardOptions ¶
type SetupOptions ¶
type SetupOptions struct{}
type WalletInfo ¶
type WalletInfo struct {
Address string `json:"address"`
PublicKey string `json:"publicKey"`
KeystoreUUID string `json:"keystore_uuid"`
KeystorePath string `json:"keystore_path"`
CreatedAt string `json:"createdAt"`
Password string `json:"-"`
}
func GenerateWallet ¶
func ReadWalletMetadata ¶
func ReadWalletMetadata(deploymentDir string) (*WalletInfo, error)
Click to show internal directories.
Click to hide internal directories.