Skip to content

Commit

Permalink
generated
Browse files Browse the repository at this point in the history
  • Loading branch information
smarterclayton committed Jul 22, 2016
1 parent e18a27c commit eba5cec
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
8 changes: 4 additions & 4 deletions pkg/authorization/api/deep_copy_generated.go
Expand Up @@ -77,7 +77,7 @@ func DeepCopy_api_ClusterPolicy(in ClusterPolicy, out *ClusterPolicy, c *convers
}
if in.Roles != nil {
in, out := in.Roles, &out.Roles
*out = make(map[string]*ClusterRole)
*out = make(ClusterRolesByName)
for key, val := range in {
if newVal, err := c.DeepCopy(val); err != nil {
return err
Expand Down Expand Up @@ -106,7 +106,7 @@ func DeepCopy_api_ClusterPolicyBinding(in ClusterPolicyBinding, out *ClusterPoli
}
if in.RoleBindings != nil {
in, out := in.RoleBindings, &out.RoleBindings
*out = make(map[string]*ClusterRoleBinding)
*out = make(ClusterRoleBindingsByName)
for key, val := range in {
if newVal, err := c.DeepCopy(val); err != nil {
return err
Expand Down Expand Up @@ -309,7 +309,7 @@ func DeepCopy_api_Policy(in Policy, out *Policy, c *conversion.Cloner) error {
}
if in.Roles != nil {
in, out := in.Roles, &out.Roles
*out = make(map[string]*Role)
*out = make(RolesByName)
for key, val := range in {
if newVal, err := c.DeepCopy(val); err != nil {
return err
Expand Down Expand Up @@ -338,7 +338,7 @@ func DeepCopy_api_PolicyBinding(in PolicyBinding, out *PolicyBinding, c *convers
}
if in.RoleBindings != nil {
in, out := in.RoleBindings, &out.RoleBindings
*out = make(map[string]*RoleBinding)
*out = make(RoleBindingsByName)
for key, val := range in {
if newVal, err := c.DeepCopy(val); err != nil {
return err
Expand Down
2 changes: 2 additions & 0 deletions pkg/authorization/api/v1/conversion_generated.go
Expand Up @@ -783,6 +783,7 @@ func autoConvert_v1_ResourceAccessReviewResponse_To_api_ResourceAccessReviewResp
return err
}
out.Namespace = in.Namespace
out.EvaluationError = in.EvaluationError
return nil
}

Expand All @@ -791,6 +792,7 @@ func autoConvert_api_ResourceAccessReviewResponse_To_v1_ResourceAccessReviewResp
return err
}
out.Namespace = in.Namespace
out.EvaluationError = in.EvaluationError
return nil
}

Expand Down
8 changes: 4 additions & 4 deletions pkg/authorization/api/v1/deep_copy_generated.go
Expand Up @@ -77,7 +77,7 @@ func DeepCopy_v1_ClusterPolicy(in ClusterPolicy, out *ClusterPolicy, c *conversi
}
if in.Roles != nil {
in, out := in.Roles, &out.Roles
*out = make([]NamedClusterRole, len(in))
*out = make(NamedClusterRoles, len(in))
for i := range in {
if err := DeepCopy_v1_NamedClusterRole(in[i], &(*out)[i], c); err != nil {
return err
Expand All @@ -104,7 +104,7 @@ func DeepCopy_v1_ClusterPolicyBinding(in ClusterPolicyBinding, out *ClusterPolic
}
if in.RoleBindings != nil {
in, out := in.RoleBindings, &out.RoleBindings
*out = make([]NamedClusterRoleBinding, len(in))
*out = make(NamedClusterRoleBindings, len(in))
for i := range in {
if err := DeepCopy_v1_NamedClusterRoleBinding(in[i], &(*out)[i], c); err != nil {
return err
Expand Down Expand Up @@ -345,7 +345,7 @@ func DeepCopy_v1_Policy(in Policy, out *Policy, c *conversion.Cloner) error {
}
if in.Roles != nil {
in, out := in.Roles, &out.Roles
*out = make([]NamedRole, len(in))
*out = make(NamedRoles, len(in))
for i := range in {
if err := DeepCopy_v1_NamedRole(in[i], &(*out)[i], c); err != nil {
return err
Expand All @@ -372,7 +372,7 @@ func DeepCopy_v1_PolicyBinding(in PolicyBinding, out *PolicyBinding, c *conversi
}
if in.RoleBindings != nil {
in, out := in.RoleBindings, &out.RoleBindings
*out = make([]NamedRoleBinding, len(in))
*out = make(NamedRoleBindings, len(in))
for i := range in {
if err := DeepCopy_v1_NamedRoleBinding(in[i], &(*out)[i], c); err != nil {
return err
Expand Down
4 changes: 4 additions & 0 deletions pkg/authorization/api/v1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/deploy/api/v1/swagger_doc.go
Expand Up @@ -85,7 +85,7 @@ var map_DeploymentConfigSpec = map[string]string{
"": "DeploymentConfigSpec represents the desired state of the deployment.",
"strategy": "Strategy describes how a deployment is executed.",
"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)",
"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.",
"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.",
"replicas": "Replicas is the number of desired replicas.",
"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.",
"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.",
Expand Down

0 comments on commit eba5cec

Please sign in to comment.