Skip to content

Commit

Permalink
Merge pull request #53202 from sttts/sttts-unify-generator-mains
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue (batch tested with PRs 53434, 53202). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

code-generator: unify generator main funcs and prepare for launching from one binary

- remove "generated by client-gen with custom arguments" message as this does not
  make sense in the times of k8s.io/code-generator
- unify generator main funcs and explicitly call pflag.AddFlags and pflag.Parse. This
  will allow to instantiate the generators also from other places.

Requires kubernetes/gengo#80.

Closes kubernetes/kubernetes#53522.

Kubernetes-commit: 6ac018af01bd27054452cf04adaa05cf61f1e82a
  • Loading branch information
k8s-publish-robot committed Oct 14, 2017
2 parents c331289 + 4984b8d commit 1be1616
Show file tree
Hide file tree
Showing 11 changed files with 179 additions and 199 deletions.
358 changes: 179 additions & 179 deletions Godeps/Godeps.json

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions pkg/client/clientset/clientset/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// This package is generated by client-gen with custom arguments.

// This package has the automatically generated clientset.
package clientset
2 changes: 0 additions & 2 deletions pkg/client/clientset/clientset/fake/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// This package is generated by client-gen with custom arguments.

// This package has the automatically generated fake clientset.
package fake
2 changes: 0 additions & 2 deletions pkg/client/clientset/clientset/scheme/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// This package is generated by client-gen with custom arguments.

// This package contains the scheme of the automatically generated clientset.
package scheme
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// This package is generated by client-gen with custom arguments.

// This package has the automatically generated typed clients.
package v1beta1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// This package is generated by client-gen with custom arguments.

// Package fake has the automatically generated clients.
package fake
2 changes: 0 additions & 2 deletions pkg/client/clientset/internalclientset/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// This package is generated by client-gen with custom arguments.

// This package has the automatically generated clientset.
package internalclientset
2 changes: 0 additions & 2 deletions pkg/client/clientset/internalclientset/fake/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// This package is generated by client-gen with custom arguments.

// This package has the automatically generated fake clientset.
package fake
2 changes: 0 additions & 2 deletions pkg/client/clientset/internalclientset/scheme/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// This package is generated by client-gen with custom arguments.

// This package contains the scheme of the automatically generated clientset.
package scheme
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// This package is generated by client-gen with custom arguments.

// This package has the automatically generated typed clients.
package internalversion
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// This package is generated by client-gen with custom arguments.

// Package fake has the automatically generated clients.
package fake

0 comments on commit 1be1616

Please sign in to comment.