testing

package
v1.0.42 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCredentials

type FakeCredentials struct {
	credentials.Credentials
	// contains filtered or unexported fields
}

func NewFakeCredentials

func NewFakeCredentials(t *testing.T) (*FakeCredentials, error)

NewFakeCredentials returns a new FakeCredentials that implements the credentials.Credentials interface, suitable for use in testing

func (*FakeCredentials) AddToStore

func (f *FakeCredentials) AddToStore(key string, value []byte) error

AddToStore adds a new credential to the store

Jump to

Keyboard shortcuts

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