argument

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrorEmptyName is an error because name has to have a meaningful value
	ErrorEmptyName = errors.New("Empty name not allowed")
)

Functions

func GetOkAsString added in v0.0.22

func GetOkAsString(d internal.Data, name string) (string, bool)

func Name

func Name(d internal.Data) (string, error)

Name extracts name of Data

func Schema

func Schema(d internal.Data) (string, error)

Schema extracts schema of Data

Types

type RequiredArguments added in v0.0.22

type RequiredArguments struct {
	Schema string
	Name   string
}

func ExtractRequiredArguments added in v0.0.22

func ExtractRequiredArguments(d *schema.ResourceData) (RequiredArguments, diag.Diagnostics)

Jump to

Keyboard shortcuts

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