fake

package
v0.0.0-...-a4d1c61 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fake

type Fake struct {
	*mock.Mock
}

Fake is a fake Secrets implementation.

func NewFakeSecrets

func NewFakeSecrets() *Fake

NewFakeSecrets initializes a new fake implementation for secrets.

func (*Fake) Get

func (f *Fake) Get(ctx context.Context, name, namespace string) (*secrets.Secret, error)

Get mocks the Secrets.Get method.

Jump to

Keyboard shortcuts

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