forked from kosmos-io/kosmos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: kosmosctl image pull/push Signed-off-by: kuangcheng <[email protected]> fix: add klog level and check image name Signed-off-by: kuangcheng <[email protected]>
- Loading branch information
1 parent
af81979
commit 546d553
Showing
1,371 changed files
with
237,453 additions
and
7,086 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package image | ||
|
||
import ( | ||
"github.com/spf13/cobra" | ||
"k8s.io/kubectl/pkg/util/i18n" | ||
) | ||
|
||
// NewCmdImage pull/push a kosmos offline installation package. | ||
func NewCmdImage() *cobra.Command { | ||
cmd := &cobra.Command{ | ||
Use: "image", | ||
Short: i18n.T("pull and push kosmos offline installation package. "), | ||
} | ||
|
||
cmd.AddCommand(NewCmdPull()) | ||
cmd.AddCommand(NewCmdPush()) | ||
return cmd | ||
} |
Oops, something went wrong.