credentialsgroup

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(p common.Provider) func() resource.Resource

New returns a new configured resource

Types

type CredentialsGroup

type CredentialsGroup struct {
	ID        types.String `tfsdk:"id"`
	Name      types.String `tfsdk:"name"`
	ProjectID types.String `tfsdk:"project_id"`
	URN       types.String `tfsdk:"urn"`
}

CredentialsGroup is the schema model

type Resource

type Resource struct {
	Provider common.Provider
}

Resource is the exported resource

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

ImportState handles terraform import

func (Resource) Metadata

Metadata returns data resource metadata

func (Resource) Read

Read - lifecycle function

func (Resource) Update

Update - lifecycle function - not used for this resource

Jump to

Keyboard shortcuts

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