op

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveItems

func ResolveItems(items []string) (map[string]string, []error)

ResolveItems calls `op item get` for each item name and returns a merged map of label→value for all fields that have both a label and a value. Items later in the slice win on key conflict.

Resolution is optimistic: a failure on one item is recorded in the returned []error slice and the loop continues with the next item. The caller is expected to surface the per-item errors and apply whatever did resolve.

Types

This section is empty.

Jump to

Keyboard shortcuts

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