cf

package
v6.0.1234+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2014 License: Apache-2.0 Imports: 11 Imported by: 0 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

View Source
const (
	Version = "BUILT_FROM_SOURCE"
	Usage   = "A command line tool to interact with Cloud Foundry"
)
View Source
const (
	UaaEndpointKey             EndpointType = "uaa"
	LoggregatorEndpointKey                  = "loggregator"
	CloudControllerEndpointKey              = "cloud_controller"
)
View Source
const (
	BAD_QUERY_PARAM             = "10005"
	USER_EXISTS                 = "20002"
	USER_NOT_FOUND              = "20003"
	ORG_EXISTS                  = "30002"
	SPACE_EXISTS                = "40002"
	SERVICE_INSTANCE_NAME_TAKEN = "60002"
	APP_NOT_STAGED              = "170002"
	APP_STOPPED                 = "220001"
	BUILDPACK_EXISTS            = "290001"
)

Variables

View Source
var DefaultIgnoreFiles = []string{
	".cfignore",
	".gitignore",
	".git",
	".svn",
	"_darcs",
}

Functions

func AppFilesInDir

func AppFilesInDir(dir string) (appFiles []models.AppFileFields, err error)

func CopyFiles

func CopyFiles(appFiles []models.AppFileFields, fromDir, toDir string) (err error)

func CountFiles

func CountFiles(directory string) uint64

func Name

func Name() string

func WaitForClose

func WaitForClose(stop chan bool)

func WalkAppFiles

func WalkAppFiles(dir string, onEachFile walkAppFileFunc) (err error)

Types

type ApplicationZipper

type ApplicationZipper struct{}

func (ApplicationZipper) IsZipFile

func (zipper ApplicationZipper) IsZipFile(file string) (result bool)

func (ApplicationZipper) Zip

func (zipper ApplicationZipper) Zip(dirOrZipFile string, targetFile *os.File) (err error)

type EndpointType

type EndpointType string

type Globs

type Globs []glob.Glob

type Zipper

type Zipper interface {
	Zip(dirToZip string, targetFile *os.File) (err error)
	IsZipFile(path string) bool
}

Jump to

Keyboard shortcuts

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