objectref

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: May 8, 2025 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsProjectScoped

func IsProjectScoped(kind manifest.Kind) bool

Types

type Reference

type Reference struct {
	Kind manifest.Kind
	// TODO: better names!
	Path        string
	ProjectPath string
	SLOPath     string
	// contains filtered or unexported fields
}

func Get

func Get(kind manifest.Kind, line *yamlastsimple.Line) *Reference

Get returns a reference for the given kind and generalized line path.

func (Reference) FallbackProjectPath

func (r Reference) FallbackProjectPath(kind manifest.Kind) string

Jump to

Keyboard shortcuts

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