Documentation ¶
Overview ¶
Package account_mock is a generated GoMock package.
Index ¶
- type MockAccountServiceClient
- func (m *MockAccountServiceClient) AddCloudAccount(ctx context.Context, in *v1.AddCloudAccountRequest, opts ...grpc.CallOption) (*v1.AddCloudAccountResponse, error)
- func (m *MockAccountServiceClient) CreateCompany(ctx context.Context, in *v1.CreateCompanyRequest, opts ...grpc.CallOption) (*v1.CreateCompanyResponse, error)
- func (m *MockAccountServiceClient) DeleteCloudAccount(ctx context.Context, in *v1.DeleteCloudAccountRequest, opts ...grpc.CallOption) (*v1.DeleteCloudAccountResponse, error)
- func (m *MockAccountServiceClient) EXPECT() *MockAccountServiceClientMockRecorder
- func (m *MockAccountServiceClient) GetCloudAccount(ctx context.Context, in *v1.GetCloudAccountRequest, opts ...grpc.CallOption) (*v1.GetCloudAccountResponse, error)
- func (m *MockAccountServiceClient) GetCloudAccounts(ctx context.Context, in *v1.GetCloudAccountsRequest, opts ...grpc.CallOption) (*v1.GetCloudAccountsResponse, error)
- func (m *MockAccountServiceClient) GetMyCompany(ctx context.Context, in *v1.GetMyCompanyRequest, opts ...grpc.CallOption) (*v1.GetMyCompanyResponse, error)
- func (m *MockAccountServiceClient) UpdateCloudAccount(ctx context.Context, in *v1.UpdateCloudAccountRequest, opts ...grpc.CallOption) (*v1.UpdateCloudAccountResponse, error)
- type MockAccountServiceClientMockRecorder
- func (mr *MockAccountServiceClientMockRecorder) AddCloudAccount(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) CreateCompany(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) DeleteCloudAccount(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) GetCloudAccount(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) GetCloudAccounts(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) GetMyCompany(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) UpdateCloudAccount(ctx, in any, opts ...any) *gomock.Call
- type MockAccountServiceServer
- func (m *MockAccountServiceServer) AddCloudAccount(arg0 context.Context, arg1 *v1.AddCloudAccountRequest) (*v1.AddCloudAccountResponse, error)
- func (m *MockAccountServiceServer) CreateCompany(arg0 context.Context, arg1 *v1.CreateCompanyRequest) (*v1.CreateCompanyResponse, error)
- func (m *MockAccountServiceServer) DeleteCloudAccount(arg0 context.Context, arg1 *v1.DeleteCloudAccountRequest) (*v1.DeleteCloudAccountResponse, error)
- func (m *MockAccountServiceServer) EXPECT() *MockAccountServiceServerMockRecorder
- func (m *MockAccountServiceServer) GetCloudAccount(arg0 context.Context, arg1 *v1.GetCloudAccountRequest) (*v1.GetCloudAccountResponse, error)
- func (m *MockAccountServiceServer) GetCloudAccounts(arg0 context.Context, arg1 *v1.GetCloudAccountsRequest) (*v1.GetCloudAccountsResponse, error)
- func (m *MockAccountServiceServer) GetMyCompany(arg0 context.Context, arg1 *v1.GetMyCompanyRequest) (*v1.GetMyCompanyResponse, error)
- func (m *MockAccountServiceServer) UpdateCloudAccount(arg0 context.Context, arg1 *v1.UpdateCloudAccountRequest) (*v1.UpdateCloudAccountResponse, error)
- type MockAccountServiceServerMockRecorder
- func (mr *MockAccountServiceServerMockRecorder) AddCloudAccount(arg0, arg1 any) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) CreateCompany(arg0, arg1 any) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) DeleteCloudAccount(arg0, arg1 any) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) GetCloudAccount(arg0, arg1 any) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) GetCloudAccounts(arg0, arg1 any) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) GetMyCompany(arg0, arg1 any) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) UpdateCloudAccount(arg0, arg1 any) *gomock.Call
- type MockUnsafeAccountServiceServer
- type MockUnsafeAccountServiceServerMockRecorder
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) AddCloudAccount ¶ added in v0.3.52
func (m *MockAccountServiceClient) AddCloudAccount(ctx context.Context, in *v1.AddCloudAccountRequest, opts ...grpc.CallOption) (*v1.AddCloudAccountResponse, error)
AddCloudAccount mocks base method.
func (*MockAccountServiceClient) CreateCompany ¶ added in v0.3.52
func (m *MockAccountServiceClient) CreateCompany(ctx context.Context, in *v1.CreateCompanyRequest, opts ...grpc.CallOption) (*v1.CreateCompanyResponse, error)
CreateCompany mocks base method.
func (*MockAccountServiceClient) DeleteCloudAccount ¶ added in v0.3.53
func (m *MockAccountServiceClient) DeleteCloudAccount(ctx context.Context, in *v1.DeleteCloudAccountRequest, opts ...grpc.CallOption) (*v1.DeleteCloudAccountResponse, error)
DeleteCloudAccount mocks base method.
func (*MockAccountServiceClient) EXPECT ¶
func (m *MockAccountServiceClient) EXPECT() *MockAccountServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountServiceClient) GetCloudAccount ¶ added in v0.3.52
func (m *MockAccountServiceClient) GetCloudAccount(ctx context.Context, in *v1.GetCloudAccountRequest, opts ...grpc.CallOption) (*v1.GetCloudAccountResponse, error)
GetCloudAccount mocks base method.
func (*MockAccountServiceClient) GetCloudAccounts ¶ added in v0.3.52
func (m *MockAccountServiceClient) GetCloudAccounts(ctx context.Context, in *v1.GetCloudAccountsRequest, opts ...grpc.CallOption) (*v1.GetCloudAccountsResponse, error)
GetCloudAccounts mocks base method.
func (*MockAccountServiceClient) GetMyCompany ¶ added in v0.3.52
func (m *MockAccountServiceClient) GetMyCompany(ctx context.Context, in *v1.GetMyCompanyRequest, opts ...grpc.CallOption) (*v1.GetMyCompanyResponse, error)
GetMyCompany mocks base method.
func (*MockAccountServiceClient) UpdateCloudAccount ¶ added in v0.3.52
func (m *MockAccountServiceClient) UpdateCloudAccount(ctx context.Context, in *v1.UpdateCloudAccountRequest, opts ...grpc.CallOption) (*v1.UpdateCloudAccountResponse, error)
UpdateCloudAccount mocks base method.
type MockAccountServiceClientMockRecorder ¶
type MockAccountServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountServiceClientMockRecorder is the mock recorder for MockAccountServiceClient.
func (*MockAccountServiceClientMockRecorder) AddCloudAccount ¶ added in v0.3.52
func (mr *MockAccountServiceClientMockRecorder) AddCloudAccount(ctx, in any, opts ...any) *gomock.Call
AddCloudAccount indicates an expected call of AddCloudAccount.
func (*MockAccountServiceClientMockRecorder) CreateCompany ¶ added in v0.3.52
func (mr *MockAccountServiceClientMockRecorder) CreateCompany(ctx, in any, opts ...any) *gomock.Call
CreateCompany indicates an expected call of CreateCompany.
func (*MockAccountServiceClientMockRecorder) DeleteCloudAccount ¶ added in v0.3.53
func (mr *MockAccountServiceClientMockRecorder) DeleteCloudAccount(ctx, in any, opts ...any) *gomock.Call
DeleteCloudAccount indicates an expected call of DeleteCloudAccount.
func (*MockAccountServiceClientMockRecorder) GetCloudAccount ¶ added in v0.3.52
func (mr *MockAccountServiceClientMockRecorder) GetCloudAccount(ctx, in any, opts ...any) *gomock.Call
GetCloudAccount indicates an expected call of GetCloudAccount.
func (*MockAccountServiceClientMockRecorder) GetCloudAccounts ¶ added in v0.3.52
func (mr *MockAccountServiceClientMockRecorder) GetCloudAccounts(ctx, in any, opts ...any) *gomock.Call
GetCloudAccounts indicates an expected call of GetCloudAccounts.
func (*MockAccountServiceClientMockRecorder) GetMyCompany ¶ added in v0.3.52
func (mr *MockAccountServiceClientMockRecorder) GetMyCompany(ctx, in any, opts ...any) *gomock.Call
GetMyCompany indicates an expected call of GetMyCompany.
func (*MockAccountServiceClientMockRecorder) UpdateCloudAccount ¶ added in v0.3.52
func (mr *MockAccountServiceClientMockRecorder) UpdateCloudAccount(ctx, in any, opts ...any) *gomock.Call
UpdateCloudAccount indicates an expected call of UpdateCloudAccount.
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) AddCloudAccount ¶ added in v0.3.52
func (m *MockAccountServiceServer) AddCloudAccount(arg0 context.Context, arg1 *v1.AddCloudAccountRequest) (*v1.AddCloudAccountResponse, error)
AddCloudAccount mocks base method.
func (*MockAccountServiceServer) CreateCompany ¶ added in v0.3.52
func (m *MockAccountServiceServer) CreateCompany(arg0 context.Context, arg1 *v1.CreateCompanyRequest) (*v1.CreateCompanyResponse, error)
CreateCompany mocks base method.
func (*MockAccountServiceServer) DeleteCloudAccount ¶ added in v0.3.53
func (m *MockAccountServiceServer) DeleteCloudAccount(arg0 context.Context, arg1 *v1.DeleteCloudAccountRequest) (*v1.DeleteCloudAccountResponse, error)
DeleteCloudAccount mocks base method.
func (*MockAccountServiceServer) EXPECT ¶
func (m *MockAccountServiceServer) EXPECT() *MockAccountServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountServiceServer) GetCloudAccount ¶ added in v0.3.52
func (m *MockAccountServiceServer) GetCloudAccount(arg0 context.Context, arg1 *v1.GetCloudAccountRequest) (*v1.GetCloudAccountResponse, error)
GetCloudAccount mocks base method.
func (*MockAccountServiceServer) GetCloudAccounts ¶ added in v0.3.52
func (m *MockAccountServiceServer) GetCloudAccounts(arg0 context.Context, arg1 *v1.GetCloudAccountsRequest) (*v1.GetCloudAccountsResponse, error)
GetCloudAccounts mocks base method.
func (*MockAccountServiceServer) GetMyCompany ¶ added in v0.3.52
func (m *MockAccountServiceServer) GetMyCompany(arg0 context.Context, arg1 *v1.GetMyCompanyRequest) (*v1.GetMyCompanyResponse, error)
GetMyCompany mocks base method.
func (*MockAccountServiceServer) UpdateCloudAccount ¶ added in v0.3.52
func (m *MockAccountServiceServer) UpdateCloudAccount(arg0 context.Context, arg1 *v1.UpdateCloudAccountRequest) (*v1.UpdateCloudAccountResponse, error)
UpdateCloudAccount mocks base method.
type MockAccountServiceServerMockRecorder ¶
type MockAccountServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountServiceServerMockRecorder is the mock recorder for MockAccountServiceServer.
func (*MockAccountServiceServerMockRecorder) AddCloudAccount ¶ added in v0.3.52
func (mr *MockAccountServiceServerMockRecorder) AddCloudAccount(arg0, arg1 any) *gomock.Call
AddCloudAccount indicates an expected call of AddCloudAccount.
func (*MockAccountServiceServerMockRecorder) CreateCompany ¶ added in v0.3.52
func (mr *MockAccountServiceServerMockRecorder) CreateCompany(arg0, arg1 any) *gomock.Call
CreateCompany indicates an expected call of CreateCompany.
func (*MockAccountServiceServerMockRecorder) DeleteCloudAccount ¶ added in v0.3.53
func (mr *MockAccountServiceServerMockRecorder) DeleteCloudAccount(arg0, arg1 any) *gomock.Call
DeleteCloudAccount indicates an expected call of DeleteCloudAccount.
func (*MockAccountServiceServerMockRecorder) GetCloudAccount ¶ added in v0.3.52
func (mr *MockAccountServiceServerMockRecorder) GetCloudAccount(arg0, arg1 any) *gomock.Call
GetCloudAccount indicates an expected call of GetCloudAccount.
func (*MockAccountServiceServerMockRecorder) GetCloudAccounts ¶ added in v0.3.52
func (mr *MockAccountServiceServerMockRecorder) GetCloudAccounts(arg0, arg1 any) *gomock.Call
GetCloudAccounts indicates an expected call of GetCloudAccounts.
func (*MockAccountServiceServerMockRecorder) GetMyCompany ¶ added in v0.3.52
func (mr *MockAccountServiceServerMockRecorder) GetMyCompany(arg0, arg1 any) *gomock.Call
GetMyCompany indicates an expected call of GetMyCompany.
func (*MockAccountServiceServerMockRecorder) UpdateCloudAccount ¶ added in v0.3.52
func (mr *MockAccountServiceServerMockRecorder) UpdateCloudAccount(arg0, arg1 any) *gomock.Call
UpdateCloudAccount indicates an expected call of UpdateCloudAccount.
type MockUnsafeAccountServiceServer ¶
type MockUnsafeAccountServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeAccountServiceServer is a mock of UnsafeAccountServiceServer interface.
func NewMockUnsafeAccountServiceServer ¶
func NewMockUnsafeAccountServiceServer(ctrl *gomock.Controller) *MockUnsafeAccountServiceServer
NewMockUnsafeAccountServiceServer creates a new mock instance.
func (*MockUnsafeAccountServiceServer) EXPECT ¶
func (m *MockUnsafeAccountServiceServer) EXPECT() *MockUnsafeAccountServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeAccountServiceServerMockRecorder ¶
type MockUnsafeAccountServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeAccountServiceServerMockRecorder is the mock recorder for MockUnsafeAccountServiceServer.