api

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCredentialFromContext added in v0.16.0

func GetCredentialFromContext(ctx context.Context) (string, string, error)

GetCredentialFromContext retrives credential name and password from request metadata.

Types

type AccountServer added in v0.15.0

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

AccountServer is the type to aggregate all Account APIs.

func NewAccountServer added in v0.15.0

func NewAccountServer(sdk *sdk.SDK) *AccountServer

NewAccountServer creates a new ServiceServer.

func (*AccountServer) Create added in v0.15.0

Create creates a new account from service.

func (*AccountServer) Delete added in v0.15.0

Delete an account

func (*AccountServer) Get added in v0.15.0

Get retrives account.

func (*AccountServer) List added in v0.15.0

List accounts.

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) List added in v0.17.0

List returns all executions.

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) Get

Get retrives instance.

func (*InstanceServer) List

List instances.

type OwnershipServer added in v0.16.0

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

OwnershipServer is the type to aggregate all Ownership APIs.

func NewOwnershipServer added in v0.16.0

func NewOwnershipServer(sdk *sdk.SDK) *OwnershipServer

NewOwnershipServer creates a new OwnershipServer.

func (*OwnershipServer) List added in v0.16.0

List returns all ownerships.

type ProcessServer added in v0.14.0

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

ProcessServer is the type to aggregate all Service APIs.

func NewProcessServer added in v0.14.0

func NewProcessServer(sdk *sdk.SDK) *ProcessServer

NewProcessServer creates a new ProcessServer.

func (*ProcessServer) Create added in v0.14.0

Create creates a new process.

func (*ProcessServer) Delete added in v0.14.0

Delete deletes process by hash or sid.

func (*ProcessServer) Get added in v0.14.0

Get returns process from given hash.

func (*ProcessServer) List added in v0.14.0

List returns all processes.

type RunnerServer added in v0.17.0

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

RunnerServer is the type to aggregate all Runner APIs.

func NewRunnerServer added in v0.17.0

func NewRunnerServer(sdk *sdk.SDK) *RunnerServer

NewRunnerServer creates a new RunnerServer.

func (*RunnerServer) Create added in v0.17.0

Create creates a new runner.

func (*RunnerServer) Delete added in v0.17.0

Delete deletes a runner.

func (*RunnerServer) Get added in v0.17.0

Get returns runner from given hash.

func (*RunnerServer) List added in v0.17.0

List returns all runners.

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) Exists added in v0.16.0

Exists returns if a service already exists.

func (*ServiceServer) Get

Get returns service from given hash.

func (*ServiceServer) Hash added in v0.16.0

Hash returns the calculated hash of a service request.

func (*ServiceServer) List

List returns all services.

Jump to

Keyboard shortcuts

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