Versions in this module Expand all Collapse all v1 v1.0.0 Sep 22, 2019 Changes in this version + const LightScryptN + const LightScryptP + const StandardScryptN + const StandardScryptP + var AnkrCmd = &Command + var Context string + var ErrNoAccessToken = errors.New("no access token has been configured") + var HubURL string + var Output string + var Token string + var Trace bool + var Verbose bool + var Writer = os.Stdout + func AddBoolFlag(cmd *Command, name, shorthand string, def bool, desc string, opts ...flagOpt) + func AddIntFlag(cmd *Command, name, shorthand string, def int, desc string, opts ...flagOpt) + func AddStringFlag(cmd *Command, name, shorthand, dflt, desc string, opts ...flagOpt) + func AddStringSliceFlag(cmd *Command, name, shorthand string, def []string, desc string, ...) + func AskForConfirm(message string) error + func DecryptDataV3(cryptoJson CryptoJSON, auth string) ([]byte, error) + func Execute() + func Keccak256(data ...[]byte) []byte + func KeyFileWriter(keyFile string) (io.WriteCloser, error) + func RunAppCancel(c *CmdConfig) error + func RunAppCreate(c *CmdConfig) error + func RunAppDetail(c *CmdConfig) error + func RunAppList(c *CmdConfig) error + func RunAppOverview(c *CmdConfig) error + func RunAppPurge(c *CmdConfig) error + func RunAppUpdate(c *CmdConfig) error + func RunChartDelete(c *CmdConfig) error + func RunChartDetail(c *CmdConfig) error + func RunChartDownload(c *CmdConfig) error + func RunChartList(c *CmdConfig) error + func RunChartSaveas(c *CmdConfig) error + func RunChartUpload(c *CmdConfig) error + func RunClusterList(c *CmdConfig) error + func RunNamespaceCreate(c *CmdConfig) error + func RunNamespaceDelete(c *CmdConfig) error + func RunNamespaceList(c *CmdConfig) error + func RunNamespaceUpdate(c *CmdConfig) error + func RunNetworkInfo(c *CmdConfig) error + func RunUserChangeEmail(c *CmdConfig) error + func RunUserChangePassword(c *CmdConfig) error + func RunUserConfirmEmail(c *CmdConfig) error + func RunUserConfirmPassword(c *CmdConfig) error + func RunUserConfirmRegistration(c *CmdConfig) error + func RunUserDetail(c *CmdConfig) error + func RunUserForgotPassword(c *CmdConfig) error + func RunUserLogin(c *CmdConfig) error + func RunUserLogout(c *CmdConfig) error + func RunUserRegister(c *CmdConfig) error + func RunUserTokenRefresh(c *CmdConfig) error + func RunUserUpdate(c *CmdConfig) error + func RunWalletDeletekey(c *CmdConfig) error + func RunWalletDepositHistory(c *CmdConfig) error + func RunWalletGenAddress(c *CmdConfig) error + func RunWalletGenkey(c *CmdConfig) error + func RunWalletGetbalance(c *CmdConfig) error + func RunWalletImportkey(c *CmdConfig) error + func RunWalletKeylist(c *CmdConfig) error + func RunWalletSearchDeposit(c *CmdConfig) error + func RunWalletSendCoins(c *CmdConfig) error + func Shuffle(slice []string) []string + type CmdConfig struct + Ankr ankrctl.Config + Args []string + NS string + Out io.Writer + func NewCmdConfig(ns string, dc ankrctl.Config, out io.Writer, args []string) (*CmdConfig, error) + func (c *CmdConfig) Display(d displayers.Displayable) error + type CmdRunner func(*CmdConfig) error + type Command struct + DocCategories []string + IsIndex bool + func CmdBuilder(parent *Command, cr CmdRunner, cliText, desc string, out io.Writer, ...) *Command + func (c *Command) AddCommand(commands ...*Command) + func (c *Command) ChildCommands() []*Command + type CryptoJSON struct + Cipher string + CipherParams cipherparamsJSON + CipherText string + KDF string + KDFParams map[string]interface{} + MAC string + func EncryptDataV3(data, auth []byte, scryptN, scryptP int) (CryptoJSON, error) + type EncryptedKeyJSONV3 struct + Address string + Crypto CryptoJSON + KeyJSONVersion int + Name string + PublicKey string Incompatible versions in this module v2.0.0+incompatible Jul 13, 2019