keyset

package
v2.18.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeySet

type KeySet struct {
	// contains filtered or unexported fields
}

KeySet - the keyset

func NewKeySet

func NewKeySet(storage *metadata.Storage, s *tsstats.StatsTS) *KeySet

NewKeySet - initializes

func (*KeySet) Check

func (ks *KeySet) Check(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

Check if a keyspace exists

func (*KeySet) CreateIndex

func (ks *KeySet) CreateIndex(esIndex string) gobol.Error

CreateIndex - creates a new index

func (*KeySet) CreateKeySet

func (ks *KeySet) CreateKeySet(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

CreateKeySet - creates a new keyset

func (*KeySet) GetKeySets

func (ks *KeySet) GetKeySets(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

GetKeySets - returns all stored keysets

func (*KeySet) IsKeySetNameValid

func (ks *KeySet) IsKeySetNameValid(keySet string) bool

IsKeySetNameValid - checks if the keyset name is valid

Jump to

Keyboard shortcuts

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