mocks

package
v0.1.30 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 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 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, bool, error)

GetManagingCluster mocks base method.

func (*MockOCMInterface) GetOCMAccessToken

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

GetOCMAccessToken mocks base method.

func (*MockOCMInterface) GetOCMEnvironment added in v0.1.21

func (m *MockOCMInterface) GetOCMEnvironment() (*v1.Environment, error)

GetOCMEnvironment mocks base method.

func (*MockOCMInterface) GetPullSecret

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

GetPullSecret mocks base method.

func (*MockOCMInterface) GetServiceCluster

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

GetServiceCluster mocks base method.

func (*MockOCMInterface) GetStsSupportJumpRoleARN

func (m *MockOCMInterface) GetStsSupportJumpRoleARN(arg0 *sdk.Connection, arg1 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) GetOCMEnvironment added in v0.1.21

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

GetOCMEnvironment indicates an expected call of GetOCMEnvironment.

func (*MockOCMInterfaceMockRecorder) GetPullSecret

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

GetPullSecret indicates an expected call of GetPullSecret.

func (*MockOCMInterfaceMockRecorder) GetServiceCluster

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

GetServiceCluster indicates an expected call of GetServiceCluster.

func (*MockOCMInterfaceMockRecorder) GetStsSupportJumpRoleARN

func (mr *MockOCMInterfaceMockRecorder) GetStsSupportJumpRoleARN(arg0, arg1 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.

Jump to

Keyboard shortcuts

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