mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-09-02 01:19:31 +00:00
added deviceIDs insertions into delegates
this changes allow Multus to parse resourceName annotation from network CRDs then add deviceIDs into the delegate object for CNI plugin to consume it.
This commit is contained in:
12
vendor/k8s.io/api/rbac/v1/zz_generated.deepcopy.go
generated
vendored
12
vendor/k8s.io/api/rbac/v1/zz_generated.deepcopy.go
generated
vendored
@@ -21,7 +21,7 @@ limitations under the License.
|
||||
package v1
|
||||
|
||||
import (
|
||||
meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
@@ -30,7 +30,7 @@ func (in *AggregationRule) DeepCopyInto(out *AggregationRule) {
|
||||
*out = *in
|
||||
if in.ClusterRoleSelectors != nil {
|
||||
in, out := &in.ClusterRoleSelectors, &out.ClusterRoleSelectors
|
||||
*out = make([]meta_v1.LabelSelector, len(*in))
|
||||
*out = make([]metav1.LabelSelector, len(*in))
|
||||
for i := range *in {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
@@ -62,12 +62,8 @@ func (in *ClusterRole) DeepCopyInto(out *ClusterRole) {
|
||||
}
|
||||
if in.AggregationRule != nil {
|
||||
in, out := &in.AggregationRule, &out.AggregationRule
|
||||
if *in == nil {
|
||||
*out = nil
|
||||
} else {
|
||||
*out = new(AggregationRule)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
*out = new(AggregationRule)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user