oem

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2017 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Names

func Names() (names []string)

Types

type Config

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

Config represents a set of options that map to a particular OEM.

func Get

func Get(name string) (config Config, ok bool)

func MustGet

func MustGet(name string) Config

func (Config) BaseConfig added in v0.6.0

func (c Config) BaseConfig() types.Config

func (Config) DefaultUserConfig added in v0.6.0

func (c Config) DefaultUserConfig() types.Config

func (Config) FetchFunc added in v0.9.0

func (c Config) FetchFunc() providers.FuncFetchConfig

func (Config) Name

func (c Config) Name() string

func (Config) NewFetcherFunc added in v0.17.0

func (c Config) NewFetcherFunc() providers.FuncNewFetcher

type Name

type Name string

Name is used to identify an OEM. It must be in the set of registered OEMs.

func (*Name) Set

func (s *Name) Set(val string) error

func (Name) String

func (s Name) String() string

Jump to

Keyboard shortcuts

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