Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ControllerManager ctrl.Manager ControllerConfig ControllerConfig }
type ControllerConfig ¶
type ControllerConfig struct { AiaConfigFilePath string ConfigFileConf *YamlValueConfig MaxAiaIpControllerConcurrentReconciles int EnableReverseReconcile bool }
ControllerConfig contains the controller configuration.
type CredentialConfig ¶
type CredentialConfig struct { ClusterID string `yaml:"clusterID"` AppID string `yaml:"appID"` SecretID string `yaml:"secretID"` SecretKey string `yaml:"secretKey"` }
CredentialConfig para will be override if env set
type InternalControllerConfig ¶
type InternalControllerConfig struct {
ResourceLockName string `yaml:"resourceLockName"`
}
type NodeConfig ¶
type RegionConfig ¶
type YamlValueConfig ¶
type YamlValueConfig struct { Controller InternalControllerConfig `yaml:"controller"` Region RegionConfig `yaml:"region"` Credential CredentialConfig `yaml:"credential"` Aia AiaConfig `yaml:"aia"` Node NodeConfig `yaml:"node"` }
func (*YamlValueConfig) Validate ¶
func (y *YamlValueConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.