Documentation ¶
Index ¶
- type ClaimStorage
- type TestClaimProvider
- func (p TestClaimProvider) CreateClaim(installation string, action string, bun bundle.Bundle, ...) claim.Claim
- func (p TestClaimProvider) CreateOutput(c claim.Claim, r claim.Result, name string, value []byte) claim.Output
- func (p TestClaimProvider) CreateResult(c claim.Claim, status string) claim.Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClaimStorage ¶
ClaimStorage provides access to backing claim storage by instantiating plugins that implement claim (CRUD) storage.
func NewClaimStorage ¶
func NewClaimStorage(storage *storage.Manager) *ClaimStorage
type TestClaimProvider ¶
func NewTestClaimProvider ¶
func NewTestClaimProvider(t *testing.T) TestClaimProvider
func (TestClaimProvider) CreateClaim ¶ added in v0.28.0
func (p TestClaimProvider) CreateClaim(installation string, action string, bun bundle.Bundle, parameters map[string]interface{}) claim.Claim
CreateClaim creates a new claim and saves it.
func (TestClaimProvider) CreateOutput ¶ added in v0.28.0
func (p TestClaimProvider) CreateOutput(c claim.Claim, r claim.Result, name string, value []byte) claim.Output
CreateOutput creates a new output from the specified claim and result and saves it.
func (TestClaimProvider) CreateResult ¶ added in v0.28.0
CreateResult creates a new result from the specified claim and saves it.
Click to show internal directories.
Click to hide internal directories.