apigee

package
v0.0.0-...-57fcbab Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

Agent - Represents the Gateway client

func GetAgent

func GetAgent() *Agent

GetAgent - returns the agent

func NewAgent

func NewAgent(agentCfg *AgentConfig) (*Agent, error)

NewAgent - Creates a new Agent

func (*Agent) BeatsReady

func (a *Agent) BeatsReady()

BeatsReady - signal that the beats are ready

func (*Agent) IsReady

func (a *Agent) IsReady() bool

type AgentConfig

type AgentConfig struct {
	CentralCfg corecfg.CentralConfig `config:"central"`
	ApigeeCfg  *config.ApigeeConfig  `config:"apigee"`
}

AgentConfig - represents the config for agent

type AuthResponse

type AuthResponse struct {
	AccessToken  string `json:"access_token"`
	TokenType    string `json:"token_type"`
	RefreshToken string `json:"refresh_token"`
	ExpiresIn    int    `json:"expires_in"`
	Scope        string `json:"scope"`
	JTI          string `json:"jti"`
}

AuthResponse - response struct from APIGEE auth call

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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