project

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() resource.Resource

New returns a new configured resource

Types

type Project

type Project struct {
	ID                types.String `tfsdk:"id"`
	ContainerID       types.String `tfsdk:"container_id"`
	ParentContainerID types.String `tfsdk:"parent_container_id"`
	Name              types.String `tfsdk:"name"`
	BillingRef        types.String `tfsdk:"billing_ref"`
	OwnerEmail        types.String `tfsdk:"owner_email"`
}

Project is the schema model

type Resource

type Resource struct {
	// contains filtered or unexported fields
}

Resource is the exported resource

func (*Resource) Configure added in v1.0.0

Configure the resource client

func (Resource) Create

Create - lifecycle function

func (Resource) Delete

Delete - lifecycle function

func (*Resource) GetSchema

func (r *Resource) GetSchema(_ context.Context) (tfsdk.Schema, diag.Diagnostics)

GetSchema returns the terraform schema structure

func (*Resource) ImportState added in v0.2.0

ImportState handles terraform import

func (*Resource) Metadata

Metadata returns data resource metadata

func (Resource) Read

Read - lifecycle function

func (Resource) Update

Update - lifecycle function

Jump to

Keyboard shortcuts

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