bucket

package
v2.1.0-rc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const InfiniteRetention = 0

Variables

View Source
var ErrMustSpecifyOrgDeleteByName = fmt.Errorf("%s when deleting a bucket by name", clients.ErrMustSpecifyOrg)

Functions

This section is empty.

Types

type BucketsCreateParams

type BucketsCreateParams struct {
	OrgID              string
	OrgName            string
	Name               string
	Description        string
	Retention          string
	ShardGroupDuration string
	SchemaType         api.SchemaType
}

type BucketsDeleteParams

type BucketsDeleteParams struct {
	ID      string
	Name    string
	OrgID   string
	OrgName string
}

type BucketsListParams

type BucketsListParams struct {
	OrgID   string
	OrgName string
	Name    string
	ID      string
}

type BucketsUpdateParams

type BucketsUpdateParams struct {
	ID                 string
	Name               string
	Description        string
	Retention          string
	ShardGroupDuration string
}

type Client

type Client struct {
	clients.CLI
	api.OrganizationsApi
	api.BucketsApi
}

func (Client) Create

func (c Client) Create(ctx context.Context, params *BucketsCreateParams) error

func (Client) Delete

func (c Client) Delete(ctx context.Context, params *BucketsDeleteParams) error

func (Client) List

func (c Client) List(ctx context.Context, params *BucketsListParams) error

func (Client) Update

func (c Client) Update(ctx context.Context, params *BucketsUpdateParams) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL