Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ApiKeySecret string
ApiKeySecret for TANGO Ping Service Url
View Source
var DBImage string
DBImage Default Container Image for TangoDB
View Source
var DDSImage string
DDSImage Default Container Image for DatabaseDS
View Source
var Image string
Image Default Container Image for DeviceServer
View Source
var MaxConcurrentReconciles int
MaxConcurrentReconciles - concurrent processing of inbound requests
View Source
var PingSvcUrl string
PingSvcUrl TANGO Ping Service Url
View Source
var PullPolicy string
PullPolicy Default image pull policy
Functions ¶
This section is empty.
Types ¶
type CustomLogger ¶
CustomLogger - add Errorf, Infof, and Debugf
func (CustomLogger) Debugf ¶
func (log CustomLogger) Debugf(format string, a ...interface{})
Debugf helper
func (*CustomLogger) Errorf ¶
func (log *CustomLogger) Errorf(err error, format string, a ...interface{})
Errorf helper
func (CustomLogger) Infof ¶
func (log CustomLogger) Infof(format string, a ...interface{})
Infof helper
func (*CustomLogger) WithValues ¶
func (log *CustomLogger) WithValues(keysAndValues ...interface{}) CustomLogger
WithValues helper
type OperatorContext ¶
type OperatorContext struct { // Daemon bool CurrentTangoDBStatefulSet *appsv1.StatefulSet ConfigCheckSum string DisablePolicies bool ExternalDeviceServer string EnableLoadBalancer bool UsePV bool Metadata interface{} Namespace string Name string ServiceType string ClusterDomain string LegacyCompatibility bool Port int32 DBPort int32 OrbPort int32 HeartbeatPort int32 EventPort int32 Replicas int32 DatabaseDS string DirectConnection bool DSName string Command string PostStart string PreStop string Script string ScriptType string ScriptContents string Config string AppName string Args string ConfigType string ConfigContents string MountedFile bool Image string DDSImage string DBImage string DSConfigImage string DBDb string DBRootPw string DBUser string DBPassword string TangoDBStorageClass string Repository string Tag string DependsOn interface{} PullSecrets interface{} PullPolicy string NodeSelector interface{} Affinity interface{} Tolerations interface{} Resources interface{} VolumeMounts interface{} Volumes interface{} Env interface{} }
OperatorContext is the set of parameters to configures this instance
func DSSetConfig ¶
func DSSetConfig(databaseds tangov2.DatabaseDS) OperatorContext
DSSetConfig setup the configuration
func SetConfig ¶
func SetConfig(deviceserver tangov2.DeviceServer) OperatorContext
SetConfig setup the configuration
func (*OperatorContext) ForDatabaseDS ¶
func (context *OperatorContext) ForDatabaseDS() OperatorContext
ForDatabaseDS - copy and arrange config values for Scheduler
Click to show internal directories.
Click to hide internal directories.