client

package
v0.0.0-...-5f7c61f Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Scheme string
	Host   string

	Client http.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(host string) Client

func (Client) AddData

func (c Client) AddData(procID, runID string, data processors.Data) error

func (Client) Configure

func (c Client) Configure(procID, runID string, config processors.Configuration) error

func (Client) GetAllProcessors

func (c Client) GetAllProcessors() (*processors.Processors, error)

below is so repetitive --> codegen?

func (Client) GetAllRuns

func (c Client) GetAllRuns(procID string) (*processors.Runs, error)

func (Client) GetConfig

func (c Client) GetConfig(procID, runID string) (*processors.Configuration, error)

func (Client) GetData

func (c Client) GetData(procID, runID string) (*processors.DataSpec, error)

func (Client) GetProcessor

func (c Client) GetProcessor(procID string) (*processors.Processor, error)

func (Client) GetRun

func (c Client) GetRun(procID, runID string) (*processors.Run, error)

Jump to

Keyboard shortcuts

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