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.
Merge pull request kosmos-io#279 from kuangcheng66/kosmosctl-install-…
…image-version feat: kosmosctl image pull/push
- Loading branch information
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.