resourceid

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateResourceID

func ValidateResourceID(i interface{}, k string) (warnings []string, errors []error)

TODO FIND A HOME IN HELPERS!! TODO FIND A HOME IN HELPERS!! TODO FIND A HOME IN HELPERS!!

func ValidateResourceIDOrEmpty

func ValidateResourceIDOrEmpty(i interface{}, k string) (_ []string, errors []error)

true for a resource ID or an empty string

Types

type Formatter

type Formatter interface {
	ID() string
}

Jump to

Keyboard shortcuts

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