mocks

package
v0.0.0-...-04a9cd4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Copyright 2017 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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	mock.Mock
}

App is an autogenerated mock type for the App type

func (*App) AcceptDeviceAuth

func (_m *App) AcceptDeviceAuth(ctx context.Context, id model.AuthID) error

AcceptDeviceAuth provides a mock function with given fields: ctx, id

func (*App) AcceptDevicePreAuth

func (_m *App) AcceptDevicePreAuth(ctx context.Context, id model.AuthID) error

AcceptDevicePreAuth provides a mock function with given fields: ctx, id

func (*App) DeleteDeviceAuth

func (_m *App) DeleteDeviceAuth(ctx context.Context, id model.AuthID) error

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

func (_m *App) DeleteDeviceData(ctx context.Context, id model.DeviceID) error

DeleteDeviceData provides a mock function with given fields: ctx, id

func (*App) GetDeviceAuth

func (_m *App) GetDeviceAuth(ctx context.Context, id model.AuthID) (*model.DeviceAuth, error)

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

func (_m *App) ProvisionTenant(ctx context.Context, tenant_id string) error

ProvisionTenant provides a mock function with given fields: ctx, tenant_id

func (*App) RejectDeviceAuth

func (_m *App) RejectDeviceAuth(ctx context.Context, id model.AuthID) error

RejectDeviceAuth provides a mock function with given fields: ctx, id

func (*App) SubmitDeviceAuth

func (_m *App) SubmitDeviceAuth(ctx context.Context, d model.DeviceAuth) error

SubmitDeviceAuth provides a mock function with given fields: ctx, d

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL