registry

package
v0.0.0-...-d59ed34 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogrusKey          = "logrus"
	MinioKey           = "minio"
	LogFileKey         = "log_file"
	RedisKey           = "redis"
	ArangodbSessionKey = "arangodb_session"
	Arangodb           = "arangodb"
	OboStorageKey      = "obostorage"
	OboReadersKey      = "oboreaders"
	KubeClientKey      = "kubeconfig"
)

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 GetKubeClient

func GetKubeClient(key string) *kubernetes.Clientset

func GetLogger

func GetLogger() *logrus.Entry

func GetReader

func GetReader(key string) io.Reader

func GetRedisClient

func GetRedisClient() *r.Client

func GetS3Client

func GetS3Client() *minio.Client

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 SetKubeClient

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

func SetLogger

func SetLogger(l *logrus.Entry)

func SetReader

func SetReader(key string, r io.Reader)

func SetRedisClient

func SetRedisClient(redis *r.Client)

func SetS3Client

func SetS3Client(s3c *minio.Client)

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