Documentation
¶
Index ¶
- type CarbideConfig
- type Config
- type RLAConfig
- type RunInEnvironment
- type TemporalConfig
- func (tc *TemporalConfig) GetTemporalCACertFilePath() (string, string)
- func (tc *TemporalConfig) GetTemporalCACertFullPath() string
- func (tc *TemporalConfig) GetTemporalCertOTPFullPath() string
- func (tc *TemporalConfig) GetTemporalClientCertFilePath() ([]string, string)
- func (tc *TemporalConfig) GetTemporalClientCertFullPath() string
- func (tc *TemporalConfig) GetTemporalClientKeyFullPath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CarbideConfig ¶
type CarbideConfig struct {
Address string `json:"carbideAddress"`
Secure client.SecureOptions `json:"carbideSecureOptions"`
SkipServerAuth bool `json:"carbideSkipServerAuth"`
ServerCAPath string `json:"carbideCertPath"`
ClientCertPath string `json:"carbideClientCertPath"`
ClientKeyPath string `json:"carbideClientKeyPath"`
}
CarbideConfig holds configurations for connecting to Carbide server
type Config ¶
type Config struct {
Temporal TemporalConfig
Carbide CarbideConfig
RLA RLAConfig
IsMasterPod bool `json:"isMasterPod"`
EnableDebug bool `json:"enableDebug"`
DevMode bool `json:"devMode"`
EnableTLS bool `json:"enableTLS"`
DisableBootstrap bool `json:"disableBootstrap"`
BootstrapSecret string `json:"bootstrapSecret"` // Path to the bootstrap secret file
WatcherInterval time.Duration `json:"watcherInterval"`
PodNamespace string `json:"podNamespace"`
TemporalSecret string `json:"temporalSecret"`
MetricsPort string `json:"metricsPort"`
SiteVersion string `json:"siteVersion"`
CloudVersion string `json:"cloudVersion"`
RunningIn RunInEnvironment
UtMode bool
}
Config for Site Agent
type RLAConfig ¶
type RLAConfig struct {
Enabled bool `json:"rlaEnabled"`
Address string `json:"rlaAddress"`
Secure client.RlaClientSecureOptions `json:"rlaSecureOptions"`
SkipServerAuth bool `json:"rlaSkipServerAuth"`
ServerCAPath string `json:"rlaCertPath"`
ClientCertPath string `json:"rlaClientCertPath"`
ClientKeyPath string `json:"rlaClientKeyPath"`
}
RLAConfig holds configurations for connecting to RLA server
type RunInEnvironment ¶
type RunInEnvironment int
RunInEnvironment provides a strongly-typed indicator for the environment in which the app is running.
const ( // RunningInUnknown - Running In Unknown Env RunningInUnknown RunInEnvironment = iota // RunningInDocker - Running In Docker RunningInDocker // RunningInK8s - Running In K8s RunningInK8s )
type TemporalConfig ¶
type TemporalConfig struct {
Host string `json:"host"`
Port string `json:"port"`
ClusterID string `json:"clusterID"`
TemporalServer string `json:"temporalServer"`
TemporalPublishNamespace string `json:"temporalPublishNamespace"`
TemporalSubscribeNamespace string `json:"temporalSubscribeNamespace"`
TemporalPublishQueue string `json:"temporalPublishQueue"`
TemporalSubscribeQueue string `json:"temporalSubscribeQueue"`
TemporalInventorySchedule string `json:"temporalInventorySchedule"`
TemporalCertPath string `json:"temporalCertPath"`
}
TemporalConfig holds configurations for connecting to Temporal server
func (*TemporalConfig) GetTemporalCACertFilePath ¶
func (tc *TemporalConfig) GetTemporalCACertFilePath() (string, string)
GetTemporalCACertFilePath - Get Temporal CA Cert File n Path
func (*TemporalConfig) GetTemporalCACertFullPath ¶
func (tc *TemporalConfig) GetTemporalCACertFullPath() string
GetTemporalCACertFullPath - Get Temporal CA Cert Full Path
func (*TemporalConfig) GetTemporalCertOTPFullPath ¶
func (tc *TemporalConfig) GetTemporalCertOTPFullPath() string
GetTemporalCertOTPFullPath - Get Temporal Cert OTP path
func (*TemporalConfig) GetTemporalClientCertFilePath ¶
func (tc *TemporalConfig) GetTemporalClientCertFilePath() ([]string, string)
GetTemporalClientCertFilePath - Get Temporal client Cert File n Path
func (*TemporalConfig) GetTemporalClientCertFullPath ¶
func (tc *TemporalConfig) GetTemporalClientCertFullPath() string
GetTemporalClientCertFullPath - Get Temporal client Cert Full Path
func (*TemporalConfig) GetTemporalClientKeyFullPath ¶
func (tc *TemporalConfig) GetTemporalClientKeyFullPath() string
GetTemporalClientKeyFullPath - Get Temporal client Key Full Path