Documentation ¶
Index ¶
- Constants
- type ApplicationBitsRepository
- type CloudControllerApplicationBitsRepository
- func (repo CloudControllerApplicationBitsRepository) GetApplicationFiles(appFilesToCheck []resources.AppFileResource) ([]resources.AppFileResource, error)
- func (repo CloudControllerApplicationBitsRepository) UploadBits(appGuid string, zipFile *os.File, presentFiles []resources.AppFileResource) (apiErr error)
Constants ¶
View Source
const (
DefaultAppUploadBitsTimeout = 15 * time.Minute
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationBitsRepository ¶
type ApplicationBitsRepository interface { GetApplicationFiles(appFilesRequest []resources.AppFileResource) ([]resources.AppFileResource, error) UploadBits(appGuid string, zipFile *os.File, presentFiles []resources.AppFileResource) (apiErr error) }
type CloudControllerApplicationBitsRepository ¶
type CloudControllerApplicationBitsRepository struct {
// contains filtered or unexported fields
}
func NewCloudControllerApplicationBitsRepository ¶
func NewCloudControllerApplicationBitsRepository(config configuration.Reader, gateway net.Gateway) (repo CloudControllerApplicationBitsRepository)
func (CloudControllerApplicationBitsRepository) GetApplicationFiles ¶
func (repo CloudControllerApplicationBitsRepository) GetApplicationFiles(appFilesToCheck []resources.AppFileResource) ([]resources.AppFileResource, error)
func (CloudControllerApplicationBitsRepository) UploadBits ¶
func (repo CloudControllerApplicationBitsRepository) UploadBits(appGuid string, zipFile *os.File, presentFiles []resources.AppFileResource) (apiErr error)
Click to show internal directories.
Click to hide internal directories.