applications

package
v6.18.1+incompatible Latest Latest
Warning

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

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

Documentation

Index

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 coreconfig.Reader, gateway net.Gateway) (repo CloudControllerApplicationRepository)

func (CloudControllerApplicationRepository) Create

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 (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)

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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