cli

package
v1.0.0-alpha.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package cli is a command line interface

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallService

func CallService(c *cli.Context, args []string) ([]byte, error)

func GetService

func GetService(c *cli.Context, args []string) ([]byte, error)

func ListServices

func ListServices(c *cli.Context, args []string) ([]byte, error)

func Publish

func Publish(c *cli.Context, args []string) error

func QueryHealth

func QueryHealth(c *cli.Context, args []string) ([]byte, error)

func QueryStats

func QueryStats(c *cli.Context, args []string) ([]byte, error)

QueryStats returns stats of specified service(s)

func Run

func Run(c *cli.Context) error

Types

This section is empty.

Directories

Path Synopsis
Package gen provides the micro gen command which simply runs go generate
Package gen provides the micro gen command which simply runs go generate
Package init provides the micro init command for initialising plugins and imports
Package init provides the micro init command for initialising plugins and imports
new
Package new generates micro service templates
Package new generates micro service templates
Package runtime is the micro runtime Package runtime is the micro runtime
Package runtime is the micro runtime Package runtime is the micro runtime
Package cli implements the `micro store` subcommands for example: micro store snapshot micro store restore micro store sync
Package cli implements the `micro store` subcommands for example: micro store snapshot micro store restore micro store sync
Package token contains CLI client token related helpers tToken files consist of one line per token, each token having the structure of `micro://envAddress/namespace[/id]:token`, ie.
Package token contains CLI client token related helpers tToken files consist of one line per token, each token having the structure of `micro://envAddress/namespace[/id]:token`, ie.
Package user handles the user cli command
Package user handles the user cli command
Package cliutil contains methods used across all cli commands @todo: get rid of os.Exits and use errors instread
Package cliutil contains methods used across all cli commands @todo: get rid of os.Exits and use errors instread

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL