mocks

package
v0.1.37 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 5 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) CreateAccessRequestDecision

func (m *MockOCMInterface) CreateAccessRequestDecision(arg0 *sdk.Connection, arg1 *v1.AccessRequest, arg2 v1.DecisionDecision, arg3 string) (*v1.Decision, error)

CreateAccessRequestDecision mocks base method.

func (*MockOCMInterface) CreateClusterAccessRequest

func (m *MockOCMInterface) CreateClusterAccessRequest(arg0 *sdk.Connection, arg1, arg2, arg3, arg4 string) (*v1.AccessRequest, error)

CreateClusterAccessRequest mocks base method.

func (*MockOCMInterface) EXPECT

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

func (*MockOCMInterface) GetClusterActiveAccessRequest

func (m *MockOCMInterface) GetClusterActiveAccessRequest(arg0 *sdk.Connection, arg1 string) (*v1.AccessRequest, error)

GetClusterActiveAccessRequest mocks base method.

func (*MockOCMInterface) GetClusterInfoByID

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

GetClusterInfoByID mocks base method.

func (*MockOCMInterface) GetClusterInfoByIDWithConn

func (m *MockOCMInterface) GetClusterInfoByIDWithConn(arg0 *sdk.Connection, arg1 string) (*v10.Cluster, error)

GetClusterInfoByIDWithConn 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) GetOCMAccessTokenWithConn

func (m *MockOCMInterface) GetOCMAccessTokenWithConn(arg0 *sdk.Connection) (*string, error)

GetOCMAccessTokenWithConn mocks base method.

func (*MockOCMInterface) GetOCMEnvironment

func (m *MockOCMInterface) GetOCMEnvironment() (*v10.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) IsClusterAccessProtectionEnabled

func (m *MockOCMInterface) IsClusterAccessProtectionEnabled(arg0 *sdk.Connection, arg1 string) (bool, error)

IsClusterAccessProtectionEnabled 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) CreateAccessRequestDecision

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

CreateAccessRequestDecision indicates an expected call of CreateAccessRequestDecision.

func (*MockOCMInterfaceMockRecorder) CreateClusterAccessRequest

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

CreateClusterAccessRequest indicates an expected call of CreateClusterAccessRequest.

func (*MockOCMInterfaceMockRecorder) GetClusterActiveAccessRequest

func (mr *MockOCMInterfaceMockRecorder) GetClusterActiveAccessRequest(arg0, arg1 interface{}) *gomock.Call

GetClusterActiveAccessRequest indicates an expected call of GetClusterActiveAccessRequest.

func (*MockOCMInterfaceMockRecorder) GetClusterInfoByID

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

GetClusterInfoByID indicates an expected call of GetClusterInfoByID.

func (*MockOCMInterfaceMockRecorder) GetClusterInfoByIDWithConn

func (mr *MockOCMInterfaceMockRecorder) GetClusterInfoByIDWithConn(arg0, arg1 interface{}) *gomock.Call

GetClusterInfoByIDWithConn indicates an expected call of GetClusterInfoByIDWithConn.

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) GetOCMAccessTokenWithConn

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

GetOCMAccessTokenWithConn indicates an expected call of GetOCMAccessTokenWithConn.

func (*MockOCMInterfaceMockRecorder) GetOCMEnvironment

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) IsClusterAccessProtectionEnabled

func (mr *MockOCMInterfaceMockRecorder) IsClusterAccessProtectionEnabled(arg0, arg1 interface{}) *gomock.Call

IsClusterAccessProtectionEnabled indicates an expected call of IsClusterAccessProtectionEnabled.

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