grpc

package
v1.6.65 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SynchronizerServer

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

func NewGenesisSynchronizerServer

func NewGenesisSynchronizerServer(cfg config.GenesisConfig, genesisSyncQueue, k8sQueue queue.QueueWriter,
	gsync *sstore.GenesisSync, gkubernetes *kstore.GenesisKubernetes) *SynchronizerServer

func (*SynchronizerServer) GenesisSharingK8S

func (*SynchronizerServer) GenesisSharingSync

func (*SynchronizerServer) GenesisSync

func (*SynchronizerServer) GetAgentStats

func (g *SynchronizerServer) GetAgentStats(orgID, vtapID string) (TridentStats, error)

func (*SynchronizerServer) KubernetesAPISync

type TridentStats

type TridentStats struct {
	OrgID                           int
	TeamID                          int
	VtapID                          uint32
	TeamShortLcuuid                 string
	IP                              string
	Proxy                           string
	K8sVersion                      uint64
	SyncVersion                     uint64
	K8sLastSeen                     time.Time
	SyncLastSeen                    time.Time
	K8sClusterID                    string
	SyncTridentType                 tridentcommon.TridentType
	GenesisSyncDataOperation        *trident.GenesisPlatformData
	GenesisSyncProcessDataOperation *trident.GenesisProcessData
}

Jump to

Keyboard shortcuts

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