filter

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowAll

func AllowAll(_ storage.Query, _ storage.Storage) bool

AllowAll does not filter any storages

func AllowNone

func AllowNone(_ storage.Query, _ storage.Storage) bool

AllowNone filters all storages

func CompleteTagsAllowAll added in v0.5.0

func CompleteTagsAllowAll(_ storage.CompleteTagsQuery, _ storage.Storage) bool

CompleteTagsAllowAll does not filter any storages

func CompleteTagsAllowNone added in v0.5.0

func CompleteTagsAllowNone(_ storage.CompleteTagsQuery, _ storage.Storage) bool

CompleteTagsAllowNone filters all storages

func CompleteTagsLocalOnly added in v0.5.0

func CompleteTagsLocalOnly(_ storage.CompleteTagsQuery, store storage.Storage) bool

CompleteTagsLocalOnly filters out all remote storages

func CompleteTagsRemoteOnly added in v0.5.0

func CompleteTagsRemoteOnly(_ storage.CompleteTagsQuery, store storage.Storage) bool

CompleteTagsRemoteOnly filters out any non-remote storages

func LocalOnly

func LocalOnly(_ storage.Query, store storage.Storage) bool

LocalOnly filters out all remote storages

func RemoteOnly added in v0.5.0

func RemoteOnly(_ storage.Query, store storage.Storage) bool

RemoteOnly filters out any non-remote storages

Types

type Storage

type Storage func(query storage.Query, store storage.Storage) bool

Storage determines whether storage can fulfil the query

type StorageCompleteTags added in v0.5.0

type StorageCompleteTags func(query storage.CompleteTagsQuery, store storage.Storage) bool

StorageCompleteTags determines whether storage can fulfil the complete tag query

Jump to

Keyboard shortcuts

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