agentinfo

package
v2.34.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 4 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(in AgentInfoIn) (*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.

type AgentInfoIn added in v2.22.0

type AgentInfoIn struct {
	fx.In

	Unmarshaller           config.Unmarshaller
	InstallationModeConfig *InstallationModeConfig `optional:"true"`
}

AgentInfoIn holds parameters for ProvideAgentInfo.

type InstallationModeConfig added in v2.22.0

type InstallationModeConfig struct {
	InstallationMode string
}

InstallationModeConfig can be provided by an extension to provide mode of installation.

Jump to

Keyboard shortcuts

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