File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,11 @@ func Command() *cobra.Command {
3333 }
3434
3535 cmd .AddCommand (
36- InspectCommand (),
37- CreateCommand (),
38- AnnotateCommand (),
39- RemoveCommand (),
40- PushCommand (),
36+ inspectCommand (),
37+ createCommand (),
38+ annotateCommand (),
39+ removeCommand (),
40+ pushCommand (),
4141 )
4242
4343 return cmd
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import (
2525 "github.com/containerd/nerdctl/v2/pkg/cmd/manifest"
2626)
2727
28- func AnnotateCommand () * cobra.Command {
28+ func annotateCommand () * cobra.Command {
2929 var cmd = & cobra.Command {
3030 Use : "annotate INDEX/MANIFESTLIST MANIFEST" ,
3131 Short : "Add additional information to a local image manifest" ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import (
2727 "github.com/containerd/nerdctl/v2/pkg/cmd/manifest"
2828)
2929
30- func CreateCommand () * cobra.Command {
30+ func createCommand () * cobra.Command {
3131 var cmd = & cobra.Command {
3232 Use : "create INDEX/MANIFESTLIST MANIFEST [MANIFEST...]" ,
3333 Short : "Create a local index/manifest list for annotating and pushing to a registry" ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import (
2828 "github.com/containerd/nerdctl/v2/pkg/formatter"
2929)
3030
31- func InspectCommand () * cobra.Command {
31+ func inspectCommand () * cobra.Command {
3232 var cmd = & cobra.Command {
3333 Use : "inspect MANIFEST" ,
3434 Short : "Display the contents of a manifest or image index/manifest list" ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import (
2525 "github.com/containerd/nerdctl/v2/pkg/cmd/manifest"
2626)
2727
28- func PushCommand () * cobra.Command {
28+ func pushCommand () * cobra.Command {
2929 var cmd = & cobra.Command {
3030 Use : "push [OPTIONS] INDEX/MANIFESTLIST" ,
3131 Short : "Push a manifest list to a registry" ,
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import (
2626 "github.com/containerd/nerdctl/v2/pkg/cmd/manifest"
2727)
2828
29- func RemoveCommand () * cobra.Command {
29+ func removeCommand () * cobra.Command {
3030 var cmd = & cobra.Command {
3131 Use : "rm INDEX/MANIFESTLIST [INDEX/MANIFESTLIST...]" ,
3232 Short : "Remove one or more index/manifest lists" ,
You can’t perform that action at this time.
0 commit comments