ocmmock

package
v0.0.0-...-96040f1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 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() *ocm_sdk_go.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) 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 interface{}) *gomock.Call

AwsClassicJumpRoleCompatible indicates an expected call of AwsClassicJumpRoleCompatible.

func (*MockClientMockRecorder) GetClusterMachinePools

func (mr *MockClientMockRecorder) GetClusterMachinePools(internalClusterID interface{}) *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 interface{}) *gomock.Call

GetServiceLog indicates an expected call of GetServiceLog.

func (*MockClientMockRecorder) GetSupportRoleARN

func (mr *MockClientMockRecorder) GetSupportRoleARN(internalClusterID interface{}) *gomock.Call

GetSupportRoleARN indicates an expected call of GetSupportRoleARN.

func (*MockClientMockRecorder) PostLimitedSupportReason

func (mr *MockClientMockRecorder) PostLimitedSupportReason(limitedSupportReason, internalClusterID interface{}) *gomock.Call

PostLimitedSupportReason indicates an expected call of PostLimitedSupportReason.

func (*MockClientMockRecorder) PostServiceLog

func (mr *MockClientMockRecorder) PostServiceLog(clusterID, sl interface{}) *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