mocks

package
v0.0.0-...-1c438a8 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 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 Configurator

type Configurator struct {
	mock.Mock
}

Configurator is an autogenerated mock type for the Configurator type

func NewConfigurator

func NewConfigurator(t interface {
	mock.TestingT
	Cleanup(func())
}) *Configurator

NewConfigurator creates a new instance of Configurator. 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 (*Configurator) ConfigureCompassRuntimeAgent

func (_m *Configurator) ConfigureCompassRuntimeAgent(kubeconfig []byte, compassRuntimeID string, globalAccount string) error

ConfigureCompassRuntimeAgent provides a mock function with given fields: kubeconfig, compassRuntimeID, globalAccount

type Registrator

type Registrator struct {
	mock.Mock
}

Registrator is an autogenerated mock type for the Registrator type

func NewRegistrator

func NewRegistrator(t interface {
	mock.TestingT
	Cleanup(func())
}) *Registrator

NewRegistrator creates a new instance of Registrator. 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 (*Registrator) DeregisterFromCompass

func (_m *Registrator) DeregisterFromCompass(compassID string, globalAccount string) error

DeregisterFromCompass provides a mock function with given fields: compassID, globalAccount

func (*Registrator) RegisterInCompass

func (_m *Registrator) RegisterInCompass(compassRuntimeLabels map[string]interface{}) (string, error)

RegisterInCompass provides a mock function with given fields: compassRuntimeLabels

Jump to

Keyboard shortcuts

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