mocks

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 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 Driver

type Driver struct{}

func (Driver) CreateInstance

func (this Driver) CreateInstance(instance *lib.Instance, dataFields string, tagFields string) (serviceId string, err error)

func (Driver) DeleteInstance

func (this Driver) DeleteInstance(instance *lib.Instance) (err error)

type Imports

type Imports struct{}

func (Imports) UserHasImportAccess

func (i Imports) UserHasImportAccess(id string, authorization string) (bool, error)

type Influx

type Influx struct{}

func (Influx) ForceDeleteMeasurement

func (i Influx) ForceDeleteMeasurement(id string, userId string, instance lib.Instance) (errs []error)

type PermissionSearch

type PermissionSearch struct{}

func (PermissionSearch) UserHasDevicesReadAccess

func (p PermissionSearch) UserHasDevicesReadAccess(ids []string, authorization string) (bool, error)

type Pipeline

type Pipeline struct{}

func (Pipeline) UserHasPipelineAccess

func (this Pipeline) UserHasPipelineAccess(id string, authorization string) (bool, error)

Jump to

Keyboard shortcuts

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