grpc

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

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 18 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) AgentGenesisSync

func (*SynchronizerServer) AgentKubernetesAPISync

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
	SyncAgentType                        agent.AgentType
	SyncTridentType                      tridentcommon.TridentType
	GenesisSyncDataOperation             *trident.GenesisPlatformData
	GenesisSyncProcessDataOperation      *trident.GenesisProcessData
	AgentGenesisSyncDataOperation        *agent.GenesisPlatformData
	AgentGenesisSyncProcessDataOperation *agent.GenesisProcessData
}

Jump to

Keyboard shortcuts

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