synchronize

package
v0.0.0-...-9bae310 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	STATUS_SUCCESS       = api.Status_SUCCESS
	STATUS_FAILED        = api.Status_FAILED
	STATUS_HEARTBEAT     = api.Status_HEARTBEAT
	CLUSTER_ID_NOT_FOUND = api.Status_CLUSTER_ID_NOT_FOUND
)
View Source
var (
	TagNameMapsVersion = uint32(time.Now().Unix()) + uint32(rand.Intn(10000))
	TagNameMapsHash    uint64
)
View Source
var (
	RAW_UDP_SOCKET = api.SocketType_RAW_UDP
	TCP_SOCKET     = api.SocketType_TCP
	UDP_SOCKET     = api.SocketType_UDP
	FILE_SOCKET    = api.SocketType_FILE
)
View Source
var EmptyGPIDResponse = &api.GPIDSyncResponse{}
View Source
var EmptyNtpResponse = &api.NtpResponse{}
View Source
var SOCKET_TYPE_TO_MESSAGE = map[string]api.SocketType{
	"RAW_UDP": RAW_UDP_SOCKET,
	"TCP":     TCP_SOCKET,
	"UDP":     UDP_SOCKET,
	"FILE":    FILE_SOCKET,
}

Functions

func Int2Bool

func Int2Bool(i int) bool

Types

type KubernetesClusterIDEvent

type KubernetesClusterIDEvent struct {
}

func NewKubernetesClusterIDEvent

func NewKubernetesClusterIDEvent() *KubernetesClusterIDEvent

func (*KubernetesClusterIDEvent) GetKubernetesClusterID

type NTPEvent

type NTPEvent struct{}

func NewNTPEvent

func NewNTPEvent() *NTPEvent

func (*NTPEvent) Query

func (e *NTPEvent) Query(ctx context.Context, in *api.NtpRequest) (*api.NtpResponse, error)

type PluginData

type PluginData struct {
	// contains filtered or unexported fields
}

type PluginEvent

type PluginEvent struct{}

func NewPluginEvent

func NewPluginEvent() *PluginEvent

func (*PluginEvent) GetPluginData

func (p *PluginEvent) GetPluginData(r *api.PluginRequest) (*PluginData, error)

func (*PluginEvent) Plugin

type ProcessInfoEvent

type ProcessInfoEvent struct{}

func NewprocessInfoEvent

func NewprocessInfoEvent() *ProcessInfoEvent

func (*ProcessInfoEvent) GPIDSync

func (*ProcessInfoEvent) ShareGPIDLocalData

type TSDBEvent

type TSDBEvent struct{}

func NewTSDBEvent

func NewTSDBEvent() *TSDBEvent

func (*TSDBEvent) AnalyzerSync

func (e *TSDBEvent) AnalyzerSync(ctx context.Context, in *api.SyncRequest) (*api.SyncResponse, error)

func (*TSDBEvent) GetUniversalTagNameMaps

func (*TSDBEvent) Push

type UpgradeData

type UpgradeData struct {
	// contains filtered or unexported fields
}

type UpgradeEvent

type UpgradeEvent struct{}

func NewUpgradeEvent

func NewUpgradeEvent() *UpgradeEvent

func (*UpgradeEvent) GetUpgradeFile

func (e *UpgradeEvent) GetUpgradeFile(upgradePackage string, expectedRevision string) (*UpgradeData, error)

func (*UpgradeEvent) Upgrade

type VTapEvent

type VTapEvent struct{}

func NewVTapEvent

func NewVTapEvent() *VTapEvent

func (*VTapEvent) GetFailedResponse

func (e *VTapEvent) GetFailedResponse(in *api.SyncRequest, gVTapInfo *vtap.VTapInfo) *api.SyncResponse

func (*VTapEvent) Push

func (*VTapEvent) Sync

func (e *VTapEvent) Sync(ctx context.Context, in *api.SyncRequest) (*api.SyncResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL