reference

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 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