Versions in this module Expand all Collapse all v1 v1.0.0 Oct 4, 2019 Changes in this version + type ComponentTester struct + func CreateComponentTester(t *testing.T, lC util.LaunchContext) *ComponentTester + func (t *ComponentTester) AssertComponentsContains(paths ...string) bool + func (t *ComponentTester) AssertComponentsContainsExactly(ids ...string) bool + func (t *ComponentTester) CheckFile(u UsableComponent, file, desiredContent string) + func (t *ComponentTester) CheckParameter(key, value string) + func (t *ComponentTester) CheckSpecificEnvVar(env model.EnvVars, key, value string) + func (t *ComponentTester) CheckSpecificParameter(p model.Parameters, key, value string) + func (t *ComponentTester) CheckStack(holder, stackName, composeContent string) + func (t *ComponentTester) Clean() + func (t *ComponentTester) ComponentCount() int + func (t *ComponentTester) CreateRep(path string) *testRepo + func (t *ComponentTester) CreateRepDefaultDescriptor(path string) *testRepo + func (t *ComponentTester) Env() model.Environment + func (t *ComponentTester) Init() error + func (t *ComponentTester) RootContainsComponent(path string) bool + type Manager interface + ContainsDirectory func(name string, in ...model.ComponentReferencer) MatchingPaths + ContainsFile func(name string, in ...model.ComponentReferencer) MatchingPaths + Ensure func() error + Environment func() *model.Environment + Init func(mainComponent model.Component) error + TemplateContext func() *model.TemplateContext + Use func(cr model.ComponentReferencer) (UsableComponent, error) + func CreateComponentManager(lC util.LaunchContext, baseDir string) Manager + type MatchingPath interface + AbsolutePath func() string + Component func() UsableComponent + RelativePath func() string + type MatchingPaths struct + Paths []MatchingPath + func (mp MatchingPaths) Count() int + func (mp MatchingPaths) JoinAbsolutePaths(separator string) string + func (mp MatchingPaths) PrefixPaths(prefix string) []string + func (mp MatchingPaths) Release() + type ParentRef struct + Comp model.Component + ReferencedComponents *model.ReferencedComponents + func (p ParentRef) Component() (model.Component, error) + func (p ParentRef) ComponentName() string + type ReferenceManager struct + Orphans *model.Orphans + Parents []ParentRef + ReferencedComponents *model.ReferencedComponents + SortedFetchedComponents []string + UsedReferences *model.UsedReferences + func CreateReferenceManager(cm *manager) *ReferenceManager + type UsableComponent interface + ContainsDirectory func(name string) (bool, MatchingPath) + ContainsFile func(name string) (bool, MatchingPath) + Name func() string + Release func() + RootPath func() string + Templated func() bool