mirror of
https://github.com/rancher/types.git
synced 2025-09-10 09:29:23 +00:00
Added graylog config to logging targets as a logging type
This commit is contained in:
@@ -51,6 +51,7 @@ type LoggingTargets struct {
|
||||
SyslogConfig *SyslogConfig `json:"syslogConfig,omitempty"`
|
||||
FluentForwarderConfig *FluentForwarderConfig `json:"fluentForwarderConfig,omitempty"`
|
||||
CustomTargetConfig *CustomTargetConfig `json:"customTargetConfig,omitempty"`
|
||||
GraylogConfig *GraylogConfig `json:"graylogConfig,omitempty"`
|
||||
}
|
||||
|
||||
type ClusterLoggingSpec struct {
|
||||
@@ -177,6 +178,16 @@ type CustomTargetConfig struct {
|
||||
ClientKey string `json:"clientKey,omitempty"`
|
||||
}
|
||||
|
||||
type GraylogConfig struct {
|
||||
Endpoint string `json:"endpoint,omitempty" norman:"required"`
|
||||
Protocol string `json:"protocol,omitempty" norman:"default=udp,type=enum,options=udp|tcp"`
|
||||
EnableTLS bool `json:"enableTls,omitempty" norman:"default=false"`
|
||||
Certificate string `json:"certificate,omitempty"`
|
||||
ClientCert string `json:"clientCert,omitempty"`
|
||||
ClientKey string `json:"clientKey,omitempty"`
|
||||
SSLVerify bool `json:"sslVerify,omitempty"`
|
||||
}
|
||||
|
||||
type ClusterTestInput struct {
|
||||
ClusterName string `json:"clusterId" norman:"required,type=reference[cluster]"`
|
||||
LoggingTargets
|
||||
|
Reference in New Issue
Block a user