mirror of
https://github.com/rancher/types.git
synced 2025-06-30 23:41:47 +00:00
update vendor
This commit is contained in:
parent
267f0d7124
commit
4d15fd3b47
@ -2007,6 +2007,15 @@ func (in *ClusterLoggingStatus) DeepCopyInto(out *ClusterLoggingStatus) {
|
||||
copy(*out, *in)
|
||||
}
|
||||
in.AppliedSpec.DeepCopyInto(&out.AppliedSpec)
|
||||
if in.FailedSpec != nil {
|
||||
in, out := &in.FailedSpec, &out.FailedSpec
|
||||
if *in == nil {
|
||||
*out = nil
|
||||
} else {
|
||||
*out = new(ClusterLoggingSpec)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -14,6 +14,7 @@ const (
|
||||
ClusterLoggingFieldCreatorID = "creatorId"
|
||||
ClusterLoggingFieldElasticsearchConfig = "elasticsearchConfig"
|
||||
ClusterLoggingFieldEmbeddedConfig = "embeddedConfig"
|
||||
ClusterLoggingFieldFailedSpec = "failedSpec"
|
||||
ClusterLoggingFieldKafkaConfig = "kafkaConfig"
|
||||
ClusterLoggingFieldLabels = "labels"
|
||||
ClusterLoggingFieldName = "name"
|
||||
@ -40,6 +41,7 @@ type ClusterLogging struct {
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
ElasticsearchConfig *ElasticsearchConfig `json:"elasticsearchConfig,omitempty" yaml:"elasticsearchConfig,omitempty"`
|
||||
EmbeddedConfig *EmbeddedConfig `json:"embeddedConfig,omitempty" yaml:"embeddedConfig,omitempty"`
|
||||
FailedSpec *ClusterLoggingSpec `json:"failedSpec,omitempty" yaml:"failedSpec,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"`
|
||||
|
@ -4,9 +4,11 @@ const (
|
||||
ClusterLoggingStatusType = "clusterLoggingStatus"
|
||||
ClusterLoggingStatusFieldAppliedSpec = "appliedSpec"
|
||||
ClusterLoggingStatusFieldConditions = "conditions"
|
||||
ClusterLoggingStatusFieldFailedSpec = "failedSpec"
|
||||
)
|
||||
|
||||
type ClusterLoggingStatus struct {
|
||||
AppliedSpec *ClusterLoggingSpec `json:"appliedSpec,omitempty" yaml:"appliedSpec,omitempty"`
|
||||
Conditions []LoggingCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
|
||||
FailedSpec *ClusterLoggingSpec `json:"failedSpec,omitempty" yaml:"failedSpec,omitempty"`
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ const (
|
||||
ElasticsearchConfigFieldDateFormat = "dateFormat"
|
||||
ElasticsearchConfigFieldEndpoint = "endpoint"
|
||||
ElasticsearchConfigFieldIndexPrefix = "indexPrefix"
|
||||
ElasticsearchConfigFieldSSLVerify = "sslVerify"
|
||||
)
|
||||
|
||||
type ElasticsearchConfig struct {
|
||||
@ -15,4 +16,5 @@ type ElasticsearchConfig struct {
|
||||
DateFormat string `json:"dateFormat,omitempty" yaml:"dateFormat,omitempty"`
|
||||
Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
|
||||
IndexPrefix string `json:"indexPrefix,omitempty" yaml:"indexPrefix,omitempty"`
|
||||
SSLVerify bool `json:"sslVerify,omitempty" yaml:"sslVerify,omitempty"`
|
||||
}
|
||||
|
@ -1,14 +1,16 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
SplunkConfigType = "splunkConfig"
|
||||
SplunkConfigFieldEndpoint = "endpoint"
|
||||
SplunkConfigFieldSource = "source"
|
||||
SplunkConfigFieldToken = "token"
|
||||
SplunkConfigType = "splunkConfig"
|
||||
SplunkConfigFieldEndpoint = "endpoint"
|
||||
SplunkConfigFieldSSLVerify = "sslVerify"
|
||||
SplunkConfigFieldSource = "source"
|
||||
SplunkConfigFieldToken = "token"
|
||||
)
|
||||
|
||||
type SplunkConfig struct {
|
||||
Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
|
||||
Source string `json:"source,omitempty" yaml:"source,omitempty"`
|
||||
Token string `json:"token,omitempty" yaml:"token,omitempty"`
|
||||
Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
|
||||
SSLVerify bool `json:"sslVerify,omitempty" yaml:"sslVerify,omitempty"`
|
||||
Source string `json:"source,omitempty" yaml:"source,omitempty"`
|
||||
Token string `json:"token,omitempty" yaml:"token,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user