htstoragemock

package
v0.0.0-...-7251252 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Getter

type Getter struct {
	mock.Mock
}

Getter is an autogenerated mock type for the Getter type

func (*Getter) Get

func (_m *Getter) Get(ctx context.Context, hostName string) ([]prompb.Label, error)

Get provides a mock function with given fields: ctx, hostName

func (*Getter) GetAll

func (_m *Getter) GetAll(ctx context.Context, from time.Time) (map[string]htstorage.Host, error)

GetAll provides a mock function with given fields: ctx, from

type Storage

type Storage struct {
	mock.Mock
}

Storage is an autogenerated mock type for the Storage type

func (*Storage) Get

func (_m *Storage) Get(ctx context.Context, hostName string) ([]prompb.Label, error)

Get provides a mock function with given fields: ctx, hostName

func (*Storage) GetAll

func (_m *Storage) GetAll(ctx context.Context, from time.Time) (map[string]htstorage.Host, error)

GetAll provides a mock function with given fields: ctx, from

func (*Storage) Set

func (_m *Storage) Set(ctx context.Context, hostName string, labels []prompb.Label) error

Set provides a mock function with given fields: ctx, hostName, labels

Jump to

Keyboard shortcuts

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