Documentation
¶
Index ¶
- Constants
- Variables
- func DBInfo() (string, string)
- func TempDir(prefix string) string
- func TempDirWithParent(parentDir string, prefix string) string
- type BuiltArtifacts
- type BuiltExecutables
- type BuiltLifecycles
- type ComponentAddresses
- type ComponentMaker
- type GardenSettingsConfig
- type GrootFSConfig
- type NetworkPluginConfig
- type SSHKeys
- type SSLConfig
Constants ¶
View Source
const (
LifecycleFilename = "lifecycle.tar.gz"
)
Variables ¶
View Source
var ( PreloadedStacks = []string{"red-stack", "blue-stack", "cflinuxfs3"} DefaultStack = PreloadedStacks[0] )
Functions ¶
func TempDirWithParent ¶
Types ¶
type BuiltArtifacts ¶
type BuiltArtifacts struct { Executables BuiltExecutables Lifecycles BuiltLifecycles Healthcheck string }
type BuiltExecutables ¶
type BuiltLifecycles ¶
func (*BuiltLifecycles) BuildLifecycles ¶
func (blc *BuiltLifecycles) BuildLifecycles(lifeCycle string, tmpDir string)
type ComponentAddresses ¶
type ComponentAddresses struct { NATS string BBS string Health string Rep string FileServer string Router string RouterStatus string RouterRoutes string RouterRouteServices string Garden string Auctioneer string SSHProxy string SSHProxyHealthCheck string FakeVolmanDriver string Locket string SQL string }
type ComponentMaker ¶
type ComponentMaker interface { VolmanDriverConfigDir() string SSHConfig() SSHKeys Artifacts() BuiltArtifacts PortAllocator() portauthority.PortAllocator Addresses() ComponentAddresses Auctioneer(modifyConfigFuncs ...func(cfg *auctioneerconfig.AuctioneerConfig)) *ginkgomon.Runner BBS(modifyConfigFuncs ...func(*bbsconfig.BBSConfig)) *ginkgomon.Runner BBSClient() bbs.InternalClient RepClientFactory() rep.ClientFactory BBSServiceClient(logger lager.Logger) serviceclient.ServiceClient BBSURL() string BBSSSLConfig() SSLConfig DefaultStack() string FileServer() (ifrit.Runner, string) Garden(fs ...func(*runner.GdnRunnerConfig)) *runner.GardenRunner GardenClient() garden.Client GardenWithoutDefaultStack() ifrit.Runner GrootFSDeleteStore() GrootFSInitStore() Locket(modifyConfigFuncs ...func(*locketconfig.LocketConfig)) ifrit.Runner NATS(argv ...string) ifrit.Runner Rep(modifyConfigFuncs ...func(*repconfig.RepConfig)) *ginkgomon.Runner RepN(n int, modifyConfigFuncs ...func(*repconfig.RepConfig)) *ginkgomon.Runner RepSSLConfig() SSLConfig RouteEmitter(fs ...func(config *routeemitterconfig.RouteEmitterConfig)) *ginkgomon.Runner RouteEmitterN(n int, fs ...func(config *routeemitterconfig.RouteEmitterConfig)) *ginkgomon.Runner Router() *ginkgomon.Runner RoutingAPI(modifyConfigFuncs ...func(*routingapi.Config)) *routingapi.RoutingAPIRunner SQL(argv ...string) ifrit.Runner SSHProxy(modifyConfigFuncs ...func(*sshproxyconfig.SSHProxyConfig)) ifrit.Runner Setup() Teardown() VolmanClient(logger lager.Logger) (volman.Manager, ifrit.Runner) VolmanDriver(logger lager.Logger) (ifrit.Runner, dockerdriver.Driver) }
func MakeComponentMaker ¶
func MakeComponentMaker(builtArtifacts BuiltArtifacts, worldAddresses ComponentAddresses, allocator portauthority.PortAllocator, certAuthority certauthority.CertAuthority) ComponentMaker
func MakeV0ComponentMaker ¶
func MakeV0ComponentMaker(builtArtifacts BuiltArtifacts, worldAddresses ComponentAddresses, allocator portauthority.PortAllocator, certAuthority certauthority.CertAuthority) ComponentMaker
type GardenSettingsConfig ¶
type GardenSettingsConfig struct { GrootFSBinPath string GrootFSStorePath string GardenBinPath string GardenGraphPath string UnprivilegedGrootfsConfig GrootFSConfig PrivilegedGrootfsConfig GrootFSConfig NetworkPluginConfig NetworkPluginConfig }
type GrootFSConfig ¶
type GrootFSConfig struct { StorePath string `yaml:"store"` DraxBin string `yaml:"drax_bin"` LogLevel string `yaml:"log_level"` Create struct { JSON bool `yaml:"json"` UidMappings []string `yaml:"uid_mappings"` GidMappings []string `yaml:"gid_mappings"` SkipLayerValidation bool `yaml:"skip_layer_validation"` } }
type NetworkPluginConfig ¶
Click to show internal directories.
Click to hide internal directories.