get

package
v0.0.0-...-23f4e28 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:     "get",
	Short:   "display on or many resources",
	Long:    getLong,
	Example: getExample,

	Run: func(cmd *cobra.Command, args []string) {

		if len(args) == 1 {

			switch args[0] {
			case "checks":
				listChecks()
			case "connections":
				fmt.Println("Get Connections")
			}

		} else if len(args) == 2 {
			fmt.Println("bla")
		} else {
			fmt.Println("To many arguments")
		}

	},
}

Functions

This section is empty.

Types

type Checks

type Checks []struct {
	Label       string `json:"label"`
	Description string `json:"description"`
}

Jump to

Keyboard shortcuts

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