mocks

package
v4.72.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MPL-2.0 Imports: 6 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 MockAWSLicenseManagerInterface added in v4.62.0

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

MockAWSLicenseManagerInterface is a mock of AWSLicenseManagerInterface interface.

func NewMockAWSLicenseManagerInterface added in v4.62.0

func NewMockAWSLicenseManagerInterface(ctrl *gomock.Controller) *MockAWSLicenseManagerInterface

NewMockAWSLicenseManagerInterface creates a new mock instance.

func (*MockAWSLicenseManagerInterface) CheckoutLicense added in v4.62.0

CheckoutLicense mocks base method.

func (*MockAWSLicenseManagerInterface) EXPECT added in v4.62.0

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

type MockAWSLicenseManagerInterfaceMockRecorder added in v4.62.0

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

MockAWSLicenseManagerInterfaceMockRecorder is the mock recorder for MockAWSLicenseManagerInterface.

func (*MockAWSLicenseManagerInterfaceMockRecorder) CheckoutLicense added in v4.62.0

func (mr *MockAWSLicenseManagerInterfaceMockRecorder) CheckoutLicense(ctx, params interface{}, optFns ...interface{}) *gomock.Call

CheckoutLicense indicates an expected call of CheckoutLicense.

type MockAWSMarketplaceClientInterface

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

MockAWSMarketplaceClientInterface is a mock of AWSMarketplaceClientInterface interface.

func NewMockAWSMarketplaceClientInterface

func NewMockAWSMarketplaceClientInterface(ctrl *gomock.Controller) *MockAWSMarketplaceClientInterface

NewMockAWSMarketplaceClientInterface creates a new mock instance.

func (*MockAWSMarketplaceClientInterface) EXPECT

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

func (*MockAWSMarketplaceClientInterface) MeterUsage

MeterUsage mocks base method.

type MockAWSMarketplaceClientInterfaceMockRecorder

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

MockAWSMarketplaceClientInterfaceMockRecorder is the mock recorder for MockAWSMarketplaceClientInterface.

func (*MockAWSMarketplaceClientInterfaceMockRecorder) MeterUsage

func (mr *MockAWSMarketplaceClientInterfaceMockRecorder) MeterUsage(ctx, params interface{}, optFns ...interface{}) *gomock.Call

MeterUsage indicates an expected call of MeterUsage.

type MockQuotaMonitor

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

MockQuotaMonitor is a mock of QuotaMonitor interface.

func NewMockQuotaMonitor

func NewMockQuotaMonitor(ctrl *gomock.Controller) *MockQuotaMonitor

NewMockQuotaMonitor creates a new mock instance.

func (*MockQuotaMonitor) EXPECT

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

func (*MockQuotaMonitor) HasQuota

func (m *MockQuotaMonitor) HasQuota(arg0 context.Context) (bool, error)

HasQuota mocks base method.

func (*MockQuotaMonitor) TeamName

func (m *MockQuotaMonitor) TeamName() string

TeamName mocks base method.

type MockQuotaMonitorMockRecorder

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

MockQuotaMonitorMockRecorder is the mock recorder for MockQuotaMonitor.

func (*MockQuotaMonitorMockRecorder) HasQuota

func (mr *MockQuotaMonitorMockRecorder) HasQuota(arg0 interface{}) *gomock.Call

HasQuota indicates an expected call of HasQuota.

func (*MockQuotaMonitorMockRecorder) TeamName

func (mr *MockQuotaMonitorMockRecorder) TeamName() *gomock.Call

TeamName indicates an expected call of TeamName.

type MockTokenClient

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

MockTokenClient is a mock of TokenClient interface.

func NewMockTokenClient

func NewMockTokenClient(ctrl *gomock.Controller) *MockTokenClient

NewMockTokenClient creates a new mock instance.

func (*MockTokenClient) EXPECT

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

func (*MockTokenClient) GetToken

func (m *MockTokenClient) GetToken() (auth.Token, error)

GetToken mocks base method.

func (*MockTokenClient) GetTokenType

func (m *MockTokenClient) GetTokenType() auth.TokenType

GetTokenType mocks base method.

type MockTokenClientMockRecorder

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

MockTokenClientMockRecorder is the mock recorder for MockTokenClient.

func (*MockTokenClientMockRecorder) GetToken

func (mr *MockTokenClientMockRecorder) GetToken() *gomock.Call

GetToken indicates an expected call of GetToken.

func (*MockTokenClientMockRecorder) GetTokenType

func (mr *MockTokenClientMockRecorder) GetTokenType() *gomock.Call

GetTokenType indicates an expected call of GetTokenType.

type MockUsageClient

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

MockUsageClient is a mock of UsageClient interface.

func NewMockUsageClient

func NewMockUsageClient(ctrl *gomock.Controller) *MockUsageClient

NewMockUsageClient creates a new mock instance.

func (*MockUsageClient) Close

func (m *MockUsageClient) Close() error

Close mocks base method.

func (*MockUsageClient) EXPECT

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

func (*MockUsageClient) HasQuota

func (m *MockUsageClient) HasQuota(arg0 context.Context) (bool, error)

HasQuota mocks base method.

func (*MockUsageClient) Increase

func (m *MockUsageClient) Increase(arg0 uint32) error

Increase mocks base method.

func (*MockUsageClient) IncreaseForTable

func (m *MockUsageClient) IncreaseForTable(arg0 string, arg1 uint32) error

IncreaseForTable mocks base method.

func (*MockUsageClient) TeamName

func (m *MockUsageClient) TeamName() string

TeamName mocks base method.

type MockUsageClientMockRecorder

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

MockUsageClientMockRecorder is the mock recorder for MockUsageClient.

func (*MockUsageClientMockRecorder) Close

Close indicates an expected call of Close.

func (*MockUsageClientMockRecorder) HasQuota

func (mr *MockUsageClientMockRecorder) HasQuota(arg0 interface{}) *gomock.Call

HasQuota indicates an expected call of HasQuota.

func (*MockUsageClientMockRecorder) Increase

func (mr *MockUsageClientMockRecorder) Increase(arg0 interface{}) *gomock.Call

Increase indicates an expected call of Increase.

func (*MockUsageClientMockRecorder) IncreaseForTable

func (mr *MockUsageClientMockRecorder) IncreaseForTable(arg0, arg1 interface{}) *gomock.Call

IncreaseForTable indicates an expected call of IncreaseForTable.

func (*MockUsageClientMockRecorder) TeamName

func (mr *MockUsageClientMockRecorder) TeamName() *gomock.Call

TeamName indicates an expected call of TeamName.

Jump to

Keyboard shortcuts

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