project

package
v0.1.2 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: 9 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 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

type Project

type Project struct {
	ID         types.String `tfsdk:"id"`
	Name       types.String `tfsdk:"name"`
	BillingRef types.String `tfsdk:"billing_ref"`
}

Project is the schema model

Jump to

Keyboard shortcuts

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