mocks

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: UPL-1.0 Imports: 11 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) Create

func (m *MockClient) Create(arg0 context.Context, arg1 client.Object, arg2 ...client.CreateOption) error

Create mocks base method.

func (*MockClient) Delete

func (m *MockClient) Delete(arg0 context.Context, arg1 client.Object, arg2 ...client.DeleteOption) error

Delete mocks base method.

func (*MockClient) DeleteAllOf

func (m *MockClient) DeleteAllOf(arg0 context.Context, arg1 client.Object, arg2 ...client.DeleteAllOfOption) error

DeleteAllOf mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Get

func (m *MockClient) Get(arg0 context.Context, arg1 types.NamespacedName, arg2 client.Object) error

Get mocks base method.

func (*MockClient) List

func (m *MockClient) List(arg0 context.Context, arg1 client.ObjectList, arg2 ...client.ListOption) error

List mocks base method.

func (*MockClient) Patch

func (m *MockClient) Patch(arg0 context.Context, arg1 client.Object, arg2 client.Patch, arg3 ...client.PatchOption) error

Patch mocks base method.

func (*MockClient) RESTMapper added in v1.3.0

func (m *MockClient) RESTMapper() meta.RESTMapper

RESTMapper mocks base method.

func (*MockClient) Scheme added in v1.3.0

func (m *MockClient) Scheme() *runtime.Scheme

Scheme mocks base method.

func (*MockClient) Status

func (m *MockClient) Status() client.StatusWriter

Status mocks base method.

func (*MockClient) Update

func (m *MockClient) Update(arg0 context.Context, arg1 client.Object, arg2 ...client.UpdateOption) error

Update mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Create

func (mr *MockClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockClientMockRecorder) Delete

func (mr *MockClientMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockClientMockRecorder) DeleteAllOf

func (mr *MockClientMockRecorder) DeleteAllOf(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeleteAllOf indicates an expected call of DeleteAllOf.

func (*MockClientMockRecorder) Get

func (mr *MockClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockClientMockRecorder) List

func (mr *MockClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockClientMockRecorder) Patch

func (mr *MockClientMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockClientMockRecorder) RESTMapper added in v1.3.0

func (mr *MockClientMockRecorder) RESTMapper() *gomock.Call

RESTMapper indicates an expected call of RESTMapper.

func (*MockClientMockRecorder) Scheme added in v1.3.0

func (mr *MockClientMockRecorder) Scheme() *gomock.Call

Scheme indicates an expected call of Scheme.

func (*MockClientMockRecorder) Status

func (mr *MockClientMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status.

func (*MockClientMockRecorder) Update

func (mr *MockClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockComponent added in v1.1.0

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

MockComponent is a mock of Component interface.

func NewMockComponent added in v1.1.0

func NewMockComponent(ctrl *gomock.Controller) *MockComponent

NewMockComponent creates a new mock instance.

func (*MockComponent) EXPECT added in v1.1.0

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

func (*MockComponent) GetCertificateNames added in v1.3.0

func (m *MockComponent) GetCertificateNames(arg0 spi.ComponentContext) []types.NamespacedName

GetCertificateNames mocks base method.

func (*MockComponent) GetDependencies added in v1.1.0

func (m *MockComponent) GetDependencies() []string

GetDependencies mocks base method.

func (*MockComponent) GetIngressNames added in v1.1.1

func (m *MockComponent) GetIngressNames(arg0 spi.ComponentContext) []types.NamespacedName

GetIngressNames mocks base method.

func (*MockComponent) GetJSONName added in v1.3.0

func (m *MockComponent) GetJSONName() string

GetJSONName mocks base method.

func (*MockComponent) GetMinVerrazzanoVersion added in v1.1.0

func (m *MockComponent) GetMinVerrazzanoVersion() string

GetMinVerrazzanoVersion mocks base method.

func (*MockComponent) GetOverrides added in v1.3.1

func (m *MockComponent) GetOverrides(arg0 *v1alpha1.Verrazzano) []v1alpha1.Overrides

GetOverrides mocks base method.

func (*MockComponent) Install added in v1.1.0

func (m *MockComponent) Install(arg0 spi.ComponentContext) error

Install mocks base method.

func (*MockComponent) IsEnabled added in v1.1.0

func (m *MockComponent) IsEnabled(arg0 *v1alpha1.Verrazzano) bool

IsEnabled mocks base method.

func (*MockComponent) IsInstalled added in v1.1.0

func (m *MockComponent) IsInstalled(arg0 spi.ComponentContext) (bool, error)

IsInstalled mocks base method.

func (*MockComponent) IsOperatorInstallSupported added in v1.1.0

func (m *MockComponent) IsOperatorInstallSupported() bool

IsOperatorInstallSupported mocks base method.

func (*MockComponent) IsReady added in v1.1.0

func (m *MockComponent) IsReady(arg0 spi.ComponentContext) bool

IsReady mocks base method.

func (*MockComponent) MonitorOverrides added in v1.3.1

func (m *MockComponent) MonitorOverrides(arg0 spi.ComponentContext) bool

MonitorOverrides mocks base method.

func (*MockComponent) Name added in v1.1.0

func (m *MockComponent) Name() string

Name mocks base method.

func (*MockComponent) PostInstall added in v1.1.0

func (m *MockComponent) PostInstall(arg0 spi.ComponentContext) error

PostInstall mocks base method.

func (*MockComponent) PostUpgrade added in v1.1.0

func (m *MockComponent) PostUpgrade(arg0 spi.ComponentContext) error

PostUpgrade mocks base method.

func (*MockComponent) PreInstall added in v1.1.0

func (m *MockComponent) PreInstall(arg0 spi.ComponentContext) error

PreInstall mocks base method.

func (*MockComponent) PreUpgrade added in v1.1.0

func (m *MockComponent) PreUpgrade(arg0 spi.ComponentContext) error

PreUpgrade mocks base method.

func (*MockComponent) Reconcile added in v1.2.0

func (m *MockComponent) Reconcile(arg0 spi.ComponentContext) error

Reconcile mocks base method.

func (*MockComponent) Upgrade added in v1.1.0

func (m *MockComponent) Upgrade(arg0 spi.ComponentContext) error

Upgrade mocks base method.

func (*MockComponent) ValidateInstall added in v1.3.0

func (m *MockComponent) ValidateInstall(arg0 *v1alpha1.Verrazzano) error

ValidateInstall mocks base method.

func (*MockComponent) ValidateUpdate added in v1.3.0

func (m *MockComponent) ValidateUpdate(arg0, arg1 *v1alpha1.Verrazzano) error

ValidateUpdate mocks base method.

type MockComponentContext added in v1.1.1

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

MockComponentContext is a mock of ComponentContext interface.

func NewMockComponentContext added in v1.1.1

func NewMockComponentContext(ctrl *gomock.Controller) *MockComponentContext

NewMockComponentContext creates a new mock instance.

func (*MockComponentContext) ActualCR added in v1.1.1

func (m *MockComponentContext) ActualCR() *v1alpha1.Verrazzano

ActualCR mocks base method.

func (*MockComponentContext) Client added in v1.1.1

func (m *MockComponentContext) Client() client.Client

Client mocks base method.

func (*MockComponentContext) Copy added in v1.1.1

Copy mocks base method.

func (*MockComponentContext) EXPECT added in v1.1.1

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

func (*MockComponentContext) EffectiveCR added in v1.1.1

func (m *MockComponentContext) EffectiveCR() *v1alpha1.Verrazzano

EffectiveCR mocks base method.

func (*MockComponentContext) GetComponent added in v1.1.1

func (m *MockComponentContext) GetComponent() string

GetComponent mocks base method.

func (*MockComponentContext) GetOperation added in v1.1.1

func (m *MockComponentContext) GetOperation() string

GetOperation mocks base method.

func (*MockComponentContext) Init added in v1.3.0

Init mocks base method.

func (*MockComponentContext) IsDryRun added in v1.1.1

func (m *MockComponentContext) IsDryRun() bool

IsDryRun mocks base method.

func (*MockComponentContext) Log added in v1.1.1

Log mocks base method.

func (*MockComponentContext) Operation added in v1.1.1

func (m *MockComponentContext) Operation(arg0 string) spi.ComponentContext

Operation mocks base method.

type MockComponentContextMockRecorder added in v1.1.1

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

MockComponentContextMockRecorder is the mock recorder for MockComponentContext.

func (*MockComponentContextMockRecorder) ActualCR added in v1.1.1

ActualCR indicates an expected call of ActualCR.

func (*MockComponentContextMockRecorder) Client added in v1.1.1

Client indicates an expected call of Client.

func (*MockComponentContextMockRecorder) Copy added in v1.1.1

Copy indicates an expected call of Copy.

func (*MockComponentContextMockRecorder) EffectiveCR added in v1.1.1

func (mr *MockComponentContextMockRecorder) EffectiveCR() *gomock.Call

EffectiveCR indicates an expected call of EffectiveCR.

func (*MockComponentContextMockRecorder) GetComponent added in v1.1.1

func (mr *MockComponentContextMockRecorder) GetComponent() *gomock.Call

GetComponent indicates an expected call of GetComponent.

func (*MockComponentContextMockRecorder) GetOperation added in v1.1.1

func (mr *MockComponentContextMockRecorder) GetOperation() *gomock.Call

GetOperation indicates an expected call of GetOperation.

func (*MockComponentContextMockRecorder) Init added in v1.3.0

func (mr *MockComponentContextMockRecorder) Init(arg0 interface{}) *gomock.Call

Init indicates an expected call of Init.

func (*MockComponentContextMockRecorder) IsDryRun added in v1.1.1

IsDryRun indicates an expected call of IsDryRun.

func (*MockComponentContextMockRecorder) Log added in v1.1.1

Log indicates an expected call of Log.

func (*MockComponentContextMockRecorder) Operation added in v1.1.1

func (mr *MockComponentContextMockRecorder) Operation(arg0 interface{}) *gomock.Call

Operation indicates an expected call of Operation.

type MockComponentInfo added in v1.1.1

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

MockComponentInfo is a mock of ComponentInfo interface.

func NewMockComponentInfo added in v1.1.1

func NewMockComponentInfo(ctrl *gomock.Controller) *MockComponentInfo

NewMockComponentInfo creates a new mock instance.

func (*MockComponentInfo) EXPECT added in v1.1.1

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

func (*MockComponentInfo) GetCertificateNames added in v1.3.0

func (m *MockComponentInfo) GetCertificateNames(arg0 spi.ComponentContext) []types.NamespacedName

GetCertificateNames mocks base method.

func (*MockComponentInfo) GetDependencies added in v1.1.1

func (m *MockComponentInfo) GetDependencies() []string

GetDependencies mocks base method.

func (*MockComponentInfo) GetIngressNames added in v1.1.1

func (m *MockComponentInfo) GetIngressNames(arg0 spi.ComponentContext) []types.NamespacedName

GetIngressNames mocks base method.

func (*MockComponentInfo) GetJSONName added in v1.3.0

func (m *MockComponentInfo) GetJSONName() string

GetJSONName mocks base method.

func (*MockComponentInfo) GetMinVerrazzanoVersion added in v1.1.1

func (m *MockComponentInfo) GetMinVerrazzanoVersion() string

GetMinVerrazzanoVersion mocks base method.

func (*MockComponentInfo) GetOverrides added in v1.3.1

func (m *MockComponentInfo) GetOverrides(arg0 *v1alpha1.Verrazzano) []v1alpha1.Overrides

GetOverrides mocks base method.

func (*MockComponentInfo) IsEnabled added in v1.1.1

func (m *MockComponentInfo) IsEnabled(arg0 *v1alpha1.Verrazzano) bool

IsEnabled mocks base method.

func (*MockComponentInfo) IsReady added in v1.1.1

func (m *MockComponentInfo) IsReady(arg0 spi.ComponentContext) bool

IsReady mocks base method.

func (*MockComponentInfo) MonitorOverrides added in v1.3.1

func (m *MockComponentInfo) MonitorOverrides(arg0 spi.ComponentContext) bool

MonitorOverrides mocks base method.

func (*MockComponentInfo) Name added in v1.1.1

func (m *MockComponentInfo) Name() string

Name mocks base method.

type MockComponentInfoMockRecorder added in v1.1.1

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

MockComponentInfoMockRecorder is the mock recorder for MockComponentInfo.

func (*MockComponentInfoMockRecorder) GetCertificateNames added in v1.3.0

func (mr *MockComponentInfoMockRecorder) GetCertificateNames(arg0 interface{}) *gomock.Call

GetCertificateNames indicates an expected call of GetCertificateNames.

func (*MockComponentInfoMockRecorder) GetDependencies added in v1.1.1

func (mr *MockComponentInfoMockRecorder) GetDependencies() *gomock.Call

GetDependencies indicates an expected call of GetDependencies.

func (*MockComponentInfoMockRecorder) GetIngressNames added in v1.1.1

func (mr *MockComponentInfoMockRecorder) GetIngressNames(arg0 interface{}) *gomock.Call

GetIngressNames indicates an expected call of GetIngressNames.

func (*MockComponentInfoMockRecorder) GetJSONName added in v1.3.0

func (mr *MockComponentInfoMockRecorder) GetJSONName() *gomock.Call

GetJSONName indicates an expected call of GetJSONName.

func (*MockComponentInfoMockRecorder) GetMinVerrazzanoVersion added in v1.1.1

func (mr *MockComponentInfoMockRecorder) GetMinVerrazzanoVersion() *gomock.Call

GetMinVerrazzanoVersion indicates an expected call of GetMinVerrazzanoVersion.

func (*MockComponentInfoMockRecorder) GetOverrides added in v1.3.1

func (mr *MockComponentInfoMockRecorder) GetOverrides(arg0 interface{}) *gomock.Call

GetOverrides indicates an expected call of GetOverrides.

func (*MockComponentInfoMockRecorder) IsEnabled added in v1.1.1

func (mr *MockComponentInfoMockRecorder) IsEnabled(arg0 interface{}) *gomock.Call

IsEnabled indicates an expected call of IsEnabled.

func (*MockComponentInfoMockRecorder) IsReady added in v1.1.1

func (mr *MockComponentInfoMockRecorder) IsReady(arg0 interface{}) *gomock.Call

IsReady indicates an expected call of IsReady.

func (*MockComponentInfoMockRecorder) MonitorOverrides added in v1.3.1

func (mr *MockComponentInfoMockRecorder) MonitorOverrides(arg0 interface{}) *gomock.Call

MonitorOverrides indicates an expected call of MonitorOverrides.

func (*MockComponentInfoMockRecorder) Name added in v1.1.1

Name indicates an expected call of Name.

type MockComponentInstaller added in v1.1.1

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

MockComponentInstaller is a mock of ComponentInstaller interface.

func NewMockComponentInstaller added in v1.1.1

func NewMockComponentInstaller(ctrl *gomock.Controller) *MockComponentInstaller

NewMockComponentInstaller creates a new mock instance.

func (*MockComponentInstaller) EXPECT added in v1.1.1

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

func (*MockComponentInstaller) Install added in v1.1.1

Install mocks base method.

func (*MockComponentInstaller) IsInstalled added in v1.1.1

func (m *MockComponentInstaller) IsInstalled(arg0 spi.ComponentContext) (bool, error)

IsInstalled mocks base method.

func (*MockComponentInstaller) IsOperatorInstallSupported added in v1.1.1

func (m *MockComponentInstaller) IsOperatorInstallSupported() bool

IsOperatorInstallSupported mocks base method.

func (*MockComponentInstaller) PostInstall added in v1.1.1

func (m *MockComponentInstaller) PostInstall(arg0 spi.ComponentContext) error

PostInstall mocks base method.

func (*MockComponentInstaller) PreInstall added in v1.1.1

func (m *MockComponentInstaller) PreInstall(arg0 spi.ComponentContext) error

PreInstall mocks base method.

type MockComponentInstallerMockRecorder added in v1.1.1

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

MockComponentInstallerMockRecorder is the mock recorder for MockComponentInstaller.

func (*MockComponentInstallerMockRecorder) Install added in v1.1.1

func (mr *MockComponentInstallerMockRecorder) Install(arg0 interface{}) *gomock.Call

Install indicates an expected call of Install.

func (*MockComponentInstallerMockRecorder) IsInstalled added in v1.1.1

func (mr *MockComponentInstallerMockRecorder) IsInstalled(arg0 interface{}) *gomock.Call

IsInstalled indicates an expected call of IsInstalled.

func (*MockComponentInstallerMockRecorder) IsOperatorInstallSupported added in v1.1.1

func (mr *MockComponentInstallerMockRecorder) IsOperatorInstallSupported() *gomock.Call

IsOperatorInstallSupported indicates an expected call of IsOperatorInstallSupported.

func (*MockComponentInstallerMockRecorder) PostInstall added in v1.1.1

func (mr *MockComponentInstallerMockRecorder) PostInstall(arg0 interface{}) *gomock.Call

PostInstall indicates an expected call of PostInstall.

func (*MockComponentInstallerMockRecorder) PreInstall added in v1.1.1

func (mr *MockComponentInstallerMockRecorder) PreInstall(arg0 interface{}) *gomock.Call

PreInstall indicates an expected call of PreInstall.

type MockComponentMockRecorder added in v1.1.0

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

MockComponentMockRecorder is the mock recorder for MockComponent.

func (*MockComponentMockRecorder) GetCertificateNames added in v1.3.0

func (mr *MockComponentMockRecorder) GetCertificateNames(arg0 interface{}) *gomock.Call

GetCertificateNames indicates an expected call of GetCertificateNames.

func (*MockComponentMockRecorder) GetDependencies added in v1.1.0

func (mr *MockComponentMockRecorder) GetDependencies() *gomock.Call

GetDependencies indicates an expected call of GetDependencies.

func (*MockComponentMockRecorder) GetIngressNames added in v1.1.1

func (mr *MockComponentMockRecorder) GetIngressNames(arg0 interface{}) *gomock.Call

GetIngressNames indicates an expected call of GetIngressNames.

func (*MockComponentMockRecorder) GetJSONName added in v1.3.0

func (mr *MockComponentMockRecorder) GetJSONName() *gomock.Call

GetJSONName indicates an expected call of GetJSONName.

func (*MockComponentMockRecorder) GetMinVerrazzanoVersion added in v1.1.0

func (mr *MockComponentMockRecorder) GetMinVerrazzanoVersion() *gomock.Call

GetMinVerrazzanoVersion indicates an expected call of GetMinVerrazzanoVersion.

func (*MockComponentMockRecorder) GetOverrides added in v1.3.1

func (mr *MockComponentMockRecorder) GetOverrides(arg0 interface{}) *gomock.Call

GetOverrides indicates an expected call of GetOverrides.

func (*MockComponentMockRecorder) Install added in v1.1.0

func (mr *MockComponentMockRecorder) Install(arg0 interface{}) *gomock.Call

Install indicates an expected call of Install.

func (*MockComponentMockRecorder) IsEnabled added in v1.1.0

func (mr *MockComponentMockRecorder) IsEnabled(arg0 interface{}) *gomock.Call

IsEnabled indicates an expected call of IsEnabled.

func (*MockComponentMockRecorder) IsInstalled added in v1.1.0

func (mr *MockComponentMockRecorder) IsInstalled(arg0 interface{}) *gomock.Call

IsInstalled indicates an expected call of IsInstalled.

func (*MockComponentMockRecorder) IsOperatorInstallSupported added in v1.1.0

func (mr *MockComponentMockRecorder) IsOperatorInstallSupported() *gomock.Call

IsOperatorInstallSupported indicates an expected call of IsOperatorInstallSupported.

func (*MockComponentMockRecorder) IsReady added in v1.1.0

func (mr *MockComponentMockRecorder) IsReady(arg0 interface{}) *gomock.Call

IsReady indicates an expected call of IsReady.

func (*MockComponentMockRecorder) MonitorOverrides added in v1.3.1

func (mr *MockComponentMockRecorder) MonitorOverrides(arg0 interface{}) *gomock.Call

MonitorOverrides indicates an expected call of MonitorOverrides.

func (*MockComponentMockRecorder) Name added in v1.1.0

Name indicates an expected call of Name.

func (*MockComponentMockRecorder) PostInstall added in v1.1.0

func (mr *MockComponentMockRecorder) PostInstall(arg0 interface{}) *gomock.Call

PostInstall indicates an expected call of PostInstall.

func (*MockComponentMockRecorder) PostUpgrade added in v1.1.0

func (mr *MockComponentMockRecorder) PostUpgrade(arg0 interface{}) *gomock.Call

PostUpgrade indicates an expected call of PostUpgrade.

func (*MockComponentMockRecorder) PreInstall added in v1.1.0

func (mr *MockComponentMockRecorder) PreInstall(arg0 interface{}) *gomock.Call

PreInstall indicates an expected call of PreInstall.

func (*MockComponentMockRecorder) PreUpgrade added in v1.1.0

func (mr *MockComponentMockRecorder) PreUpgrade(arg0 interface{}) *gomock.Call

PreUpgrade indicates an expected call of PreUpgrade.

func (*MockComponentMockRecorder) Reconcile added in v1.2.0

func (mr *MockComponentMockRecorder) Reconcile(arg0 interface{}) *gomock.Call

Reconcile indicates an expected call of Reconcile.

func (*MockComponentMockRecorder) Upgrade added in v1.1.0

func (mr *MockComponentMockRecorder) Upgrade(arg0 interface{}) *gomock.Call

Upgrade indicates an expected call of Upgrade.

func (*MockComponentMockRecorder) ValidateInstall added in v1.3.0

func (mr *MockComponentMockRecorder) ValidateInstall(arg0 interface{}) *gomock.Call

ValidateInstall indicates an expected call of ValidateInstall.

func (*MockComponentMockRecorder) ValidateUpdate added in v1.3.0

func (mr *MockComponentMockRecorder) ValidateUpdate(arg0, arg1 interface{}) *gomock.Call

ValidateUpdate indicates an expected call of ValidateUpdate.

type MockComponentUpgrader added in v1.1.1

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

MockComponentUpgrader is a mock of ComponentUpgrader interface.

func NewMockComponentUpgrader added in v1.1.1

func NewMockComponentUpgrader(ctrl *gomock.Controller) *MockComponentUpgrader

NewMockComponentUpgrader creates a new mock instance.

func (*MockComponentUpgrader) EXPECT added in v1.1.1

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

func (*MockComponentUpgrader) PostUpgrade added in v1.1.1

func (m *MockComponentUpgrader) PostUpgrade(arg0 spi.ComponentContext) error

PostUpgrade mocks base method.

func (*MockComponentUpgrader) PreUpgrade added in v1.1.1

func (m *MockComponentUpgrader) PreUpgrade(arg0 spi.ComponentContext) error

PreUpgrade mocks base method.

func (*MockComponentUpgrader) Upgrade added in v1.1.1

Upgrade mocks base method.

type MockComponentUpgraderMockRecorder added in v1.1.1

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

MockComponentUpgraderMockRecorder is the mock recorder for MockComponentUpgrader.

func (*MockComponentUpgraderMockRecorder) PostUpgrade added in v1.1.1

func (mr *MockComponentUpgraderMockRecorder) PostUpgrade(arg0 interface{}) *gomock.Call

PostUpgrade indicates an expected call of PostUpgrade.

func (*MockComponentUpgraderMockRecorder) PreUpgrade added in v1.1.1

func (mr *MockComponentUpgraderMockRecorder) PreUpgrade(arg0 interface{}) *gomock.Call

PreUpgrade indicates an expected call of PreUpgrade.

func (*MockComponentUpgraderMockRecorder) Upgrade added in v1.1.1

func (mr *MockComponentUpgraderMockRecorder) Upgrade(arg0 interface{}) *gomock.Call

Upgrade indicates an expected call of Upgrade.

type MockRequestSender added in v0.13.0

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

MockrequestSender is a mock of requestSender interface.

func NewMockRequestSender added in v0.13.0

func NewMockRequestSender(ctrl *gomock.Controller) *MockRequestSender

NewMockrequestSender creates a new mock instance.

func (*MockRequestSender) Do added in v0.13.0

func (m *MockRequestSender) Do(httpClient *http.Client, req *http.Request) (*http.Response, error)

Do mocks base method.

func (*MockRequestSender) EXPECT added in v0.13.0

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

type MockStatusWriter

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

MockStatusWriter is a mock of StatusWriter interface.

func NewMockStatusWriter

func NewMockStatusWriter(ctrl *gomock.Controller) *MockStatusWriter

NewMockStatusWriter creates a new mock instance.

func (*MockStatusWriter) EXPECT

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

func (*MockStatusWriter) Patch

func (m *MockStatusWriter) Patch(arg0 context.Context, arg1 client.Object, arg2 client.Patch, arg3 ...client.PatchOption) error

Patch mocks base method.

func (*MockStatusWriter) Update

func (m *MockStatusWriter) Update(arg0 context.Context, arg1 client.Object, arg2 ...client.UpdateOption) error

Update mocks base method.

type MockStatusWriterMockRecorder

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

MockStatusWriterMockRecorder is the mock recorder for MockStatusWriter.

func (*MockStatusWriterMockRecorder) Patch

func (mr *MockStatusWriterMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockStatusWriterMockRecorder) Update

func (mr *MockStatusWriterMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockrequestSenderMockRecorder added in v0.13.0

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

MockrequestSenderMockRecorder is the mock recorder for MockrequestSender.

func (*MockrequestSenderMockRecorder) Do added in v0.13.0

func (mr *MockrequestSenderMockRecorder) Do(httpClient, req interface{}) *gomock.Call

Do indicates an expected call of Do.

Jump to

Keyboard shortcuts

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