Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implement a socket client allowing to run simple RPC commands.
func (*Client) NodeWalletReload ¶
func (*Client) NodeWalletShow ¶
func (*Client) UpgradeStatus ¶
type Config ¶
type Config struct {
Level encoding.LogLevel `long:"log-level"`
Server ServerConfig `group:"Server" namespace:"server"`
}
Config represents the configuration of the admin package.
func NewDefaultConfig ¶
func NewDefaultConfig() Config
NewDefaultConfig creates an instance of the package specific configuration, given a pointer to a logger instance to be used for logging within the package.
type NodeWallet ¶
type NodeWallet struct {
// contains filtered or unexported fields
}
func NewNodeWallet ¶
func NewNodeWallet( log *logging.Logger, vegaPaths paths.Paths, nodeWalletPassphrase string, nodeWallets *nodewallets.NodeWallets, ) (*NodeWallet, error)
func (*NodeWallet) Reload ¶
func (nw *NodeWallet) Reload(_ *http.Request, args *NodeWalletArgs, reply *NodeWalletReloadReply) error
func (*NodeWallet) Show ¶
func (nw *NodeWallet) Show(_ *http.Request, args *NodeWalletArgs, reply *Wallet) error
type NodeWalletArgs ¶
type NodeWalletArgs struct {
Chain string
}
type NodeWalletReloadReply ¶
type ProtocolUpgradeAdminService ¶
type ProtocolUpgradeAdminService struct {
// contains filtered or unexported fields
}
func NewProtocolUpgradeService ¶
func NewProtocolUpgradeService(protocolUpgradeService ProtocolUpgradeService) *ProtocolUpgradeAdminService
func (*ProtocolUpgradeAdminService) UpgradeStatus ¶
func (p *ProtocolUpgradeAdminService) UpgradeStatus(r *http.Request, args *ReadyForUpgradeArgs, reply *types.UpgradeStatus) error
type ProtocolUpgradeService ¶
type ProtocolUpgradeService interface {
// is vega core ready to be stopped and upgraded
GetUpgradeStatus() types.UpgradeStatus
}