mocks

package
v0.0.0-...-0585a07 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func NewManager

func NewManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *Manager

NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Manager) GenerateNewDeployment

func (_m *Manager) GenerateNewDeployment(companion *v1alpha1.Companion, backendImage string) (*v1.Deployment, error)

GenerateNewDeployment provides a mock function with given fields: companion, backendImage

func (*Manager) GenerateNewSecret

func (_m *Manager) GenerateNewSecret(companion *v1alpha1.Companion, config backendmanager.Config) (*corev1.Secret, error)

GenerateNewSecret provides a mock function with given fields: companion, config

func (*Manager) GetBackendConfig

func (_m *Manager) GetBackendConfig(ctx context.Context) (*backendmanager.Config, error)

GetBackendConfig provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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