Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClaimProvider ¶
type ClaimProvider interface { List() ([]string, error) Save(claim.Claim) error Read(name string) (claim.Claim, error) ReadAll() ([]claim.Claim, error) Delete(name string) error }
ClaimProvider interface for claim storage.
type ClaimStorage ¶
ClaimStorage provides access to backing claim storage by instantiating plugins that implement claim (CRUD) storage.
func NewClaimStorage ¶
func NewClaimStorage(c *config.Config, storagePlugin *pluginstore.Store) *ClaimStorage
type TestClaimProvider ¶
func NewTestClaimProvider ¶
func NewTestClaimProvider() TestClaimProvider
Click to show internal directories.
Click to hide internal directories.