cli

package
v3.10.13 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 32 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

Run cmd

Types

This section is empty.

Directories

Path Synopsis
Package init gen provides the micro gen command which simply runs go generate
Package init gen provides the micro gen command which simply runs go generate
Package init provides the micro init command for initializing plugins and profiles
Package init provides the micro init command for initializing plugins and profiles
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 cli implements the `micro store` subcommands for example:
Package cli implements the `micro store` subcommands for example:
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 util contains methods used across all cli commands @todo: get rid of os.Exits and use errors instread
Package util 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