agentinfo

package
v2.18.1-rc.1 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:validation:Optional

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 NewAgentInfo

func NewAgentInfo(agentGroup string) *AgentInfo

NewAgentInfo creates a new 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 (for example, Flux Meters, Rate Limiters and so on).
	//
	// [Read more about agent groups here](/concepts/selector.md#agent-group).
	AgentGroup string `json:"agent_group" default:"default"`
}

AgentInfoConfig is the configuration for the agent group and other agent attributes. swagger:model +kubebuilder:object:generate=true

func (*AgentInfoConfig) DeepCopy

func (in *AgentInfoConfig) DeepCopy() *AgentInfoConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentInfoConfig.

func (*AgentInfoConfig) DeepCopyInto

func (in *AgentInfoConfig) DeepCopyInto(out *AgentInfoConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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