mocks

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 5 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.

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 MockClientUtils

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

MockClientUtils is a mock of ClientUtils interface.

func NewMockClientUtils

func NewMockClientUtils(ctrl *gomock.Controller) *MockClientUtils

NewMockClientUtils creates a new mock instance.

func (*MockClientUtils) EXPECT

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

func (*MockClientUtils) GetBackplaneClient

func (m *MockClientUtils) GetBackplaneClient(arg0 string) (Openapi.ClientInterface, error)

GetBackplaneClient mocks base method.

func (*MockClientUtils) MakeBackplaneAPIClient

func (m *MockClientUtils) MakeBackplaneAPIClient(arg0 string) (Openapi.ClientWithResponsesInterface, error)

MakeBackplaneAPIClient mocks base method.

func (*MockClientUtils) MakeBackplaneAPIClientWithAccessToken

func (m *MockClientUtils) MakeBackplaneAPIClientWithAccessToken(arg0, arg1 string) (Openapi.ClientWithResponsesInterface, error)

MakeBackplaneAPIClientWithAccessToken mocks base method.

func (*MockClientUtils) MakeRawBackplaneAPIClient

func (m *MockClientUtils) MakeRawBackplaneAPIClient(arg0 string) (Openapi.ClientInterface, error)

MakeRawBackplaneAPIClient mocks base method.

func (*MockClientUtils) MakeRawBackplaneAPIClientWithAccessToken

func (m *MockClientUtils) MakeRawBackplaneAPIClientWithAccessToken(arg0, arg1 string) (Openapi.ClientInterface, error)

MakeRawBackplaneAPIClientWithAccessToken mocks base method.

func (*MockClientUtils) SetClientProxyURL added in v0.1.9

func (m *MockClientUtils) SetClientProxyURL(arg0 string) error

SetClientProxyURL mocks base method.

type MockClientUtilsMockRecorder

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

MockClientUtilsMockRecorder is the mock recorder for MockClientUtils.

func (*MockClientUtilsMockRecorder) GetBackplaneClient

func (mr *MockClientUtilsMockRecorder) GetBackplaneClient(arg0 interface{}) *gomock.Call

GetBackplaneClient indicates an expected call of GetBackplaneClient.

func (*MockClientUtilsMockRecorder) MakeBackplaneAPIClient

func (mr *MockClientUtilsMockRecorder) MakeBackplaneAPIClient(arg0 interface{}) *gomock.Call

MakeBackplaneAPIClient indicates an expected call of MakeBackplaneAPIClient.

func (*MockClientUtilsMockRecorder) MakeBackplaneAPIClientWithAccessToken

func (mr *MockClientUtilsMockRecorder) MakeBackplaneAPIClientWithAccessToken(arg0, arg1 interface{}) *gomock.Call

MakeBackplaneAPIClientWithAccessToken indicates an expected call of MakeBackplaneAPIClientWithAccessToken.

func (*MockClientUtilsMockRecorder) MakeRawBackplaneAPIClient

func (mr *MockClientUtilsMockRecorder) MakeRawBackplaneAPIClient(arg0 interface{}) *gomock.Call

MakeRawBackplaneAPIClient indicates an expected call of MakeRawBackplaneAPIClient.

func (*MockClientUtilsMockRecorder) MakeRawBackplaneAPIClientWithAccessToken

func (mr *MockClientUtilsMockRecorder) MakeRawBackplaneAPIClientWithAccessToken(arg0, arg1 interface{}) *gomock.Call

MakeRawBackplaneAPIClientWithAccessToken indicates an expected call of MakeRawBackplaneAPIClientWithAccessToken.

func (*MockClientUtilsMockRecorder) SetClientProxyURL added in v0.1.9

func (mr *MockClientUtilsMockRecorder) SetClientProxyURL(arg0 interface{}) *gomock.Call

SetClientProxyURL indicates an expected call of SetClientProxyURL.

type MockClusterUtils added in v0.1.2

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

MockClusterUtils is a mock of ClusterUtils interface.

func NewMockClusterUtils added in v0.1.2

func NewMockClusterUtils(ctrl *gomock.Controller) *MockClusterUtils

NewMockClusterUtils creates a new mock instance.

func (*MockClusterUtils) EXPECT added in v0.1.2

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

func (*MockClusterUtils) GetBackplaneCluster added in v0.1.2

func (m *MockClusterUtils) GetBackplaneCluster(arg0 ...string) (utils.BackplaneCluster, error)

GetBackplaneCluster mocks base method.

func (*MockClusterUtils) GetBackplaneClusterFromClusterKey added in v0.1.2

func (m *MockClusterUtils) GetBackplaneClusterFromClusterKey(arg0 string) (utils.BackplaneCluster, error)

GetBackplaneClusterFromClusterKey mocks base method.

func (*MockClusterUtils) GetBackplaneClusterFromConfig added in v0.1.2

func (m *MockClusterUtils) GetBackplaneClusterFromConfig() (utils.BackplaneCluster, error)

GetBackplaneClusterFromConfig mocks base method.

func (*MockClusterUtils) GetClusterIDAndHostFromClusterURL added in v0.1.2

func (m *MockClusterUtils) GetClusterIDAndHostFromClusterURL(arg0 string) (string, string, error)

GetClusterIDAndHostFromClusterURL mocks base method.

type MockClusterUtilsMockRecorder added in v0.1.2

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

MockClusterUtilsMockRecorder is the mock recorder for MockClusterUtils.

func (*MockClusterUtilsMockRecorder) GetBackplaneCluster added in v0.1.2

func (mr *MockClusterUtilsMockRecorder) GetBackplaneCluster(arg0 ...interface{}) *gomock.Call

GetBackplaneCluster indicates an expected call of GetBackplaneCluster.

func (*MockClusterUtilsMockRecorder) GetBackplaneClusterFromClusterKey added in v0.1.2

func (mr *MockClusterUtilsMockRecorder) GetBackplaneClusterFromClusterKey(arg0 interface{}) *gomock.Call

GetBackplaneClusterFromClusterKey indicates an expected call of GetBackplaneClusterFromClusterKey.

func (*MockClusterUtilsMockRecorder) GetBackplaneClusterFromConfig added in v0.1.2

func (mr *MockClusterUtilsMockRecorder) GetBackplaneClusterFromConfig() *gomock.Call

GetBackplaneClusterFromConfig indicates an expected call of GetBackplaneClusterFromConfig.

func (*MockClusterUtilsMockRecorder) GetClusterIDAndHostFromClusterURL added in v0.1.2

func (mr *MockClusterUtilsMockRecorder) GetClusterIDAndHostFromClusterURL(arg0 interface{}) *gomock.Call

GetClusterIDAndHostFromClusterURL indicates an expected call of GetClusterIDAndHostFromClusterURL.

type MockOCMInterface

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

MockOCMInterface is a mock of OCMInterface interface.

func NewMockOCMInterface

func NewMockOCMInterface(ctrl *gomock.Controller) *MockOCMInterface

NewMockOCMInterface creates a new mock instance.

func (*MockOCMInterface) EXPECT

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

func (*MockOCMInterface) GetClusterInfoByID

func (m *MockOCMInterface) GetClusterInfoByID(arg0 string) (*v1.Cluster, error)

GetClusterInfoByID mocks base method.

func (*MockOCMInterface) GetManagingCluster

func (m *MockOCMInterface) GetManagingCluster(arg0 string) (string, string, error)

GetManagingCluster mocks base method.

func (*MockOCMInterface) GetOCMAccessToken

func (m *MockOCMInterface) GetOCMAccessToken() (*string, error)

GetOCMAccessToken mocks base method.

func (*MockOCMInterface) GetPullSecret added in v0.1.4

func (m *MockOCMInterface) GetPullSecret() (string, error)

GetPullSecret mocks base method.

func (*MockOCMInterface) GetServiceCluster added in v0.1.3

func (m *MockOCMInterface) GetServiceCluster(arg0 string) (string, string, error)

GetServiceCluster mocks base method.

func (*MockOCMInterface) GetStsSupportJumpRoleARN added in v0.1.15

func (m *MockOCMInterface) GetStsSupportJumpRoleARN(arg0 string) (string, error)

GetStsSupportJumpRoleARN mocks base method.

func (*MockOCMInterface) GetTargetCluster

func (m *MockOCMInterface) GetTargetCluster(arg0 string) (string, string, error)

GetTargetCluster mocks base method.

func (*MockOCMInterface) IsClusterHibernating

func (m *MockOCMInterface) IsClusterHibernating(arg0 string) (bool, error)

IsClusterHibernating mocks base method.

func (*MockOCMInterface) IsProduction

func (m *MockOCMInterface) IsProduction() (bool, error)

IsProduction mocks base method.

type MockOCMInterfaceMockRecorder

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

MockOCMInterfaceMockRecorder is the mock recorder for MockOCMInterface.

func (*MockOCMInterfaceMockRecorder) GetClusterInfoByID

func (mr *MockOCMInterfaceMockRecorder) GetClusterInfoByID(arg0 interface{}) *gomock.Call

GetClusterInfoByID indicates an expected call of GetClusterInfoByID.

func (*MockOCMInterfaceMockRecorder) GetManagingCluster

func (mr *MockOCMInterfaceMockRecorder) GetManagingCluster(arg0 interface{}) *gomock.Call

GetManagingCluster indicates an expected call of GetManagingCluster.

func (*MockOCMInterfaceMockRecorder) GetOCMAccessToken

func (mr *MockOCMInterfaceMockRecorder) GetOCMAccessToken() *gomock.Call

GetOCMAccessToken indicates an expected call of GetOCMAccessToken.

func (*MockOCMInterfaceMockRecorder) GetPullSecret added in v0.1.4

func (mr *MockOCMInterfaceMockRecorder) GetPullSecret() *gomock.Call

GetPullSecret indicates an expected call of GetPullSecret.

func (*MockOCMInterfaceMockRecorder) GetServiceCluster added in v0.1.3

func (mr *MockOCMInterfaceMockRecorder) GetServiceCluster(arg0 interface{}) *gomock.Call

GetServiceCluster indicates an expected call of GetServiceCluster.

func (*MockOCMInterfaceMockRecorder) GetStsSupportJumpRoleARN added in v0.1.17

func (mr *MockOCMInterfaceMockRecorder) GetStsSupportJumpRoleARN(arg0 interface{}) *gomock.Call

GetStsSupportJumpRoleARN indicates an expected call of GetStsSupportJumpRoleARN.

func (*MockOCMInterfaceMockRecorder) GetTargetCluster

func (mr *MockOCMInterfaceMockRecorder) GetTargetCluster(arg0 interface{}) *gomock.Call

GetTargetCluster indicates an expected call of GetTargetCluster.

func (*MockOCMInterfaceMockRecorder) IsClusterHibernating

func (mr *MockOCMInterfaceMockRecorder) IsClusterHibernating(arg0 interface{}) *gomock.Call

IsClusterHibernating indicates an expected call of IsClusterHibernating.

func (*MockOCMInterfaceMockRecorder) IsProduction

func (mr *MockOCMInterfaceMockRecorder) IsProduction() *gomock.Call

IsProduction indicates an expected call of IsProduction.

type MockShellCheckerInterface added in v0.1.17

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

MockShellCheckerInterface is a mock of ShellCheckerInterface interface.

func NewMockShellCheckerInterface added in v0.1.17

func NewMockShellCheckerInterface(ctrl *gomock.Controller) *MockShellCheckerInterface

NewMockShellCheckerInterface creates a new mock instance.

func (*MockShellCheckerInterface) EXPECT added in v0.1.17

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

func (*MockShellCheckerInterface) IsValidShell added in v0.1.17

func (m *MockShellCheckerInterface) IsValidShell(arg0 string) bool

IsValidShell mocks base method.

type MockShellCheckerInterfaceMockRecorder added in v0.1.17

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

MockShellCheckerInterfaceMockRecorder is the mock recorder for MockShellCheckerInterface.

func (*MockShellCheckerInterfaceMockRecorder) IsValidShell added in v0.1.17

func (mr *MockShellCheckerInterfaceMockRecorder) IsValidShell(arg0 interface{}) *gomock.Call

IsValidShell indicates an expected call of IsValidShell.

Jump to

Keyboard shortcuts

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