Documentation
¶
Index ¶
- type ApplicationRepo
- func (repo *ApplicationRepo) DeleteApplication(appName string) error
- func (repo *ApplicationRepo) ListApplications() error
- func (repo *ApplicationRepo) ListApplicationsWithOutput() (output []string, err error)
- func (repo *ApplicationRepo) PushApplication(args []string) error
- func (repo *ApplicationRepo) RenameApplication(oldName, newName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationRepo ¶
type ApplicationRepo struct {
// contains filtered or unexported fields
}
ApplicationRepo - cli connection wrapper
func NewApplicationRepo ¶
func NewApplicationRepo(conn plugin.CliConnection) *ApplicationRepo
NewApplicationRepo - constructor function to create cli connection wrapper
func (*ApplicationRepo) DeleteApplication ¶
func (repo *ApplicationRepo) DeleteApplication(appName string) error
DeleteApplication - delete the application from cf
func (*ApplicationRepo) ListApplications ¶
func (repo *ApplicationRepo) ListApplications() error
ListApplications - list applications on cf
func (*ApplicationRepo) ListApplicationsWithOutput ¶
func (repo *ApplicationRepo) ListApplicationsWithOutput() (output []string, err error)
ListApplicationsWithOutput - list applications on cf with output
func (*ApplicationRepo) PushApplication ¶
func (repo *ApplicationRepo) PushApplication(args []string) error
PushApplication - push the application to cf
func (*ApplicationRepo) RenameApplication ¶
func (repo *ApplicationRepo) RenameApplication(oldName, newName string) error
RenameApplication - rename the application given
Click to show internal directories.
Click to hide internal directories.