schemas

package
v1.25.2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool() *schema.Schema

func ComplexMapElem

func ComplexMapElem(in *schema.Schema) *schema.Resource

func ComputedBool

func ComputedBool() *schema.Schema

func ComputedComplexMap

func ComputedComplexMap(elem *schema.Schema) *schema.Schema

func ComputedDuration

func ComputedDuration() *schema.Schema

func ComputedFloat

func ComputedFloat() *schema.Schema

func ComputedInt

func ComputedInt() *schema.Schema

func ComputedIntOrString

func ComputedIntOrString() *schema.Schema

func ComputedList

func ComputedList(elem interface{}) *schema.Schema

func ComputedMap

func ComputedMap(elem *schema.Schema) *schema.Schema

func ComputedQuantity

func ComputedQuantity() *schema.Schema

func ComputedString

func ComputedString() *schema.Schema

func ComputedStruct

func ComputedStruct(elem *schema.Resource) *schema.Schema

func CustomizeDiffRevision

func CustomizeDiffRevision(_ context.Context, d *schema.ResourceDiff, m interface{}) error

func CustomizeDiffVersion added in v1.23.5

func CustomizeDiffVersion(_ context.Context, d *schema.ResourceDiff, m interface{}) error

func ExpandBool

func ExpandBool(in interface{}) bool

func ExpandDuration

func ExpandDuration(in interface{}) metav1.Duration

func ExpandFloat

func ExpandFloat(in interface{}) float64

func ExpandInt

func ExpandInt(in interface{}) int

func ExpandIntOrString

func ExpandIntOrString(in interface{}) intstr.IntOrString

func ExpandQuantity

func ExpandQuantity(in interface{}) resource.Quantity

func ExpandString

func ExpandString(in interface{}) string

func FlattenBool

func FlattenBool(in bool) interface{}

func FlattenDuration

func FlattenDuration(in metav1.Duration) interface{}

func FlattenFloat

func FlattenFloat(in float64) interface{}

func FlattenInt

func FlattenInt(in int) interface{}

func FlattenIntOrString

func FlattenIntOrString(in intstr.IntOrString) interface{}

func FlattenQuantity

func FlattenQuantity(in resource.Quantity) interface{}

func FlattenString

func FlattenString(in string) interface{}

func Float

func Float() *schema.Schema

func ForceNew

func ForceNew(s *schema.Schema) *schema.Schema

func Int

func Int() *schema.Schema

func List

func List(elem interface{}) *schema.Schema

func Nullable

func Nullable(in *schema.Schema) *schema.Schema

func OptionalBool

func OptionalBool() *schema.Schema

func OptionalComplexMap

func OptionalComplexMap(elem *schema.Schema) *schema.Schema

func OptionalComputedBool

func OptionalComputedBool() *schema.Schema

func OptionalComputedFloat

func OptionalComputedFloat() *schema.Schema

func OptionalComputedInt

func OptionalComputedInt() *schema.Schema

func OptionalComputedList

func OptionalComputedList(elem interface{}) *schema.Schema

func OptionalComputedMap

func OptionalComputedMap(elem *schema.Schema) *schema.Schema

func OptionalComputedString

func OptionalComputedString() *schema.Schema

func OptionalComputedStruct

func OptionalComputedStruct(elem *schema.Resource) *schema.Schema

func OptionalDuration

func OptionalDuration() *schema.Schema

func OptionalFloat

func OptionalFloat() *schema.Schema

func OptionalInt

func OptionalInt() *schema.Schema

func OptionalIntOrString

func OptionalIntOrString() *schema.Schema

func OptionalList

func OptionalList(elem interface{}) *schema.Schema

func OptionalMap

func OptionalMap(elem *schema.Schema) *schema.Schema

func OptionalQuantity

func OptionalQuantity() *schema.Schema

func OptionalSetList

func OptionalSetList(elem interface{}) *schema.Schema

func OptionalString

func OptionalString() *schema.Schema

func OptionalStruct

func OptionalStruct(elem *schema.Resource) *schema.Schema

func RequiredBool

func RequiredBool() *schema.Schema

func RequiredFloat

func RequiredFloat() *schema.Schema

func RequiredInt

func RequiredInt() *schema.Schema

func RequiredList

func RequiredList(elem interface{}) *schema.Schema

func RequiredMap

func RequiredMap(elem *schema.Schema) *schema.Schema

func RequiredSetList

func RequiredSetList(elem interface{}) *schema.Schema

func RequiredString

func RequiredString() *schema.Schema

func RequiredStruct

func RequiredStruct(elem *schema.Resource) *schema.Schema

func Schema

func Schema(t schema.ValueType, elem interface{}, required, optional, computed bool, maxItems int) *schema.Schema

func Sensitive

func Sensitive(s *schema.Schema) *schema.Schema

func Simple

func Simple(t schema.ValueType, required, optional, computed bool) *schema.Schema

func SimpleComputed

func SimpleComputed(t schema.ValueType) *schema.Schema

func SimpleOptional

func SimpleOptional(t schema.ValueType) *schema.Schema

func SimpleOptionalComputed

func SimpleOptionalComputed(t schema.ValueType) *schema.Schema

func SimpleRequired

func SimpleRequired(t schema.ValueType) *schema.Schema

func String

func String() *schema.Schema

func SuppressDiff

func SuppressDiff(s *schema.Schema) *schema.Schema

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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