mocks

package
v0.0.0-...-6cc5b44 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateSecretConfigurator

type CertificateSecretConfigurator struct {
	mock.Mock
}

CertificateSecretConfigurator is an autogenerated mock type for the CertificateSecretConfigurator type

func NewCertificateSecretConfigurator

func NewCertificateSecretConfigurator(t mockConstructorTestingTNewCertificateSecretConfigurator) *CertificateSecretConfigurator

NewCertificateSecretConfigurator creates a new instance of CertificateSecretConfigurator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*CertificateSecretConfigurator) Do

func (_m *CertificateSecretConfigurator) Do(caSecretName string, clusterCertSecretName string) (types.RollbackFunc, error)

Do provides a mock function with given fields: caSecretName, clusterCertSecretName

type CompassConfigurator

type CompassConfigurator struct {
	mock.Mock
}

CompassConfigurator is an autogenerated mock type for the CompassConfigurator type

func NewCompassConfigurator

func NewCompassConfigurator(t mockConstructorTestingTNewCompassConfigurator) *CompassConfigurator

NewCompassConfigurator creates a new instance of CompassConfigurator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*CompassConfigurator) Do

Do provides a mock function with given fields: runtimeName, formationName

type CompassConnectionConfigurator

type CompassConnectionConfigurator struct {
	mock.Mock
}

CompassConnectionConfigurator is an autogenerated mock type for the CompassConnectionConfigurator type

func NewCompassConnectionConfigurator

func NewCompassConnectionConfigurator(t mockConstructorTestingTNewCompassConnectionConfigurator) *CompassConnectionConfigurator

NewCompassConnectionConfigurator creates a new instance of CompassConnectionConfigurator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*CompassConnectionConfigurator) Do

Do provides a mock function with given fields:

type ConfigurationSecretConfigurator

type ConfigurationSecretConfigurator struct {
	mock.Mock
}

ConfigurationSecretConfigurator is an autogenerated mock type for the ConfigurationSecretConfigurator type

func NewConfigurationSecretConfigurator

func NewConfigurationSecretConfigurator(t mockConstructorTestingTNewConfigurationSecretConfigurator) *ConfigurationSecretConfigurator

NewConfigurationSecretConfigurator creates a new instance of ConfigurationSecretConfigurator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ConfigurationSecretConfigurator) Do

Do provides a mock function with given fields: configurationSecretName, config

type DeploymentConfigurator

type DeploymentConfigurator struct {
	mock.Mock
}

DeploymentConfigurator is an autogenerated mock type for the DeploymentConfigurator type

func NewDeploymentConfigurator

func NewDeploymentConfigurator(t mockConstructorTestingTNewDeploymentConfigurator) *DeploymentConfigurator

NewDeploymentConfigurator creates a new instance of DeploymentConfigurator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DeploymentConfigurator) Do

func (_m *DeploymentConfigurator) Do(caSecretName string, clusterCertSecretName string, runtimeAgentConfigSecretName string, controllerSyncPeriodTime string) (types.RollbackFunc, error)

Do provides a mock function with given fields: caSecretName, clusterCertSecretName, runtimeAgentConfigSecretName, controllerSyncPeriodTime

type DirectorClient

type DirectorClient struct {
	mock.Mock
}

DirectorClient is an autogenerated mock type for the DirectorClient type

func NewDirectorClient

func NewDirectorClient(t mockConstructorTestingTNewDirectorClient) *DirectorClient

NewDirectorClient creates a new instance of DirectorClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DirectorClient) AssignRuntimeToFormation

func (_m *DirectorClient) AssignRuntimeToFormation(runtimeId string, formationName string) error

AssignRuntimeToFormation provides a mock function with given fields: runtimeId, formationName

func (*DirectorClient) GetConnectionToken

func (_m *DirectorClient) GetConnectionToken(runtimeID string) (string, string, error)

GetConnectionToken provides a mock function with given fields: runtimeID

func (*DirectorClient) RegisterFormation

func (_m *DirectorClient) RegisterFormation(formationName string) error

RegisterFormation provides a mock function with given fields: formationName

func (*DirectorClient) RegisterRuntime

func (_m *DirectorClient) RegisterRuntime(runtimeName string) (string, error)

RegisterRuntime provides a mock function with given fields: runtimeName

func (*DirectorClient) UnregisterFormation

func (_m *DirectorClient) UnregisterFormation(formationName string) error

UnregisterFormation provides a mock function with given fields: formationName

func (*DirectorClient) UnregisterRuntime

func (_m *DirectorClient) UnregisterRuntime(id string) error

UnregisterRuntime provides a mock function with given fields: id

Jump to

Keyboard shortcuts

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