registry

package
v0.0.0-...-cfe9fea Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2025 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogrusKey                  = "logrus"
	MinioKey                   = "minio"
	LogFileKey                 = "log_file"
	RedisKey                   = "redis"
	ArangodbSessionKey         = "arangodb_session"
	ArangodbLegacySessionKey   = "arangodb_legacy_session"
	Arangodb                   = "arangodb"
	ArangodbLegacy             = "arangodb_legacy"
	OboStorageKey              = "obostorage"
	OboReadersKey              = "oboreaders"
	TTLCacheKey                = "ttlcache"
	KubeClientKey              = "kubeconfig"
	FeatureAnnotationClientKey = "feature_annotation"
)

Variables

This section is empty.

Functions

func GetAllReaders

func GetAllReaders(key string) map[string]io.Reader

func GetArangoOboStorage

func GetArangoOboStorage() storage.DataSource

func GetArangoSession

func GetArangoSession() *arangomanager.Session

func GetArangodbConnection

func GetArangodbConnection() *arangomanager.Database

func GetCSVFilePath

func GetCSVFilePath() string

GetCSVFilePath gets the path to the CSV file

func GetFeatureAnnotationAPIClient

func GetFeatureAnnotationAPIClient() feature.FeatureAnnotationServiceClient

func GetKubeClient

func GetKubeClient(key string) *kubernetes.Clientset

func GetLegacyArangoSession

func GetLegacyArangoSession() *arangomanager.Session

func GetLegacyArangodbConnection

func GetLegacyArangodbConnection() *arangomanager.Database

func GetLogger

func GetLogger() *logrus.Entry

func GetReader

func GetReader(key string) io.Reader

func GetRedisClient

func GetRedisClient() *rds.Client

func GetS3Client

func GetS3Client() *minio.Client

func GetTTLCache

func GetTTLCache() *ttlcache.Cache[string, string]

func GetValue

func GetValue(key string) string

func GetWriter

func GetWriter(key string) io.Writer

func SetAllReaders

func SetAllReaders(key string, rds map[string]io.Reader)

func SetArangoOboStorage

func SetArangoOboStorage(s storage.DataSource)

func SetArangoSession

func SetArangoSession(s *arangomanager.Session)

func SetArangodbConnection

func SetArangodbConnection(c *arangomanager.Database)

func SetCSVFilePath

func SetCSVFilePath(path string)

SetCSVFilePath sets the path to the CSV file

func SetFeatureAnnotationAPIClient

func SetFeatureAnnotationAPIClient(cnt feature.FeatureAnnotationServiceClient)

func SetKubeClient

func SetKubeClient(key string, client *kubernetes.Clientset)

func SetLegacyArangoSession

func SetLegacyArangoSession(s *arangomanager.Session)

func SetLegacyArangodbConnection

func SetLegacyArangodbConnection(c *arangomanager.Database)

func SetLogger

func SetLogger(l *logrus.Entry)

func SetReader

func SetReader(key string, r io.Reader)

func SetRedisClient

func SetRedisClient(redis *rds.Client)

func SetS3Client

func SetS3Client(s3c *minio.Client)

func SetTTLCache

func SetTTLCache(tcache *ttlcache.Cache[string, string])

func SetValue

func SetValue(key, value string)

func SetWriter

func SetWriter(key string, w io.Writer)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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