objbucket

package
v2.31.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeBucketID

func DecodeBucketID(ctx context.Context, id string, d *schema.ResourceData) (regionOrCluster, label string, err error)

func NewDataSource

func NewDataSource() datasource.DataSource

func Resource

func Resource() *schema.Resource

Types

type DataSource

type DataSource struct {
	helper.BaseDataSource
}

func (*DataSource) Read

type DataSourceModel

type DataSourceModel struct {
	Cluster  types.String `tfsdk:"cluster"`
	Region   types.String `tfsdk:"region"`
	Created  types.String `tfsdk:"created"`
	Hostname types.String `tfsdk:"hostname"`
	ID       types.String `tfsdk:"id"`
	Label    types.String `tfsdk:"label"`
	Objects  types.Int64  `tfsdk:"objects"`
	Size     types.Int64  `tfsdk:"size"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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