resources

package
v1.30.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attributes added in v1.18.0

type Attributes map[string]string

func NewAttributes added in v1.18.0

func NewAttributes(m map[string]string) Attributes

func (Attributes) Keys added in v1.18.0

func (attributes Attributes) Keys() []string

func (Attributes) MatchingKeys added in v1.18.0

func (attributes Attributes) MatchingKeys(key string) []string

func (Attributes) Siblings added in v1.18.0

func (attributes Attributes) Siblings(key string) Siblings

type Generic added in v1.18.0

type Generic struct {
	Type       export.ResourceType
	Descriptor export.ResourceDescriptor
}

func NewGeneric added in v1.18.0

func NewGeneric(resourceType export.ResourceType) *Generic

func (*Generic) Create added in v1.18.0

func (me *Generic) Create(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics

func (*Generic) Delete added in v1.18.0

func (me *Generic) Delete(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics

func (*Generic) Read added in v1.18.0

func (*Generic) Resource added in v1.18.0

func (me *Generic) Resource() *schema.Resource

func (*Generic) Service added in v1.18.0

func (me *Generic) Service(m any) settings.CRUDService[settings.Settings]

func (*Generic) Settings added in v1.18.0

func (me *Generic) Settings() settings.Settings

func (*Generic) Update added in v1.18.0

func (me *Generic) Update(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics

type MarshalPreparer added in v1.18.0

type MarshalPreparer interface {
	PrepareMarshalHCL(hcl.Decoder) error
}

type Sibling added in v1.18.0

type Sibling struct {
	Key   string
	Value string
}

func (Sibling) Equals added in v1.18.0

func (sibling Sibling) Equals(other Sibling) bool

func (Sibling) String added in v1.18.0

func (sibling Sibling) String() string

type Siblings added in v1.18.0

type Siblings []Sibling

func (Siblings) Contains added in v1.18.0

func (siblings Siblings) Contains(others ...Sibling) bool

func (Siblings) String added in v1.18.0

func (siblings Siblings) String() string

Directories

Path Synopsis
permissions

Jump to

Keyboard shortcuts

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