1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-02 07:24:20 +00:00

go generate

This commit is contained in:
Akhilesh Sarda
2024-01-17 23:32:23 +05:30
parent 8ee0cb9259
commit e238c7da0f
5 changed files with 106 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ import (
)
const (
defaultURL = "https://releases.rancher.com/kontainer-driver-metadata/release-v2.7/data.json"
defaultURL = "https://releases.rancher.com/kontainer-driver-metadata/dev-v2.7/data.json"
dataFile = "data/data.json"
)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
// +build !ignore_autogenerated
/*
Copyright 2023 Rancher Labs, Inc.
Copyright 2024 Rancher Labs, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

View File

@@ -2,7 +2,7 @@
// +build !ignore_autogenerated
/*
Copyright 2023 Rancher Labs, Inc.
Copyright 2024 Rancher Labs, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -85,6 +85,19 @@ func (in *AciNetworkProvider) DeepCopyInto(out *AciNetworkProvider) {
}
}
}
if in.NodeSnatRedirectExclude != nil {
in, out := &in.NodeSnatRedirectExclude, &out.NodeSnatRedirectExclude
*out = make([]map[string]string, len(*in))
for i := range *in {
if (*in)[i] != nil {
in, out := &(*in)[i], &(*out)[i]
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
}
}
return
}