Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct {
SetBucketPlacement SetBucketPlacement `cmd:"" help:"set the default placement of a bucket"`
}
type SetBucketPlacement ¶
type SetBucketPlacement struct {
db.WithDatabase
Bucket string `arg:"" required:"" help:"name of the bucket"`
Placement int `arg:"" required:"" help:"placement for the bucket"`
ProjectID *uuid.UUID `help:"project ID (leave empty to find it from UPLINK_ACCESS)"`
}
func (*SetBucketPlacement) Run ¶
func (s *SetBucketPlacement) Run() error
Click to show internal directories.
Click to hide internal directories.