mocks

package
v0.0.0-...-7c3f5be Latest Latest
Warning

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

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

Documentation

Overview

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 MockOCMClient

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

MockOCMClient is a mock of OCMClient interface.

func NewMockOCMClient

func NewMockOCMClient(ctrl *gomock.Controller) *MockOCMClient

NewMockOCMClient creates a new mock instance.

func (*MockOCMClient) EXPECT

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

func (*MockOCMClient) GetCluster

func (m *MockOCMClient) GetCluster(arg0 string) (*v1.Cluster, string, error)

GetCluster mocks base method.

func (*MockOCMClient) GetLimitedSupportReasons

func (m *MockOCMClient) GetLimitedSupportReasons(arg0 string) ([]*v1.LimitedSupportReason, error)

GetLimitedSupportReasons mocks base method.

func (*MockOCMClient) GetUpgradePolicies

func (m *MockOCMClient) GetUpgradePolicies(arg0 string) ([]*v1.UpgradePolicy, string, error)

GetUpgradePolicies mocks base method.

func (*MockOCMClient) GetUpgradePolicy

func (m *MockOCMClient) GetUpgradePolicy(arg0, arg1 string) (*v1.UpgradePolicy, string, error)

GetUpgradePolicy mocks base method.

func (*MockOCMClient) GetUpgradePolicyState

func (m *MockOCMClient) GetUpgradePolicyState(arg0, arg1 string) (*v1.UpgradePolicyState, string, error)

GetUpgradePolicyState mocks base method.

func (*MockOCMClient) RemoveLimitedSupport

func (m *MockOCMClient) RemoveLimitedSupport(arg0, arg1 string) error

RemoveLimitedSupport mocks base method.

func (*MockOCMClient) SendLimitedSupport

func (m *MockOCMClient) SendLimitedSupport(arg0 string, arg1 *v1.LimitedSupportReason) error

SendLimitedSupport mocks base method.

func (*MockOCMClient) SendServiceLog

func (m *MockOCMClient) SendServiceLog(arg0 *v10.LogEntry) error

SendServiceLog mocks base method.

func (*MockOCMClient) UpdateUpgradePolicyState

func (m *MockOCMClient) UpdateUpgradePolicyState(arg0, arg1 string, arg2 *v1.UpgradePolicyState) (*v1.UpgradePolicyState, string, error)

UpdateUpgradePolicyState mocks base method.

type MockOCMClientMockRecorder

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

MockOCMClientMockRecorder is the mock recorder for MockOCMClient.

func (*MockOCMClientMockRecorder) GetCluster

func (mr *MockOCMClientMockRecorder) GetCluster(arg0 interface{}) *gomock.Call

GetCluster indicates an expected call of GetCluster.

func (*MockOCMClientMockRecorder) GetLimitedSupportReasons

func (mr *MockOCMClientMockRecorder) GetLimitedSupportReasons(arg0 interface{}) *gomock.Call

GetLimitedSupportReasons indicates an expected call of GetLimitedSupportReasons.

func (*MockOCMClientMockRecorder) GetUpgradePolicies

func (mr *MockOCMClientMockRecorder) GetUpgradePolicies(arg0 interface{}) *gomock.Call

GetUpgradePolicies indicates an expected call of GetUpgradePolicies.

func (*MockOCMClientMockRecorder) GetUpgradePolicy

func (mr *MockOCMClientMockRecorder) GetUpgradePolicy(arg0, arg1 interface{}) *gomock.Call

GetUpgradePolicy indicates an expected call of GetUpgradePolicy.

func (*MockOCMClientMockRecorder) GetUpgradePolicyState

func (mr *MockOCMClientMockRecorder) GetUpgradePolicyState(arg0, arg1 interface{}) *gomock.Call

GetUpgradePolicyState indicates an expected call of GetUpgradePolicyState.

func (*MockOCMClientMockRecorder) RemoveLimitedSupport

func (mr *MockOCMClientMockRecorder) RemoveLimitedSupport(arg0, arg1 interface{}) *gomock.Call

RemoveLimitedSupport indicates an expected call of RemoveLimitedSupport.

func (*MockOCMClientMockRecorder) SendLimitedSupport

func (mr *MockOCMClientMockRecorder) SendLimitedSupport(arg0, arg1 interface{}) *gomock.Call

SendLimitedSupport indicates an expected call of SendLimitedSupport.

func (*MockOCMClientMockRecorder) SendServiceLog

func (mr *MockOCMClientMockRecorder) SendServiceLog(arg0 interface{}) *gomock.Call

SendServiceLog indicates an expected call of SendServiceLog.

func (*MockOCMClientMockRecorder) UpdateUpgradePolicyState

func (mr *MockOCMClientMockRecorder) UpdateUpgradePolicyState(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateUpgradePolicyState indicates an expected call of UpdateUpgradePolicyState.

Jump to

Keyboard shortcuts

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