mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 16:42:51 +00:00
chore: Update to Go v1.21
- go mod tidy (all modules) - go work sync - Fixed plugin generation for Go 1.21 - Updated linting for Go 1.21 - Fixed minecraft example for Helm v3 pull download path - Update dev docs to mention Go 1.21 - Regenerate plugins with Go 1.21
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
// Code generated by internal/gen/main.go; DO NOT EDIT.
|
||||
package main
|
||||
|
||||
|
||||
const (
|
||||
usageMsg = `
|
||||
usageMsg = `
|
||||
Helps when you have a git repository with multiple Go modules.
|
||||
|
||||
It handles tasks one might otherwise attempt with
|
||||
@@ -19,7 +20,7 @@ dependencies, then performs some operation.
|
||||
|
||||
Install:
|
||||
'''
|
||||
go get github.com/monopole/gorepomod
|
||||
go get sigs.k8s.io/kustomize/cmd/gorepomod
|
||||
'''
|
||||
|
||||
## Usage
|
||||
@@ -29,6 +30,8 @@ do nothing but log commands
|
||||
unless you add the '--doIt' flag,
|
||||
allowing the change._
|
||||
|
||||
_If you want to run 'gorepomod' on your fork or outside of '$GOSRC' directory, add '--local' flag to your command._
|
||||
|
||||
#### 'gorepomod list'
|
||||
|
||||
Lists modules and intra-repo dependencies.
|
||||
@@ -40,14 +43,19 @@ Use this to get module names for use in other commands.
|
||||
Creates a change with mechanical updates
|
||||
to 'go.mod' and 'go.sum' files.
|
||||
|
||||
#### 'gorepomod unpin {module}'
|
||||
#### 'gorepomod unpin {module} [{conditionalmodule}]'
|
||||
|
||||
Creates a change to 'go.mod' files.
|
||||
|
||||
For each module _m_ in the repository,
|
||||
if _m_ depends on a _{module}_,
|
||||
then _m_'s dependency on it will be replaced by
|
||||
a relative path to the in-repo module.
|
||||
if _m_ depends on a _{module}_, then
|
||||
_m_'s dependency on _{module} will be
|
||||
replaced by a relative path to the in-repo
|
||||
version of _{module}_.
|
||||
|
||||
If _conditionalModule_ is specified, then
|
||||
the replacement of _{module}_ will happen
|
||||
if _m_ depends on _{conditionalModule}_.
|
||||
|
||||
#### 'gorepomod pin {module} [{version}]'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user