Documentation ¶
Index ¶
- func Build() (string, string, error)
- func BuildPreprocessor() (string, error)
- func PrependGoPath(path string) string
- func StartInsgorund(cmdPath, lProto, listen, upstreamProto, upstreamAddr string, ...) (func(), error)
- func WriteFile(dir string, name string, text string) error
- type BuildOptions
- type ContractsBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPreprocessor ¶ added in v0.9.0
func PrependGoPath ¶
PrependGoPath prepends `path` to GOPATH environment variable accounting for possibly for default value. Returns new value. NOTE: that environment is not changed
Types ¶
type BuildOptions ¶ added in v1.1.0
type BuildOptions struct {
PanicIsLogicalError bool
}
type ContractsBuilder ¶
type ContractsBuilder struct { IccPath string Prototypes map[string]*insolar.Reference Codes map[string]*insolar.Reference // contains filtered or unexported fields }
ContractsBuilder for tests
func NewContractBuilder ¶
func NewContractBuilder(icc string, am artifacts.Client, pa pulse.Accessor, jc jet.Coordinator) *ContractsBuilder
NewContractBuilder returns a new `ContractsBuilder`, takes in: path to tmp directory, artifact manager, ...
func (*ContractsBuilder) Build ¶
func (cb *ContractsBuilder) Build(ctx context.Context, contracts map[string]string, options BuildOptions) error
Build ...
func (*ContractsBuilder) Clean ¶
func (cb *ContractsBuilder) Clean()
Click to show internal directories.
Click to hide internal directories.