Documentation ¶
Overview ¶
Package crudstore supports reading data out of a legacy porter storage plugin
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
Impl Store
}
Plugin is a generic type of plugin for working with any implementation of a crud store.
type Store ¶
type Store interface { // List the names of the items of the optional type and group. List(itemType string, group string) ([]string, error) // Read the data for a named item of the optional type. Read(itemType string, name string) ([]byte, error) }
Store is an interface for interacting with legacy crudstore plugins to migrate porter's data
Click to show internal directories.
Click to hide internal directories.