resource

package
v1.22.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceLocator

type ResourceLocator struct {
	Provider ResourceLocatorProvider
}

func NewResourceLocator

func NewResourceLocator(provider ResourceLocatorProvider) *ResourceLocator

func (*ResourceLocator) Invoke

func (f *ResourceLocator) Invoke(filter string) (interface{}, error)

type ResourceLocatorProvider

type ResourceLocatorProvider interface {
	Locate(property string, value string) (interface{}, error)
	SupportedProperties() []string
}

Jump to

Keyboard shortcuts

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