bucket

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(p common.Provider) func() datasource.DataSource

New returns a new configured data source

Types

type Bucket

type Bucket struct {
	Name         types.String `tfsdk:"name"`
	ProjectID    types.String `tfsdk:"project_id"`
	Region       types.String `tfsdk:"region"`
	HostStyleURL types.String `tfsdk:"host_style_url"`
	PathStyleURL types.String `tfsdk:"path_style_url"`
}

Bucket is the schema model

type DataSource

type DataSource struct {
	Provider common.Provider
}

DataSource is the exported data source

func (DataSource) GetSchema

GetSchema returns the terraform schema structure

func (DataSource) Metadata

Metadata returns data resource metadata

func (DataSource) Read

Read - lifecycle function

Jump to

Keyboard shortcuts

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