Help us shape the future of Go! Take the 2026 Go Developer Survey

reference

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrReferenceInvalid = errors.New("invalid reference")
)

Functions

func IsReference

func IsReference(s string) bool

Types

type Reference

type Reference struct {
	Reference   string
	Provider    string
	Name        string
	JsonPointer string
	Properties  map[string]string
}

Reference represents the definition of a reference. Syntax: {secret://<provider>/<name>[.<jsonpath>][?<parameters>]}

func Parse

func Parse(reference string) (*Reference, error)

func (*Reference) String

func (r *Reference) String() string

Jump to

Keyboard shortcuts

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