commands

package
v0.0.0-...-b75b796 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCmd

func CheckCmd(c *components.Context) error

func Details

func Details(q queueDetails, config *config.ServerDetails, c *components.Context) (int, int)

func Extend

func Extend(slice []string, element string) []string

func GetCheckCommand

func GetCheckCommand() components.Command

func GetGraphCommand

func GetGraphCommand() components.Command

func GetHelloCommand

func GetHelloCommand() components.Command

func GetMetricsCommand

func GetMetricsCommand() components.Command

func GraphCmd

func GraphCmd(c *components.Context) error

func MetricsCmd

func MetricsCmd(c *components.Context) error

Types

type Alphabetic

type Alphabetic []string

func (Alphabetic) Len

func (list Alphabetic) Len() int

func (Alphabetic) Less

func (list Alphabetic) Less(i, j int) bool

func (Alphabetic) Swap

func (list Alphabetic) Swap(i, j int)

type CheckConfiguration

type CheckConfiguration struct {
	// contains filtered or unexported fields
}

type GraphConfiguration

type GraphConfiguration struct {
	// contains filtered or unexported fields
}

type IndexedRepo

type IndexedRepo struct {
	Name    string `json:"name"`
	PkgType string `json:"pkgType"`
	Type    string `json:"type"`
}

func CheckTypeAndRepoParams

func CheckTypeAndRepoParams(config *config.ServerDetails) []IndexedRepo

Test if remote repository exists and is a remote

type MetricsConfiguration

type MetricsConfiguration struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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