autocomplete

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Matches

func Matches(value, sequence string) bool

Matches determines whether a value matches a specific ordered sequence of characters. For example "Albuquerque" shuould match "abq" but not "lab".

Types

type Completer

type Completer struct {
	Filter string
	// contains filtered or unexported fields
}

func NewCompleter

func NewCompleter(filter string) *Completer

func (*Completer) AllScratchpads

func (c *Completer) AllScratchpads()

AllScratchpads will generate autocomplete suggestions for scratchpads

func (*Completer) AllServiceNamespaces

func (c *Completer) AllServiceNamespaces()

AllServiceNamespaces will complete the namespace placeholders for a fully qualified service name

func (*Completer) AllServiceRepos

func (c *Completer) AllServiceRepos()

AllServiceRepos will generate autocomplete suggestions for repos hosted on your all services.

func (*Completer) Apps

func (c *Completer) Apps()

Apps will generate autocomplete suggestions for applications in your config file.

func (*Completer) DefaultServiceNamespaces

func (c *Completer) DefaultServiceNamespaces()

DefaultServiceNamespaces will complete the namespace placeholders for the default service.

func (*Completer) DefaultServiceRepos

func (c *Completer) DefaultServiceRepos()

DefaultServiceRepos will generate autocomplete suggestions for repos hosted on your default service.

func (*Completer) RepoAliases

func (c *Completer) RepoAliases()

RepoAliases will generate autocomplete suggestions for your repo aliases.

func (*Completer) ServicePrefixes

func (c *Completer) ServicePrefixes()

ServicePrefixes will generate autocomplete suggestions the services in your config file.

func (*Completer) Services

func (c *Completer) Services()

Services will generate autocomplete suggestions the services in your config file.

Jump to

Keyboard shortcuts

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