Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOneResultForLabelSelector ¶ added in v1.46.0
func GetOneResultForLabelSelector[T any](resourceName string, items []*T, labelSelector string) (*T, diag.Diagnostic)
GetOneResultForLabelSelector verifies that only one item is returned for a label selector. If none or >1 are returned it returns an error diag.Diagnostic.
func LabelsSchema ¶ added in v1.57.0
func LabelsSchema() schema.MapAttribute
LabelsSchema returns a map attribute schema for the labels field shared by multiple data sources.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.