diff --git a/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/doc.go b/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/doc.go index 2bf32d2561..4796a8a449 100644 --- a/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/doc.go +++ b/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/doc.go @@ -16,4 +16,4 @@ limitations under the License. // Package genericclioptions contains flags which can be added to you command, bound, completed, and produce // useful helper functions. Nothing in this package can depend on kube/kube -package genericclioptions +package genericclioptions // import "k8s.io/cli-runtime/pkg/genericclioptions" diff --git a/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/printers/BUILD b/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/printers/BUILD index 8792dad718..3e673c58bf 100644 --- a/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/printers/BUILD +++ b/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/printers/BUILD @@ -4,6 +4,7 @@ go_library( name = "go_default_library", srcs = [ "discard.go", + "doc.go", "interface.go", "json.go", "jsonpath.go", diff --git a/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/printers/doc.go b/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/printers/doc.go new file mode 100644 index 0000000000..ec011cea54 --- /dev/null +++ b/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/printers/doc.go @@ -0,0 +1,19 @@ +/* +Copyright 2019 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Package printers is helper for formatting and printing runtime objects into +// primitives io.writer. +package printers // import "k8s.io/cli-runtime/pkg/genericclioptions/printers" diff --git a/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/resource/doc.go b/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/resource/doc.go index a0e22e7cf7..fcd61d6e27 100644 --- a/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/resource/doc.go +++ b/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/resource/doc.go @@ -21,4 +21,4 @@ limitations under the License. // standard command line arguments and parameters into a Visitor that can iterate // over all of the identified resources, whether on the server or on the local // filesystem. -package resource +package resource // import "k8s.io/cli-runtime/pkg/genericclioptions/resource"