claims

package
v0.31.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClaimStorage

type ClaimStorage struct {
	*config.Config
	claim.Store
}

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

type TestClaimProvider struct {
	claim.Store
	// contains filtered or unexported fields
}

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

func (p TestClaimProvider) CreateResult(c claim.Claim, status string) claim.Result

CreateResult creates a new result from the specified claim and saves it.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL