rabbitmqcredhelper

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VaultRMQCredentials

type VaultRMQCredentials struct {
	VaultClient *vaultclient.VaultClient
	Username    string
	Password    string
	VaultPath   string
	Exp         int64
}

func NewVaultRMQCredentials

func NewVaultRMQCredentials(vcli *vaultclient.VaultClient, vaultpath string) *VaultRMQCredentials

NewVaultRMQCredentials creates a new VaultRMQCredentialhelper If vaultpath is empty, the role will be used as path

func (*VaultRMQCredentials) GetCredentials

func (rmc *VaultRMQCredentials) GetCredentials() (string, string)

Jump to

Keyboard shortcuts

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