Skip to content

Commit c350e97

Browse files
deads2kk8s-publish-robot
authored andcommitted
generated
Kubernetes-commit: a53e5de3dbbdfb1dc8fdab4d97ed973155494ad3
1 parent 9609ffe commit c350e97

12 files changed

+997
-241
lines changed

rbac/v1/generated.pb.go

+271-77
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rbac/v1/generated.proto

+15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rbac/v1/types_swagger_doc_generated.go

+13-3
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,20 @@ package v1
2727
// Those methods can be generated by using hack/update-generated-swagger-docs.sh
2828

2929
// AUTO-GENERATED FUNCTIONS START HERE
30+
var map_AggregationRule = map[string]string{
31+
"": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole",
32+
"clusterRoleSelectors": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added",
33+
}
34+
35+
func (AggregationRule) SwaggerDoc() map[string]string {
36+
return map_AggregationRule
37+
}
38+
3039
var map_ClusterRole = map[string]string{
31-
"": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.",
32-
"metadata": "Standard object's metadata.",
33-
"rules": "Rules holds all the PolicyRules for this ClusterRole",
40+
"": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.",
41+
"metadata": "Standard object's metadata.",
42+
"rules": "Rules holds all the PolicyRules for this ClusterRole",
43+
"aggregationRule": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.",
3444
}
3545

3646
func (ClusterRole) SwaggerDoc() map[string]string {

rbac/v1/zz_generated.deepcopy.go

+33
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,33 @@ limitations under the License.
2121
package v1
2222

2323
import (
24+
meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2425
runtime "k8s.io/apimachinery/pkg/runtime"
2526
)
2627

28+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
29+
func (in *AggregationRule) DeepCopyInto(out *AggregationRule) {
30+
*out = *in
31+
if in.ClusterRoleSelectors != nil {
32+
in, out := &in.ClusterRoleSelectors, &out.ClusterRoleSelectors
33+
*out = make([]meta_v1.LabelSelector, len(*in))
34+
for i := range *in {
35+
(*in)[i].DeepCopyInto(&(*out)[i])
36+
}
37+
}
38+
return
39+
}
40+
41+
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AggregationRule.
42+
func (in *AggregationRule) DeepCopy() *AggregationRule {
43+
if in == nil {
44+
return nil
45+
}
46+
out := new(AggregationRule)
47+
in.DeepCopyInto(out)
48+
return out
49+
}
50+
2751
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
2852
func (in *ClusterRole) DeepCopyInto(out *ClusterRole) {
2953
*out = *in
@@ -36,6 +60,15 @@ func (in *ClusterRole) DeepCopyInto(out *ClusterRole) {
3660
(*in)[i].DeepCopyInto(&(*out)[i])
3761
}
3862
}
63+
if in.AggregationRule != nil {
64+
in, out := &in.AggregationRule, &out.AggregationRule
65+
if *in == nil {
66+
*out = nil
67+
} else {
68+
*out = new(AggregationRule)
69+
(*in).DeepCopyInto(*out)
70+
}
71+
}
3972
return
4073
}
4174

0 commit comments

Comments
 (0)