Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAWSLicenseManagerInterface
- type MockAWSLicenseManagerInterfaceMockRecorder
- type MockAWSMarketplaceClientInterface
- type MockAWSMarketplaceClientInterfaceMockRecorder
- type MockQuotaMonitor
- type MockQuotaMonitorMockRecorder
- type MockTokenClient
- type MockTokenClientMockRecorder
- type MockUsageClient
- func (m *MockUsageClient) Close() error
- func (m *MockUsageClient) EXPECT() *MockUsageClientMockRecorder
- func (m *MockUsageClient) HasQuota(arg0 context.Context) (bool, error)
- func (m *MockUsageClient) Increase(arg0 uint32) error
- func (m *MockUsageClient) IncreaseForTable(arg0 string, arg1 uint32) error
- func (m *MockUsageClient) TeamName() string
- type MockUsageClientMockRecorder
- func (mr *MockUsageClientMockRecorder) Close() *gomock.Call
- func (mr *MockUsageClientMockRecorder) HasQuota(arg0 interface{}) *gomock.Call
- func (mr *MockUsageClientMockRecorder) Increase(arg0 interface{}) *gomock.Call
- func (mr *MockUsageClientMockRecorder) IncreaseForTable(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUsageClientMockRecorder) TeamName() *gomock.Call
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
func (m *MockAWSLicenseManagerInterface) CheckoutLicense(ctx context.Context, params *licensemanager.CheckoutLicenseInput, optFns ...func(*licensemanager.Options)) (*licensemanager.CheckoutLicenseOutput, error)
CheckoutLicense mocks base method.
func (*MockAWSLicenseManagerInterface) EXPECT ¶ added in v4.62.0
func (m *MockAWSLicenseManagerInterface) EXPECT() *MockAWSLicenseManagerInterfaceMockRecorder
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 ¶
func (m *MockAWSMarketplaceClientInterface) EXPECT() *MockAWSMarketplaceClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAWSMarketplaceClientInterface) MeterUsage ¶
func (m *MockAWSMarketplaceClientInterface) MeterUsage(ctx context.Context, params *marketplacemetering.MeterUsageInput, optFns ...func(*marketplacemetering.Options)) (*marketplacemetering.MeterUsageOutput, error)
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 ¶
func (m *MockQuotaMonitor) EXPECT() *MockQuotaMonitorMockRecorder
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 ¶
func (m *MockTokenClient) EXPECT() *MockTokenClientMockRecorder
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) EXPECT ¶
func (m *MockUsageClient) EXPECT() *MockUsageClientMockRecorder
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 ¶
func (mr *MockUsageClientMockRecorder) Close() *gomock.Call
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.