Move pkg/plugin -> internal/plugin

Signed-off-by: George Jenkins <gvjenkins@gmail.com>
pull/31142/head
George Jenkins 3 weeks ago
parent 36e52c828d
commit a1c84f9a4c

@ -14,7 +14,7 @@ limitations under the License.
*/
// Package cache provides a key generator for vcs urls.
package cache // import "helm.sh/helm/v4/pkg/plugin/cache"
package cache // import "helm.sh/helm/v4/internal/plugin/cache"
import (
"net/url"

@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package plugin // import "helm.sh/helm/v4/pkg/plugin"
package plugin // import "helm.sh/helm/v4/internal/plugin"
// Types of hooks
const (

@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package installer // import "helm.sh/helm/v4/pkg/plugin/installer"
package installer // import "helm.sh/helm/v4/internal/plugin/installer"
import (
"path/filepath"

@ -11,7 +11,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package installer // import "helm.sh/helm/v4/pkg/plugin/installer"
package installer // import "helm.sh/helm/v4/internal/plugin/installer"
import (
"testing"

@ -14,4 +14,4 @@ limitations under the License.
*/
// Package installer provides an interface for installing Helm plugins.
package installer // import "helm.sh/helm/v4/pkg/plugin/installer"
package installer // import "helm.sh/helm/v4/internal/plugin/installer"

@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package installer // import "helm.sh/helm/v4/pkg/plugin/installer"
package installer // import "helm.sh/helm/v4/internal/plugin/installer"
import (
"archive/tar"
@ -32,11 +32,11 @@ import (
securejoin "github.com/cyphar/filepath-securejoin"
"helm.sh/helm/v4/internal/plugin/cache"
"helm.sh/helm/v4/internal/third_party/dep/fs"
"helm.sh/helm/v4/pkg/cli"
"helm.sh/helm/v4/pkg/getter"
"helm.sh/helm/v4/pkg/helmpath"
"helm.sh/helm/v4/pkg/plugin/cache"
)
// HTTPInstaller installs plugins from an archive served by a web server.

@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package installer // import "helm.sh/helm/v4/pkg/plugin/installer"
package installer // import "helm.sh/helm/v4/internal/plugin/installer"
import (
"archive/tar"

@ -22,7 +22,7 @@ import (
"path/filepath"
"strings"
"helm.sh/helm/v4/pkg/plugin"
"helm.sh/helm/v4/internal/plugin"
)
// ErrMissingMetadata indicates that plugin.yaml is missing.

@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package installer // import "helm.sh/helm/v4/pkg/plugin/installer"
package installer // import "helm.sh/helm/v4/internal/plugin/installer"
import (
"errors"

@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package installer // import "helm.sh/helm/v4/pkg/plugin/installer"
package installer // import "helm.sh/helm/v4/internal/plugin/installer"
import (
"os"

@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package installer // import "helm.sh/helm/v4/pkg/plugin/installer"
package installer // import "helm.sh/helm/v4/internal/plugin/installer"
import (
"errors"
@ -26,9 +26,9 @@ import (
"github.com/Masterminds/semver/v3"
"github.com/Masterminds/vcs"
"helm.sh/helm/v4/internal/plugin/cache"
"helm.sh/helm/v4/internal/third_party/dep/fs"
"helm.sh/helm/v4/pkg/helmpath"
"helm.sh/helm/v4/pkg/plugin/cache"
)
// VCSInstaller installs plugins from remote a repository.

@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package installer // import "helm.sh/helm/v4/pkg/plugin/installer"
package installer // import "helm.sh/helm/v4/internal/plugin/installer"
import (
"fmt"

@ -31,7 +31,7 @@ import (
"github.com/spf13/cobra"
"sigs.k8s.io/yaml"
"helm.sh/helm/v4/pkg/plugin"
"helm.sh/helm/v4/internal/plugin"
)
const (

@ -24,7 +24,7 @@ import (
"github.com/spf13/cobra"
"helm.sh/helm/v4/pkg/plugin"
"helm.sh/helm/v4/internal/plugin"
)
const pluginHelp = `

@ -22,9 +22,9 @@ import (
"github.com/spf13/cobra"
"helm.sh/helm/v4/internal/plugin"
"helm.sh/helm/v4/internal/plugin/installer"
"helm.sh/helm/v4/pkg/cmd/require"
"helm.sh/helm/v4/pkg/plugin"
"helm.sh/helm/v4/pkg/plugin/installer"
)
type pluginInstallOptions struct {

@ -24,7 +24,7 @@ import (
"github.com/gosuri/uitable"
"github.com/spf13/cobra"
"helm.sh/helm/v4/pkg/plugin"
"helm.sh/helm/v4/internal/plugin"
)
func newPluginListCmd(out io.Writer) *cobra.Command {

@ -24,7 +24,7 @@ import (
"github.com/spf13/cobra"
"helm.sh/helm/v4/pkg/plugin"
"helm.sh/helm/v4/internal/plugin"
)
type pluginUninstallOptions struct {

@ -24,8 +24,8 @@ import (
"github.com/spf13/cobra"
"helm.sh/helm/v4/pkg/plugin"
"helm.sh/helm/v4/pkg/plugin/installer"
"helm.sh/helm/v4/internal/plugin"
"helm.sh/helm/v4/internal/plugin/installer"
)
type pluginUpdateOptions struct {

@ -23,8 +23,8 @@ import (
"path/filepath"
"strings"
"helm.sh/helm/v4/internal/plugin"
"helm.sh/helm/v4/pkg/cli"
"helm.sh/helm/v4/pkg/plugin"
)
// collectPlugins scans for getter plugins.

Loading…
Cancel
Save