graph

package
v0.0.0-...-7baeb4b Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2018 License: Apache-2.0 Imports: 9 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNestedConcurrentCommand = errors.New(
	"concurrent commands may not be nested")

ErrNestedConcurrentCommand is returned when a ConcurrentCommand contains a ConcurrentCommand.

Functions

This section is empty.

Types

type ErrRequestToUndefinedService

type ErrRequestToUndefinedService struct {
	ServiceName string
}

ErrRequestToUndefinedService is returned when a RequestCommand has a ServiceName that is not the name of a defined service.

func (ErrRequestToUndefinedService) Error

type ServiceGraph

type ServiceGraph struct {
	Services []svc.Service `json:"services"`
}

ServiceGraph describes a set of services which mock a service-oriented architecture.

func (*ServiceGraph) UnmarshalJSON

func (g *ServiceGraph) UnmarshalJSON(b []byte) (err error)

UnmarshalJSON converts b into a valid ServiceGraph. See validate() for the details on what it means to be "valid".

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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