Documentation ¶
Index ¶
- func Asset(string) ([]byte, error)
- func AssetNames() []string
- type BinLayoutsStore
- func (s *BinLayoutsStore) Add(ctx context.Context, layout chronograf.Layout) (chronograf.Layout, error)
- func (s *BinLayoutsStore) All(ctx context.Context) ([]chronograf.Layout, error)
- func (s *BinLayoutsStore) Delete(ctx context.Context, layout chronograf.Layout) error
- func (s *BinLayoutsStore) Get(ctx context.Context, ID string) (chronograf.Layout, error)
- func (s *BinLayoutsStore) Update(ctx context.Context, layout chronograf.Layout) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssetNames ¶
func AssetNames() []string
AssetNames returns nil because there are no assets included in the binary.
Types ¶
type BinLayoutsStore ¶
type BinLayoutsStore struct {
Logger chronograf.Logger
}
BinLayoutsStore represents a layout store using data generated by go-bindata
func (*BinLayoutsStore) Add ¶
func (s *BinLayoutsStore) Add(ctx context.Context, layout chronograf.Layout) (chronograf.Layout, error)
Add is not support by BinLayoutsStore
func (*BinLayoutsStore) All ¶
func (s *BinLayoutsStore) All(ctx context.Context) ([]chronograf.Layout, error)
All returns the set of all layouts
func (*BinLayoutsStore) Delete ¶
func (s *BinLayoutsStore) Delete(ctx context.Context, layout chronograf.Layout) error
Delete is not support by BinLayoutsStore
func (*BinLayoutsStore) Get ¶
func (s *BinLayoutsStore) Get(ctx context.Context, ID string) (chronograf.Layout, error)
Get retrieves Layout if `ID` exists.
func (*BinLayoutsStore) Update ¶
func (s *BinLayoutsStore) Update(ctx context.Context, layout chronograf.Layout) error
Update not supported
Click to show internal directories.
Click to hide internal directories.