environments

package
v0.0.0-...-6644658 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(fs afero.Fs, m *config.Manifest, saName string, o AppLinks) (res.Resources, error)

Build generates a set of resources from the manifest, related to the environment and apps and services.

Types

type AppLinks int

AppLinks represents whether or not apps are linked to environments.

const (
	// AppsToEnvironments indicates that apps should be linked to Environments.
	AppsToEnvironments AppLinks = iota
	// EnvironmentsToApps indicates that environments should be linked to Apps.
	EnvironmentsToApps
)

type StringSet

type StringSet map[string]bool

StringSet is a set of strings.

func ListFiles

func ListFiles(fs afero.Fs, base string) (StringSet, error)

ListFiles returns a set of filenames.

func (StringSet) Items

func (s StringSet) Items() []string

Items returns a slice of the elements in the set.

Jump to

Keyboard shortcuts

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