util

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMapKeysAsString

func GetMapKeysAsString(input map[string]string) string

GetMapKeysAsString returns the key of a map as a string in form: "key1, key2, key3".

Types

type ConfigRepositories

type ConfigRepositories struct {
	GlobalConfigRepository  *repository.GlobalConfigRepository
	DoguConfigRepository    *repository.DoguConfigRepository
	SensitiveDoguRepository *repository.DoguConfigRepository
}

type ManagerSet

type ManagerSet struct {
	RestConfig            *rest.Config
	CollectApplier        resource.CollectApplier
	FileExtractor         exec.FileExtractor
	CommandExecutor       exec.CommandExecutor
	ServiceAccountCreator serviceaccount.ServiceAccountCreator
	LocalDoguFetcher      cesregistry.LocalDoguFetcher
	ResourceDoguFetcher   cesregistry.ResourceDoguFetcher
	DoguResourceGenerator resource.DoguResourceGenerator
	ResourceUpserter      resource.ResourceUpserter
	DoguRegistrator       cesregistry.DoguRegistrator
	ImageRegistry         imageregistry.ImageRegistry
	EcosystemClient       ecoSystem.EcoSystemV2Interface
	ClientSet             clientSet
	DependencyValidator   dependencyValidator
}

ManagerSet contains functors that are repeatedly used by different dogu operator managers.

func NewManagerSet

func NewManagerSet(restConfig *rest.Config, client client.Client, clientSet kubernetes.Interface, ecosystemClient ecoSystem.EcoSystemV2Interface, config *config.OperatorConfig, configRepos ConfigRepositories, applier resource.Applier, additionalImages map[string]string) (*ManagerSet, error)

NewManagerSet creates a new ManagerSet.

Jump to

Keyboard shortcuts

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