Documentation ¶
Index ¶
- type App
- func (_m *App) AcceptDeviceAuth(ctx context.Context, dev_id string, auth_id string) error
- func (_m *App) DecommissionDevice(ctx context.Context, dev_id string) error
- func (_m *App) DeleteAuthSet(ctx context.Context, dev_id string, auth_id string) error
- func (_m *App) DeleteDevice(ctx context.Context, dev_id string) error
- func (_m *App) DeleteTenantLimit(ctx context.Context, tenant_id string, limit string) error
- func (_m *App) DeleteTokens(ctx context.Context, tenantID string, deviceID string) error
- func (_m *App) GetDevCountByStatus(ctx context.Context, status string) (int, error)
- func (_m *App) GetDevice(ctx context.Context, dev_id string) (*model.Device, error)
- func (_m *App) GetDevices(ctx context.Context, skip uint, limit uint, filter model.DeviceFilter) ([]model.Device, error)
- func (_m *App) GetLimit(ctx context.Context, name string) (*model.Limit, error)
- func (_m *App) GetTenantDeviceStatus(ctx context.Context, tenantId string, deviceId string) (*model.Status, error)
- func (_m *App) GetTenantLimit(ctx context.Context, name string, tenant_id string) (*model.Limit, error)
- func (_m *App) HealthCheck(ctx context.Context) error
- func (_m *App) PreauthorizeDevice(ctx context.Context, req *model.PreAuthReq) (*model.Device, error)
- func (_m *App) ProvisionTenant(ctx context.Context, tenant_id string) error
- func (_m *App) RejectDeviceAuth(ctx context.Context, dev_id string, auth_id string) error
- func (_m *App) ResetDeviceAuth(ctx context.Context, dev_id string, auth_id string) error
- func (_m *App) RevokeToken(ctx context.Context, tokenID string) error
- func (_m *App) SetTenantLimit(ctx context.Context, tenant_id string, limit model.Limit) error
- func (_m *App) SubmitAuthRequest(ctx context.Context, r *model.AuthReq) (string, error)
- func (_m *App) VerifyToken(ctx context.Context, token string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
App is an autogenerated mock type for the App type
func (*App) AcceptDeviceAuth ¶
AcceptDeviceAuth provides a mock function with given fields: ctx, dev_id, auth_id
func (*App) DecommissionDevice ¶
DecommissionDevice provides a mock function with given fields: ctx, dev_id
func (*App) DeleteAuthSet ¶
DeleteAuthSet provides a mock function with given fields: ctx, dev_id, auth_id
func (*App) DeleteDevice ¶
DeleteDevice provides a mock function with given fields: ctx, dev_id
func (*App) DeleteTenantLimit ¶
DeleteTenantLimit provides a mock function with given fields: ctx, tenant_id, limit
func (*App) DeleteTokens ¶
DeleteTokens provides a mock function with given fields: ctx, tenantID, deviceID
func (*App) GetDevCountByStatus ¶
GetDevCountByStatus provides a mock function with given fields: ctx, status
func (*App) GetDevices ¶
func (_m *App) GetDevices(ctx context.Context, skip uint, limit uint, filter model.DeviceFilter) ([]model.Device, error)
GetDevices provides a mock function with given fields: ctx, skip, limit, filter
func (*App) GetTenantDeviceStatus ¶
func (_m *App) GetTenantDeviceStatus(ctx context.Context, tenantId string, deviceId string) (*model.Status, error)
GetTenantDeviceStatus provides a mock function with given fields: ctx, tenantId, deviceId
func (*App) GetTenantLimit ¶
func (_m *App) GetTenantLimit(ctx context.Context, name string, tenant_id string) (*model.Limit, error)
GetTenantLimit provides a mock function with given fields: ctx, name, tenant_id
func (*App) HealthCheck ¶
HealthCheck provides a mock function with given fields: ctx
func (*App) PreauthorizeDevice ¶
func (_m *App) PreauthorizeDevice(ctx context.Context, req *model.PreAuthReq) (*model.Device, error)
PreauthorizeDevice provides a mock function with given fields: ctx, req
func (*App) ProvisionTenant ¶
ProvisionTenant provides a mock function with given fields: ctx, tenant_id
func (*App) RejectDeviceAuth ¶
RejectDeviceAuth provides a mock function with given fields: ctx, dev_id, auth_id
func (*App) ResetDeviceAuth ¶
ResetDeviceAuth provides a mock function with given fields: ctx, dev_id, auth_id
func (*App) RevokeToken ¶
RevokeToken provides a mock function with given fields: ctx, tokenID
func (*App) SetTenantLimit ¶
SetTenantLimit provides a mock function with given fields: ctx, tenant_id, limit
func (*App) SubmitAuthRequest ¶
SubmitAuthRequest provides a mock function with given fields: ctx, r