consts

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Host     = "host"
	Token    = "token"
	Nickname = "nickname"
	Password = "password"
	Describe = "describe"
	Domain   = "domain"
	Kind     = "kind"
	Spec     = "spec"
	Key      = "key"
	SecretID = "secret-id"
	TaskID   = "task-id"
)

flag name

View Source
const (
	CreateUser = prefix + "/user"
	AuthUser   = prefix + "/token"

	CreateSecret = prefix + version + "/secret"
	UpdateSecret = CreateSecret
	DeleteSecret = CreateSecret
	GetSecrets   = prefix + version + "/secrets"

	CreateTask = prefix + version + "/task"
	DeleteTask = CreateTask
	GetTasks   = prefix + version + "/tasks"
)

api path

Variables

View Source
var (
	ErrSendJson     = errors.New("send json failed")
	ErrInvalidParam = errors.New("invalid param")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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