types

package
v0.74.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ProviderErrorDetailPrefix = "An unexpected error was encountered trying to validate an attribute value. " +
	"This is always an error in the provider. Please report the following to the provider developer:\n\n"

ProviderErrorDetailPrefix contains instructions for reporting provider errors to provider developers

Variables

View Source
var (
	ARNType = arnType{}
)
View Source
var (
	DurationType = durationType{}
)

Functions

This section is empty.

Types

type ARN added in v0.72.0

type ARN struct {
	basetypes.StringValue
	// contains filtered or unexported fields
}

func ARNNull added in v0.72.0

func ARNNull() ARN

func ARNUnknown added in v0.72.0

func ARNUnknown() ARN

func ARNValue added in v0.72.0

func ARNValue(value string) ARN

func (ARN) Equal added in v0.72.0

func (v ARN) Equal(o attr.Value) bool

func (ARN) Type added in v0.72.0

func (ARN) Type(context.Context) attr.Type

func (ARN) ValueARN added in v0.72.0

func (v ARN) ValueARN() arn.ARN

ValueARN returns the known arn.ARN value. If ARN is null or unknown, returns {}.

type Duration added in v0.0.14

type Duration struct {
	basetypes.StringValue
	// contains filtered or unexported fields
}

func DurationNull added in v0.44.0

func DurationNull() Duration

func DurationUnknown added in v0.44.0

func DurationUnknown() Duration

func DurationValueMust added in v0.72.0

func DurationValueMust(value string) Duration

func (Duration) Equal added in v0.0.14

func (v Duration) Equal(o attr.Value) bool

func (Duration) Type added in v0.0.14

func (Duration) ValueDuration added in v0.44.0

func (v Duration) ValueDuration() time.Duration

ValueDuration returns the known time.Duration value. If Duration is null or unknown, returns 0.

Jump to

Keyboard shortcuts

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