mocks

package
v0.17.4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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) GetCategoryKey added in v0.17.0

func (m *MockClient) GetCategoryKey(ctx context.Context, name string) (*v3.CategoryKeyStatus, error)

GetCategoryKey mocks base method.

func (*MockClient) GetCategoryQuery added in v0.17.0

func (m *MockClient) GetCategoryQuery(ctx context.Context, query *v3.CategoryQueryInput) (*v3.CategoryQueryResponse, error)

GetCategoryQuery mocks base method.

func (*MockClient) GetCategoryValue added in v0.17.0

func (m *MockClient) GetCategoryValue(ctx context.Context, name, value string) (*v3.CategoryValueStatus, error)

GetCategoryValue mocks base method.

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) GetProject added in v0.15.0

func (m *MockClient) GetProject(ctx context.Context, uuid string) (*v3.Project, error)

GetProject mocks base method.

func (*MockClient) GetSubnet

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

GetSubnet mocks base method.

func (*MockClient) ListCategories added in v0.17.0

func (m *MockClient) ListCategories(ctx context.Context, getEntitiesRequest *v3.CategoryListMetadata) (*v3.CategoryKeyListResponse, error)

ListCategories mocks base method.

func (*MockClient) ListCategoryValues added in v0.17.0

func (m *MockClient) ListCategoryValues(ctx context.Context, name string, getEntitiesRequest *v3.CategoryListMetadata) (*v3.CategoryValueListResponse, error)

ListCategoryValues 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) ListProject added in v0.15.0

func (m *MockClient) ListProject(ctx context.Context, getEntitiesRequest *v3.DSMetadata) (*v3.ProjectListResponse, error)

ListProject 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) GetCategoryKey added in v0.17.0

func (mr *MockClientMockRecorder) GetCategoryKey(ctx, name interface{}) *gomock.Call

GetCategoryKey indicates an expected call of GetCategoryKey.

func (*MockClientMockRecorder) GetCategoryQuery added in v0.17.0

func (mr *MockClientMockRecorder) GetCategoryQuery(ctx, query interface{}) *gomock.Call

GetCategoryQuery indicates an expected call of GetCategoryQuery.

func (*MockClientMockRecorder) GetCategoryValue added in v0.17.0

func (mr *MockClientMockRecorder) GetCategoryValue(ctx, name, value interface{}) *gomock.Call

GetCategoryValue indicates an expected call of GetCategoryValue.

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) GetProject added in v0.15.0

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

GetProject indicates an expected call of GetProject.

func (*MockClientMockRecorder) GetSubnet

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

GetSubnet indicates an expected call of GetSubnet.

func (*MockClientMockRecorder) ListCategories added in v0.17.0

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

ListCategories indicates an expected call of ListCategories.

func (*MockClientMockRecorder) ListCategoryValues added in v0.17.0

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

ListCategoryValues indicates an expected call of ListCategoryValues.

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) ListProject added in v0.15.0

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

ListProject indicates an expected call of ListProject.

func (*MockClientMockRecorder) ListSubnet

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

ListSubnet indicates an expected call of ListSubnet.

type MockIPValidator added in v0.16.0

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

MockIPValidator is a mock of IPValidator interface.

func NewMockIPValidator added in v0.16.0

func NewMockIPValidator(ctrl *gomock.Controller) *MockIPValidator

NewMockIPValidator creates a new mock instance.

func (*MockIPValidator) EXPECT added in v0.16.0

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

func (*MockIPValidator) ValidateControlPlaneIPUniqueness added in v0.16.0

func (m *MockIPValidator) ValidateControlPlaneIPUniqueness(cluster *v1alpha1.Cluster) error

ValidateControlPlaneIPUniqueness mocks base method.

type MockIPValidatorMockRecorder added in v0.16.0

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

MockIPValidatorMockRecorder is the mock recorder for MockIPValidator.

func (*MockIPValidatorMockRecorder) ValidateControlPlaneIPUniqueness added in v0.16.0

func (mr *MockIPValidatorMockRecorder) ValidateControlPlaneIPUniqueness(cluster interface{}) *gomock.Call

ValidateControlPlaneIPUniqueness indicates an expected call of ValidateControlPlaneIPUniqueness.

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