Documentation ¶
Index ¶
- type Client
- func (c *Client) GetChannel(id string) (err error)
- func (c *Client) GetChannels() (err error)
- func (c *Client) GetConfiguration() (err error)
- func (c *Client) GetJob(id string) (err error)
- func (c *Client) GetJobStatus(id string) (err error)
- func (c *Client) GetJobs() (err error)
- func (c *Client) GetModule(id string) (err error)
- func (c *Client) GetModuleActiveJob(id string) (err error)
- func (c *Client) GetModuleConfiguration(id string) (err error)
- func (c *Client) GetModuleJobs(id string) (err error)
- func (c *Client) GetModuleSettings(id string) (err error)
- func (c *Client) GetModuleStatus(id string) (err error)
- func (c *Client) GetModules() (err error)
- func (c *Client) GetSettings() (err error)
- func (c *Client) GetStatus() (err error)
- func (c *Client) ModuleAvailableEvents(id string) (err error)
- func (c *Client) ModuleCancelJob(id string, jobID string) (err error)
- func (c *Client) ModuleSubmitEvent(id string) (err error)
- type ConfigureClient
- func (c *ConfigureClient) Create(namespace string) (err error)
- func (c *ConfigureClient) Delete(id string, namespace string) (err error)
- func (c *ConfigureClient) List(namespace string) (err error)
- func (c *ConfigureClient) ListAll() (err error)
- func (c *ConfigureClient) Read(id string, namespace string) (err error)
- func (c *ConfigureClient) Update(id string, namespace string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Connection interface{} // contains filtered or unexported fields }
Client is used to make service calls over gRPC and ZeroMQ
func (*Client) GetChannel ¶
GetChannel reads a channel by ID from the service and prints the result to stdout
func (*Client) GetChannels ¶
GetChannels reads all channels from the service and prints the result to stdout
func (*Client) GetConfiguration ¶
GetConfiguration reads the service configuration and prints the result to stdout
func (*Client) GetJobStatus ¶
GetJobStatus reads a job status by ID from the service and prints the result to stdout
func (*Client) GetModule ¶
GetModule reads a module by ID from the service and prints the result to stdout
func (*Client) GetModuleActiveJob ¶
GetModuleActiveJob reads the active job of a module for a given ID from the service and prints the result to stdout
func (*Client) GetModuleConfiguration ¶
GetModuleConfiguration reads a module configuration by ID from the service and prints the result to stdout
func (*Client) GetModuleJobs ¶
GetModuleJobs reads all jobs of a module for a given ID from the service and prints the result to stdout
func (*Client) GetModuleSettings ¶
GetModuleSettings reads the settings of a module for a given ID from the service and prints the result to stdout
func (*Client) GetModuleStatus ¶
GetModuleStatus reads the status of a module for a given ID from the service and prints the result to stdout
func (*Client) GetModules ¶
GetModules reads all modules from the service and prints the result to stdout
func (*Client) GetSettings ¶
GetSettings reads the service settings and prints the result to stdout
func (*Client) ModuleAvailableEvents ¶
ModuleAvailableEvents reads all events that are provided by a module for a given ID from the service and prints the result to stdout
func (*Client) ModuleCancelJob ¶
ModuleCancelJob attempts to cancel the job of a module for a given module and job ID from the service and prints the result to stdout
func (*Client) ModuleSubmitEvent ¶
ModuleSubmitEvent requests an event change by a module for a given ID from the service and prints the result to stdout
type ConfigureClient ¶
type ConfigureClient struct {
Connection pb.ConfigureEndpointClient
}
Client is used to make service calls over gRPC and ZeroMQ
func NewConfigureClient ¶
func NewConfigureClient() (client *ConfigureClient, err error)
NewClient creates a new Client type
func (*ConfigureClient) Create ¶
func (c *ConfigureClient) Create(namespace string) (err error)
func (*ConfigureClient) Delete ¶
func (c *ConfigureClient) Delete(id string, namespace string) (err error)
func (*ConfigureClient) List ¶
func (c *ConfigureClient) List(namespace string) (err error)
func (*ConfigureClient) ListAll ¶
func (c *ConfigureClient) ListAll() (err error)