mirror of
https://github.com/rancher/rke.git
synced 2025-09-19 10:26:20 +00:00
vendor update
This commit is contained in:
committed by
Alena Prokharchyk
parent
8304b99180
commit
6d21f0eec2
@@ -28,4 +28,4 @@ github.com/matttproud/golang_protobuf_extensions c12348ce28de40eed0136aa2b644d0e
|
||||
github.com/mattn/go-colorable efa589957cd060542a26d2dd7832fd6a6c6c3ade
|
||||
github.com/mattn/go-isatty 6ca4dbf54d38eea1a992b3c722a76a5d1c4cb25c
|
||||
github.com/rancher/norman 0557aa4ff31a3a0f007dcb1b684894f23cda390c
|
||||
github.com/rancher/types ee7e7deb08570aea1a6053fd492c0a7792f1b423
|
||||
github.com/rancher/types d20e3225a1118954ec664f3ba18b7cecf56aa562
|
||||
|
7
vendor/github.com/rancher/types/apis/management.cattle.io/v3/alerting_types.go
generated
vendored
7
vendor/github.com/rancher/types/apis/management.cattle.io/v3/alerting_types.go
generated
vendored
@@ -195,6 +195,7 @@ type CommonGroupField struct {
|
||||
type CommonRuleField struct {
|
||||
DisplayName string `json:"displayName,omitempty"`
|
||||
Severity string `json:"severity,omitempty" norman:"required,options=info|critical|warning,default=critical"`
|
||||
Inherited *bool `json:"inherited,omitempty" norman:"default=true"`
|
||||
TimingField
|
||||
}
|
||||
|
||||
@@ -207,9 +208,9 @@ type MetricRule struct {
|
||||
}
|
||||
|
||||
type TimingField struct {
|
||||
GroupWaitSeconds int `json:"groupWaitSeconds,omitempty" norman:"required,default=30,min=0"`
|
||||
GroupIntervalSeconds int `json:"groupIntervalSeconds,omitempty" norman:"required,default=180,min=0"`
|
||||
RepeatIntervalSeconds int `json:"repeatIntervalSeconds,omitempty" norman:"required,default=3600,min=0"`
|
||||
GroupWaitSeconds int `json:"groupWaitSeconds,omitempty" norman:"required,default=30,min=1"`
|
||||
GroupIntervalSeconds int `json:"groupIntervalSeconds,omitempty" norman:"required,default=180,min=1"`
|
||||
RepeatIntervalSeconds int `json:"repeatIntervalSeconds,omitempty" norman:"required,default=3600,min=1"`
|
||||
}
|
||||
|
||||
type NodeRule struct {
|
||||
|
15
vendor/github.com/rancher/types/apis/management.cattle.io/v3/multi_cluster_app.go
generated
vendored
15
vendor/github.com/rancher/types/apis/management.cattle.io/v3/multi_cluster_app.go
generated
vendored
@@ -26,13 +26,14 @@ type MultiClusterApp struct {
|
||||
}
|
||||
|
||||
type MultiClusterAppSpec struct {
|
||||
TemplateVersionName string `json:"templateVersionName,omitempty" norman:"type=reference[templateVersion],required"`
|
||||
Answers []Answer `json:"answers,omitempty"`
|
||||
Targets []Target `json:"targets,omitempty" norman:"required,noupdate"`
|
||||
Members []Member `json:"members,omitempty"`
|
||||
Roles []string `json:"roles,omitempty" norman:"type=array[reference[roleTemplate]]"`
|
||||
RevisionHistoryLimit int `json:"revisionHistoryLimit,omitempty" norman:"default=10"`
|
||||
UpgradeStrategy UpgradeStrategy `json:"upgradeStrategy,omitempty"`
|
||||
TemplateVersionName string `json:"templateVersionName,omitempty" norman:"type=reference[templateVersion],required"`
|
||||
Answers []Answer `json:"answers,omitempty"`
|
||||
Targets []Target `json:"targets,omitempty" norman:"required,noupdate"`
|
||||
Members []Member `json:"members,omitempty"`
|
||||
Roles []string `json:"roles,omitempty" norman:"type=array[reference[roleTemplate]]"`
|
||||
RevisionHistoryLimit int `json:"revisionHistoryLimit,omitempty" norman:"default=10"`
|
||||
UpgradeStrategy UpgradeStrategy `json:"upgradeStrategy,omitempty"`
|
||||
TargetToRole map[string][]string `json:"targetToRole,omitempty"`
|
||||
}
|
||||
|
||||
type MultiClusterAppStatus struct {
|
||||
|
24
vendor/github.com/rancher/types/apis/management.cattle.io/v3/zz_generated_deepcopy.go
generated
vendored
24
vendor/github.com/rancher/types/apis/management.cattle.io/v3/zz_generated_deepcopy.go
generated
vendored
@@ -1170,7 +1170,7 @@ func (in *ClusterAlertRuleList) DeepCopyObject() runtime.Object {
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ClusterAlertRuleSpec) DeepCopyInto(out *ClusterAlertRuleSpec) {
|
||||
*out = *in
|
||||
out.CommonRuleField = in.CommonRuleField
|
||||
in.CommonRuleField.DeepCopyInto(&out.CommonRuleField)
|
||||
if in.NodeRule != nil {
|
||||
in, out := &in.NodeRule, &out.NodeRule
|
||||
*out = new(NodeRule)
|
||||
@@ -1952,6 +1952,11 @@ func (in *CommonQueryMetricInput) DeepCopy() *CommonQueryMetricInput {
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *CommonRuleField) DeepCopyInto(out *CommonRuleField) {
|
||||
*out = *in
|
||||
if in.Inherited != nil {
|
||||
in, out := &in.Inherited, &out.Inherited
|
||||
*out = new(bool)
|
||||
**out = **in
|
||||
}
|
||||
out.TimingField = in.TimingField
|
||||
return
|
||||
}
|
||||
@@ -4513,6 +4518,21 @@ func (in *MultiClusterAppSpec) DeepCopyInto(out *MultiClusterAppSpec) {
|
||||
copy(*out, *in)
|
||||
}
|
||||
in.UpgradeStrategy.DeepCopyInto(&out.UpgradeStrategy)
|
||||
if in.TargetToRole != nil {
|
||||
in, out := &in.TargetToRole, &out.TargetToRole
|
||||
*out = make(map[string][]string, len(*in))
|
||||
for key, val := range *in {
|
||||
var outVal []string
|
||||
if val == nil {
|
||||
(*out)[key] = nil
|
||||
} else {
|
||||
in, out := &val, &outVal
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
(*out)[key] = outVal
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
@@ -6132,7 +6152,7 @@ func (in *ProjectAlertRuleList) DeepCopyObject() runtime.Object {
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ProjectAlertRuleSpec) DeepCopyInto(out *ProjectAlertRuleSpec) {
|
||||
*out = *in
|
||||
out.CommonRuleField = in.CommonRuleField
|
||||
in.CommonRuleField.DeepCopyInto(&out.CommonRuleField)
|
||||
if in.PodRule != nil {
|
||||
in, out := &in.PodRule, &out.PodRule
|
||||
*out = new(PodRule)
|
||||
|
Reference in New Issue
Block a user