Documentation ¶
Index ¶
- type Converter
- type IntegrationSystemConverter
- func (_m *IntegrationSystemConverter) InputFromGraphQL(in graphql.IntegrationSystemInput) model.IntegrationSystemInput
- func (_m *IntegrationSystemConverter) MultipleToGraphQL(in []*model.IntegrationSystem) []*graphql.IntegrationSystem
- func (_m *IntegrationSystemConverter) ToGraphQL(in *model.IntegrationSystem) *graphql.IntegrationSystem
- type IntegrationSystemRepository
- func (_m *IntegrationSystemRepository) Create(ctx context.Context, item model.IntegrationSystem) error
- func (_m *IntegrationSystemRepository) Delete(ctx context.Context, id string) error
- func (_m *IntegrationSystemRepository) Exists(ctx context.Context, id string) (bool, error)
- func (_m *IntegrationSystemRepository) Get(ctx context.Context, id string) (*model.IntegrationSystem, error)
- func (_m *IntegrationSystemRepository) List(ctx context.Context, pageSize int, cursor string) (model.IntegrationSystemPage, error)
- func (_m *IntegrationSystemRepository) Update(ctx context.Context, _a1 model.IntegrationSystem) error
- type IntegrationSystemService
- func (_m *IntegrationSystemService) Create(ctx context.Context, in model.IntegrationSystemInput) (string, error)
- func (_m *IntegrationSystemService) Delete(ctx context.Context, id string) error
- func (_m *IntegrationSystemService) Get(ctx context.Context, id string) (*model.IntegrationSystem, error)
- func (_m *IntegrationSystemService) List(ctx context.Context, pageSize int, cursor string) (model.IntegrationSystemPage, error)
- func (_m *IntegrationSystemService) Update(ctx context.Context, id string, in model.IntegrationSystemInput) error
- type OAuth20Service
- type SystemAuthConverter
- type SystemAuthService
- type UIDService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Converter ¶
Converter is an autogenerated mock type for the Converter type
func NewConverter ¶
NewConverter creates a new instance of Converter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Converter) FromEntity ¶
func (_m *Converter) FromEntity(in *integrationsystem.Entity) *model.IntegrationSystem
FromEntity provides a mock function with given fields: in
func (*Converter) ToEntity ¶
func (_m *Converter) ToEntity(in *model.IntegrationSystem) *integrationsystem.Entity
ToEntity provides a mock function with given fields: in
type IntegrationSystemConverter ¶
IntegrationSystemConverter is an autogenerated mock type for the IntegrationSystemConverter type
func NewIntegrationSystemConverter ¶
func NewIntegrationSystemConverter(t interface { mock.TestingT Cleanup(func()) }) *IntegrationSystemConverter
NewIntegrationSystemConverter creates a new instance of IntegrationSystemConverter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IntegrationSystemConverter) InputFromGraphQL ¶
func (_m *IntegrationSystemConverter) InputFromGraphQL(in graphql.IntegrationSystemInput) model.IntegrationSystemInput
InputFromGraphQL provides a mock function with given fields: in
func (*IntegrationSystemConverter) MultipleToGraphQL ¶
func (_m *IntegrationSystemConverter) MultipleToGraphQL(in []*model.IntegrationSystem) []*graphql.IntegrationSystem
MultipleToGraphQL provides a mock function with given fields: in
func (*IntegrationSystemConverter) ToGraphQL ¶
func (_m *IntegrationSystemConverter) ToGraphQL(in *model.IntegrationSystem) *graphql.IntegrationSystem
ToGraphQL provides a mock function with given fields: in
type IntegrationSystemRepository ¶
IntegrationSystemRepository is an autogenerated mock type for the IntegrationSystemRepository type
func NewIntegrationSystemRepository ¶
func NewIntegrationSystemRepository(t interface { mock.TestingT Cleanup(func()) }) *IntegrationSystemRepository
NewIntegrationSystemRepository creates a new instance of IntegrationSystemRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IntegrationSystemRepository) Create ¶
func (_m *IntegrationSystemRepository) Create(ctx context.Context, item model.IntegrationSystem) error
Create provides a mock function with given fields: ctx, item
func (*IntegrationSystemRepository) Delete ¶
func (_m *IntegrationSystemRepository) Delete(ctx context.Context, id string) error
Delete provides a mock function with given fields: ctx, id
func (*IntegrationSystemRepository) Exists ¶
Exists provides a mock function with given fields: ctx, id
func (*IntegrationSystemRepository) Get ¶
func (_m *IntegrationSystemRepository) Get(ctx context.Context, id string) (*model.IntegrationSystem, error)
Get provides a mock function with given fields: ctx, id
func (*IntegrationSystemRepository) List ¶
func (_m *IntegrationSystemRepository) List(ctx context.Context, pageSize int, cursor string) (model.IntegrationSystemPage, error)
List provides a mock function with given fields: ctx, pageSize, cursor
func (*IntegrationSystemRepository) Update ¶
func (_m *IntegrationSystemRepository) Update(ctx context.Context, _a1 model.IntegrationSystem) error
Update provides a mock function with given fields: ctx, _a1
type IntegrationSystemService ¶
IntegrationSystemService is an autogenerated mock type for the IntegrationSystemService type
func NewIntegrationSystemService ¶
func NewIntegrationSystemService(t interface { mock.TestingT Cleanup(func()) }) *IntegrationSystemService
NewIntegrationSystemService creates a new instance of IntegrationSystemService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IntegrationSystemService) Create ¶
func (_m *IntegrationSystemService) Create(ctx context.Context, in model.IntegrationSystemInput) (string, error)
Create provides a mock function with given fields: ctx, in
func (*IntegrationSystemService) Delete ¶
func (_m *IntegrationSystemService) Delete(ctx context.Context, id string) error
Delete provides a mock function with given fields: ctx, id
func (*IntegrationSystemService) Get ¶
func (_m *IntegrationSystemService) Get(ctx context.Context, id string) (*model.IntegrationSystem, error)
Get provides a mock function with given fields: ctx, id
func (*IntegrationSystemService) List ¶
func (_m *IntegrationSystemService) List(ctx context.Context, pageSize int, cursor string) (model.IntegrationSystemPage, error)
List provides a mock function with given fields: ctx, pageSize, cursor
func (*IntegrationSystemService) Update ¶
func (_m *IntegrationSystemService) Update(ctx context.Context, id string, in model.IntegrationSystemInput) error
Update provides a mock function with given fields: ctx, id, in
type OAuth20Service ¶
OAuth20Service is an autogenerated mock type for the OAuth20Service type
func NewOAuth20Service ¶
func NewOAuth20Service(t interface { mock.TestingT Cleanup(func()) }) *OAuth20Service
NewOAuth20Service creates a new instance of OAuth20Service. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*OAuth20Service) DeleteMultipleClientCredentials ¶
func (_m *OAuth20Service) DeleteMultipleClientCredentials(ctx context.Context, auths []model.SystemAuth) error
DeleteMultipleClientCredentials provides a mock function with given fields: ctx, auths
type SystemAuthConverter ¶
SystemAuthConverter is an autogenerated mock type for the SystemAuthConverter type
func NewSystemAuthConverter ¶
func NewSystemAuthConverter(t interface { mock.TestingT Cleanup(func()) }) *SystemAuthConverter
NewSystemAuthConverter creates a new instance of SystemAuthConverter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SystemAuthConverter) ToGraphQL ¶
func (_m *SystemAuthConverter) ToGraphQL(in *model.SystemAuth) (graphql.SystemAuth, error)
ToGraphQL provides a mock function with given fields: in
type SystemAuthService ¶
SystemAuthService is an autogenerated mock type for the SystemAuthService type
func NewSystemAuthService ¶
func NewSystemAuthService(t interface { mock.TestingT Cleanup(func()) }) *SystemAuthService
NewSystemAuthService creates a new instance of SystemAuthService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SystemAuthService) ListForObject ¶
func (_m *SystemAuthService) ListForObject(ctx context.Context, objectType model.SystemAuthReferenceObjectType, objectID string) ([]model.SystemAuth, error)
ListForObject provides a mock function with given fields: ctx, objectType, objectID
type UIDService ¶
UIDService is an autogenerated mock type for the UIDService type
func NewUIDService ¶
func NewUIDService(t interface { mock.TestingT Cleanup(func()) }) *UIDService
NewUIDService creates a new instance of UIDService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*UIDService) Generate ¶
func (_m *UIDService) Generate() string
Generate provides a mock function with given fields: