api

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoOutput = errors.New("output not supplied")

ErrNoOutput is an error when there is no output for updating execution.

Functions

This section is empty.

Types

type EventServer

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

EventServer serve event functions.

func NewEventServer

func NewEventServer(sdk *sdk.SDK) *EventServer

NewEventServer creates a new EventServer.

func (*EventServer) Create

Create creates a new event.

func (*EventServer) Stream

Stream returns stream of events.

type ExecutionServer

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

ExecutionServer serve execution functions.

func NewExecutionServer

func NewExecutionServer(sdk *sdk.SDK) *ExecutionServer

NewExecutionServer creates a new ExecutionServer.

func (*ExecutionServer) Create

Create creates an execution.

func (*ExecutionServer) Get

Get returns execution from given hash.

func (*ExecutionServer) Stream

Stream returns stream of executions.

func (*ExecutionServer) Update

Update updates execution from given hash.

type InstanceServer

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

InstanceServer is the type to aggregate all Instance APIs.

func NewInstanceServer

func NewInstanceServer(sdk *sdk.SDK) *InstanceServer

NewInstanceServer creates a new ServiceServer.

func (*InstanceServer) Create

Create creates a new instance from service.

func (*InstanceServer) Delete

Delete an instance

func (*InstanceServer) Get

Get retrives instance.

func (*InstanceServer) List

List instances.

type ServiceServer

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

ServiceServer is the type to aggregate all Service APIs.

func NewServiceServer

func NewServiceServer(sdk *sdk.SDK) *ServiceServer

NewServiceServer creates a new ServiceServer.

func (*ServiceServer) Create

Create creates a new service from definition.

func (*ServiceServer) Delete

Delete deletes service by hash or sid.

func (*ServiceServer) Get

Get returns service from given hash.

func (*ServiceServer) List

List returns all services.

type WorkflowServer added in v0.13.0

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

WorkflowServer is the type to aggregate all Service APIs.

func NewWorkflowServer added in v0.13.0

func NewWorkflowServer(sdk *sdk.SDK) *WorkflowServer

NewWorkflowServer creates a new WorkflowServer.

func (*WorkflowServer) Create added in v0.13.0

Create creates a new service from definition.

func (*WorkflowServer) Delete added in v0.13.0

Delete deletes service by hash or sid.

func (*WorkflowServer) Get added in v0.13.0

Get returns service from given hash.

func (*WorkflowServer) List added in v0.13.0

List returns all workflows.

Jump to

Keyboard shortcuts

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