cmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CACHE_LOCATION = ".octp-client-cache.json"
)
View Source
const (
	// notice
	NoticePleaseAddCert = "Please run the command below, so that you are able to push the challenges to the registry for this event!"
)

constants

View Source
const (
	POD_SERVER_PREFIX = "octpd-"
)

Variables

View Source
var (
	// the errors we output!
	ErrMsgEventCreateArg      = errors.New("Too many arguments given to event create [event id], only needs one")
	ErrEventAlreadyExists     = errors.New("Event with that name already exists")
	ErrFailedCheckEventExists = errors.New("Failed to check if event with that event id already exists")
	ErrInvalidEventTag        = errors.New("Invalid event tag, must only be a combination of lowercase, uppercase and digits (A-z0-9)")
	ErrChalFileEmpty          = errors.New("No chal file specified")
	ErrChalFileNotExists      = errors.New("No challenge file with the specified name exists")
	ErrFailedPushInitConf     = errors.New("Failed to push initial configuration to the server")
	ErrSignalFromServer       = errors.New("Could get a signal from the server")

	ErrNoSSHFingerprint = errors.New("No ssh_fingerprint specified in your configuration, please find and add it")
)

vars

View Source
var (
	ErrMultiplePodsMatch  = errors.New("Multiple pods match the given prefix")
	ErrNoMatchFoundForPod = errors.New("No pods match the given prefix")
	ErrServerPodError     = errors.New("A error happened while trying to fetch the specified pod from the server")
	ErrPodSetInvalidKey   = errors.New("Invalid key specified")
)
View Source
var (
	ErrCouldNotFindEvent = errors.New("Could not find the specified event in cache, try updating your event cache")
)

Functions

func Execute

func Execute()

Types

This section is empty.

Jump to

Keyboard shortcuts

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