Move pluginator to cmd directory.

This commit is contained in:
Jeffrey Regan
2019-06-18 10:14:36 -07:00
parent a9583fc6ec
commit 4bc31f4b2a
15 changed files with 21 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
// Copyright 2019 The Kubernetes Authors. // Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// See plugin/doc.go for an explanation. // See /plugin/doc.go for an explanation.
package main package main
import ( import (

View File

@@ -1,7 +1,7 @@
// Copyright 2019 The Kubernetes Authors. // Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
//go:generate go run sigs.k8s.io/kustomize/plugin/pluginator //go:generate go run sigs.k8s.io/kustomize/cmd/pluginator
package main package main
import ( import (

View File

@@ -1,7 +1,7 @@
// Copyright 2019 The Kubernetes Authors. // Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
//go:generate go run sigs.k8s.io/kustomize/plugin/pluginator //go:generate go run sigs.k8s.io/kustomize/cmd/pluginator
package main package main
import ( import (

View File

@@ -1,7 +1,7 @@
// Copyright 2019 The Kubernetes Authors. // Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
//go:generate go run sigs.k8s.io/kustomize/plugin/pluginator //go:generate go run sigs.k8s.io/kustomize/cmd/pluginator
package main package main
import ( import (

View File

@@ -1,7 +1,7 @@
// Copyright 2019 The Kubernetes Authors. // Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
//go:generate go run sigs.k8s.io/kustomize/plugin/pluginator //go:generate go run sigs.k8s.io/kustomize/cmd/pluginator
package main package main
import ( import (

View File

@@ -1,7 +1,7 @@
// Copyright 2019 The Kubernetes Authors. // Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
//go:generate go run sigs.k8s.io/kustomize/plugin/pluginator //go:generate go run sigs.k8s.io/kustomize/cmd/pluginator
package main package main
import ( import (

View File

@@ -1,7 +1,7 @@
// Copyright 2019 The Kubernetes Authors. // Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
//go:generate go run sigs.k8s.io/kustomize/plugin/pluginator //go:generate go run sigs.k8s.io/kustomize/cmd/pluginator
package main package main
import ( import (

View File

@@ -1,7 +1,7 @@
// Copyright 2019 The Kubernetes Authors. // Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
//go:generate go run sigs.k8s.io/kustomize/plugin/pluginator //go:generate go run sigs.k8s.io/kustomize/cmd/pluginator
package main package main
import ( import (

View File

@@ -1,7 +1,7 @@
// Copyright 2019 The Kubernetes Authors. // Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
//go:generate go run sigs.k8s.io/kustomize/plugin/pluginator //go:generate go run sigs.k8s.io/kustomize/cmd/pluginator
package main package main
import ( import (

View File

@@ -1,7 +1,7 @@
// Copyright 2019 The Kubernetes Authors. // Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
//go:generate go run sigs.k8s.io/kustomize/plugin/pluginator //go:generate go run sigs.k8s.io/kustomize/cmd/pluginator
package main package main
import ( import (

View File

@@ -1,7 +1,7 @@
// Copyright 2019 The Kubernetes Authors. // Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
//go:generate go run sigs.k8s.io/kustomize/plugin/pluginator //go:generate go run sigs.k8s.io/kustomize/cmd/pluginator
package main package main
import ( import (

View File

@@ -1,7 +1,7 @@
// Copyright 2019 The Kubernetes Authors. // Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
//go:generate go run sigs.k8s.io/kustomize/plugin/pluginator //go:generate go run sigs.k8s.io/kustomize/cmd/pluginator
package main package main
import ( import (

View File

@@ -1,7 +1,7 @@
// Copyright 2019 The Kubernetes Authors. // Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
//go:generate go run sigs.k8s.io/kustomize/plugin/pluginator //go:generate go run sigs.k8s.io/kustomize/cmd/pluginator
package main package main
import ( import (

View File

@@ -4,14 +4,12 @@
/* /*
Package plugin contains builtin and example Package plugin contains builtin and example
plugins, tests and test libraries, and a code plugins, tests and test libraries.
generator for converting a plugin to statically
loadable code (see pluginator).
See ../../docs/plugins.md for a description of See /docs/plugins.md for a description of
writing and testing a plugin. The information writing and testing a plugin. The information
here is supplemental to that, and more oriented to here is supplemental to that, and more oriented to
how the builting plugins work. how the builtin plugins work.
HOW PLUGINS RUN HOW PLUGINS RUN

View File

@@ -1,10 +1,12 @@
#!/bin/bash #!/bin/bash
# #
# This script creates the generator and # Generate the Go code for the generator and
# transformer factory functions in # transformer factory functions in
#
# sigs.k8s.io/kustomize/plugin/builtin # sigs.k8s.io/kustomize/plugin/builtin
# by generating code based on the plugins #
# found below that directory. # from the raw plugin directories found _below_
# that directory.
set -e set -e