Documentation ¶
Index ¶
- Constants
- func NewPlugin(endpoint string) integration.Plugin
- type OdcDevice
- type OdcDeviceId
- type OdcPartitionInfo
- type OdcStatus
- type Plugin
- func (p *Plugin) CallStack(data interface{}) (stack map[string]interface{})
- func (p *Plugin) Destroy() error
- func (p *Plugin) GetConnectionState() string
- func (p *Plugin) GetData(_ []any) string
- func (p *Plugin) GetEndpoint() string
- func (p *Plugin) GetEnvironmentsData(envIds []uid.ID) map[uid.ID]string
- func (p *Plugin) GetEnvironmentsShortData(envIds []uid.ID) map[uid.ID]string
- func (p *Plugin) GetName() string
- func (p *Plugin) GetPrettyName() string
- func (p *Plugin) Init(_ string) error
- func (p *Plugin) ObjectStack(varStack map[string]string, baseConfigStack map[string]string) (stack map[string]interface{})
- type RpcClient
Constants ¶
View Source
const ( ODC_DIAL_TIMEOUT = 2 * time.Second ODC_GENERAL_OP_TIMEOUT = 5 * time.Second ODC_CONFIGURE_TIMEOUT = 60 * time.Second ODC_PARTITIONINITIALIZE_TIMEOUT = 60 * time.Second ODC_START_TIMEOUT = 15 * time.Second ODC_STOP_TIMEOUT = 15 * time.Second ODC_RESET_TIMEOUT = 30 * time.Second ODC_PARTITIONTERMINATE_TIMEOUT = 30 * time.Second ODC_PADDING_TIMEOUT = 3 * time.Second ODC_STATUS_TIMEOUT = 3 * time.Second ODC_POLLING_INTERVAL = 3 * time.Second ODC_MAX_INBOUND_MESSAGE_SIZE = 32 * 1024 * 1024 // 16 MiB TOPIC = topic.IntegratedService + topic.Separator + "odc" )
View Source
const ODC_ERROR_MAX_LENGTH = 250
Variables ¶
This section is empty.
Functions ¶
func NewPlugin ¶
func NewPlugin(endpoint string) integration.Plugin
Types ¶
type OdcDeviceId ¶ added in v1.12.0
type OdcDeviceId uint64
func (OdcDeviceId) MarshalJSON ¶ added in v1.12.0
func (o OdcDeviceId) MarshalJSON() ([]byte, error)
type OdcPartitionInfo ¶ added in v0.38.0
type OdcPartitionInfo struct { PartitionId uid.ID `json:"-"` RunNumber uint32 `json:"runNumber"` State string `json:"state"` EcsState sm.State `json:"ecsState"` DdsSessionId string `json:"ddsSessionId"` DdsSessionStatus string `json:"ddsSessionStatus"` Devices map[OdcDeviceId]*OdcDevice `json:"devices"` Hosts []string `json:"hosts"` }
type OdcStatus ¶ added in v0.38.0
type OdcStatus struct { Partitions map[uid.ID]*OdcPartitionInfo Status odc.ReplyStatus Message string Error *odc.Error }
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) GetConnectionState ¶ added in v0.22.80
func (*Plugin) GetEndpoint ¶ added in v0.22.80
func (*Plugin) GetEnvironmentsData ¶ added in v0.56.0
func (*Plugin) GetEnvironmentsShortData ¶ added in v0.79.0
func (*Plugin) GetPrettyName ¶ added in v0.22.80
type RpcClient ¶
func (*RpcClient) GetConnState ¶
func (m *RpcClient) GetConnState() connectivity.State
Click to show internal directories.
Click to hide internal directories.