-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(object): disable command in console (#4151)
- Loading branch information
Showing
9 changed files
with
240 additions
and
149 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
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,30 @@ | ||
//go:build darwin || linux || windows | ||
|
||
package object | ||
|
||
import "github.com/scaleway/scaleway-cli/v2/core" | ||
|
||
func objectRoot() *core.Command { | ||
return &core.Command{ | ||
Short: `Object-storage utils`, | ||
Namespace: "object", | ||
} | ||
} | ||
|
||
func objectConfig() *core.Command { | ||
return &core.Command{ | ||
Short: `Manage configuration files for popular S3 tools`, | ||
Long: `Configuration generation for S3 tools.`, | ||
Namespace: "object", | ||
Resource: `config`, | ||
} | ||
} | ||
|
||
func objectBucket() *core.Command { | ||
return &core.Command{ | ||
Short: `Manage S3 buckets`, | ||
Long: `Manage S3 buckets creation, deletion and updates to properties like tags, ACL and versioning.`, | ||
Namespace: "object", | ||
Resource: `bucket`, | ||
} | ||
} |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
//go:build darwin || linux || windows | ||
|
||
package object | ||
|
||
import ( | ||
|
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
//go:build darwin || linux || windows | ||
|
||
package object | ||
|
||
import ( | ||
|
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,45 @@ | ||
//go:build !(darwin || linux || windows) | ||
|
||
package object | ||
|
||
import "github.com/scaleway/scaleway-cli/v2/core" | ||
|
||
func objectRoot() *core.Command { | ||
return nil | ||
} | ||
|
||
func objectConfig() *core.Command { | ||
return nil | ||
} | ||
|
||
func objectBucket() *core.Command { | ||
return nil | ||
} | ||
|
||
func bucketCreateCommand() *core.Command { | ||
return nil | ||
} | ||
|
||
func bucketDeleteCommand() *core.Command { | ||
return nil | ||
} | ||
|
||
func bucketListCommand() *core.Command { | ||
return nil | ||
} | ||
|
||
func bucketGetCommand() *core.Command { | ||
return nil | ||
} | ||
|
||
func bucketUpdateCommand() *core.Command { | ||
return nil | ||
} | ||
|
||
func configGetCommand() *core.Command { | ||
return nil | ||
} | ||
|
||
func configInstallCommand() *core.Command { | ||
return nil | ||
} |
Oops, something went wrong.