ocmmock

package
v0.0.0-...-cbe1db9 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package ocmmock 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) AwsClassicJumpRoleCompatible

func (m *MockClient) AwsClassicJumpRoleCompatible(cluster *v1.Cluster) (bool, error)

AwsClassicJumpRoleCompatible 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) GetClusterMachinePools

func (m *MockClient) GetClusterMachinePools(internalClusterID string) ([]*v1.MachinePool, error)

GetClusterMachinePools mocks base method.

func (*MockClient) GetConnection

func (m *MockClient) GetConnection() *sdk.Connection

GetConnection mocks base method.

func (*MockClient) GetServiceLog

func (m *MockClient) GetServiceLog(cluster *v1.Cluster, filter string) (*v10.ClusterLogsUUIDListResponse, error)

GetServiceLog mocks base method.

func (*MockClient) GetSupportRoleARN

func (m *MockClient) GetSupportRoleARN(internalClusterID string) (string, error)

GetSupportRoleARN mocks base method.

func (*MockClient) IsAccessProtected

func (m *MockClient) IsAccessProtected(cluster *v1.Cluster) (bool, error)

IsAccessProtected mocks base method.

func (*MockClient) PostLimitedSupportReason

func (m *MockClient) PostLimitedSupportReason(limitedSupportReason *ocm.LimitedSupportReason, internalClusterID string) error

PostLimitedSupportReason mocks base method.

func (*MockClient) PostServiceLog

func (m *MockClient) PostServiceLog(clusterID string, sl *ocm.ServiceLog) error

PostServiceLog mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) AwsClassicJumpRoleCompatible

func (mr *MockClientMockRecorder) AwsClassicJumpRoleCompatible(cluster any) *gomock.Call

AwsClassicJumpRoleCompatible indicates an expected call of AwsClassicJumpRoleCompatible.

func (*MockClientMockRecorder) GetClusterMachinePools

func (mr *MockClientMockRecorder) GetClusterMachinePools(internalClusterID any) *gomock.Call

GetClusterMachinePools indicates an expected call of GetClusterMachinePools.

func (*MockClientMockRecorder) GetConnection

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

GetConnection indicates an expected call of GetConnection.

func (*MockClientMockRecorder) GetServiceLog

func (mr *MockClientMockRecorder) GetServiceLog(cluster, filter any) *gomock.Call

GetServiceLog indicates an expected call of GetServiceLog.

func (*MockClientMockRecorder) GetSupportRoleARN

func (mr *MockClientMockRecorder) GetSupportRoleARN(internalClusterID any) *gomock.Call

GetSupportRoleARN indicates an expected call of GetSupportRoleARN.

func (*MockClientMockRecorder) IsAccessProtected

func (mr *MockClientMockRecorder) IsAccessProtected(cluster any) *gomock.Call

IsAccessProtected indicates an expected call of IsAccessProtected.

func (*MockClientMockRecorder) PostLimitedSupportReason

func (mr *MockClientMockRecorder) PostLimitedSupportReason(limitedSupportReason, internalClusterID any) *gomock.Call

PostLimitedSupportReason indicates an expected call of PostLimitedSupportReason.

func (*MockClientMockRecorder) PostServiceLog

func (mr *MockClientMockRecorder) PostServiceLog(clusterID, sl any) *gomock.Call

PostServiceLog indicates an expected call of PostServiceLog.

Jump to

Keyboard shortcuts

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