fakes

package
v0.44.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeSecretReader

type FakeSecretReader struct {
	Secrets map[string]string
}

FakeSecretReader implements tpl.SecretReader.

func (FakeSecretReader) ReadSecret

func (fsr FakeSecretReader) ReadSecret(path string) (string, error)

ReadSecret implements tpl.SecretReader.ReadSecret.

type FakeVariableReader added in v0.34.0

type FakeVariableReader struct {
	Variables map[string]string
}

func (FakeVariableReader) ReadVariable added in v0.34.0

func (r FakeVariableReader) ReadVariable(name string) (string, error)

Jump to

Keyboard shortcuts

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