mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Merge pull request #49368 from sttts/sttts-clean-go2idl
Automatic merge from submit-queue Remove remaining traces of go2idl
This commit is contained in:
commit
ef5ee331cc
@ -31,7 +31,7 @@ while IFS= read -d $'\0' -r file ; do
|
|||||||
done < <(find "${KUBE_ROOT}"/pkg/apis -name register.go -print0)
|
done < <(find "${KUBE_ROOT}"/pkg/apis -name register.go -print0)
|
||||||
|
|
||||||
# every register file should contain a GroupName. Gather the different representations.
|
# 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
|
# 2. external group versions for init.sh all APIs list
|
||||||
# 3. install packages for inclusion in import_known_versions files
|
# 3. install packages for inclusion in import_known_versions files
|
||||||
group_dirnames=()
|
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"
|
echo "missing ${external_group_version} from hack/lib/init.sh:/KUBE_AVAILABLE_GROUP_VERSIONS or hack/init.sh:/KUBE_NONSERVER_GROUP_VERSIONS"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -71,7 +71,7 @@ func fmtRawDoc(rawDoc string) string {
|
|||||||
delPrevChar()
|
delPrevChar()
|
||||||
buffer.WriteString("\n\n")
|
buffer.WriteString("\n\n")
|
||||||
case strings.HasPrefix(leading, "TODO"): // Ignore one line TODOs
|
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:
|
default:
|
||||||
if strings.HasPrefix(line, " ") || strings.HasPrefix(line, "\t") {
|
if strings.HasPrefix(line, " ") || strings.HasPrefix(line, "\t") {
|
||||||
delPrevChar()
|
delPrevChar()
|
||||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// client-gen makes the individual typed clients using go2idl.
|
// client-gen makes the individual typed clients using gengo.
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -35,8 +35,7 @@ import (
|
|||||||
"github.com/golang/glog"
|
"github.com/golang/glog"
|
||||||
)
|
)
|
||||||
|
|
||||||
// CustomArgs is used tby the go2idl framework to pass args specific to this
|
// CustomArgs is used by the gengo framework to pass args specific to this generator.
|
||||||
// generator.
|
|
||||||
type CustomArgs struct {
|
type CustomArgs struct {
|
||||||
ExtraPeerDirs []string // Always consider these as last-ditch possibilities for conversions.
|
ExtraPeerDirs []string // Always consider these as last-ditch possibilities for conversions.
|
||||||
// Skipunsafe indicates whether to generate unsafe conversions to improve the efficiency
|
// 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.
|
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
|
// Structs in the input directories with the below line in their comments will
|
||||||
// have sets generated for them.
|
// 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/app/util/token,sttts,1,
|
||||||
k8s.io/kubernetes/cmd/kubeadm/test/cmd,krousey,0,
|
k8s.io/kubernetes/cmd/kubeadm/test/cmd,krousey,0,
|
||||||
k8s.io/kubernetes/cmd/kubelet/app,derekwaynecarr,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/cmd/mungedocs,mwielgus,1,
|
||||||
k8s.io/kubernetes/examples,Random-Liu,0,
|
k8s.io/kubernetes/examples,Random-Liu,0,
|
||||||
k8s.io/kubernetes/federation/apis/federation/install,nikhiljindal,0,
|
k8s.io/kubernetes/federation/apis/federation/install,nikhiljindal,0,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user