Documentation ¶
Overview ¶
Copyright 2018 Northern.tech AS
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- type App
- func (_m *App) AcceptDeviceAuth(ctx context.Context, id model.AuthID) error
- func (_m *App) AcceptDevicePreAuth(ctx context.Context, id model.AuthID) error
- func (_m *App) DeleteDeviceAuth(ctx context.Context, id model.AuthID) error
- func (_m *App) DeleteDeviceAuthPropagate(ctx context.Context, id model.AuthID, authorizationHeader string) error
- func (_m *App) DeleteDeviceData(ctx context.Context, id model.DeviceID) error
- func (_m *App) GetDeviceAuth(ctx context.Context, id model.AuthID) (*model.DeviceAuth, error)
- func (_m *App) ListDeviceAuths(ctx context.Context, skip int, limit int, filter store.Filter) ([]model.DeviceAuth, error)
- func (_m *App) PreauthorizeDevice(ctx context.Context, authSet model.AuthSet, authorizationHeader string) error
- func (_m *App) ProvisionTenant(ctx context.Context, tenant_id string) error
- func (_m *App) RejectDeviceAuth(ctx context.Context, id model.AuthID) error
- func (_m *App) SubmitDeviceAuth(ctx context.Context, d model.DeviceAuth) 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, id
func (*App) AcceptDevicePreAuth ¶
AcceptDevicePreAuth provides a mock function with given fields: ctx, id
func (*App) DeleteDeviceAuth ¶
DeleteDeviceAuth provides a mock function with given fields: ctx, id
func (*App) DeleteDeviceAuthPropagate ¶
func (_m *App) DeleteDeviceAuthPropagate(ctx context.Context, id model.AuthID, authorizationHeader string) error
DeleteDeviceAuthPropagate provides a mock function with given fields: ctx, id, authorizationHeader
func (*App) DeleteDeviceData ¶
DeleteDeviceData provides a mock function with given fields: ctx, id
func (*App) GetDeviceAuth ¶
GetDeviceAuth provides a mock function with given fields: ctx, id
func (*App) ListDeviceAuths ¶
func (_m *App) ListDeviceAuths(ctx context.Context, skip int, limit int, filter store.Filter) ([]model.DeviceAuth, error)
ListDeviceAuths provides a mock function with given fields: ctx, skip, limit, filter
func (*App) PreauthorizeDevice ¶
func (_m *App) PreauthorizeDevice(ctx context.Context, authSet model.AuthSet, authorizationHeader string) error
PreauthorizeDevice provides a mock function with given fields: ctx, authSet, authorizationHeader
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, id
func (*App) SubmitDeviceAuth ¶
SubmitDeviceAuth provides a mock function with given fields: ctx, d