cf

package
v6.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2014 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "6.0.1-SHA"
	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) 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)
}

Jump to

Keyboard shortcuts

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