Documentation ¶
Index ¶
- type Client
- func (_m *Client) BillingEvaluate(tenantID string) (*models.Namespace, int, error)
- func (_m *Client) CreatePrivateKey() (*models.PrivateKey, error)
- func (_m *Client) DeviceLookup(lookup map[string]string) (*models.Device, []error)
- func (_m *Client) DevicesOffline(id string) error
- func (_m *Client) EvaluateKey(fingerprint string, dev *models.Device, username string) (bool, error)
- func (_m *Client) FinishSession(uid string) []error
- func (_m *Client) FirewallEvaluate(lookup map[string]string) error
- func (_m *Client) GetDevice(uid string) (*models.Device, error)
- func (_m *Client) GetPublicKey(fingerprint string, tenant string) (*models.PublicKey, error)
- func (_m *Client) ListDevices() ([]models.Device, error)
- func (_m *Client) Lookup(lookup map[string]string) (string, []error)
- func (_m *Client) LookupDevice()
- func (_m *Client) PatchSessions(uid string) []error
- func (_m *Client) RecordSession(session *models.SessionRecorded, recordURL string)
- func (_m *Client) ReportDelete(ns *models.Namespace) (int, error)
- func (_m *Client) ReportUsage(ur *models.UsageRecord) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) BillingEvaluate ¶
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 ¶
DeviceLookup provides a mock function with given fields: lookup
func (*Client) DevicesOffline ¶
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 ¶
FinishSession provides a mock function with given fields: uid
func (*Client) FirewallEvaluate ¶
FirewallEvaluate provides a mock function with given fields: lookup
func (*Client) GetPublicKey ¶
GetPublicKey provides a mock function with given fields: fingerprint, tenant
func (*Client) ListDevices ¶
ListDevices provides a mock function with given fields:
func (*Client) LookupDevice ¶
func (_m *Client) LookupDevice()
LookupDevice provides a mock function with given fields:
func (*Client) PatchSessions ¶
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 ¶
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