config

package
v0.0.0-...-c888339 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = OperatorConfig{}

Functions

func Read

func Read(configFile string) error

Types

type IstioImageConfig

type IstioImageConfig struct {
	IstiodImage  string `properties:"istiod"`
	ProxyImage   string `properties:"proxy"`
	CNIImage     string `properties:"cni"`
	ZTunnelImage string `properties:"ztunnel"`
}

type OperatorConfig

type OperatorConfig struct {
	ImageDigests map[string]IstioImageConfig `properties:"images"`
}

type Platform

type Platform string
const (
	PlatformUndefined  Platform = ""
	PlatformOpenShift  Platform = "openshift"
	PlatformKubernetes Platform = "kubernetes"
)

func DetectPlatform

func DetectPlatform(cfg *rest.Config) (Platform, error)

type ReconcilerConfig

type ReconcilerConfig struct {
	ResourceDirectory string
	Platform          Platform
	DefaultProfile    string
}

Jump to

Keyboard shortcuts

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