canned

package
v0.0.0-...-0184392 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: AGPL-3.0, AGPL-3.0-or-later Imports: 4 Imported by: 0

README

Canned Applications

The JSON application layouts in this directory ship with the application as nice, default layouts and queries for telegraf data.

Create new Application

To create a new application in this directory run ./new_apps.sh. This shell script will create a new application template with a generated UUID. Update this layout application file's queries, measurements, and application name.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinLayoutsStore

type BinLayoutsStore struct {
	Logger cmp.Logger
}

BinLayoutsStore represents a layout store using data generated by go-bindata

func (*BinLayoutsStore) Add

func (s *BinLayoutsStore) Add(ctx context.Context, layout cmp.Layout) (cmp.Layout, error)

Add is not support by BinLayoutsStore

func (*BinLayoutsStore) All

func (s *BinLayoutsStore) All(ctx context.Context) ([]cmp.Layout, error)

All returns the set of all layouts

func (*BinLayoutsStore) Delete

func (s *BinLayoutsStore) Delete(ctx context.Context, layout cmp.Layout) error

Delete is not support by BinLayoutsStore

func (*BinLayoutsStore) Get

func (s *BinLayoutsStore) Get(ctx context.Context, ID string) (cmp.Layout, error)

Get retrieves Layout if `ID` exists.

func (*BinLayoutsStore) Update

func (s *BinLayoutsStore) Update(ctx context.Context, layout cmp.Layout) error

Update not supported

Jump to

Keyboard shortcuts

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