Documentation ¶
Index ¶
- type AuthConverter
- type BundleConverter
- type BundleService
- type Converter
- func (_m *Converter) CreateInputFromGraphQL(in graphql.BundleInstanceAuthCreateInput) (model.BundleInstanceAuthCreateInput, error)
- func (_m *Converter) RequestInputFromGraphQL(in graphql.BundleInstanceAuthRequestInput) model.BundleInstanceAuthRequestInput
- func (_m *Converter) SetInputFromGraphQL(in graphql.BundleInstanceAuthSetInput) (model.BundleInstanceAuthSetInput, error)
- func (_m *Converter) ToGraphQL(in *model.BundleInstanceAuth) (*graphql.BundleInstanceAuth, error)
- func (_m *Converter) UpdateInputFromGraphQL(in graphql.BundleInstanceAuthUpdateInput) (model.BundleInstanceAuthUpdateInput, error)
- type EntityConverter
- type Repository
- func (_m *Repository) Create(ctx context.Context, item *model.BundleInstanceAuth) error
- func (_m *Repository) Delete(ctx context.Context, tenantID string, id string) error
- func (_m *Repository) GetByID(ctx context.Context, tenantID string, id string) (*model.BundleInstanceAuth, error)
- func (_m *Repository) GetForBundle(ctx context.Context, tenant string, id string, bundleID string) (*model.BundleInstanceAuth, error)
- func (_m *Repository) ListByBundleID(ctx context.Context, tenantID string, bundleID string) ([]*model.BundleInstanceAuth, error)
- func (_m *Repository) ListByRuntimeID(ctx context.Context, tenantID string, runtimeID string) ([]*model.BundleInstanceAuth, error)
- func (_m *Repository) Update(ctx context.Context, tenant string, item *model.BundleInstanceAuth) error
- type Service
- func (_m *Service) Create(ctx context.Context, bundleID string, in model.BundleInstanceAuthRequestInput, ...) (string, error)
- func (_m *Service) CreateBundleInstanceAuth(ctx context.Context, bundleID string, in model.BundleInstanceAuthCreateInput, ...) (string, error)
- func (_m *Service) Delete(ctx context.Context, id string) error
- func (_m *Service) Get(ctx context.Context, id string) (*model.BundleInstanceAuth, error)
- func (_m *Service) RequestDeletion(ctx context.Context, instanceAuth *model.BundleInstanceAuth, ...) (bool, error)
- func (_m *Service) SetAuth(ctx context.Context, id string, in model.BundleInstanceAuthSetInput) error
- func (_m *Service) Update(ctx context.Context, instanceAuth *model.BundleInstanceAuth) error
- type UIDService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConverter ¶
AuthConverter is an autogenerated mock type for the AuthConverter type
func NewAuthConverter ¶
func NewAuthConverter(t interface { mock.TestingT Cleanup(func()) }) *AuthConverter
NewAuthConverter creates a new instance of AuthConverter. 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 (*AuthConverter) InputFromGraphQL ¶
InputFromGraphQL provides a mock function with given fields: in
type BundleConverter ¶
BundleConverter is an autogenerated mock type for the BundleConverter type
func NewBundleConverter ¶
func NewBundleConverter(t interface { mock.TestingT Cleanup(func()) }) *BundleConverter
NewBundleConverter creates a new instance of BundleConverter. 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.
type BundleService ¶
BundleService is an autogenerated mock type for the BundleService type
func NewBundleService ¶
func NewBundleService(t interface { mock.TestingT Cleanup(func()) }) *BundleService
NewBundleService creates a new instance of BundleService. 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.
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) CreateInputFromGraphQL ¶
func (_m *Converter) CreateInputFromGraphQL(in graphql.BundleInstanceAuthCreateInput) (model.BundleInstanceAuthCreateInput, error)
CreateInputFromGraphQL provides a mock function with given fields: in
func (*Converter) RequestInputFromGraphQL ¶
func (_m *Converter) RequestInputFromGraphQL(in graphql.BundleInstanceAuthRequestInput) model.BundleInstanceAuthRequestInput
RequestInputFromGraphQL provides a mock function with given fields: in
func (*Converter) SetInputFromGraphQL ¶
func (_m *Converter) SetInputFromGraphQL(in graphql.BundleInstanceAuthSetInput) (model.BundleInstanceAuthSetInput, error)
SetInputFromGraphQL provides a mock function with given fields: in
func (*Converter) ToGraphQL ¶
func (_m *Converter) ToGraphQL(in *model.BundleInstanceAuth) (*graphql.BundleInstanceAuth, error)
ToGraphQL provides a mock function with given fields: in
func (*Converter) UpdateInputFromGraphQL ¶
func (_m *Converter) UpdateInputFromGraphQL(in graphql.BundleInstanceAuthUpdateInput) (model.BundleInstanceAuthUpdateInput, error)
UpdateInputFromGraphQL provides a mock function with given fields: in
type EntityConverter ¶
EntityConverter is an autogenerated mock type for the EntityConverter type
func NewEntityConverter ¶
func NewEntityConverter(t interface { mock.TestingT Cleanup(func()) }) *EntityConverter
NewEntityConverter creates a new instance of EntityConverter. 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 (*EntityConverter) FromEntity ¶
func (_m *EntityConverter) FromEntity(entity *bundleinstanceauth.Entity) (*model.BundleInstanceAuth, error)
FromEntity provides a mock function with given fields: entity
func (*EntityConverter) ToEntity ¶
func (_m *EntityConverter) ToEntity(in *model.BundleInstanceAuth) (*bundleinstanceauth.Entity, error)
ToEntity provides a mock function with given fields: in
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func NewRepository ¶
func NewRepository(t interface { mock.TestingT Cleanup(func()) }) *Repository
NewRepository creates a new instance of Repository. 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 (*Repository) Create ¶
func (_m *Repository) Create(ctx context.Context, item *model.BundleInstanceAuth) error
Create provides a mock function with given fields: ctx, item
func (*Repository) GetByID ¶
func (_m *Repository) GetByID(ctx context.Context, tenantID string, id string) (*model.BundleInstanceAuth, error)
GetByID provides a mock function with given fields: ctx, tenantID, id
func (*Repository) GetForBundle ¶
func (_m *Repository) GetForBundle(ctx context.Context, tenant string, id string, bundleID string) (*model.BundleInstanceAuth, error)
GetForBundle provides a mock function with given fields: ctx, tenant, id, bundleID
func (*Repository) ListByBundleID ¶
func (_m *Repository) ListByBundleID(ctx context.Context, tenantID string, bundleID string) ([]*model.BundleInstanceAuth, error)
ListByBundleID provides a mock function with given fields: ctx, tenantID, bundleID
func (*Repository) ListByRuntimeID ¶
func (_m *Repository) ListByRuntimeID(ctx context.Context, tenantID string, runtimeID string) ([]*model.BundleInstanceAuth, error)
ListByRuntimeID provides a mock function with given fields: ctx, tenantID, runtimeID
func (*Repository) Update ¶
func (_m *Repository) Update(ctx context.Context, tenant string, item *model.BundleInstanceAuth) error
Update provides a mock function with given fields: ctx, tenant, item
type Service ¶
Service is an autogenerated mock type for the Service type
func NewService ¶
NewService creates a new instance of Service. 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 (*Service) Create ¶
func (_m *Service) Create(ctx context.Context, bundleID string, in model.BundleInstanceAuthRequestInput, defaultAuth *model.Auth, requestInputSchema *string) (string, error)
Create provides a mock function with given fields: ctx, bundleID, in, defaultAuth, requestInputSchema
func (*Service) CreateBundleInstanceAuth ¶
func (_m *Service) CreateBundleInstanceAuth(ctx context.Context, bundleID string, in model.BundleInstanceAuthCreateInput, requestInputSchema *string) (string, error)
CreateBundleInstanceAuth provides a mock function with given fields: ctx, bundleID, in, requestInputSchema
func (*Service) RequestDeletion ¶
func (_m *Service) RequestDeletion(ctx context.Context, instanceAuth *model.BundleInstanceAuth, defaultBundleInstanceAuth *model.Auth) (bool, error)
RequestDeletion provides a mock function with given fields: ctx, instanceAuth, defaultBundleInstanceAuth
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: