search

package
v1.1.246 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CrawlResources

func CrawlResources(ctx context.Context, subs armclient.SubResponse) error

CrawlResources grabs all the resources in all subs and stores their name/id in the boltdb for searching over

Types

type Suggester

type Suggester struct {
	// contains filtered or unexported fields
}

Suggester provides search functionality over all resources in all subs

func NewSuggester

func NewSuggester() (*Suggester, error)

NewSuggester builds a suggester based on your resources

func (*Suggester) Autocomplete

func (s *Suggester) Autocomplete(query string) []string

Autocomplete finds items based on the query string

Jump to

Keyboard shortcuts

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