provider

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() tfsdk.Provider

Types

type BoolMarshaler

type BoolMarshaler struct {
	types.Bool
}

func (BoolMarshaler) MarshalJSON

func (b BoolMarshaler) MarshalJSON() ([]byte, error)

func (BoolMarshaler) Type

func (*BoolMarshaler) UnmarshalJSON

func (b *BoolMarshaler) UnmarshalJSON(data []byte) error

type BoolMarshalerType

type BoolMarshalerType struct{}

This type ended up not being used, keeping it around though to demonstrate how to extend framework types

func (BoolMarshalerType) ApplyTerraform5AttributePathStep

func (b BoolMarshalerType) ApplyTerraform5AttributePathStep(step tftypes.AttributePathStep) (interface{}, error)

func (BoolMarshalerType) Equal

func (BoolMarshalerType) Equal(other attr.Type) bool

func (BoolMarshalerType) String

func (BoolMarshalerType) String() string

func (BoolMarshalerType) TerraformType

func (BoolMarshalerType) TerraformType(context.Context) tftypes.Type

func (BoolMarshalerType) ValueFromTerraform

func (BoolMarshalerType) ValueFromTerraform(ctx context.Context, val tftypes.Value) (attr.Value, error)

type NormalizeId

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

func (NormalizeId) Description

func (NormalizeId) Description(ctx context.Context) string

func (NormalizeId) MarkdownDescription

func (NormalizeId) MarkdownDescription(ctx context.Context) string

type Resource

type Resource struct {
	Client              *force.ForceApi
	Data                ResourceData
	NeedsGetAfterUpsert bool
}

func (*Resource) Create

func (*Resource) Delete

func (*Resource) ImportState

func (*Resource) Read

func (*Resource) Update

type ResourceData

type ResourceData interface {
	Instance() force.SObject
	Insertable() force.SObject
	Updatable() force.SObject
	SetId(string)
	GetId() string
}

Jump to

Keyboard shortcuts

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