Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindRPCFlags ¶
BindRPCFlags binds the RPC flags to the given command. This includes an rpcserver flag, and the TLS flags. These flags can be used to create an admin service client. The flags will be bound to all subcommands of the given command.
func DefaultKwilAdminRoot ¶
func DefaultKwilAdminRoot() string
func DefaultKwildRoot ¶
func DefaultKwildRoot() string
func GetAdminSvcClient ¶
func GetAdminSvcClient(ctx context.Context, cmd *cobra.Command) (*adminclient.AdminClient, error)
GetAdminSvcClient will return an admin service client based on the flags. The flags should be bound using the BindRPCFlags function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.