Documentation ¶
Index ¶
- Constants
- func NewPlugin(endpoint string) integration.Plugin
- 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(instanceId string) error
- func (p *Plugin) ObjectStack(_ map[string]string, _ map[string]string) (stack map[string]interface{})
- type RpcClient
- type Run
- type RunCardinality
- type Runs
- type State
- type TrgStatus
Constants ¶
View Source
const ( TRG_DIAL_TIMEOUT = 2 * time.Second TRG_PFR_TIMEOUT = 5 * time.Second TRG_LOAD_TIMEOUT = 5 * time.Second TRG_START_TIMEOUT = 5 * time.Second TRG_STOP_TIMEOUT = 5 * time.Second TRG_UNLOAD_TIMEOUT = 5 * time.Second TRG_CLEANUP_TIMEOUT = 5 * time.Second TOPIC = topic.IntegratedService + topic.Separator + "trg" )
Variables ¶
This section is empty.
Functions ¶
func NewPlugin ¶
func NewPlugin(endpoint string) integration.Plugin
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) GetConnectionState ¶
func (*Plugin) GetEndpoint ¶
func (*Plugin) GetEnvironmentsData ¶ added in v0.56.0
func (*Plugin) GetEnvironmentsShortData ¶ added in v0.79.0
func (*Plugin) GetPrettyName ¶
type RpcClient ¶
type RpcClient struct { trgecspb.CTPdClient // contains filtered or unexported fields }
func (*RpcClient) GetConnState ¶
func (m *RpcClient) GetConnState() connectivity.State
type RunCardinality ¶ added in v0.38.1
type RunCardinality int
const ( CTP_STANDALONE RunCardinality CTP_GLOBAL )
Click to show internal directories.
Click to hide internal directories.