agentinfo

package
v0.18.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: GPL-3.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 (e.g. Flux Meters, Rate Limiters etc).
	//
	// [Read more about agent groups here](/concepts/service.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 added in v0.1.2

func (in *AgentInfoConfig) DeepCopy() *AgentInfoConfig

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

func (*AgentInfoConfig) DeepCopyInto added in v0.1.2

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