config

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: 1 Imported by: 0

Documentation

Overview

+kubebuilder:validation:Optional

Index

Constants

View Source
const Key = "agent_functions"

Key is the key for agentfunctions configuration.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentFunctionsConfig

type AgentFunctionsConfig struct {
	// RPC servers to connect to (which will be able to call agent functions)
	Endpoints []string `json:"endpoints,omitempty" validate:"omitempty,dive,omitempty"`

	// Network client configuration
	ClientConfig ClientConfig `json:"client"`
}

AgentFunctionsConfig is configuration for agent functions. swagger:model AgentFunctionsConfig +kubebuilder:object:generate=true

func (*AgentFunctionsConfig) DeepCopy

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

func (*AgentFunctionsConfig) DeepCopyInto

func (in *AgentFunctionsConfig) DeepCopyInto(out *AgentFunctionsConfig)

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

type ClientConfig

type ClientConfig struct {
	// gRPC client settings.
	GRPCClient grpcclient.GRPCClientConfig `json:"grpc"`
}

ClientConfig is configuration for network clients used by agent-functions. swagger:model +kubebuilder:object:generate=true

func (*ClientConfig) DeepCopy

func (in *ClientConfig) DeepCopy() *ClientConfig

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

func (*ClientConfig) DeepCopyInto

func (in *ClientConfig) DeepCopyInto(out *ClientConfig)

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