mocks

package
v0.8.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) BillingEvaluate

func (_m *Client) BillingEvaluate(tenantID string) (*models.Namespace, int, error)

BillingEvaluate provides a mock function with given fields: tenantID

func (*Client) CreatePrivateKey

func (_m *Client) CreatePrivateKey() (*models.PrivateKey, error)

CreatePrivateKey provides a mock function with given fields:

func (*Client) DeviceLookup

func (_m *Client) DeviceLookup(lookup map[string]string) (*models.Device, []error)

DeviceLookup provides a mock function with given fields: lookup

func (*Client) DevicesOffline

func (_m *Client) DevicesOffline(id string) error

DevicesOffline provides a mock function with given fields: id

func (*Client) EvaluateKey

func (_m *Client) EvaluateKey(fingerprint string, dev *models.Device, username string) (bool, error)

EvaluateKey provides a mock function with given fields: fingerprint, dev, username

func (*Client) FinishSession

func (_m *Client) FinishSession(uid string) []error

FinishSession provides a mock function with given fields: uid

func (*Client) FirewallEvaluate

func (_m *Client) FirewallEvaluate(lookup map[string]string) error

FirewallEvaluate provides a mock function with given fields: lookup

func (*Client) GetDevice

func (_m *Client) GetDevice(uid string) (*models.Device, error)

GetDevice provides a mock function with given fields: uid

func (*Client) GetPublicKey

func (_m *Client) GetPublicKey(fingerprint string, tenant string) (*models.PublicKey, error)

GetPublicKey provides a mock function with given fields: fingerprint, tenant

func (*Client) ListDevices

func (_m *Client) ListDevices() ([]models.Device, error)

ListDevices provides a mock function with given fields:

func (*Client) Lookup

func (_m *Client) Lookup(lookup map[string]string) (string, []error)

Lookup provides a mock function with given fields: lookup

func (*Client) LookupDevice

func (_m *Client) LookupDevice()

LookupDevice provides a mock function with given fields:

func (*Client) PatchSessions

func (_m *Client) PatchSessions(uid string) []error

PatchSessions provides a mock function with given fields: uid

func (*Client) RecordSession

func (_m *Client) RecordSession(session *models.SessionRecorded, recordURL string)

RecordSession provides a mock function with given fields: session, recordURL

func (*Client) ReportDelete

func (_m *Client) ReportDelete(ns *models.Namespace) (int, error)

ReportDelete provides a mock function with given fields: ns

func (*Client) ReportUsage

func (_m *Client) ReportUsage(ur *models.UsageRecord) (int, error)

ReportUsage provides a mock function with given fields: ur

Jump to

Keyboard shortcuts

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