cred_helper

package
v0.0.0-...-81a4f0c Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxRetry = 5
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials interface {
	Create(appId string, userProvidedCredential *models.Credential) (*models.Credential, error)
	Delete(appId string) error
	Validate(appId string, credential models.Credential) (bool, error)
}

func NewCustomMetricsCredHelper

func NewCustomMetricsCredHelper(policyDb db.PolicyDB, maxRetry int, logger lager.Logger) Credentials

func NewCustomMetricsCredHelperWithCache

func NewCustomMetricsCredHelperWithCache(policyDb db.PolicyDB, maxRetry int, credentialCache cache.Cache, cacheTTL time.Duration, logger lager.Logger) Credentials

func NewStoredProcedureCredHelper

func NewStoredProcedureCredHelper(storedProcedureDb db.StoredProcedureDB, maxRetry int, logger lager.Logger) Credentials

Jump to

Keyboard shortcuts

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