agent

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateConfig

func UpdateConfig(cfg *Config) error

Types

type AgentConfig

type AgentConfig struct {
	EnableSignatureVerification bool      `toml:"enable_signature_verification"`
	ServerAddr                  string    `toml:"server_addr"`
	AaKbcParams                 string    `toml:"aa_kbc_params"`
	ImageRegistryAuthFile       string    `toml:"image_registry_auth_file"`
	Endpoints                   Endpoints `toml:"endpoints"`
}

type Config

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

func NewConfig

func NewConfig(agentConfigPath, authJsonPath, daemonConfigPath string) *Config

type Endpoints

type Endpoints struct {
	Allowed []string `toml:"allowed"`
}

Jump to

Keyboard shortcuts

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