Documentation ¶
Overview ¶
Package apimock is a generated GoMock package.
Index ¶
- type MockAccountServiceClient
- func (m *MockAccountServiceClient) EXPECT() *MockAccountServiceClientMockRecorder
- func (m *MockAccountServiceClient) GetAccount(ctx context.Context, in *accountservice.GetAccountRequest, ...) (*accountservice.GetAccountResponse, error)
- func (m *MockAccountServiceClient) GetAccountUsage(ctx context.Context, in *accountservice.GetAccountUsageRequest, ...) (*accountservice.GetAccountUsageResponse, error)
- func (m *MockAccountServiceClient) GetNamespaceUsage(ctx context.Context, in *accountservice.GetNamespaceUsageRequest, ...) (*accountservice.GetNamespaceUsageResponse, error)
- func (m *MockAccountServiceClient) GetNamespacesUsage(ctx context.Context, in *accountservice.GetNamespacesUsageRequest, ...) (*accountservice.GetNamespacesUsageResponse, error)
- func (m *MockAccountServiceClient) GetRegions(ctx context.Context, in *accountservice.GetRegionsRequest, ...) (*accountservice.GetRegionsResponse, error)
- func (m *MockAccountServiceClient) UpdateAccount(ctx context.Context, in *accountservice.UpdateAccountRequest, ...) (*accountservice.UpdateAccountResponse, error)
- type MockAccountServiceClientMockRecorder
- func (mr *MockAccountServiceClientMockRecorder) GetAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) GetAccountUsage(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) GetNamespaceUsage(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) GetNamespacesUsage(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) GetRegions(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) UpdateAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockAccountServiceServer
- func (m *MockAccountServiceServer) EXPECT() *MockAccountServiceServerMockRecorder
- func (m *MockAccountServiceServer) GetAccount(arg0 context.Context, arg1 *accountservice.GetAccountRequest) (*accountservice.GetAccountResponse, error)
- func (m *MockAccountServiceServer) GetAccountUsage(arg0 context.Context, arg1 *accountservice.GetAccountUsageRequest) (*accountservice.GetAccountUsageResponse, error)
- func (m *MockAccountServiceServer) GetNamespaceUsage(arg0 context.Context, arg1 *accountservice.GetNamespaceUsageRequest) (*accountservice.GetNamespaceUsageResponse, error)
- func (m *MockAccountServiceServer) GetNamespacesUsage(arg0 context.Context, arg1 *accountservice.GetNamespacesUsageRequest) (*accountservice.GetNamespacesUsageResponse, error)
- func (m *MockAccountServiceServer) GetRegions(arg0 context.Context, arg1 *accountservice.GetRegionsRequest) (*accountservice.GetRegionsResponse, error)
- func (m *MockAccountServiceServer) UpdateAccount(arg0 context.Context, arg1 *accountservice.UpdateAccountRequest) (*accountservice.UpdateAccountResponse, error)
- type MockAccountServiceServerMockRecorder
- func (mr *MockAccountServiceServerMockRecorder) GetAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) GetAccountUsage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) GetNamespaceUsage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) GetNamespacesUsage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) GetRegions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) UpdateAccount(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountServiceClient ¶
type MockAccountServiceClient struct {
// contains filtered or unexported fields
}
MockAccountServiceClient is a mock of AccountServiceClient interface.
func NewMockAccountServiceClient ¶
func NewMockAccountServiceClient(ctrl *gomock.Controller) *MockAccountServiceClient
NewMockAccountServiceClient creates a new mock instance.
func (*MockAccountServiceClient) EXPECT ¶
func (m *MockAccountServiceClient) EXPECT() *MockAccountServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountServiceClient) GetAccount ¶
func (m *MockAccountServiceClient) GetAccount(ctx context.Context, in *accountservice.GetAccountRequest, opts ...grpc.CallOption) (*accountservice.GetAccountResponse, error)
GetAccount mocks base method.
func (*MockAccountServiceClient) GetAccountUsage ¶
func (m *MockAccountServiceClient) GetAccountUsage(ctx context.Context, in *accountservice.GetAccountUsageRequest, opts ...grpc.CallOption) (*accountservice.GetAccountUsageResponse, error)
GetAccountUsage mocks base method.
func (*MockAccountServiceClient) GetNamespaceUsage ¶
func (m *MockAccountServiceClient) GetNamespaceUsage(ctx context.Context, in *accountservice.GetNamespaceUsageRequest, opts ...grpc.CallOption) (*accountservice.GetNamespaceUsageResponse, error)
GetNamespaceUsage mocks base method.
func (*MockAccountServiceClient) GetNamespacesUsage ¶
func (m *MockAccountServiceClient) GetNamespacesUsage(ctx context.Context, in *accountservice.GetNamespacesUsageRequest, opts ...grpc.CallOption) (*accountservice.GetNamespacesUsageResponse, error)
GetNamespacesUsage mocks base method.
func (*MockAccountServiceClient) GetRegions ¶ added in v0.11.0
func (m *MockAccountServiceClient) GetRegions(ctx context.Context, in *accountservice.GetRegionsRequest, opts ...grpc.CallOption) (*accountservice.GetRegionsResponse, error)
GetRegions mocks base method.
func (*MockAccountServiceClient) UpdateAccount ¶
func (m *MockAccountServiceClient) UpdateAccount(ctx context.Context, in *accountservice.UpdateAccountRequest, opts ...grpc.CallOption) (*accountservice.UpdateAccountResponse, error)
UpdateAccount mocks base method.
type MockAccountServiceClientMockRecorder ¶
type MockAccountServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountServiceClientMockRecorder is the mock recorder for MockAccountServiceClient.
func (*MockAccountServiceClientMockRecorder) GetAccount ¶
func (mr *MockAccountServiceClientMockRecorder) GetAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAccount indicates an expected call of GetAccount.
func (*MockAccountServiceClientMockRecorder) GetAccountUsage ¶
func (mr *MockAccountServiceClientMockRecorder) GetAccountUsage(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAccountUsage indicates an expected call of GetAccountUsage.
func (*MockAccountServiceClientMockRecorder) GetNamespaceUsage ¶
func (mr *MockAccountServiceClientMockRecorder) GetNamespaceUsage(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetNamespaceUsage indicates an expected call of GetNamespaceUsage.
func (*MockAccountServiceClientMockRecorder) GetNamespacesUsage ¶
func (mr *MockAccountServiceClientMockRecorder) GetNamespacesUsage(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetNamespacesUsage indicates an expected call of GetNamespacesUsage.
func (*MockAccountServiceClientMockRecorder) GetRegions ¶ added in v0.11.0
func (mr *MockAccountServiceClientMockRecorder) GetRegions(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRegions indicates an expected call of GetRegions.
func (*MockAccountServiceClientMockRecorder) UpdateAccount ¶
func (mr *MockAccountServiceClientMockRecorder) UpdateAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateAccount indicates an expected call of UpdateAccount.
type MockAccountServiceServer ¶
type MockAccountServiceServer struct {
// contains filtered or unexported fields
}
MockAccountServiceServer is a mock of AccountServiceServer interface.
func NewMockAccountServiceServer ¶
func NewMockAccountServiceServer(ctrl *gomock.Controller) *MockAccountServiceServer
NewMockAccountServiceServer creates a new mock instance.
func (*MockAccountServiceServer) EXPECT ¶
func (m *MockAccountServiceServer) EXPECT() *MockAccountServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountServiceServer) GetAccount ¶
func (m *MockAccountServiceServer) GetAccount(arg0 context.Context, arg1 *accountservice.GetAccountRequest) (*accountservice.GetAccountResponse, error)
GetAccount mocks base method.
func (*MockAccountServiceServer) GetAccountUsage ¶
func (m *MockAccountServiceServer) GetAccountUsage(arg0 context.Context, arg1 *accountservice.GetAccountUsageRequest) (*accountservice.GetAccountUsageResponse, error)
GetAccountUsage mocks base method.
func (*MockAccountServiceServer) GetNamespaceUsage ¶
func (m *MockAccountServiceServer) GetNamespaceUsage(arg0 context.Context, arg1 *accountservice.GetNamespaceUsageRequest) (*accountservice.GetNamespaceUsageResponse, error)
GetNamespaceUsage mocks base method.
func (*MockAccountServiceServer) GetNamespacesUsage ¶
func (m *MockAccountServiceServer) GetNamespacesUsage(arg0 context.Context, arg1 *accountservice.GetNamespacesUsageRequest) (*accountservice.GetNamespacesUsageResponse, error)
GetNamespacesUsage mocks base method.
func (*MockAccountServiceServer) GetRegions ¶ added in v0.11.0
func (m *MockAccountServiceServer) GetRegions(arg0 context.Context, arg1 *accountservice.GetRegionsRequest) (*accountservice.GetRegionsResponse, error)
GetRegions mocks base method.
func (*MockAccountServiceServer) UpdateAccount ¶
func (m *MockAccountServiceServer) UpdateAccount(arg0 context.Context, arg1 *accountservice.UpdateAccountRequest) (*accountservice.UpdateAccountResponse, error)
UpdateAccount mocks base method.
type MockAccountServiceServerMockRecorder ¶
type MockAccountServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountServiceServerMockRecorder is the mock recorder for MockAccountServiceServer.
func (*MockAccountServiceServerMockRecorder) GetAccount ¶
func (mr *MockAccountServiceServerMockRecorder) GetAccount(arg0, arg1 interface{}) *gomock.Call
GetAccount indicates an expected call of GetAccount.
func (*MockAccountServiceServerMockRecorder) GetAccountUsage ¶
func (mr *MockAccountServiceServerMockRecorder) GetAccountUsage(arg0, arg1 interface{}) *gomock.Call
GetAccountUsage indicates an expected call of GetAccountUsage.
func (*MockAccountServiceServerMockRecorder) GetNamespaceUsage ¶
func (mr *MockAccountServiceServerMockRecorder) GetNamespaceUsage(arg0, arg1 interface{}) *gomock.Call
GetNamespaceUsage indicates an expected call of GetNamespaceUsage.
func (*MockAccountServiceServerMockRecorder) GetNamespacesUsage ¶
func (mr *MockAccountServiceServerMockRecorder) GetNamespacesUsage(arg0, arg1 interface{}) *gomock.Call
GetNamespacesUsage indicates an expected call of GetNamespacesUsage.
func (*MockAccountServiceServerMockRecorder) GetRegions ¶ added in v0.11.0
func (mr *MockAccountServiceServerMockRecorder) GetRegions(arg0, arg1 interface{}) *gomock.Call
GetRegions indicates an expected call of GetRegions.
func (*MockAccountServiceServerMockRecorder) UpdateAccount ¶
func (mr *MockAccountServiceServerMockRecorder) UpdateAccount(arg0, arg1 interface{}) *gomock.Call
UpdateAccount indicates an expected call of UpdateAccount.