rabbitmq

package
v0.0.0-...-df79ff2 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2018 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	URI      string
	Username string
	Password string

	Tags   []string
	VHosts map[string]VHost
}

Engine is a RabbitMQ secrets engine that can provision and revoke credentials.

func (*Engine) Provision

func (e *Engine) Provision(ctx context.Context, namespace, name string) ([]byte, map[string][]byte, error)

Provision provisions credentials using the engine configuration.

func (*Engine) Revoke

func (e *Engine) Revoke(ctx context.Context, revocation []byte) error

Revoke revokes credentials using the engine configuration.

type VHost

type VHost struct {
	Configure string
	Write     string
	Read      string
}

VHost defines permissions to be set on a vhost.

Jump to

Keyboard shortcuts

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