mocks

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 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.

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

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetCluster

func (m *MockClient) GetCluster(ctx context.Context, uuid string) (*v3.ClusterIntentResponse, error)

GetCluster mocks base method.

func (*MockClient) GetCurrentLoggedInUser

func (m *MockClient) GetCurrentLoggedInUser(ctx context.Context) (*v3.UserIntentResponse, error)

GetCurrentLoggedInUser mocks base method.

func (*MockClient) GetImage

func (m *MockClient) GetImage(ctx context.Context, uuid string) (*v3.ImageIntentResponse, error)

GetImage mocks base method.

func (*MockClient) GetSubnet

func (m *MockClient) GetSubnet(ctx context.Context, uuid string) (*v3.SubnetIntentResponse, error)

GetSubnet mocks base method.

func (*MockClient) ListCluster

func (m *MockClient) ListCluster(ctx context.Context, getEntitiesRequest *v3.DSMetadata) (*v3.ClusterListIntentResponse, error)

ListCluster mocks base method.

func (*MockClient) ListImage

func (m *MockClient) ListImage(ctx context.Context, getEntitiesRequest *v3.DSMetadata) (*v3.ImageListIntentResponse, error)

ListImage mocks base method.

func (*MockClient) ListSubnet

func (m *MockClient) ListSubnet(ctx context.Context, getEntitiesRequest *v3.DSMetadata) (*v3.SubnetListIntentResponse, error)

ListSubnet mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) GetCluster

func (mr *MockClientMockRecorder) GetCluster(ctx, uuid interface{}) *gomock.Call

GetCluster indicates an expected call of GetCluster.

func (*MockClientMockRecorder) GetCurrentLoggedInUser

func (mr *MockClientMockRecorder) GetCurrentLoggedInUser(ctx interface{}) *gomock.Call

GetCurrentLoggedInUser indicates an expected call of GetCurrentLoggedInUser.

func (*MockClientMockRecorder) GetImage

func (mr *MockClientMockRecorder) GetImage(ctx, uuid interface{}) *gomock.Call

GetImage indicates an expected call of GetImage.

func (*MockClientMockRecorder) GetSubnet

func (mr *MockClientMockRecorder) GetSubnet(ctx, uuid interface{}) *gomock.Call

GetSubnet indicates an expected call of GetSubnet.

func (*MockClientMockRecorder) ListCluster

func (mr *MockClientMockRecorder) ListCluster(ctx, getEntitiesRequest interface{}) *gomock.Call

ListCluster indicates an expected call of ListCluster.

func (*MockClientMockRecorder) ListImage

func (mr *MockClientMockRecorder) ListImage(ctx, getEntitiesRequest interface{}) *gomock.Call

ListImage indicates an expected call of ListImage.

func (*MockClientMockRecorder) ListSubnet

func (mr *MockClientMockRecorder) ListSubnet(ctx, getEntitiesRequest interface{}) *gomock.Call

ListSubnet indicates an expected call of ListSubnet.

type MockRoundTripper

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

MockRoundTripper is a mock of RoundTripper interface.

func NewMockRoundTripper

func NewMockRoundTripper(ctrl *gomock.Controller) *MockRoundTripper

NewMockRoundTripper creates a new mock instance.

func (*MockRoundTripper) EXPECT

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

func (*MockRoundTripper) RoundTrip

func (m *MockRoundTripper) RoundTrip(arg0 *http.Request) (*http.Response, error)

RoundTrip mocks base method.

type MockRoundTripperMockRecorder

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

MockRoundTripperMockRecorder is the mock recorder for MockRoundTripper.

func (*MockRoundTripperMockRecorder) RoundTrip

func (mr *MockRoundTripperMockRecorder) RoundTrip(arg0 interface{}) *gomock.Call

RoundTrip indicates an expected call of RoundTrip.

Jump to

Keyboard shortcuts

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