commands

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MissingServiceInstanceError = errors.New("missing service instance name")
	UnknownCommandError         = errors.New("unknown command")
	BadCommandSyntaxError       = errors.New("bad command syntax")
	BadJsonObjectError          = errors.New("invalid JSON object")
)

Functions

func AddSecrets

func AddSecrets(brokerUrl, serviceGuid, token string, payload interface{}, ignoreSsl bool) error

func DeleteSecrets

func DeleteSecrets(brokerUrl, serviceGuid, token string, payload interface{}, ignoreSsl bool) error

func ListSecrets

func ListSecrets(brokerUrl, serviceGuid, token string, ignoreSsl bool) error

func ListVersions

func ListVersions(brokerUrl, serviceGuid, token string, ignoreSsl bool) error

func ReinstateVersion

func ReinstateVersion(brokerUrl, serviceGuid, token string, payload interface{}, ignoreSsl bool) error

Types

type CredhubCommand

type CredhubCommand struct {
	Command     int
	ServiceName string
	Payload     interface{}
}

func ParseCommand

func ParseCommand(args []string) (*CredhubCommand, error)

type DeleteResponse

type DeleteResponse struct {
	IgnoredKeys []string
}

Jump to

Keyboard shortcuts

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