Documentation ¶
Index ¶
- type Backend
- func (s *Backend) Create(request cosmostypes.Request, msg msgCreateExecution) (*execution.Execution, error)
- func (s *Backend) Get(request cosmostypes.Request, hash hash.Hash) (*execution.Execution, error)
- func (s *Backend) List(request cosmostypes.Request) ([]*execution.Execution, error)
- func (s *Backend) Update(request cosmostypes.Request, msg msgUpdateExecution) (*execution.Execution, error)
- type SDK
- func (s *SDK) Create(req *api.CreateExecutionRequest) (*execution.Execution, error)
- func (s *SDK) Get(hash hash.Hash) (*execution.Execution, error)
- func (s *SDK) List() ([]*execution.Execution, error)
- func (s *SDK) Stream(ctx context.Context, req *api.StreamExecutionRequest) (chan *execution.Execution, chan error, error)
- func (s *SDK) Update(req *api.UpdateExecutionRequest) (*execution.Execution, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶ added in v0.17.0
type Backend struct {
// contains filtered or unexported fields
}
Backend is the execution backend.
func NewBackend ¶ added in v0.17.0
func NewBackend(appFactory *cosmos.AppFactory, serviceBack *servicesdk.Backend, instanceBack *instancesdk.Backend, runnerBack *runnersdk.Backend, processBack *processsdk.Backend) *Backend
NewBackend returns the backend of the execution sdk.
func (*Backend) Create ¶ added in v0.17.0
func (s *Backend) Create(request cosmostypes.Request, msg msgCreateExecution) (*execution.Execution, error)
Create creates a new execution from definition.
type SDK ¶ added in v0.17.0
type SDK struct {
// contains filtered or unexported fields
}
SDK is the execution sdk.
func New ¶
func New(client *cosmos.Client, serviceSDK *servicesdk.SDK, instanceSDK *instancesdk.SDK, runnerSDK *runnersdk.SDK) *SDK
New returns the execution sdk.
Click to show internal directories.
Click to hide internal directories.