ga

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// GAAPIChannel stores the API Events composed from XDS states
	GAAPIChannel chan APIEvent
)

Functions

func InitGAClient

func InitGAClient()

InitGAClient initializes the connection to the global adapter.

Types

type APIEvent

type APIEvent struct {
	APIUUID          string
	RevisionUUID     string
	IsDeployEvent    bool
	OrganizationUUID string
}

APIEvent represents the event corresponding to a single API Deploy or Remove event based on XDS state changes

func FetchAPIsFromGA

func FetchAPIsFromGA() []*APIEvent

FetchAPIsFromGA returns the initial state of GA APIs within Adapter

Jump to

Keyboard shortcuts

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