Documentation ¶
Index ¶
- func CreateFluentd(ds rv1beta2.DaemonSetInterface, sa rv1.ServiceAccountInterface, ...) (err error)
- func CreateOrUpdateEmbeddedTarget(dep rv1beta2.DeploymentInterface, sa rv1.ServiceAccountInterface, ...) error
- func GetClusterTarget(spec v3.ClusterLoggingSpec) string
- func InitConfigMap(cm rv1.ConfigMapInterface) error
- func IniteNamespace(ns rv1.NamespaceInterface) error
- func IsAllLoggingDisable(clusterLoggingLister v3.ClusterLoggingLister, ...) (bool, error)
- func RemoveConfigMap(configmaps rv1.ConfigMapInterface) error
- func RemoveEmbeddedTarget(dep rv1beta2.DeploymentInterface, sa rv1.ServiceAccountInterface, ...) error
- func RemoveFluentd(ds rv1beta2.DaemonSetInterface, sa rv1.ServiceAccountInterface, ...) error
- func UpdateConfigMap(configPath, loggingName, level string, configmaps rv1.ConfigMapInterface) error
- func UpdateEmbeddedEndpoint(podLister rv1.PodLister, serviceLister rv1.ServiceLister, ...) error
- type WrapClusterLogging
- type WrapElasticsearch
- type WrapEmbedded
- type WrapKafka
- type WrapLogging
- type WrapProjectLogging
- type WrapSplunk
- type WrapSyslog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFluentd ¶
func CreateFluentd(ds rv1beta2.DaemonSetInterface, sa rv1.ServiceAccountInterface, rb rrbacv1.ClusterRoleBindingInterface, namespace string) (err error)
func CreateOrUpdateEmbeddedTarget ¶
func CreateOrUpdateEmbeddedTarget(dep rv1beta2.DeploymentInterface, sa rv1.ServiceAccountInterface, se rv1.ServiceInterface, ro rrbacv1.RoleInterface, rb rrbacv1.RoleBindingInterface, namespace string, obj *v3.ClusterLogging) error
func GetClusterTarget ¶
func GetClusterTarget(spec v3.ClusterLoggingSpec) string
func InitConfigMap ¶
func InitConfigMap(cm rv1.ConfigMapInterface) error
func IniteNamespace ¶
func IniteNamespace(ns rv1.NamespaceInterface) error
func IsAllLoggingDisable ¶
func IsAllLoggingDisable(clusterLoggingLister v3.ClusterLoggingLister, projectLoggingLister v3.ProjectLoggingLister) (bool, error)
func RemoveConfigMap ¶
func RemoveConfigMap(configmaps rv1.ConfigMapInterface) error
func RemoveEmbeddedTarget ¶
func RemoveEmbeddedTarget(dep rv1beta2.DeploymentInterface, sa rv1.ServiceAccountInterface, se rv1.ServiceInterface, ro rrbacv1.RoleInterface, rb rrbacv1.RoleBindingInterface) error
func RemoveFluentd ¶
func RemoveFluentd(ds rv1beta2.DaemonSetInterface, sa rv1.ServiceAccountInterface, rb rrbacv1.ClusterRoleBindingInterface) error
func UpdateConfigMap ¶
func UpdateConfigMap(configPath, loggingName, level string, configmaps rv1.ConfigMapInterface) error
func UpdateEmbeddedEndpoint ¶
func UpdateEmbeddedEndpoint(podLister rv1.PodLister, serviceLister rv1.ServiceLister, clusterLoggings v3.ClusterLoggingInterface) error
Types ¶
type WrapClusterLogging ¶
type WrapClusterLogging struct { v3.ClusterLoggingSpec WrapEmbedded WrapLogging }
func ToWrapClusterLogging ¶
func ToWrapClusterLogging(clusterLogging v3.ClusterLoggingSpec) (*WrapClusterLogging, error)
func (*WrapClusterLogging) Validate ¶
func (w *WrapClusterLogging) Validate() error
type WrapElasticsearch ¶
type WrapEmbedded ¶
type WrapEmbedded struct {
DateFormat string
}
type WrapLogging ¶
type WrapLogging struct { CurrentTarget string WrapSyslog WrapSplunk WrapElasticsearch WrapKafka }
type WrapProjectLogging ¶
type WrapProjectLogging struct { v3.ProjectLoggingSpec GrepNamespace string WrapLogging }
func ToWrapProjectLogging ¶
func ToWrapProjectLogging(grepNamespace string, projectLogging v3.ProjectLoggingSpec) (*WrapProjectLogging, error)
func (*WrapProjectLogging) Validate ¶
func (w *WrapProjectLogging) Validate() error
type WrapSplunk ¶
type WrapSyslog ¶
Click to show internal directories.
Click to hide internal directories.