deprecation

package
v1.49.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToSchema

func AddToSchema(s map[string]*schema.Schema) map[string]*schema.Schema

func AttrTypes added in v1.48.1

func AttrTypes() map[string]attr.Type

func DataSourceSchema added in v1.48.1

func DataSourceSchema(resource string) map[string]datasourceschema.Attribute

func ResourceSchema added in v1.48.1

func ResourceSchema(resource string) map[string]resourceschema.Attribute

func SetData

func SetData(d *schema.ResourceData, r hcloud.Deprecatable)

Types

type DeprecationModel added in v1.48.1

type DeprecationModel struct {
	IsDeprecated         types.Bool   `tfsdk:"is_deprecated"`
	DeprecationAnnounced types.String `tfsdk:"deprecation_announced"`
	UnavailableAfter     types.String `tfsdk:"unavailable_after"`
}

func NewDeprecationModel added in v1.48.1

func NewDeprecationModel(_ context.Context, in hcloud.Deprecatable) (DeprecationModel, diag.Diagnostics)

Jump to

Keyboard shortcuts

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