configsyncer

package
v2.2.7-ent-rc3+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSSLConfig

func GetSSLConfig(target mgmtv3.LoggingTargets) (string, string, string)

Types

type ConfigGenerator

type ConfigGenerator struct {
	// contains filtered or unexported fields
}

func NewConfigGenerator

func NewConfigGenerator(clusterName string, projectLoggingLister mgmtv3.ProjectLoggingLister, namespaceLister v1.NamespaceLister) *ConfigGenerator

func (*ConfigGenerator) GenerateClusterLoggingConfig

func (s *ConfigGenerator) GenerateClusterLoggingConfig(clusterLogging *mgmtv3.ClusterLogging, systemProjectID, certDir string) ([]byte, error)

func (*ConfigGenerator) GenerateProjectLoggingConfig

func (s *ConfigGenerator) GenerateProjectLoggingConfig(projectLoggings []*mgmtv3.ProjectLogging, systemProjectID, certDir string) ([]byte, error)

type ConfigSyncer

type ConfigSyncer struct {
	// contains filtered or unexported fields
}

func NewConfigSyncer

func NewConfigSyncer(cluster *config.UserContext, SecretManager *SecretManager) *ConfigSyncer

func (*ConfigSyncer) ClusterLoggingSync

func (s *ConfigSyncer) ClusterLoggingSync(key string, obj *mgmtv3.ClusterLogging) (runtime.Object, error)

func (*ConfigSyncer) NamespaceSync

func (s *ConfigSyncer) NamespaceSync(key string, obj *k8scorev1.Namespace) (runtime.Object, error)

func (*ConfigSyncer) ProjectLoggingSync

func (s *ConfigSyncer) ProjectLoggingSync(key string, obj *mgmtv3.ProjectLogging) (runtime.Object, error)

type SecretManager

type SecretManager struct {
	// contains filtered or unexported fields
}

func NewSecretManager

func NewSecretManager(cluster *config.UserContext) *SecretManager

Jump to

Keyboard shortcuts

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