get.porter.sh/porter@v1.3.0/pkg/storage/migrations/crudstore/store.go (about)

     1  package crudstore
     2  
     3  // Store is an interface for interacting with legacy crudstore plugins to migrate porter's data
     4  type Store interface {
     5  	// List the names of the items of the optional type and group.
     6  	List(itemType string, group string) ([]string, error)
     7  
     8  	// Read the data for a named item of the optional type.
     9  	Read(itemType string, name string) ([]byte, error)
    10  }