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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.