secrettest

package
v0.24.48 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Overview

Package secrettest is a test infrastructure package to support tests for skipper secrets module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestRegistry

type TestRegistry struct {
	// contains filtered or unexported fields
}

func NewTestRegistry

func NewTestRegistry() *TestRegistry

NewTestRegistry returns a singleton TestRegistry

func (*TestRegistry) GetEncrypter added in v0.11.27

func (tr *TestRegistry) GetEncrypter(refreshInterval time.Duration, s string) (secrets.Encryption, error)

type TestingSecretSource

type TestingSecretSource struct {
	// contains filtered or unexported fields
}

func (*TestingSecretSource) GetSecret

func (s *TestingSecretSource) GetSecret() ([][]byte, error)

Jump to

Keyboard shortcuts

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