meta

package
v0.0.0-...-c441d59 Latest Latest
Warning

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

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

Documentation

Overview

TODO: Move this to a shared 'types' package.

Index

Constants

View Source
const (
	ARNType arnType = iota
)
View Source
const (
	PseudoServiceID = "meta"
)

Variables

View Source
var NewDataSourceARNType = newDataSourceARNType

TODO: Remove

Functions

func DataSourceARN

func DataSourceARN() *schema.Resource

func DataSourceBillingServiceAccount

func DataSourceBillingServiceAccount() *schema.Resource

func DataSourceDefaultTags

func DataSourceDefaultTags() *schema.Resource

func DataSourceIPRanges

func DataSourceIPRanges() *schema.Resource

func DataSourcePartition

func DataSourcePartition() *schema.Resource

func DataSourceRegion

func DataSourceRegion() *schema.Resource

func DataSourceRegions

func DataSourceRegions() *schema.Resource

func DataSourceService

func DataSourceService() *schema.Resource

func FindRegionByEndpoint

func FindRegionByEndpoint(endpoint string) (*endpoints.Region, error)

func FindRegionByName

func FindRegionByName(name string) (*endpoints.Region, error)

func InvertStringSlice

func InvertStringSlice(slice []string) []string

invertStringSlice returns inverted string slice without sorting slice like sort.Reverse()

Types

type ARN

type ARN struct {
	Unknown bool
	Null    bool
	Value   arn.ARN
}

func (ARN) Equal

func (a ARN) Equal(other attr.Value) bool

Equal returns true if `other` is a *ARN and has the same value as `a`.

func (ARN) IsNull

func (a ARN) IsNull() bool

IsNull returns true if the Value is not set, or is explicitly set to null.

func (ARN) IsUnknown

func (a ARN) IsUnknown() bool

IsUnknown returns true if the Value is not yet known.

func (ARN) String

func (a ARN) String() string

String returns a summary representation of either the underlying Value, or UnknownValueString (`<unknown>`) when IsUnknown() returns true, or NullValueString (`<null>`) when IsNull() return true.

This is an intentionally lossy representation, that are best suited for logging and error reporting, as they are not protected by compatibility guarantees within the framework.

func (ARN) ToTerraformValue

func (a ARN) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (ARN) Type

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

Jump to

Keyboard shortcuts

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