Documentation ¶
Index ¶
- func ApiGreaterThan(version string) (bool, error)
- func ApiVersion() (string, error)
- func CopyCfHome() error
- func CountBuildpack(language string, stack string) (int, error)
- func CreateOrUpdateBuildpack(language, file, stack string) error
- func DeleteBuildpack(language string) error
- func DeleteOrphanedRoutes() error
- func FindRoot() (string, error)
- func RemovePackagedBuildpack(buildpack VersionedBuildpackPackage) error
- func SeedRandom()
- func Stacks() ([]string, error)
- func UpdateBuildpack(language, file, stack string) error
- type App
- func (a *App) AppGUID() (string, error)
- func (a *App) ConfirmBuildpack(version string) error
- func (a *App) Destroy() error
- func (a *App) DownloadDroplet(path string) error
- func (a *App) Files(path string) ([]string, error)
- func (a *App) Get(path string, headers map[string]string) (string, map[string][]string, error)
- func (a *App) GetBody(path string) (string, error)
- func (a *App) GetUrl(path string) (string, error)
- func (a *App) InstanceStates() ([]string, error)
- func (a *App) Push() error
- func (a *App) PushNoStart() error
- func (a *App) Restart() error
- func (a *App) RunTask(command string) ([]byte, error)
- func (a *App) SetEnv(key, value string)
- func (a *App) SpaceGUID() (string, error)
- func (a *App) Stop() error
- type VersionedBuildpackPackage
- func PackageShimmedBuildpack(bpDir, stack string) (VersionedBuildpackPackage, error)
- func PackageUniquelyVersionedBuildpack(stack string, stackAssociationSupported bool) (VersionedBuildpackPackage, error)
- func PackageUniquelyVersionedBuildpackExtra(name, version, stack string, cached, stackAssociationSupported bool) (VersionedBuildpackPackage, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiGreaterThan ¶
func ApiVersion ¶
func CopyCfHome ¶
func CopyCfHome() error
func CreateOrUpdateBuildpack ¶
func DeleteBuildpack ¶
func DeleteOrphanedRoutes ¶
func DeleteOrphanedRoutes() error
func RemovePackagedBuildpack ¶
func RemovePackagedBuildpack(buildpack VersionedBuildpackPackage) error
func SeedRandom ¶
func SeedRandom()
func UpdateBuildpack ¶
Types ¶
type App ¶
type App struct { Name string Path string Stack string Buildpacks []string Memory string Disk string StartCommand string Stdout *cutlass.Buffer HealthCheck string // contains filtered or unexported fields }
func (*App) ConfirmBuildpack ¶
func (*App) DownloadDroplet ¶
func (*App) InstanceStates ¶
func (*App) PushNoStart ¶
type VersionedBuildpackPackage ¶
func PackageShimmedBuildpack ¶
func PackageShimmedBuildpack(bpDir, stack string) (VersionedBuildpackPackage, error)
func PackageUniquelyVersionedBuildpack ¶
func PackageUniquelyVersionedBuildpack(stack string, stackAssociationSupported bool) (VersionedBuildpackPackage, error)
func PackageUniquelyVersionedBuildpackExtra ¶
func PackageUniquelyVersionedBuildpackExtra(name, version, stack string, cached, stackAssociationSupported bool) (VersionedBuildpackPackage, error)
Click to show internal directories.
Click to hide internal directories.