Documentation ¶
Index ¶
- type ApplicationRepository
- type CloudControllerApplicationRepository
- func (repo CloudControllerApplicationRepository) Create(params models.AppParams) (createdApp models.Application, apiErr error)
- func (repo CloudControllerApplicationRepository) CreateRestageRequest(guid string) error
- func (repo CloudControllerApplicationRepository) Delete(appGuid string) (apiErr error)
- func (repo CloudControllerApplicationRepository) GetApp(appGuid string) (app models.Application, apiErr error)
- func (repo CloudControllerApplicationRepository) Read(name string) (app models.Application, apiErr error)
- func (repo CloudControllerApplicationRepository) ReadEnv(guid string) (*models.Environment, error)
- func (repo CloudControllerApplicationRepository) ReadFromSpace(name string, spaceGuid string) (app models.Application, apiErr error)
- func (repo CloudControllerApplicationRepository) Update(appGuid string, params models.AppParams) (updatedApp models.Application, apiErr error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationRepository ¶
type ApplicationRepository interface { Create(params models.AppParams) (createdApp models.Application, apiErr error) GetApp(appGuid string) (models.Application, error) Read(name string) (app models.Application, apiErr error) ReadFromSpace(name string, spaceGuid string) (app models.Application, apiErr error) Update(appGuid string, params models.AppParams) (updatedApp models.Application, apiErr error) Delete(appGuid string) (apiErr error) ReadEnv(guid string) (*models.Environment, error) CreateRestageRequest(guid string) (apiErr error) }
type CloudControllerApplicationRepository ¶
type CloudControllerApplicationRepository struct {
// contains filtered or unexported fields
}
func NewCloudControllerApplicationRepository ¶
func NewCloudControllerApplicationRepository(config core_config.Reader, gateway net.Gateway) (repo CloudControllerApplicationRepository)
func (CloudControllerApplicationRepository) Create ¶
func (repo CloudControllerApplicationRepository) Create(params models.AppParams) (createdApp models.Application, apiErr error)
func (CloudControllerApplicationRepository) CreateRestageRequest ¶
func (repo CloudControllerApplicationRepository) CreateRestageRequest(guid string) error
func (CloudControllerApplicationRepository) Delete ¶
func (repo CloudControllerApplicationRepository) Delete(appGuid string) (apiErr error)
func (CloudControllerApplicationRepository) GetApp ¶
func (repo CloudControllerApplicationRepository) GetApp(appGuid string) (app models.Application, apiErr error)
func (CloudControllerApplicationRepository) Read ¶
func (repo CloudControllerApplicationRepository) Read(name string) (app models.Application, apiErr error)
func (CloudControllerApplicationRepository) ReadEnv ¶
func (repo CloudControllerApplicationRepository) ReadEnv(guid string) (*models.Environment, error)
func (CloudControllerApplicationRepository) ReadFromSpace ¶
func (repo CloudControllerApplicationRepository) ReadFromSpace(name string, spaceGuid string) (app models.Application, apiErr error)
func (CloudControllerApplicationRepository) Update ¶
func (repo CloudControllerApplicationRepository) Update(appGuid string, params models.AppParams) (updatedApp models.Application, apiErr error)
Click to show internal directories.
Click to hide internal directories.