Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
*
- This file contains all APIs used to interact with omnistrate platform via proxy companion process - sidecar.
func (*Client) QueryBackendInstanceStatus ¶
*
- This API is used to get backend instance status via mapped proxy port.
- In Omnistrate platform, when creating serverless backend instance, proxy ports will be assigned to the backend instance based on the serverless configuration.
func (*Client) StartInstance ¶
*
- This API is used to start backend instance via instance id, proxy will need to obtain instance id first before calling this API
func (*Client) StopInstance ¶
*
- This API is used to stop backend instance via instance id, proxy will need to obtain instance id first before calling this API.
- Note that you may not need this API if you enable auto pause in serverless configuration.
type InstanceStatus ¶
type InstanceStatus struct {
InstanceID string `json:"instanceId"`
ServiceComponents []ServiceComponent `json:"serviceComponents"`
Status Status `json:"status"`
LastObservedTimestamp strfmt.DateTime `json:"lastObservedTimestamp"`
}
type NodeEndpoint ¶
type ServiceComponent ¶
type ServiceComponent struct {
ID string `json:"id"`
Alias string `json:"alias"`
NodesEndpoints []NodeEndpoint `json:"nodesEndpoints"`
}
Click to show internal directories.
Click to hide internal directories.