buckets

package
v1.42.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Statuses = struct {
	Creating Status
	Active   Status
	Updating Status
	Deleting Status
}{
	"creating",
	"active",
	"updating",
	"deleting",
}
View Source
var Tables = struct {
	Logs      Table
	Spans     Table
	Events    Table
	BizEvents Table
}{
	"logs",
	"spans",
	"events",
	"bizevents",
}

Functions

This section is empty.

Types

type Bucket

type Bucket struct {
	Name          string  `json:"bucketName"`       // TODO
	Table         Table   `json:"table"`            // TODO
	DisplayName   string  `json:"displayName"`      // TODO
	Status        *Status `json:"status,omitempty"` // TODO
	RetentionDays int     `json:"retentionDays"`    // TODO
	Version       int     `json:"version"`          // TODO
}

func (*Bucket) ForUpdate

func (me *Bucket) ForUpdate() *BucketUpdate

func (*Bucket) MarshalHCL

func (me *Bucket) MarshalHCL(properties hcl.Properties) error

func (*Bucket) Schema

func (me *Bucket) Schema() map[string]*schema.Schema

func (*Bucket) UnmarshalHCL

func (me *Bucket) UnmarshalHCL(decoder hcl.Decoder) error

type BucketUpdate

type BucketUpdate struct {
	DisplayName   string `json:"displayName"`   // TODO
	RetentionDays int    `json:"retentionDays"` // TODO
}

type Status

type Status string

type Table

type Table string

Jump to

Keyboard shortcuts

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