types

package
v0.9.13 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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 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 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

View Source
var TangoAdmin string

TangoAdmin executable path

Functions

This section is empty.

Types

type CustomLogger

type CustomLogger struct {
	logr.Logger
}

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 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

Jump to

Keyboard shortcuts

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