mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 08:20:59 +00:00
Move pluginator to cmd directory.
This commit is contained in:
@@ -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 (
|
||||||
@@ -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 (
|
||||||
|
|||||||
@@ -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 (
|
||||||
|
|||||||
@@ -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 (
|
||||||
|
|||||||
@@ -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 (
|
||||||
|
|||||||
@@ -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 (
|
||||||
|
|||||||
@@ -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 (
|
||||||
|
|||||||
@@ -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 (
|
||||||
|
|||||||
@@ -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 (
|
||||||
|
|||||||
@@ -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 (
|
||||||
|
|||||||
@@ -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 (
|
||||||
|
|||||||
@@ -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 (
|
||||||
|
|||||||
@@ -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 (
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user