provider

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONSliceOfInterfaceToSliceOfMaps added in v1.26.0

func JSONSliceOfInterfaceToSliceOfMaps(input []any) ([]map[string]any, error)

JSONSliceOfInterfaceToSliceOfMaps takes a slice of JSON strings as input and returns a slice of map[any]any

func JSONToMapOfInterfaces added in v1.26.0

func JSONToMapOfInterfaces(input string) (map[string]any, error)

JSONToMapOfInterfaces takes a JSON string as input and returns a map[string]any

func New

func New(version string) func() *schema.Provider

New creates a new provider and returns a *schema.Provider

func SliceOfInterfacesToSliceOfStrings added in v1.26.0

func SliceOfInterfacesToSliceOfStrings(input []any) ([]string, error)

SliceOfInterfacesToSliceOfStrings takes a slice of interfaces and converts it to a slice of strings

func YAMLSliceOfInterfaceToSliceOfMaps added in v1.26.0

func YAMLSliceOfInterfaceToSliceOfMaps(input []any) ([]map[string]any, error)

YAMLSliceOfInterfaceToSliceOfMaps takes a slice of interfaces as input and returns a slice of map[any]any

Types

This section is empty.

Jump to

Keyboard shortcuts

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