Documentation ¶
Index ¶
- type ConfigGenerator
- type ConfigSyncer
- func (s *ConfigSyncer) ClusterLoggingSync(key string, obj *mgmtv3.ClusterLogging) (runtime.Object, error)
- func (s *ConfigSyncer) NamespaceSync(key string, obj *k8scorev1.Namespace) (runtime.Object, error)
- func (s *ConfigSyncer) ProjectLoggingSync(key string, obj *mgmtv3.ProjectLogging) (runtime.Object, error)
- type SecretManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigGenerator ¶
type ConfigGenerator struct {
// contains filtered or unexported fields
}
func NewConfigGenerator ¶
func NewConfigGenerator(clusterName string, clusterLoggingLister mgmtv3.ClusterLoggingLister, projectLoggingLister mgmtv3.ProjectLoggingLister, namespaceLister v1.NamespaceLister) *ConfigGenerator
func (*ConfigGenerator) GenerateClusterLoggingConfig ¶
func (s *ConfigGenerator) GenerateClusterLoggingConfig(clusterLogging *mgmtv3.ClusterLogging, systemProjectID string) ([]byte, error)
func (*ConfigGenerator) GenerateProjectLoggingConfig ¶
func (s *ConfigGenerator) GenerateProjectLoggingConfig(projectLoggings []*mgmtv3.ProjectLogging, systemProjectID 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 (*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
Click to show internal directories.
Click to hide internal directories.