common

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertElementsToSlice

func ConvertElementsToSlice[T any](ctx context.Context, elements []attr.Value) ([]T, error)

func CreateBaseResourceSchema

func CreateBaseResourceSchema() map[string]schema.Attribute

Types

type AttributeTypeValidator added in v0.0.13

type AttributeTypeValidator struct{}

func (AttributeTypeValidator) Description added in v0.0.13

func (a AttributeTypeValidator) Description(ctx context.Context) string

func (AttributeTypeValidator) MarkdownDescription added in v0.0.13

func (a AttributeTypeValidator) MarkdownDescription(ctx context.Context) string

func (AttributeTypeValidator) ValidateString added in v0.0.13

func (a AttributeTypeValidator) ValidateString(ctx context.Context, request validator.StringRequest, response *validator.StringResponse)

Jump to

Keyboard shortcuts

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