start

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyticsClient

type AnalyticsClient interface {
	Event(event string, data ...map[string]interface{}) error
	PromptOptInIfNeeded(message string) error
}

type AnalyticsD

type AnalyticsD interface {
	Start() error
	Stop() error
	IsRunning() (bool, error)
}

type Args

type Args struct {
	Registries          string
	DeploySingleService string
	DepsPath            string
	EFIPath             string
	NoProvision         bool
	Cpus                int
	Mem                 int
}

type Cache

type Cache interface {
	Sync(resource.Catalog) error
}

type OS added in v0.0.15

type OS interface {
	Stats() (cfdevos.Stats, error)
}

type Provision added in v0.0.13

type Provision interface {
	Execute(args Args) error
}

type Provisioner

type Provisioner interface {
	Ping(duration time.Duration) error
}

type Start

type Start struct {
	Exit            chan struct{}
	UI              UI
	Config          config.Config
	Analytics       AnalyticsClient
	AnalyticsToggle Toggle
	Cache           Cache
	AnalyticsD      AnalyticsD
	Driver          driver.Driver
	Stop            Stop
	Provisioner     Provisioner
	Provision       Provision
	Workspace       Workspace
	OS              OS
}

func (*Start) Cmd

func (s *Start) Cmd() *cobra.Command

func (*Start) Execute

func (s *Start) Execute(args Args) error

type Stop

type Stop interface {
	RunE(cmd *cobra.Command, args []string) error
}

type Toggle

type Toggle interface {
	Enabled() bool
	SetCFAnalyticsEnabled(value bool) error
	SetCustomAnalyticsEnabled(value bool) error
	SetProp(k, v string) error
}

type UI

type UI interface {
	Say(message string, args ...interface{})
	Writer() io.Writer
}

type Workspace added in v0.0.15

type Workspace interface {
	CreateDirs() error
	SetupState(depsFile string) error
	Metadata() (workspace.Metadata, error)
}

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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