Documentation ¶
Index ¶
- Constants
- Variables
- func AppFilesInDir(dir string) (appFiles []models.AppFileFields, err error)
- func CopyFiles(appFiles []models.AppFileFields, fromDir, toDir string) (err error)
- func CountFiles(directory string) uint64
- func Name() string
- func WaitForClose(stop chan bool)
- func WalkAppFiles(dir string, onEachFile walkAppFileFunc) (err error)
- type ApplicationZipper
- type EndpointType
- type Globs
- type Zipper
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 CountFiles ¶
func WaitForClose ¶
func WaitForClose(stop chan bool)
func WalkAppFiles ¶
Types ¶
type ApplicationZipper ¶
type ApplicationZipper struct{}
type EndpointType ¶
type EndpointType string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.