oem

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2016 License: Apache-2.0 Imports: 8 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 command line flags that map to a particular OEM.

func Get

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

func MustGet added in v0.3.1

func MustGet(name string) Config

func (Config) Flags

func (c Config) Flags() map[string]string

func (Config) Name

func (c Config) Name() string

func (Config) Provider added in v0.3.1

func (c Config) Provider() providers.ProviderCreator

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