namedlocation

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Country

type Country struct {
	// CountriesAndRegions: list of string, required
	CountriesAndRegions terra.ListValue[terra.StringValue] `hcl:"countries_and_regions,attr" validate:"required"`
	// IncludeUnknownCountriesAndRegions: bool, optional
	IncludeUnknownCountriesAndRegions terra.BoolValue `hcl:"include_unknown_countries_and_regions,attr"`
}

type CountryAttributes

type CountryAttributes struct {
	// contains filtered or unexported fields
}

func (CountryAttributes) CountriesAndRegions

func (c CountryAttributes) CountriesAndRegions() terra.ListValue[terra.StringValue]

func (CountryAttributes) IncludeUnknownCountriesAndRegions

func (c CountryAttributes) IncludeUnknownCountriesAndRegions() terra.BoolValue

func (CountryAttributes) InternalRef

func (c CountryAttributes) InternalRef() (terra.Reference, error)

func (CountryAttributes) InternalTokens

func (c CountryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CountryAttributes) InternalWithRef

func (c CountryAttributes) InternalWithRef(ref terra.Reference) CountryAttributes

type CountryState

type CountryState struct {
	CountriesAndRegions               []string `json:"countries_and_regions"`
	IncludeUnknownCountriesAndRegions bool     `json:"include_unknown_countries_and_regions"`
}

type Ip

type Ip struct {
	// IpRanges: list of string, required
	IpRanges terra.ListValue[terra.StringValue] `hcl:"ip_ranges,attr" validate:"required"`
	// Trusted: bool, optional
	Trusted terra.BoolValue `hcl:"trusted,attr"`
}

type IpAttributes

type IpAttributes struct {
	// contains filtered or unexported fields
}

func (IpAttributes) InternalRef

func (i IpAttributes) InternalRef() (terra.Reference, error)

func (IpAttributes) InternalTokens

func (i IpAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IpAttributes) InternalWithRef

func (i IpAttributes) InternalWithRef(ref terra.Reference) IpAttributes

func (IpAttributes) IpRanges

func (IpAttributes) Trusted

func (i IpAttributes) Trusted() terra.BoolValue

type IpState

type IpState struct {
	IpRanges []string `json:"ip_ranges"`
	Trusted  bool     `json:"trusted"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Read

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Read   string `json:"read"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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