Documentation ¶
Index ¶
- Variables
- func AcceptKey(id string) (bool, error)
- func Cook(target string, cmdCook types.CmdCook) (types.CmdCook, error)
- func CreateSecureTransport() error
- func DeleteKey(id string) (bool, error)
- func DenyKey(id string) (bool, error)
- func GetVersion() (types.Version, error)
- func ListKeys() (types.KeysByType, error)
- func NewNatsClient() (*nats.Conn, error)
- func RejectKey(id string) (bool, error)
- func ResolveTargets(target string) ([]string, error)
- func UnacceptKey(id string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var APIClient *http.Client
Functions ¶
func CreateSecureTransport ¶ added in v0.0.5
func CreateSecureTransport() error
func GetVersion ¶
func ListKeys ¶ added in v0.0.5
func ListKeys() (types.KeysByType, error)
func NewNatsClient ¶ added in v0.0.4
func NewNatsClient() (*nats.Conn, error)
func ResolveTargets ¶ added in v0.0.5
Target matching behavior is as follows: If the target string contains commas, it's considered to be a literal list Otherwise, the target string will be treated as a regular expression with an implicit '^' prepended and '$' appended. To avoid RegExp matching, use a trailing or preceding comma in the target.
func UnacceptKey ¶ added in v0.0.5
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.