usersecretsdrain

package
v0.0.0-...-439fd0a Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package usersecretsdrain provides the backend implementation for the usersecretsdrain facade.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(registry facade.FacadeRegistry)

Register is called to expose a package of facades onto a given registry.

Types

type SecretsDrainAPI

type SecretsDrainAPI struct {
	*commonsecrets.SecretsDrainAPI
	// contains filtered or unexported fields
}

SecretsDrainAPI is the implementation for the SecretsDrain facade.

func (*SecretsDrainAPI) GetSecretBackendConfigs

GetSecretBackendConfigs gets the config needed to create a client to secret backends for the drain worker.

func (*SecretsDrainAPI) GetSecretContentInfo

GetSecretContentInfo returns the secret values for the specified secrets.

func (*SecretsDrainAPI) GetSecretRevisionContentInfo

func (s *SecretsDrainAPI) GetSecretRevisionContentInfo(arg params.SecretRevisionArg) (params.SecretContentResults, error)

GetSecretRevisionContentInfo returns the secret values for the specified secret revisions.

type SecretsState

type SecretsState interface {
	GetSecret(*coresecrets.URI) (*coresecrets.SecretMetadata, error)
	GetSecretValue(*coresecrets.URI, int) (coresecrets.SecretValue, *coresecrets.ValueRef, error)
}

SecretsState is the interface for the state package.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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