Skip to content

Commit ba54434

Browse files
generated
1 parent ce14be1 commit ba54434

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

pkg/authorization/api/deep_copy_generated.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func DeepCopy_api_ClusterPolicy(in ClusterPolicy, out *ClusterPolicy, c *convers
7777
}
7878
if in.Roles != nil {
7979
in, out := in.Roles, &out.Roles
80-
*out = make(map[string]*ClusterRole)
80+
*out = make(ClusterRolesByName)
8181
for key, val := range in {
8282
if newVal, err := c.DeepCopy(val); err != nil {
8383
return err
@@ -106,7 +106,7 @@ func DeepCopy_api_ClusterPolicyBinding(in ClusterPolicyBinding, out *ClusterPoli
106106
}
107107
if in.RoleBindings != nil {
108108
in, out := in.RoleBindings, &out.RoleBindings
109-
*out = make(map[string]*ClusterRoleBinding)
109+
*out = make(ClusterRoleBindingsByName)
110110
for key, val := range in {
111111
if newVal, err := c.DeepCopy(val); err != nil {
112112
return err
@@ -309,7 +309,7 @@ func DeepCopy_api_Policy(in Policy, out *Policy, c *conversion.Cloner) error {
309309
}
310310
if in.Roles != nil {
311311
in, out := in.Roles, &out.Roles
312-
*out = make(map[string]*Role)
312+
*out = make(RolesByName)
313313
for key, val := range in {
314314
if newVal, err := c.DeepCopy(val); err != nil {
315315
return err
@@ -338,7 +338,7 @@ func DeepCopy_api_PolicyBinding(in PolicyBinding, out *PolicyBinding, c *convers
338338
}
339339
if in.RoleBindings != nil {
340340
in, out := in.RoleBindings, &out.RoleBindings
341-
*out = make(map[string]*RoleBinding)
341+
*out = make(RoleBindingsByName)
342342
for key, val := range in {
343343
if newVal, err := c.DeepCopy(val); err != nil {
344344
return err

pkg/authorization/api/v1/conversion_generated.go

+2
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,7 @@ func autoConvert_v1_ResourceAccessReviewResponse_To_api_ResourceAccessReviewResp
783783
return err
784784
}
785785
out.Namespace = in.Namespace
786+
out.EvaluationError = in.EvaluationError
786787
return nil
787788
}
788789

@@ -791,6 +792,7 @@ func autoConvert_api_ResourceAccessReviewResponse_To_v1_ResourceAccessReviewResp
791792
return err
792793
}
793794
out.Namespace = in.Namespace
795+
out.EvaluationError = in.EvaluationError
794796
return nil
795797
}
796798

pkg/authorization/api/v1/deep_copy_generated.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func DeepCopy_v1_ClusterPolicy(in ClusterPolicy, out *ClusterPolicy, c *conversi
7777
}
7878
if in.Roles != nil {
7979
in, out := in.Roles, &out.Roles
80-
*out = make([]NamedClusterRole, len(in))
80+
*out = make(NamedClusterRoles, len(in))
8181
for i := range in {
8282
if err := DeepCopy_v1_NamedClusterRole(in[i], &(*out)[i], c); err != nil {
8383
return err
@@ -104,7 +104,7 @@ func DeepCopy_v1_ClusterPolicyBinding(in ClusterPolicyBinding, out *ClusterPolic
104104
}
105105
if in.RoleBindings != nil {
106106
in, out := in.RoleBindings, &out.RoleBindings
107-
*out = make([]NamedClusterRoleBinding, len(in))
107+
*out = make(NamedClusterRoleBindings, len(in))
108108
for i := range in {
109109
if err := DeepCopy_v1_NamedClusterRoleBinding(in[i], &(*out)[i], c); err != nil {
110110
return err
@@ -345,7 +345,7 @@ func DeepCopy_v1_Policy(in Policy, out *Policy, c *conversion.Cloner) error {
345345
}
346346
if in.Roles != nil {
347347
in, out := in.Roles, &out.Roles
348-
*out = make([]NamedRole, len(in))
348+
*out = make(NamedRoles, len(in))
349349
for i := range in {
350350
if err := DeepCopy_v1_NamedRole(in[i], &(*out)[i], c); err != nil {
351351
return err
@@ -372,7 +372,7 @@ func DeepCopy_v1_PolicyBinding(in PolicyBinding, out *PolicyBinding, c *conversi
372372
}
373373
if in.RoleBindings != nil {
374374
in, out := in.RoleBindings, &out.RoleBindings
375-
*out = make([]NamedRoleBinding, len(in))
375+
*out = make(NamedRoleBindings, len(in))
376376
for i := range in {
377377
if err := DeepCopy_v1_NamedRoleBinding(in[i], &(*out)[i], c); err != nil {
378378
return err

pkg/deploy/api/v1/swagger_doc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ var map_DeploymentConfigSpec = map[string]string{
8585
"": "DeploymentConfigSpec represents the desired state of the deployment.",
8686
"strategy": "Strategy describes how a deployment is executed.",
8787
"minReadySeconds": "MinReadySeconds is the minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)",
88-
"triggers": "Triggers determine how updates to a DeploymentConfig result in new deployments. If no triggers are defined, a new deployment can only occur as a result of an explicit client update to the DeploymentConfig with a new LatestVersion.",
88+
"triggers": "Triggers determine how updates to a DeploymentConfig result in new deployments. If no triggers are defined, a new deployment can only occur as a result of an explicit client update to the DeploymentConfig with a new LatestVersion. If null, defaults to having a config change trigger.",
8989
"replicas": "Replicas is the number of desired replicas.",
9090
"revisionHistoryLimit": "RevisionHistoryLimit is the number of old ReplicationControllers to retain to allow for rollbacks. This field is a pointer to allow for differentiation between an explicit zero and not specified.",
9191
"test": "Test ensures that this deployment config will have zero replicas except while a deployment is running. This allows the deployment config to be used as a continuous deployment test - triggering on images, running the deployment, and then succeeding or failing. Post strategy hooks and After actions can be used to integrate successful deployment with an action.",

0 commit comments

Comments
 (0)