Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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 DSConfigImage string
dsconfig command image
View Source
var Image string
Image Default Container Image for DeviceServer
View Source
var Json2Tango string
Json2Tango executable path
View Source
var PullPolicy string
PullPolicy Default image pull policy
View Source
var TangoAdmin string
TangoAdmin executable path
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 Namespace string Name string ServiceType string ClusterDomain string Port int32 DBPort int32 OrbPort int32 HeartbeatPort int32 EventPort int32 Replicas int32 DatabaseDS string DirectConnection bool 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 tangov1.DatabaseDS) OperatorContext
DSSetConfig setup the configuration
func SetConfig ¶
func SetConfig(deviceserver tangov1.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.