amplience

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider added in v0.2.0

func Provider() *schema.Provider

Provider -

func StringInSlice

func StringInSlice(slice []string, val string) bool

StringInSlice takes a slice and looks for an element in it. If found it will return true can be used to manually validate elements in a list in the create/update process as terraform validation functions are not designed for lists

func ValidateDiagWrapper

func ValidateDiagWrapper(validateFunc func(interface{}, string) ([]string, []error)) schema.SchemaValidateDiagFunc

ValidateDiagWrapper wraps a deprecated schema.ValidateFunc and returns a schema.SchemaValidateDiagFunc this is needed as a placeholder until the base validation funcs in helper/validation are updated see: https://discuss.hashicorp.com/t/validatefunc-deprecation-in-terraform-plugin-sdk-v2/12000

Types

type ClientInfo added in v0.3.0

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

Jump to

Keyboard shortcuts

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