Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) ChangeAPIKeyName(ctx context.Context, in *account.ChangeAPIKeyNameRequest, ...) (*account.ChangeAPIKeyNameResponse, error)
- func (m *MockClient) Close()
- func (m *MockClient) CreateAPIKey(ctx context.Context, in *account.CreateAPIKeyRequest, opts ...grpc.CallOption) (*account.CreateAPIKeyResponse, error)
- func (m *MockClient) CreateAccountV2(ctx context.Context, in *account.CreateAccountV2Request, ...) (*account.CreateAccountV2Response, error)
- func (m *MockClient) CreateSearchFilter(ctx context.Context, in *account.CreateSearchFilterRequest, ...) (*account.CreateSearchFilterResponse, error)
- func (m *MockClient) DeleteAccountV2(ctx context.Context, in *account.DeleteAccountV2Request, ...) (*account.DeleteAccountV2Response, error)
- func (m *MockClient) DeleteSearchFilter(ctx context.Context, in *account.DeleteSearchFilterRequest, ...) (*account.DeleteSearchFilterResponse, error)
- func (m *MockClient) DisableAPIKey(ctx context.Context, in *account.DisableAPIKeyRequest, opts ...grpc.CallOption) (*account.DisableAPIKeyResponse, error)
- func (m *MockClient) DisableAccountV2(ctx context.Context, in *account.DisableAccountV2Request, ...) (*account.DisableAccountV2Response, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) EnableAPIKey(ctx context.Context, in *account.EnableAPIKeyRequest, opts ...grpc.CallOption) (*account.EnableAPIKeyResponse, error)
- func (m *MockClient) EnableAccountV2(ctx context.Context, in *account.EnableAccountV2Request, ...) (*account.EnableAccountV2Response, error)
- func (m *MockClient) GetAPIKey(ctx context.Context, in *account.GetAPIKeyRequest, opts ...grpc.CallOption) (*account.GetAPIKeyResponse, error)
- func (m *MockClient) GetAccountV2(ctx context.Context, in *account.GetAccountV2Request, opts ...grpc.CallOption) (*account.GetAccountV2Response, error)
- func (m *MockClient) GetAccountV2ByEnvironmentID(ctx context.Context, in *account.GetAccountV2ByEnvironmentIDRequest, ...) (*account.GetAccountV2ByEnvironmentIDResponse, error)
- func (m *MockClient) GetEnvironmentAPIKey(ctx context.Context, in *account.GetEnvironmentAPIKeyRequest, ...) (*account.GetEnvironmentAPIKeyResponse, error)
- func (m *MockClient) GetMe(ctx context.Context, in *account.GetMeRequest, opts ...grpc.CallOption) (*account.GetMeResponse, error)
- func (m *MockClient) GetMyOrganizations(ctx context.Context, in *account.GetMyOrganizationsRequest, ...) (*account.GetMyOrganizationsResponse, error)
- func (m *MockClient) GetMyOrganizationsByEmail(ctx context.Context, in *account.GetMyOrganizationsByEmailRequest, ...) (*account.GetMyOrganizationsResponse, error)
- func (m *MockClient) ListAPIKeys(ctx context.Context, in *account.ListAPIKeysRequest, opts ...grpc.CallOption) (*account.ListAPIKeysResponse, error)
- func (m *MockClient) ListAccountsV2(ctx context.Context, in *account.ListAccountsV2Request, ...) (*account.ListAccountsV2Response, error)
- func (m *MockClient) UpdateAPIKey(ctx context.Context, in *account.UpdateAPIKeyRequest, opts ...grpc.CallOption) (*account.UpdateAPIKeyResponse, error)
- func (m *MockClient) UpdateAccountV2(ctx context.Context, in *account.UpdateAccountV2Request, ...) (*account.UpdateAccountV2Response, error)
- func (m *MockClient) UpdateSearchFilter(ctx context.Context, in *account.UpdateSearchFilterRequest, ...) (*account.UpdateSearchFilterResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) ChangeAPIKeyName(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) CreateAPIKey(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) CreateAccountV2(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) CreateSearchFilter(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteAccountV2(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteSearchFilter(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) DisableAPIKey(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) DisableAccountV2(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) EnableAPIKey(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) EnableAccountV2(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) GetAPIKey(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) GetAccountV2(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) GetAccountV2ByEnvironmentID(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) GetEnvironmentAPIKey(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) GetMe(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) GetMyOrganizations(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) GetMyOrganizationsByEmail(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) ListAPIKeys(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) ListAccountsV2(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateAPIKey(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateAccountV2(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateSearchFilter(ctx, in any, opts ...any) *gomock.Call
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) ChangeAPIKeyName ¶
func (m *MockClient) ChangeAPIKeyName(ctx context.Context, in *account.ChangeAPIKeyNameRequest, opts ...grpc.CallOption) (*account.ChangeAPIKeyNameResponse, error)
ChangeAPIKeyName mocks base method.
func (*MockClient) CreateAPIKey ¶
func (m *MockClient) CreateAPIKey(ctx context.Context, in *account.CreateAPIKeyRequest, opts ...grpc.CallOption) (*account.CreateAPIKeyResponse, error)
CreateAPIKey mocks base method.
func (*MockClient) CreateAccountV2 ¶ added in v0.4.0
func (m *MockClient) CreateAccountV2(ctx context.Context, in *account.CreateAccountV2Request, opts ...grpc.CallOption) (*account.CreateAccountV2Response, error)
CreateAccountV2 mocks base method.
func (*MockClient) CreateSearchFilter ¶ added in v0.4.8
func (m *MockClient) CreateSearchFilter(ctx context.Context, in *account.CreateSearchFilterRequest, opts ...grpc.CallOption) (*account.CreateSearchFilterResponse, error)
CreateSearchFilter mocks base method.
func (*MockClient) DeleteAccountV2 ¶ added in v0.4.0
func (m *MockClient) DeleteAccountV2(ctx context.Context, in *account.DeleteAccountV2Request, opts ...grpc.CallOption) (*account.DeleteAccountV2Response, error)
DeleteAccountV2 mocks base method.
func (*MockClient) DeleteSearchFilter ¶ added in v0.4.8
func (m *MockClient) DeleteSearchFilter(ctx context.Context, in *account.DeleteSearchFilterRequest, opts ...grpc.CallOption) (*account.DeleteSearchFilterResponse, error)
DeleteSearchFilter mocks base method.
func (*MockClient) DisableAPIKey ¶
func (m *MockClient) DisableAPIKey(ctx context.Context, in *account.DisableAPIKeyRequest, opts ...grpc.CallOption) (*account.DisableAPIKeyResponse, error)
DisableAPIKey mocks base method.
func (*MockClient) DisableAccountV2 ¶ added in v0.4.0
func (m *MockClient) DisableAccountV2(ctx context.Context, in *account.DisableAccountV2Request, opts ...grpc.CallOption) (*account.DisableAccountV2Response, error)
DisableAccountV2 mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) EnableAPIKey ¶
func (m *MockClient) EnableAPIKey(ctx context.Context, in *account.EnableAPIKeyRequest, opts ...grpc.CallOption) (*account.EnableAPIKeyResponse, error)
EnableAPIKey mocks base method.
func (*MockClient) EnableAccountV2 ¶ added in v0.4.0
func (m *MockClient) EnableAccountV2(ctx context.Context, in *account.EnableAccountV2Request, opts ...grpc.CallOption) (*account.EnableAccountV2Response, error)
EnableAccountV2 mocks base method.
func (*MockClient) GetAPIKey ¶
func (m *MockClient) GetAPIKey(ctx context.Context, in *account.GetAPIKeyRequest, opts ...grpc.CallOption) (*account.GetAPIKeyResponse, error)
GetAPIKey mocks base method.
func (*MockClient) GetAccountV2 ¶ added in v0.4.0
func (m *MockClient) GetAccountV2(ctx context.Context, in *account.GetAccountV2Request, opts ...grpc.CallOption) (*account.GetAccountV2Response, error)
GetAccountV2 mocks base method.
func (*MockClient) GetAccountV2ByEnvironmentID ¶ added in v0.4.0
func (m *MockClient) GetAccountV2ByEnvironmentID(ctx context.Context, in *account.GetAccountV2ByEnvironmentIDRequest, opts ...grpc.CallOption) (*account.GetAccountV2ByEnvironmentIDResponse, error)
GetAccountV2ByEnvironmentID mocks base method.
func (*MockClient) GetEnvironmentAPIKey ¶ added in v1.2.0
func (m *MockClient) GetEnvironmentAPIKey(ctx context.Context, in *account.GetEnvironmentAPIKeyRequest, opts ...grpc.CallOption) (*account.GetEnvironmentAPIKeyResponse, error)
GetEnvironmentAPIKey mocks base method.
func (*MockClient) GetMe ¶
func (m *MockClient) GetMe(ctx context.Context, in *account.GetMeRequest, opts ...grpc.CallOption) (*account.GetMeResponse, error)
GetMe mocks base method.
func (*MockClient) GetMyOrganizations ¶ added in v0.4.0
func (m *MockClient) GetMyOrganizations(ctx context.Context, in *account.GetMyOrganizationsRequest, opts ...grpc.CallOption) (*account.GetMyOrganizationsResponse, error)
GetMyOrganizations mocks base method.
func (*MockClient) GetMyOrganizationsByEmail ¶ added in v0.4.0
func (m *MockClient) GetMyOrganizationsByEmail(ctx context.Context, in *account.GetMyOrganizationsByEmailRequest, opts ...grpc.CallOption) (*account.GetMyOrganizationsResponse, error)
GetMyOrganizationsByEmail mocks base method.
func (*MockClient) ListAPIKeys ¶
func (m *MockClient) ListAPIKeys(ctx context.Context, in *account.ListAPIKeysRequest, opts ...grpc.CallOption) (*account.ListAPIKeysResponse, error)
ListAPIKeys mocks base method.
func (*MockClient) ListAccountsV2 ¶ added in v0.4.0
func (m *MockClient) ListAccountsV2(ctx context.Context, in *account.ListAccountsV2Request, opts ...grpc.CallOption) (*account.ListAccountsV2Response, error)
ListAccountsV2 mocks base method.
func (*MockClient) UpdateAPIKey ¶ added in v1.1.0
func (m *MockClient) UpdateAPIKey(ctx context.Context, in *account.UpdateAPIKeyRequest, opts ...grpc.CallOption) (*account.UpdateAPIKeyResponse, error)
UpdateAPIKey mocks base method.
func (*MockClient) UpdateAccountV2 ¶ added in v0.4.0
func (m *MockClient) UpdateAccountV2(ctx context.Context, in *account.UpdateAccountV2Request, opts ...grpc.CallOption) (*account.UpdateAccountV2Response, error)
UpdateAccountV2 mocks base method.
func (*MockClient) UpdateSearchFilter ¶ added in v0.4.8
func (m *MockClient) UpdateSearchFilter(ctx context.Context, in *account.UpdateSearchFilterRequest, opts ...grpc.CallOption) (*account.UpdateSearchFilterResponse, error)
UpdateSearchFilter mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) ChangeAPIKeyName ¶
func (mr *MockClientMockRecorder) ChangeAPIKeyName(ctx, in any, opts ...any) *gomock.Call
ChangeAPIKeyName indicates an expected call of ChangeAPIKeyName.
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockClientMockRecorder) CreateAPIKey ¶
func (mr *MockClientMockRecorder) CreateAPIKey(ctx, in any, opts ...any) *gomock.Call
CreateAPIKey indicates an expected call of CreateAPIKey.
func (*MockClientMockRecorder) CreateAccountV2 ¶ added in v0.4.0
func (mr *MockClientMockRecorder) CreateAccountV2(ctx, in any, opts ...any) *gomock.Call
CreateAccountV2 indicates an expected call of CreateAccountV2.
func (*MockClientMockRecorder) CreateSearchFilter ¶ added in v0.4.8
func (mr *MockClientMockRecorder) CreateSearchFilter(ctx, in any, opts ...any) *gomock.Call
CreateSearchFilter indicates an expected call of CreateSearchFilter.
func (*MockClientMockRecorder) DeleteAccountV2 ¶ added in v0.4.0
func (mr *MockClientMockRecorder) DeleteAccountV2(ctx, in any, opts ...any) *gomock.Call
DeleteAccountV2 indicates an expected call of DeleteAccountV2.
func (*MockClientMockRecorder) DeleteSearchFilter ¶ added in v0.4.8
func (mr *MockClientMockRecorder) DeleteSearchFilter(ctx, in any, opts ...any) *gomock.Call
DeleteSearchFilter indicates an expected call of DeleteSearchFilter.
func (*MockClientMockRecorder) DisableAPIKey ¶
func (mr *MockClientMockRecorder) DisableAPIKey(ctx, in any, opts ...any) *gomock.Call
DisableAPIKey indicates an expected call of DisableAPIKey.
func (*MockClientMockRecorder) DisableAccountV2 ¶ added in v0.4.0
func (mr *MockClientMockRecorder) DisableAccountV2(ctx, in any, opts ...any) *gomock.Call
DisableAccountV2 indicates an expected call of DisableAccountV2.
func (*MockClientMockRecorder) EnableAPIKey ¶
func (mr *MockClientMockRecorder) EnableAPIKey(ctx, in any, opts ...any) *gomock.Call
EnableAPIKey indicates an expected call of EnableAPIKey.
func (*MockClientMockRecorder) EnableAccountV2 ¶ added in v0.4.0
func (mr *MockClientMockRecorder) EnableAccountV2(ctx, in any, opts ...any) *gomock.Call
EnableAccountV2 indicates an expected call of EnableAccountV2.
func (*MockClientMockRecorder) GetAPIKey ¶
func (mr *MockClientMockRecorder) GetAPIKey(ctx, in any, opts ...any) *gomock.Call
GetAPIKey indicates an expected call of GetAPIKey.
func (*MockClientMockRecorder) GetAccountV2 ¶ added in v0.4.0
func (mr *MockClientMockRecorder) GetAccountV2(ctx, in any, opts ...any) *gomock.Call
GetAccountV2 indicates an expected call of GetAccountV2.
func (*MockClientMockRecorder) GetAccountV2ByEnvironmentID ¶ added in v0.4.0
func (mr *MockClientMockRecorder) GetAccountV2ByEnvironmentID(ctx, in any, opts ...any) *gomock.Call
GetAccountV2ByEnvironmentID indicates an expected call of GetAccountV2ByEnvironmentID.
func (*MockClientMockRecorder) GetEnvironmentAPIKey ¶ added in v1.2.0
func (mr *MockClientMockRecorder) GetEnvironmentAPIKey(ctx, in any, opts ...any) *gomock.Call
GetEnvironmentAPIKey indicates an expected call of GetEnvironmentAPIKey.
func (*MockClientMockRecorder) GetMe ¶
func (mr *MockClientMockRecorder) GetMe(ctx, in any, opts ...any) *gomock.Call
GetMe indicates an expected call of GetMe.
func (*MockClientMockRecorder) GetMyOrganizations ¶ added in v0.4.0
func (mr *MockClientMockRecorder) GetMyOrganizations(ctx, in any, opts ...any) *gomock.Call
GetMyOrganizations indicates an expected call of GetMyOrganizations.
func (*MockClientMockRecorder) GetMyOrganizationsByEmail ¶ added in v0.4.0
func (mr *MockClientMockRecorder) GetMyOrganizationsByEmail(ctx, in any, opts ...any) *gomock.Call
GetMyOrganizationsByEmail indicates an expected call of GetMyOrganizationsByEmail.
func (*MockClientMockRecorder) ListAPIKeys ¶
func (mr *MockClientMockRecorder) ListAPIKeys(ctx, in any, opts ...any) *gomock.Call
ListAPIKeys indicates an expected call of ListAPIKeys.
func (*MockClientMockRecorder) ListAccountsV2 ¶ added in v0.4.0
func (mr *MockClientMockRecorder) ListAccountsV2(ctx, in any, opts ...any) *gomock.Call
ListAccountsV2 indicates an expected call of ListAccountsV2.
func (*MockClientMockRecorder) UpdateAPIKey ¶ added in v1.1.0
func (mr *MockClientMockRecorder) UpdateAPIKey(ctx, in any, opts ...any) *gomock.Call
UpdateAPIKey indicates an expected call of UpdateAPIKey.
func (*MockClientMockRecorder) UpdateAccountV2 ¶ added in v0.4.0
func (mr *MockClientMockRecorder) UpdateAccountV2(ctx, in any, opts ...any) *gomock.Call
UpdateAccountV2 indicates an expected call of UpdateAccountV2.
func (*MockClientMockRecorder) UpdateSearchFilter ¶ added in v0.4.8
func (mr *MockClientMockRecorder) UpdateSearchFilter(ctx, in any, opts ...any) *gomock.Call
UpdateSearchFilter indicates an expected call of UpdateSearchFilter.