resourcehelpers

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveArgs

func ResolveArgs(args []any) (resources.Resource, map[string]any, error)

This roundabout way of doing it is needed to get both pipeline behavior and options as arguments.

func ResolveIfFirstArgIsString

func ResolveIfFirstArgIsString(args []any) (resources.Resource, string, bool)

We allow string or a map as the first argument in some cases.

Types

This section is empty.

Jump to

Keyboard shortcuts

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