index

package
v0.0.0-...-21de424 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(kind, decoration, pattern, extras string) (selector.Selector, error)

Get selector with the provided kind and decoration

func Register

func Register(kind string, decorations []string, factory selector.Factory)

Register the selector with the corresponding selector kind and decoration

Types

type IndexedMeta

type IndexedMeta struct {
	Kind        string   `json:"kind"`
	Decorations []string `json:"decorations"`
}

IndexedMeta describes the indexed selector

func Index

func Index() []*IndexedMeta

Index returns all the declarative selectors

Jump to

Keyboard shortcuts

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