apigee

package
v0.0.0-...-bc181df Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 25 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