Files
influx-cli/clients/params.go
Sam Arnold 9747d05ae1 refactor: expose generated code and client business logic to share with Kapacitor (#103)
* refactor: take clients out of internal

* refactor: move stdio to pkg

* Move internal/api to api

* refactor: final changes for Kapacitor to access shared functionality

* chore: regenerate mocks

* fix: bad automated refactor

* chore: extra formatting not caught by make fmt
2021-05-25 10:05:01 -04:00

21 lines
275 B
Go

package clients
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
}