mirror of
https://github.com/rancher/types.git
synced 2025-07-31 20:55:00 +00:00
Merge 9fe3827e72
into fe03f32597
This commit is contained in:
commit
cf3e5ee614
@ -61,6 +61,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 {
|
||||
@ -198,6 +199,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
|
||||
|
@ -4291,6 +4291,22 @@ func (in *GoogleOauthConfigTestOutput) DeepCopy() *GoogleOauthConfigTestOutput {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *GraylogConfig) DeepCopyInto(out *GraylogConfig) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GraylogConfig.
|
||||
func (in *GraylogConfig) DeepCopy() *GraylogConfig {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(GraylogConfig)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Group) DeepCopyInto(out *Group) {
|
||||
*out = *in
|
||||
@ -5236,6 +5252,11 @@ func (in *LoggingTargets) DeepCopyInto(out *LoggingTargets) {
|
||||
*out = new(CustomTargetConfig)
|
||||
**out = **in
|
||||
}
|
||||
if in.GraylogConfig != nil {
|
||||
in, out := &in.GraylogConfig, &out.GraylogConfig
|
||||
*out = new(GraylogConfig)
|
||||
**out = **in
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -17,6 +17,7 @@ const (
|
||||
ClusterLoggingFieldEnableJSONParsing = "enableJSONParsing"
|
||||
ClusterLoggingFieldFailedSpec = "failedSpec"
|
||||
ClusterLoggingFieldFluentForwarderConfig = "fluentForwarderConfig"
|
||||
ClusterLoggingFieldGraylogConfig = "graylogConfig"
|
||||
ClusterLoggingFieldIncludeSystemComponent = "includeSystemComponent"
|
||||
ClusterLoggingFieldKafkaConfig = "kafkaConfig"
|
||||
ClusterLoggingFieldLabels = "labels"
|
||||
@ -47,6 +48,7 @@ type ClusterLogging struct {
|
||||
EnableJSONParsing bool `json:"enableJSONParsing,omitempty" yaml:"enableJSONParsing,omitempty"`
|
||||
FailedSpec *ClusterLoggingSpec `json:"failedSpec,omitempty" yaml:"failedSpec,omitempty"`
|
||||
FluentForwarderConfig *FluentForwarderConfig `json:"fluentForwarderConfig,omitempty" yaml:"fluentForwarderConfig,omitempty"`
|
||||
GraylogConfig *GraylogConfig `json:"graylogConfig,omitempty" yaml:"graylogConfig,omitempty"`
|
||||
IncludeSystemComponent *bool `json:"includeSystemComponent,omitempty" yaml:"includeSystemComponent,omitempty"`
|
||||
KafkaConfig *KafkaConfig `json:"kafkaConfig,omitempty" yaml:"kafkaConfig,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
|
||||
|
@ -8,6 +8,7 @@ const (
|
||||
ClusterLoggingSpecFieldElasticsearchConfig = "elasticsearchConfig"
|
||||
ClusterLoggingSpecFieldEnableJSONParsing = "enableJSONParsing"
|
||||
ClusterLoggingSpecFieldFluentForwarderConfig = "fluentForwarderConfig"
|
||||
ClusterLoggingSpecFieldGraylogConfig = "graylogConfig"
|
||||
ClusterLoggingSpecFieldIncludeSystemComponent = "includeSystemComponent"
|
||||
ClusterLoggingSpecFieldKafkaConfig = "kafkaConfig"
|
||||
ClusterLoggingSpecFieldOutputFlushInterval = "outputFlushInterval"
|
||||
@ -23,6 +24,7 @@ type ClusterLoggingSpec struct {
|
||||
ElasticsearchConfig *ElasticsearchConfig `json:"elasticsearchConfig,omitempty" yaml:"elasticsearchConfig,omitempty"`
|
||||
EnableJSONParsing bool `json:"enableJSONParsing,omitempty" yaml:"enableJSONParsing,omitempty"`
|
||||
FluentForwarderConfig *FluentForwarderConfig `json:"fluentForwarderConfig,omitempty" yaml:"fluentForwarderConfig,omitempty"`
|
||||
GraylogConfig *GraylogConfig `json:"graylogConfig,omitempty" yaml:"graylogConfig,omitempty"`
|
||||
IncludeSystemComponent *bool `json:"includeSystemComponent,omitempty" yaml:"includeSystemComponent,omitempty"`
|
||||
KafkaConfig *KafkaConfig `json:"kafkaConfig,omitempty" yaml:"kafkaConfig,omitempty"`
|
||||
OutputFlushInterval int64 `json:"outputFlushInterval,omitempty" yaml:"outputFlushInterval,omitempty"`
|
||||
|
@ -6,6 +6,7 @@ const (
|
||||
ClusterTestInputFieldCustomTargetConfig = "customTargetConfig"
|
||||
ClusterTestInputFieldElasticsearchConfig = "elasticsearchConfig"
|
||||
ClusterTestInputFieldFluentForwarderConfig = "fluentForwarderConfig"
|
||||
ClusterTestInputFieldGraylogConfig = "graylogConfig"
|
||||
ClusterTestInputFieldKafkaConfig = "kafkaConfig"
|
||||
ClusterTestInputFieldOutputTags = "outputTags"
|
||||
ClusterTestInputFieldSplunkConfig = "splunkConfig"
|
||||
@ -17,6 +18,7 @@ type ClusterTestInput struct {
|
||||
CustomTargetConfig *CustomTargetConfig `json:"customTargetConfig,omitempty" yaml:"customTargetConfig,omitempty"`
|
||||
ElasticsearchConfig *ElasticsearchConfig `json:"elasticsearchConfig,omitempty" yaml:"elasticsearchConfig,omitempty"`
|
||||
FluentForwarderConfig *FluentForwarderConfig `json:"fluentForwarderConfig,omitempty" yaml:"fluentForwarderConfig,omitempty"`
|
||||
GraylogConfig *GraylogConfig `json:"graylogConfig,omitempty" yaml:"graylogConfig,omitempty"`
|
||||
KafkaConfig *KafkaConfig `json:"kafkaConfig,omitempty" yaml:"kafkaConfig,omitempty"`
|
||||
OutputTags map[string]string `json:"outputTags,omitempty" yaml:"outputTags,omitempty"`
|
||||
SplunkConfig *SplunkConfig `json:"splunkConfig,omitempty" yaml:"splunkConfig,omitempty"`
|
||||
|
22
client/management/v3/zz_generated_graylog_config.go
Normal file
22
client/management/v3/zz_generated_graylog_config.go
Normal file
@ -0,0 +1,22 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
GraylogConfigType = "graylogConfig"
|
||||
GraylogConfigFieldCertificate = "certificate"
|
||||
GraylogConfigFieldClientCert = "clientCert"
|
||||
GraylogConfigFieldClientKey = "clientKey"
|
||||
GraylogConfigFieldEnableTLS = "enableTls"
|
||||
GraylogConfigFieldEndpoint = "endpoint"
|
||||
GraylogConfigFieldProtocol = "protocol"
|
||||
GraylogConfigFieldSSLVerify = "sslVerify"
|
||||
)
|
||||
|
||||
type GraylogConfig struct {
|
||||
Certificate string `json:"certificate,omitempty" yaml:"certificate,omitempty"`
|
||||
ClientCert string `json:"clientCert,omitempty" yaml:"clientCert,omitempty"`
|
||||
ClientKey string `json:"clientKey,omitempty" yaml:"clientKey,omitempty"`
|
||||
EnableTLS bool `json:"enableTls,omitempty" yaml:"enableTls,omitempty"`
|
||||
Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
|
||||
Protocol string `json:"protocol,omitempty" yaml:"protocol,omitempty"`
|
||||
SSLVerify bool `json:"sslVerify,omitempty" yaml:"sslVerify,omitempty"`
|
||||
}
|
@ -13,6 +13,7 @@ const (
|
||||
ProjectLoggingFieldElasticsearchConfig = "elasticsearchConfig"
|
||||
ProjectLoggingFieldEnableJSONParsing = "enableJSONParsing"
|
||||
ProjectLoggingFieldFluentForwarderConfig = "fluentForwarderConfig"
|
||||
ProjectLoggingFieldGraylogConfig = "graylogConfig"
|
||||
ProjectLoggingFieldKafkaConfig = "kafkaConfig"
|
||||
ProjectLoggingFieldLabels = "labels"
|
||||
ProjectLoggingFieldName = "name"
|
||||
@ -40,6 +41,7 @@ type ProjectLogging struct {
|
||||
ElasticsearchConfig *ElasticsearchConfig `json:"elasticsearchConfig,omitempty" yaml:"elasticsearchConfig,omitempty"`
|
||||
EnableJSONParsing bool `json:"enableJSONParsing,omitempty" yaml:"enableJSONParsing,omitempty"`
|
||||
FluentForwarderConfig *FluentForwarderConfig `json:"fluentForwarderConfig,omitempty" yaml:"fluentForwarderConfig,omitempty"`
|
||||
GraylogConfig *GraylogConfig `json:"graylogConfig,omitempty" yaml:"graylogConfig,omitempty"`
|
||||
KafkaConfig *KafkaConfig `json:"kafkaConfig,omitempty" yaml:"kafkaConfig,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
|
@ -7,6 +7,7 @@ const (
|
||||
ProjectLoggingSpecFieldElasticsearchConfig = "elasticsearchConfig"
|
||||
ProjectLoggingSpecFieldEnableJSONParsing = "enableJSONParsing"
|
||||
ProjectLoggingSpecFieldFluentForwarderConfig = "fluentForwarderConfig"
|
||||
ProjectLoggingSpecFieldGraylogConfig = "graylogConfig"
|
||||
ProjectLoggingSpecFieldKafkaConfig = "kafkaConfig"
|
||||
ProjectLoggingSpecFieldOutputFlushInterval = "outputFlushInterval"
|
||||
ProjectLoggingSpecFieldOutputTags = "outputTags"
|
||||
@ -21,6 +22,7 @@ type ProjectLoggingSpec struct {
|
||||
ElasticsearchConfig *ElasticsearchConfig `json:"elasticsearchConfig,omitempty" yaml:"elasticsearchConfig,omitempty"`
|
||||
EnableJSONParsing bool `json:"enableJSONParsing,omitempty" yaml:"enableJSONParsing,omitempty"`
|
||||
FluentForwarderConfig *FluentForwarderConfig `json:"fluentForwarderConfig,omitempty" yaml:"fluentForwarderConfig,omitempty"`
|
||||
GraylogConfig *GraylogConfig `json:"graylogConfig,omitempty" yaml:"graylogConfig,omitempty"`
|
||||
KafkaConfig *KafkaConfig `json:"kafkaConfig,omitempty" yaml:"kafkaConfig,omitempty"`
|
||||
OutputFlushInterval int64 `json:"outputFlushInterval,omitempty" yaml:"outputFlushInterval,omitempty"`
|
||||
OutputTags map[string]string `json:"outputTags,omitempty" yaml:"outputTags,omitempty"`
|
||||
|
@ -5,6 +5,7 @@ const (
|
||||
ProjectTestInputFieldCustomTargetConfig = "customTargetConfig"
|
||||
ProjectTestInputFieldElasticsearchConfig = "elasticsearchConfig"
|
||||
ProjectTestInputFieldFluentForwarderConfig = "fluentForwarderConfig"
|
||||
ProjectTestInputFieldGraylogConfig = "graylogConfig"
|
||||
ProjectTestInputFieldKafkaConfig = "kafkaConfig"
|
||||
ProjectTestInputFieldOutputTags = "outputTags"
|
||||
ProjectTestInputFieldProjectName = "projectId"
|
||||
@ -16,6 +17,7 @@ type ProjectTestInput struct {
|
||||
CustomTargetConfig *CustomTargetConfig `json:"customTargetConfig,omitempty" yaml:"customTargetConfig,omitempty"`
|
||||
ElasticsearchConfig *ElasticsearchConfig `json:"elasticsearchConfig,omitempty" yaml:"elasticsearchConfig,omitempty"`
|
||||
FluentForwarderConfig *FluentForwarderConfig `json:"fluentForwarderConfig,omitempty" yaml:"fluentForwarderConfig,omitempty"`
|
||||
GraylogConfig *GraylogConfig `json:"graylogConfig,omitempty" yaml:"graylogConfig,omitempty"`
|
||||
KafkaConfig *KafkaConfig `json:"kafkaConfig,omitempty" yaml:"kafkaConfig,omitempty"`
|
||||
OutputTags map[string]string `json:"outputTags,omitempty" yaml:"outputTags,omitempty"`
|
||||
ProjectName string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user