mirror of https://github.com/k3s-io/k3s
Remove traces of go2idl
parent
9e85c3cc74
commit
ea39971b7c
|
@ -31,7 +31,7 @@ while IFS= read -d $'\0' -r file ; do
|
|||
done < <(find "${KUBE_ROOT}"/pkg/apis -name register.go -print0)
|
||||
|
||||
# every register file should contain a GroupName. Gather the different representations.
|
||||
# 1. group directory name for go2idl client gen
|
||||
# 1. group directory name for client gen
|
||||
# 2. external group versions for init.sh all APIs list
|
||||
# 3. install packages for inclusion in import_known_versions files
|
||||
group_dirnames=()
|
||||
|
@ -125,4 +125,4 @@ for external_group_version in "${external_group_versions[@]}"; do
|
|||
echo "missing ${external_group_version} from hack/lib/init.sh:/KUBE_AVAILABLE_GROUP_VERSIONS or hack/init.sh:/KUBE_NONSERVER_GROUP_VERSIONS"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
|
|
@ -71,7 +71,7 @@ func fmtRawDoc(rawDoc string) string {
|
|||
delPrevChar()
|
||||
buffer.WriteString("\n\n")
|
||||
case strings.HasPrefix(leading, "TODO"): // Ignore one line TODOs
|
||||
case strings.HasPrefix(leading, "+"): // Ignore instructions to go2idl
|
||||
case strings.HasPrefix(leading, "+"): // Ignore instructions to the generators
|
||||
default:
|
||||
if strings.HasPrefix(line, " ") || strings.HasPrefix(line, "\t") {
|
||||
delPrevChar()
|
||||
|
|
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
// client-gen makes the individual typed clients using go2idl.
|
||||
// client-gen makes the individual typed clients using gengo.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
|
@ -35,8 +35,7 @@ import (
|
|||
"github.com/golang/glog"
|
||||
)
|
||||
|
||||
// CustomArgs is used tby the go2idl framework to pass args specific to this
|
||||
// generator.
|
||||
// CustomArgs is used by the gengo framework to pass args specific to this generator.
|
||||
type CustomArgs struct {
|
||||
ExtraPeerDirs []string // Always consider these as last-ditch possibilities for conversions.
|
||||
// Skipunsafe indicates whether to generate unsafe conversions to improve the efficiency
|
||||
|
|
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
// set-gen is an example usage of go2idl.
|
||||
// set-gen is an example usage of gengo.
|
||||
//
|
||||
// Structs in the input directories with the below line in their comments will
|
||||
// have sets generated for them.
|
||||
|
|
|
@ -583,9 +583,6 @@ k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig,apelisse,1,
|
|||
k8s.io/kubernetes/cmd/kubeadm/app/util/token,sttts,1,
|
||||
k8s.io/kubernetes/cmd/kubeadm/test/cmd,krousey,0,
|
||||
k8s.io/kubernetes/cmd/kubelet/app,derekwaynecarr,0,
|
||||
k8s.io/kubernetes/cmd/libs/go2idl/client-gen/types,caesarxuchao,0,
|
||||
k8s.io/kubernetes/cmd/libs/go2idl/go-to-protobuf/protobuf,smarterclayton,0,
|
||||
k8s.io/kubernetes/cmd/libs/go2idl/openapi-gen/generators,davidopp,1,
|
||||
k8s.io/kubernetes/cmd/mungedocs,mwielgus,1,
|
||||
k8s.io/kubernetes/examples,Random-Liu,0,
|
||||
k8s.io/kubernetes/federation/apis/federation/install,nikhiljindal,0,
|
||||
|
|
|
Loading…
Reference in New Issue