feat: Add bucket schema management commands (#52)
* feat: update generated client to include schema-management APIs * feat: implement interfaces to decode flags and CSV * feat: implement decoders for different measurement schema column formats * feat: extend bucket CLI commands to support schema type property * feat: add CLI commands to manage measurement schema * test: add unit tests for bucket schema create, update and list commands
This commit is contained in:
20
internal/params.go
Normal file
20
internal/params.go
Normal file
@ -0,0 +1,20 @@
|
||||
package internal
|
||||
|
||||
import (
|
||||
"github.com/influxdata/influx-cli/v2/pkg/influxid"
|
||||
)
|
||||
|
||||
type OrgParams struct {
|
||||
OrgID influxid.ID
|
||||
OrgName string
|
||||
}
|
||||
|
||||
type BucketParams struct {
|
||||
BucketID influxid.ID
|
||||
BucketName string
|
||||
}
|
||||
|
||||
type OrgBucketParams struct {
|
||||
OrgParams
|
||||
BucketParams
|
||||
}
|
Reference in New Issue
Block a user