agentinfo

package
v0.1.1-rc.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentInfo

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

AgentInfo is the agent info.

func ProvideAgentInfo

func ProvideAgentInfo(unmarshaller config.Unmarshaller) (*AgentInfo, error)

ProvideAgentInfo provides the agent info via Fx.

func (*AgentInfo) GetAgentGroup

func (a *AgentInfo) GetAgentGroup() string

GetAgentGroup returns the agent group.

type AgentInfoConfig

type AgentInfoConfig struct {
	// All agents within an agent_group receive the same data-plane configuration (e.g. schedulers, FluxMeters, rate limiter).
	AgentGroup string `json:"agent_group" default:"default"`
}

AgentInfoConfig is the configuration for the agent group etc. swagger:model

Jump to

Keyboard shortcuts

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