Documentation ¶
Index ¶
- type ApplicationConverter
- type ApplicationService
- func (_m *ApplicationService) CreateFromTemplate(ctx context.Context, in model.ApplicationRegisterInput, appTemplateID *string, ...) (string, error)
- func (_m *ApplicationService) GetLabel(ctx context.Context, applicationID string, key string) (*model.Label, error)
- func (_m *ApplicationService) GetSccSystem(ctx context.Context, sccSubaccount string, locationID string, ...) (*model.Application, error)
- func (_m *ApplicationService) ListBySCC(ctx context.Context, filter *labelfilter.LabelFilter) ([]*model.ApplicationWithLabel, error)
- func (_m *ApplicationService) ListSCCs(ctx context.Context) ([]*model.SccMetadata, error)
- func (_m *ApplicationService) SetLabel(ctx context.Context, label *model.LabelInput) error
- func (_m *ApplicationService) Update(ctx context.Context, id string, in model.ApplicationUpdateInput) error
- func (_m *ApplicationService) Upsert(ctx context.Context, in model.ApplicationRegisterInput) error
- type ApplicationTemplateService
- type TenantService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationConverter ¶
ApplicationConverter is an autogenerated mock type for the applicationConverter type
func NewApplicationConverter ¶
func NewApplicationConverter(t interface { mock.TestingT Cleanup(func()) }) *ApplicationConverter
NewApplicationConverter creates a new instance of ApplicationConverter. 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 (*ApplicationConverter) CreateInputJSONToModel ¶
func (_m *ApplicationConverter) CreateInputJSONToModel(ctx context.Context, in string) (model.ApplicationRegisterInput, error)
CreateInputJSONToModel provides a mock function with given fields: ctx, in
type ApplicationService ¶
ApplicationService is an autogenerated mock type for the applicationService type
func NewApplicationService ¶
func NewApplicationService(t interface { mock.TestingT Cleanup(func()) }) *ApplicationService
NewApplicationService creates a new instance of ApplicationService. 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 (*ApplicationService) CreateFromTemplate ¶
func (_m *ApplicationService) CreateFromTemplate(ctx context.Context, in model.ApplicationRegisterInput, appTemplateID *string, systemFieldDiscoveryLabelIsTrue bool) (string, error)
CreateFromTemplate provides a mock function with given fields: ctx, in, appTemplateID, systemFieldDiscoveryLabelIsTrue
func (*ApplicationService) GetLabel ¶
func (_m *ApplicationService) GetLabel(ctx context.Context, applicationID string, key string) (*model.Label, error)
GetLabel provides a mock function with given fields: ctx, applicationID, key
func (*ApplicationService) GetSccSystem ¶
func (_m *ApplicationService) GetSccSystem(ctx context.Context, sccSubaccount string, locationID string, virtualHost string) (*model.Application, error)
GetSccSystem provides a mock function with given fields: ctx, sccSubaccount, locationID, virtualHost
func (*ApplicationService) ListBySCC ¶
func (_m *ApplicationService) ListBySCC(ctx context.Context, filter *labelfilter.LabelFilter) ([]*model.ApplicationWithLabel, error)
ListBySCC provides a mock function with given fields: ctx, filter
func (*ApplicationService) ListSCCs ¶
func (_m *ApplicationService) ListSCCs(ctx context.Context) ([]*model.SccMetadata, error)
ListSCCs provides a mock function with given fields: ctx
func (*ApplicationService) SetLabel ¶
func (_m *ApplicationService) SetLabel(ctx context.Context, label *model.LabelInput) error
SetLabel provides a mock function with given fields: ctx, label
func (*ApplicationService) Update ¶
func (_m *ApplicationService) Update(ctx context.Context, id string, in model.ApplicationUpdateInput) error
Update provides a mock function with given fields: ctx, id, in
func (*ApplicationService) Upsert ¶
func (_m *ApplicationService) Upsert(ctx context.Context, in model.ApplicationRegisterInput) error
Upsert provides a mock function with given fields: ctx, in
type ApplicationTemplateService ¶
ApplicationTemplateService is an autogenerated mock type for the applicationTemplateService type
func NewApplicationTemplateService ¶
func NewApplicationTemplateService(t interface { mock.TestingT Cleanup(func()) }) *ApplicationTemplateService
NewApplicationTemplateService creates a new instance of ApplicationTemplateService. 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 (*ApplicationTemplateService) Get ¶
func (_m *ApplicationTemplateService) Get(ctx context.Context, id string) (*model.ApplicationTemplate, error)
Get provides a mock function with given fields: ctx, id
func (*ApplicationTemplateService) PrepareApplicationCreateInputJSON ¶
func (_m *ApplicationTemplateService) PrepareApplicationCreateInputJSON(appTemplate *model.ApplicationTemplate, values model.ApplicationFromTemplateInputValues) (string, error)
PrepareApplicationCreateInputJSON provides a mock function with given fields: appTemplate, values
type TenantService ¶
TenantService is an autogenerated mock type for the tenantService type
func NewTenantService ¶
func NewTenantService(t interface { mock.TestingT Cleanup(func()) }) *TenantService
NewTenantService creates a new instance of TenantService. 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 (*TenantService) ListsByExternalIDs ¶
func (_m *TenantService) ListsByExternalIDs(ctx context.Context, ids []string) ([]*model.BusinessTenantMapping, error)
ListsByExternalIDs provides a mock function with given fields: ctx, ids