contracts

package
v0.0.0-...-8220f0d Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2019 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	// contains filtered or unexported fields
}

func NewCheckers

func NewCheckers(cfg *config.Contract) []Checker

func NewDockerCheckers

func NewDockerCheckers(cfg *config.DockerContract) []Checker

func (Checker) Check

func (c Checker) Check(
	inputs, refInputs, parameters [][]byte, outputs []*sbac.OutputObject,
	returns [][]byte, dependencies []*sbac.Trace) bool

func (Checker) ContractID

func (c Checker) ContractID() string

func (Checker) Name

func (c Checker) Name() string

type Contracts

type Contracts struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Contracts) (*Contracts, error)

func (*Contracts) EnsureUp

func (c *Contracts) EnsureUp() error

func (*Contracts) GetCheckers

func (c *Contracts) GetCheckers() []Checker

func (*Contracts) Start

func (c *Contracts) Start() error

func (*Contracts) Stop

func (c *Contracts) Stop() error

Jump to

Keyboard shortcuts

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