lookup

package
v0.12.5 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2017 License: Apache-2.0 Imports: 13 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCatalogConfig added in v0.11.0

func ParseCatalogConfig(contents []byte) (*model.RancherCompose, error)

func ParseQuestions added in v0.11.0

func ParseQuestions(contents []byte) (map[string]model.Question, error)

Types

type FileEnvLookup

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

func NewFileEnvLookup

func NewFileEnvLookup(file string, parent config.EnvironmentLookup) (*FileEnvLookup, error)

func (*FileEnvLookup) Lookup

func (f *FileEnvLookup) Lookup(key string, config *config.ServiceConfig) []string

type FileResourceLookup added in v0.10.0

type FileResourceLookup struct {
	lookup.FileResourceLookup
}

func (*FileResourceLookup) ResolvePath added in v0.10.0

func (f *FileResourceLookup) ResolvePath(path, inFile string) string

Give a warning rather than resolve relative paths

type MapEnvLookup added in v0.5.0

type MapEnvLookup struct {
	Env map[string]interface{}
}

func (*MapEnvLookup) Lookup added in v0.5.0

func (m *MapEnvLookup) Lookup(key string, config *config.ServiceConfig) []string

type QuestionLookup added in v0.5.0

type QuestionLookup struct {
	Context *rancher.Context
	// contains filtered or unexported fields
}

func NewQuestionLookup added in v0.5.0

func NewQuestionLookup(file string, parent config.EnvironmentLookup) (*QuestionLookup, error)

func (*QuestionLookup) Lookup added in v0.5.0

func (f *QuestionLookup) Lookup(key string, config *config.ServiceConfig) []string

Jump to

Keyboard shortcuts

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