mock

package
v1.79.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 11 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFactory

type MockFactory struct {
	// contains filtered or unexported fields
}

MockFactory is a mock of Factory interface.

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance.

func (*MockFactory) DefaultInitializer

func (m *MockFactory) DefaultInitializer(arg0 client.Client, arg1, arg2 string, arg3 []byte, arg4 terraformer.StateConfigMapInitializer) terraformer.Initializer

DefaultInitializer mocks base method.

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFactory) New

func (m *MockFactory) New(arg0 logr.Logger, arg1 client.Client, arg2 v11.CoreV1Interface, arg3, arg4, arg5, arg6 string) terraformer.Terraformer

New mocks base method.

func (*MockFactory) NewForConfig

func (m *MockFactory) NewForConfig(arg0 logr.Logger, arg1 *rest.Config, arg2, arg3, arg4, arg5 string) (terraformer.Terraformer, error)

NewForConfig mocks base method.

type MockFactoryMockRecorder

type MockFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockFactoryMockRecorder is the mock recorder for MockFactory.

func (*MockFactoryMockRecorder) DefaultInitializer

func (mr *MockFactoryMockRecorder) DefaultInitializer(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

DefaultInitializer indicates an expected call of DefaultInitializer.

func (*MockFactoryMockRecorder) New

func (mr *MockFactoryMockRecorder) New(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

New indicates an expected call of New.

func (*MockFactoryMockRecorder) NewForConfig

func (mr *MockFactoryMockRecorder) NewForConfig(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

NewForConfig indicates an expected call of NewForConfig.

type MockInitializer

type MockInitializer struct {
	// contains filtered or unexported fields
}

MockInitializer is a mock of Initializer interface.

func NewMockInitializer

func NewMockInitializer(ctrl *gomock.Controller) *MockInitializer

NewMockInitializer creates a new mock instance.

func (*MockInitializer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInitializer) Initialize

Initialize mocks base method.

type MockInitializerMockRecorder

type MockInitializerMockRecorder struct {
	// contains filtered or unexported fields
}

MockInitializerMockRecorder is the mock recorder for MockInitializer.

func (*MockInitializerMockRecorder) Initialize

func (mr *MockInitializerMockRecorder) Initialize(arg0, arg1, arg2 interface{}) *gomock.Call

Initialize indicates an expected call of Initialize.

type MockTerraformer

type MockTerraformer struct {
	// contains filtered or unexported fields
}

MockTerraformer is a mock of Terraformer interface.

func NewMockTerraformer

func NewMockTerraformer(ctrl *gomock.Controller) *MockTerraformer

NewMockTerraformer creates a new mock instance.

func (*MockTerraformer) Apply

func (m *MockTerraformer) Apply(arg0 context.Context) error

Apply mocks base method.

func (*MockTerraformer) CleanupConfiguration

func (m *MockTerraformer) CleanupConfiguration(arg0 context.Context) error

CleanupConfiguration mocks base method.

func (*MockTerraformer) ConfigExists

func (m *MockTerraformer) ConfigExists(arg0 context.Context) (bool, error)

ConfigExists mocks base method.

func (*MockTerraformer) Destroy

func (m *MockTerraformer) Destroy(arg0 context.Context) error

Destroy mocks base method.

func (*MockTerraformer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTerraformer) EnsureCleanedUp

func (m *MockTerraformer) EnsureCleanedUp(arg0 context.Context) error

EnsureCleanedUp mocks base method.

func (*MockTerraformer) GetRawState

func (m *MockTerraformer) GetRawState(arg0 context.Context) (*terraformer.RawState, error)

GetRawState mocks base method.

func (*MockTerraformer) GetState

func (m *MockTerraformer) GetState(arg0 context.Context) ([]byte, error)

GetState mocks base method.

func (*MockTerraformer) GetStateOutputVariables

func (m *MockTerraformer) GetStateOutputVariables(arg0 context.Context, arg1 ...string) (map[string]string, error)

GetStateOutputVariables mocks base method.

func (*MockTerraformer) InitializeWith

InitializeWith mocks base method.

func (*MockTerraformer) IsStateEmpty

func (m *MockTerraformer) IsStateEmpty(arg0 context.Context) bool

IsStateEmpty mocks base method.

func (*MockTerraformer) NumberOfResources

func (m *MockTerraformer) NumberOfResources(arg0 context.Context) (int, error)

NumberOfResources mocks base method.

func (*MockTerraformer) RemoveTerraformerFinalizerFromConfig

func (m *MockTerraformer) RemoveTerraformerFinalizerFromConfig(arg0 context.Context) error

RemoveTerraformerFinalizerFromConfig mocks base method.

func (*MockTerraformer) SetDeadlineCleaning

func (m *MockTerraformer) SetDeadlineCleaning(arg0 time.Duration) terraformer.Terraformer

SetDeadlineCleaning mocks base method.

func (*MockTerraformer) SetDeadlinePod

func (m *MockTerraformer) SetDeadlinePod(arg0 time.Duration) terraformer.Terraformer

SetDeadlinePod mocks base method.

func (*MockTerraformer) SetDeadlinePodCreation added in v1.25.0

func (m *MockTerraformer) SetDeadlinePodCreation(arg0 time.Duration) terraformer.Terraformer

SetDeadlinePodCreation mocks base method.

func (*MockTerraformer) SetEnvVars

func (m *MockTerraformer) SetEnvVars(arg0 ...v1.EnvVar) terraformer.Terraformer

SetEnvVars mocks base method.

func (*MockTerraformer) SetLogLevel

func (m *MockTerraformer) SetLogLevel(arg0 string) terraformer.Terraformer

SetLogLevel mocks base method.

func (*MockTerraformer) SetOwnerRef

SetOwnerRef mocks base method.

func (*MockTerraformer) SetTerminationGracePeriodSeconds

func (m *MockTerraformer) SetTerminationGracePeriodSeconds(arg0 int64) terraformer.Terraformer

SetTerminationGracePeriodSeconds mocks base method.

func (*MockTerraformer) UseProjectedTokenMount added in v1.39.0

func (m *MockTerraformer) UseProjectedTokenMount(arg0 bool) terraformer.Terraformer

UseProjectedTokenMount mocks base method.

func (*MockTerraformer) WaitForCleanEnvironment

func (m *MockTerraformer) WaitForCleanEnvironment(arg0 context.Context) error

WaitForCleanEnvironment mocks base method.

type MockTerraformerMockRecorder

type MockTerraformerMockRecorder struct {
	// contains filtered or unexported fields
}

MockTerraformerMockRecorder is the mock recorder for MockTerraformer.

func (*MockTerraformerMockRecorder) Apply

func (mr *MockTerraformerMockRecorder) Apply(arg0 interface{}) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockTerraformerMockRecorder) CleanupConfiguration

func (mr *MockTerraformerMockRecorder) CleanupConfiguration(arg0 interface{}) *gomock.Call

CleanupConfiguration indicates an expected call of CleanupConfiguration.

func (*MockTerraformerMockRecorder) ConfigExists

func (mr *MockTerraformerMockRecorder) ConfigExists(arg0 interface{}) *gomock.Call

ConfigExists indicates an expected call of ConfigExists.

func (*MockTerraformerMockRecorder) Destroy

func (mr *MockTerraformerMockRecorder) Destroy(arg0 interface{}) *gomock.Call

Destroy indicates an expected call of Destroy.

func (*MockTerraformerMockRecorder) EnsureCleanedUp

func (mr *MockTerraformerMockRecorder) EnsureCleanedUp(arg0 interface{}) *gomock.Call

EnsureCleanedUp indicates an expected call of EnsureCleanedUp.

func (*MockTerraformerMockRecorder) GetRawState

func (mr *MockTerraformerMockRecorder) GetRawState(arg0 interface{}) *gomock.Call

GetRawState indicates an expected call of GetRawState.

func (*MockTerraformerMockRecorder) GetState

func (mr *MockTerraformerMockRecorder) GetState(arg0 interface{}) *gomock.Call

GetState indicates an expected call of GetState.

func (*MockTerraformerMockRecorder) GetStateOutputVariables

func (mr *MockTerraformerMockRecorder) GetStateOutputVariables(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetStateOutputVariables indicates an expected call of GetStateOutputVariables.

func (*MockTerraformerMockRecorder) InitializeWith

func (mr *MockTerraformerMockRecorder) InitializeWith(arg0, arg1 interface{}) *gomock.Call

InitializeWith indicates an expected call of InitializeWith.

func (*MockTerraformerMockRecorder) IsStateEmpty

func (mr *MockTerraformerMockRecorder) IsStateEmpty(arg0 interface{}) *gomock.Call

IsStateEmpty indicates an expected call of IsStateEmpty.

func (*MockTerraformerMockRecorder) NumberOfResources

func (mr *MockTerraformerMockRecorder) NumberOfResources(arg0 interface{}) *gomock.Call

NumberOfResources indicates an expected call of NumberOfResources.

func (*MockTerraformerMockRecorder) RemoveTerraformerFinalizerFromConfig

func (mr *MockTerraformerMockRecorder) RemoveTerraformerFinalizerFromConfig(arg0 interface{}) *gomock.Call

RemoveTerraformerFinalizerFromConfig indicates an expected call of RemoveTerraformerFinalizerFromConfig.

func (*MockTerraformerMockRecorder) SetDeadlineCleaning

func (mr *MockTerraformerMockRecorder) SetDeadlineCleaning(arg0 interface{}) *gomock.Call

SetDeadlineCleaning indicates an expected call of SetDeadlineCleaning.

func (*MockTerraformerMockRecorder) SetDeadlinePod

func (mr *MockTerraformerMockRecorder) SetDeadlinePod(arg0 interface{}) *gomock.Call

SetDeadlinePod indicates an expected call of SetDeadlinePod.

func (*MockTerraformerMockRecorder) SetDeadlinePodCreation added in v1.25.0

func (mr *MockTerraformerMockRecorder) SetDeadlinePodCreation(arg0 interface{}) *gomock.Call

SetDeadlinePodCreation indicates an expected call of SetDeadlinePodCreation.

func (*MockTerraformerMockRecorder) SetEnvVars

func (mr *MockTerraformerMockRecorder) SetEnvVars(arg0 ...interface{}) *gomock.Call

SetEnvVars indicates an expected call of SetEnvVars.

func (*MockTerraformerMockRecorder) SetLogLevel

func (mr *MockTerraformerMockRecorder) SetLogLevel(arg0 interface{}) *gomock.Call

SetLogLevel indicates an expected call of SetLogLevel.

func (*MockTerraformerMockRecorder) SetOwnerRef

func (mr *MockTerraformerMockRecorder) SetOwnerRef(arg0 interface{}) *gomock.Call

SetOwnerRef indicates an expected call of SetOwnerRef.

func (*MockTerraformerMockRecorder) SetTerminationGracePeriodSeconds

func (mr *MockTerraformerMockRecorder) SetTerminationGracePeriodSeconds(arg0 interface{}) *gomock.Call

SetTerminationGracePeriodSeconds indicates an expected call of SetTerminationGracePeriodSeconds.

func (*MockTerraformerMockRecorder) UseProjectedTokenMount added in v1.39.0

func (mr *MockTerraformerMockRecorder) UseProjectedTokenMount(arg0 interface{}) *gomock.Call

UseProjectedTokenMount indicates an expected call of UseProjectedTokenMount.

func (*MockTerraformerMockRecorder) WaitForCleanEnvironment

func (mr *MockTerraformerMockRecorder) WaitForCleanEnvironment(arg0 interface{}) *gomock.Call

WaitForCleanEnvironment indicates an expected call of WaitForCleanEnvironment.

Jump to

Keyboard shortcuts

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