Documentation ¶
Index ¶
- Constants
- func NewPlugin(endpoint string) integration.Plugin
- type DCSDetectorInfoMap
- type DCSDetectorOpAvailabilityMap
- type DCSDetectors
- type ECSDetectorInfo
- type ECSDetectorInfoMap
- type PartitionInfo
- 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(environmentIds []uid.ID) map[uid.ID]string
- func (p *Plugin) GetEnvironmentsShortData(environmentIds []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
Constants ¶
View Source
const ( DCS_DIAL_TIMEOUT = 2 * time.Hour DCS_GENERAL_OP_TIMEOUT = 45 * time.Second DCS_TIME_FORMAT = "2006-01-02 15:04:05.000" TOPIC = topic.IntegratedService + topic.Separator + "dcs" )
Variables ¶
This section is empty.
Functions ¶
func NewPlugin ¶
func NewPlugin(endpoint string) integration.Plugin
Types ¶
type DCSDetectorInfoMap ¶ added in v1.2.0
type DCSDetectorInfoMap map[dcspb.Detector]*dcspb.DetectorInfo
func (DCSDetectorInfoMap) ToEcsDetectors ¶ added in v1.2.0
func (m DCSDetectorInfoMap) ToEcsDetectors() ECSDetectorInfoMap
type DCSDetectorOpAvailabilityMap ¶ added in v1.2.0
type DCSDetectorOpAvailabilityMap map[dcspb.Detector]dcspb.DetectorState
func (DCSDetectorOpAvailabilityMap) EcsDetectorsMap ¶ added in v1.7.0
func (dsm DCSDetectorOpAvailabilityMap) EcsDetectorsMap() (sm map[string]string)
func (DCSDetectorOpAvailabilityMap) ToStringMap ¶ added in v1.7.0
func (dsm DCSDetectorOpAvailabilityMap) ToStringMap() (sm map[string]string)
type DCSDetectors ¶ added in v0.36.0
func (DCSDetectors) EcsDetectorsSlice ¶ added in v0.54.1
func (d DCSDetectors) EcsDetectorsSlice() (sslice []string)
func (DCSDetectors) ToStringSlice ¶ added in v0.84.0
func (d DCSDetectors) ToStringSlice() (sslice []string)
type ECSDetectorInfo ¶ added in v1.2.0
type ECSDetectorInfoMap ¶ added in v1.2.0
type ECSDetectorInfoMap map[string]ECSDetectorInfo
func (ECSDetectorInfoMap) Filtered ¶ added in v1.2.0
func (m ECSDetectorInfoMap) Filtered(detectorList []string) ECSDetectorInfoMap
type PartitionInfo ¶ added in v1.2.0
type PartitionInfo struct { SorSuccessful bool Detectors ECSDetectorInfoMap }
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 ¶
type RpcClient struct { dcspb.ConfiguratorClient // contains filtered or unexported fields }
func (*RpcClient) GetConnState ¶
func (m *RpcClient) GetConnState() connectivity.State
Click to show internal directories.
Click to hide internal directories.