apps

package
v0.0.0-...-7977c27 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const AssociateRouteWithAppCreatedCode int = 201

AssociateRouteWithAppCreatedCode is the HTTP code returned for type AssociateRouteWithAppCreated

View Source
const CopyAppBitsForAppCreatedCode int = 201

CopyAppBitsForAppCreatedCode is the HTTP code returned for type CopyAppBitsForAppCreated

View Source
const CreateAppCreatedCode int = 201

CreateAppCreatedCode is the HTTP code returned for type CreateAppCreated

View Source
const DeleteAppNoContentCode int = 204

DeleteAppNoContentCode is the HTTP code returned for type DeleteAppNoContent

View Source
const DownloadsBitsForAppFoundCode int = 302

DownloadsBitsForAppFoundCode is the HTTP code returned for type DownloadsBitsForAppFound

View Source
const GetAppSummaryOKCode int = 200

GetAppSummaryOKCode is the HTTP code returned for type GetAppSummaryOK

View Source
const GetDetailedStatsForStartedAppOKCode int = 200

GetDetailedStatsForStartedAppOKCode is the HTTP code returned for type GetDetailedStatsForStartedAppOK

View Source
const GetEnvForAppOKCode int = 200

GetEnvForAppOKCode is the HTTP code returned for type GetEnvForAppOK

View Source
const GetInstanceInformationForStartedAppOKCode int = 200

GetInstanceInformationForStartedAppOKCode is the HTTP code returned for type GetInstanceInformationForStartedAppOK

View Source
const ListAllAppsOKCode int = 200

ListAllAppsOKCode is the HTTP code returned for type ListAllAppsOK

View Source
const ListAllRoutesForAppOKCode int = 200

ListAllRoutesForAppOKCode is the HTTP code returned for type ListAllRoutesForAppOK

View Source
const ListAllServiceBindingsForAppOKCode int = 200

ListAllServiceBindingsForAppOKCode is the HTTP code returned for type ListAllServiceBindingsForAppOK

View Source
const RemoveRouteFromAppCreatedCode int = 201

RemoveRouteFromAppCreatedCode is the HTTP code returned for type RemoveRouteFromAppCreated

View Source
const RemoveServiceBindingFromAppCreatedCode int = 201

RemoveServiceBindingFromAppCreatedCode is the HTTP code returned for type RemoveServiceBindingFromAppCreated

View Source
const RestageAppCreatedCode int = 201

RestageAppCreatedCode is the HTTP code returned for type RestageAppCreated

View Source
const RetrieveAppOKCode int = 200

RetrieveAppOKCode is the HTTP code returned for type RetrieveAppOK

View Source
const TerminateRunningAppInstanceAtGivenIndexNoContentCode int = 204

TerminateRunningAppInstanceAtGivenIndexNoContentCode is the HTTP code returned for type TerminateRunningAppInstanceAtGivenIndexNoContent

View Source
const UpdateAppCreatedCode int = 201

UpdateAppCreatedCode is the HTTP code returned for type UpdateAppCreated

View Source
const UploadsBitsForAppCreatedCode int = 201

UploadsBitsForAppCreatedCode is the HTTP code returned for type UploadsBitsForAppCreated

Variables

This section is empty.

Functions

This section is empty.

Types

type AssociateRouteWithApp

type AssociateRouteWithApp struct {
	Context *middleware.Context
	Handler AssociateRouteWithAppHandler
}

AssociateRouteWithApp swagger:route PUT /apps/{guid}/routes/{route_guid} apps associateRouteWithApp

Associate Route with the App

curl --insecure -i %s/v2/apps/{guid}/routes/{route_guid} -X PUT -H 'Authorization: %s'

func NewAssociateRouteWithApp

func NewAssociateRouteWithApp(ctx *middleware.Context, handler AssociateRouteWithAppHandler) *AssociateRouteWithApp

NewAssociateRouteWithApp creates a new http.Handler for the associate route with app operation

func (*AssociateRouteWithApp) ServeHTTP

func (o *AssociateRouteWithApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type AssociateRouteWithAppCreated

type AssociateRouteWithAppCreated struct {

	/*
	  In: Body
	*/
	Payload *models.AssociateRouteWithAppResponseResource `json:"body,omitempty"`
}

AssociateRouteWithAppCreated successful response

swagger:response associateRouteWithAppCreated

func NewAssociateRouteWithAppCreated

func NewAssociateRouteWithAppCreated() *AssociateRouteWithAppCreated

NewAssociateRouteWithAppCreated creates AssociateRouteWithAppCreated with default headers values

func (*AssociateRouteWithAppCreated) SetPayload

SetPayload sets the payload to the associate route with app created response

func (*AssociateRouteWithAppCreated) WithPayload

WithPayload adds the payload to the associate route with app created response

func (*AssociateRouteWithAppCreated) WriteResponse

func (o *AssociateRouteWithAppCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AssociateRouteWithAppHandler

type AssociateRouteWithAppHandler interface {
	Handle(AssociateRouteWithAppParams) middleware.Responder
}

AssociateRouteWithAppHandler interface for that can handle valid associate route with app params

type AssociateRouteWithAppHandlerFunc

type AssociateRouteWithAppHandlerFunc func(AssociateRouteWithAppParams) middleware.Responder

AssociateRouteWithAppHandlerFunc turns a function with the right signature into a associate route with app handler

func (AssociateRouteWithAppHandlerFunc) Handle

Handle executing the request and returning a response

type AssociateRouteWithAppParams

type AssociateRouteWithAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid/routes/:route_guid'
	  Required: true
	  In: path
	*/
	GUID string
	/*The route_guid parameter is used as a part of the request URL: '/v2/apps/:guid/routes/:route_guid'
	  Required: true
	  In: path
	*/
	RouteGUID string
}

AssociateRouteWithAppParams contains all the bound params for the associate route with app operation typically these are obtained from a http.Request

swagger:parameters associateRouteWithApp

func NewAssociateRouteWithAppParams

func NewAssociateRouteWithAppParams() AssociateRouteWithAppParams

NewAssociateRouteWithAppParams creates a new AssociateRouteWithAppParams object no default values defined in spec.

func (*AssociateRouteWithAppParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewAssociateRouteWithAppParams() beforehand.

type AssociateRouteWithAppURL

type AssociateRouteWithAppURL struct {
	GUID      string
	RouteGUID string
	// contains filtered or unexported fields
}

AssociateRouteWithAppURL generates an URL for the associate route with app operation

func (*AssociateRouteWithAppURL) Build

func (o *AssociateRouteWithAppURL) Build() (*url.URL, error)

Build a url path and query string

func (*AssociateRouteWithAppURL) BuildFull

func (o *AssociateRouteWithAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*AssociateRouteWithAppURL) Must

func (o *AssociateRouteWithAppURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*AssociateRouteWithAppURL) SetBasePath

func (o *AssociateRouteWithAppURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*AssociateRouteWithAppURL) String

func (o *AssociateRouteWithAppURL) String() string

String returns the string representation of the path with query string

func (*AssociateRouteWithAppURL) StringFull

func (o *AssociateRouteWithAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*AssociateRouteWithAppURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type CopyAppBitsForApp

type CopyAppBitsForApp struct {
	Context *middleware.Context
	Handler CopyAppBitsForAppHandler
}

CopyAppBitsForApp swagger:route POST /apps/{guid}/copy_bits apps copyAppBitsForApp

Copy the app bits for an App

curl --insecure -i %s/v2/apps/{guid}/copy_bits -X POST -H 'Authorization: %s' -d '%s'

func NewCopyAppBitsForApp

func NewCopyAppBitsForApp(ctx *middleware.Context, handler CopyAppBitsForAppHandler) *CopyAppBitsForApp

NewCopyAppBitsForApp creates a new http.Handler for the copy app bits for app operation

func (*CopyAppBitsForApp) ServeHTTP

func (o *CopyAppBitsForApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CopyAppBitsForAppCreated

type CopyAppBitsForAppCreated struct {

	/*
	  In: Body
	*/
	Payload *models.CopyAppBitsForAppResponseResource `json:"body,omitempty"`
}

CopyAppBitsForAppCreated successful response

swagger:response copyAppBitsForAppCreated

func NewCopyAppBitsForAppCreated

func NewCopyAppBitsForAppCreated() *CopyAppBitsForAppCreated

NewCopyAppBitsForAppCreated creates CopyAppBitsForAppCreated with default headers values

func (*CopyAppBitsForAppCreated) SetPayload

SetPayload sets the payload to the copy app bits for app created response

func (*CopyAppBitsForAppCreated) WithPayload

WithPayload adds the payload to the copy app bits for app created response

func (*CopyAppBitsForAppCreated) WriteResponse

func (o *CopyAppBitsForAppCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CopyAppBitsForAppHandler

type CopyAppBitsForAppHandler interface {
	Handle(CopyAppBitsForAppParams) middleware.Responder
}

CopyAppBitsForAppHandler interface for that can handle valid copy app bits for app params

type CopyAppBitsForAppHandlerFunc

type CopyAppBitsForAppHandlerFunc func(CopyAppBitsForAppParams) middleware.Responder

CopyAppBitsForAppHandlerFunc turns a function with the right signature into a copy app bits for app handler

func (CopyAppBitsForAppHandlerFunc) Handle

Handle executing the request and returning a response

type CopyAppBitsForAppParams

type CopyAppBitsForAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid/copy_bits'
	  Required: true
	  In: path
	*/
	GUID string
	/*An object instance that is serialized and sent as the request body.
	  Required: true
	  In: body
	*/
	Value *models.CopyAppBitsForAppRequest
}

CopyAppBitsForAppParams contains all the bound params for the copy app bits for app operation typically these are obtained from a http.Request

swagger:parameters copyAppBitsForApp

func NewCopyAppBitsForAppParams

func NewCopyAppBitsForAppParams() CopyAppBitsForAppParams

NewCopyAppBitsForAppParams creates a new CopyAppBitsForAppParams object no default values defined in spec.

func (*CopyAppBitsForAppParams) BindRequest

func (o *CopyAppBitsForAppParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCopyAppBitsForAppParams() beforehand.

type CopyAppBitsForAppURL

type CopyAppBitsForAppURL struct {
	GUID string
	// contains filtered or unexported fields
}

CopyAppBitsForAppURL generates an URL for the copy app bits for app operation

func (*CopyAppBitsForAppURL) Build

func (o *CopyAppBitsForAppURL) Build() (*url.URL, error)

Build a url path and query string

func (*CopyAppBitsForAppURL) BuildFull

func (o *CopyAppBitsForAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CopyAppBitsForAppURL) Must

func (o *CopyAppBitsForAppURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CopyAppBitsForAppURL) SetBasePath

func (o *CopyAppBitsForAppURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CopyAppBitsForAppURL) String

func (o *CopyAppBitsForAppURL) String() string

String returns the string representation of the path with query string

func (*CopyAppBitsForAppURL) StringFull

func (o *CopyAppBitsForAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CopyAppBitsForAppURL) WithBasePath

func (o *CopyAppBitsForAppURL) WithBasePath(bp string) *CopyAppBitsForAppURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type CreateApp

type CreateApp struct {
	Context *middleware.Context
	Handler CreateAppHandler
}

CreateApp swagger:route POST /apps apps createApp

Creating an App

curl --insecure -i %s/v2/apps -X POST -H 'Authorization: %s' -d '%s'

func NewCreateApp

func NewCreateApp(ctx *middleware.Context, handler CreateAppHandler) *CreateApp

NewCreateApp creates a new http.Handler for the create app operation

func (*CreateApp) ServeHTTP

func (o *CreateApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateAppCreated

type CreateAppCreated struct {

	/*
	  In: Body
	*/
	Payload *models.CreateAppResponseResource `json:"body,omitempty"`
}

CreateAppCreated successful response

swagger:response createAppCreated

func NewCreateAppCreated

func NewCreateAppCreated() *CreateAppCreated

NewCreateAppCreated creates CreateAppCreated with default headers values

func (*CreateAppCreated) SetPayload

func (o *CreateAppCreated) SetPayload(payload *models.CreateAppResponseResource)

SetPayload sets the payload to the create app created response

func (*CreateAppCreated) WithPayload

WithPayload adds the payload to the create app created response

func (*CreateAppCreated) WriteResponse

func (o *CreateAppCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateAppHandler

type CreateAppHandler interface {
	Handle(CreateAppParams) middleware.Responder
}

CreateAppHandler interface for that can handle valid create app params

type CreateAppHandlerFunc

type CreateAppHandlerFunc func(CreateAppParams) middleware.Responder

CreateAppHandlerFunc turns a function with the right signature into a create app handler

func (CreateAppHandlerFunc) Handle

Handle executing the request and returning a response

type CreateAppParams

type CreateAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*An object instance that is serialized and sent as the request body.
	  Required: true
	  In: body
	*/
	Value *models.CreateAppRequest
}

CreateAppParams contains all the bound params for the create app operation typically these are obtained from a http.Request

swagger:parameters createApp

func NewCreateAppParams

func NewCreateAppParams() CreateAppParams

NewCreateAppParams creates a new CreateAppParams object no default values defined in spec.

func (*CreateAppParams) BindRequest

func (o *CreateAppParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCreateAppParams() beforehand.

type CreateAppURL

type CreateAppURL struct {
	// contains filtered or unexported fields
}

CreateAppURL generates an URL for the create app operation

func (*CreateAppURL) Build

func (o *CreateAppURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateAppURL) BuildFull

func (o *CreateAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateAppURL) Must

func (o *CreateAppURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateAppURL) SetBasePath

func (o *CreateAppURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CreateAppURL) String

func (o *CreateAppURL) String() string

String returns the string representation of the path with query string

func (*CreateAppURL) StringFull

func (o *CreateAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateAppURL) WithBasePath

func (o *CreateAppURL) WithBasePath(bp string) *CreateAppURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteApp

type DeleteApp struct {
	Context *middleware.Context
	Handler DeleteAppHandler
}

DeleteApp swagger:route DELETE /apps/{guid} apps deleteApp

Delete a Particular App

curl --insecure -i %s/v2/apps/{guid} -X DELETE -H 'Authorization: %s'

func NewDeleteApp

func NewDeleteApp(ctx *middleware.Context, handler DeleteAppHandler) *DeleteApp

NewDeleteApp creates a new http.Handler for the delete app operation

func (*DeleteApp) ServeHTTP

func (o *DeleteApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteAppHandler

type DeleteAppHandler interface {
	Handle(DeleteAppParams) middleware.Responder
}

DeleteAppHandler interface for that can handle valid delete app params

type DeleteAppHandlerFunc

type DeleteAppHandlerFunc func(DeleteAppParams) middleware.Responder

DeleteAppHandlerFunc turns a function with the right signature into a delete app handler

func (DeleteAppHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteAppNoContent

type DeleteAppNoContent struct {
}

DeleteAppNoContent successful response

swagger:response deleteAppNoContent

func NewDeleteAppNoContent

func NewDeleteAppNoContent() *DeleteAppNoContent

NewDeleteAppNoContent creates DeleteAppNoContent with default headers values

func (*DeleteAppNoContent) WriteResponse

func (o *DeleteAppNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteAppParams

type DeleteAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid'
	  Required: true
	  In: path
	*/
	GUID string
}

DeleteAppParams contains all the bound params for the delete app operation typically these are obtained from a http.Request

swagger:parameters deleteApp

func NewDeleteAppParams

func NewDeleteAppParams() DeleteAppParams

NewDeleteAppParams creates a new DeleteAppParams object no default values defined in spec.

func (*DeleteAppParams) BindRequest

func (o *DeleteAppParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteAppParams() beforehand.

type DeleteAppURL

type DeleteAppURL struct {
	GUID string
	// contains filtered or unexported fields
}

DeleteAppURL generates an URL for the delete app operation

func (*DeleteAppURL) Build

func (o *DeleteAppURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteAppURL) BuildFull

func (o *DeleteAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteAppURL) Must

func (o *DeleteAppURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteAppURL) SetBasePath

func (o *DeleteAppURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteAppURL) String

func (o *DeleteAppURL) String() string

String returns the string representation of the path with query string

func (*DeleteAppURL) StringFull

func (o *DeleteAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteAppURL) WithBasePath

func (o *DeleteAppURL) WithBasePath(bp string) *DeleteAppURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DownloadsBitsForApp

type DownloadsBitsForApp struct {
	Context *middleware.Context
	Handler DownloadsBitsForAppHandler
}

DownloadsBitsForApp swagger:route GET /apps/{guid}/download apps downloadsBitsForApp

Downloads the bits for an App

curl --insecure -i %s/v2/apps/{guid}/download -X GET -H 'Authorization: %s'

func NewDownloadsBitsForApp

func NewDownloadsBitsForApp(ctx *middleware.Context, handler DownloadsBitsForAppHandler) *DownloadsBitsForApp

NewDownloadsBitsForApp creates a new http.Handler for the downloads bits for app operation

func (*DownloadsBitsForApp) ServeHTTP

func (o *DownloadsBitsForApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DownloadsBitsForAppFound

type DownloadsBitsForAppFound struct {
}

DownloadsBitsForAppFound successful response

swagger:response downloadsBitsForAppFound

func NewDownloadsBitsForAppFound

func NewDownloadsBitsForAppFound() *DownloadsBitsForAppFound

NewDownloadsBitsForAppFound creates DownloadsBitsForAppFound with default headers values

func (*DownloadsBitsForAppFound) WriteResponse

func (o *DownloadsBitsForAppFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DownloadsBitsForAppHandler

type DownloadsBitsForAppHandler interface {
	Handle(DownloadsBitsForAppParams) middleware.Responder
}

DownloadsBitsForAppHandler interface for that can handle valid downloads bits for app params

type DownloadsBitsForAppHandlerFunc

type DownloadsBitsForAppHandlerFunc func(DownloadsBitsForAppParams) middleware.Responder

DownloadsBitsForAppHandlerFunc turns a function with the right signature into a downloads bits for app handler

func (DownloadsBitsForAppHandlerFunc) Handle

Handle executing the request and returning a response

type DownloadsBitsForAppParams

type DownloadsBitsForAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid/download'
	  Required: true
	  In: path
	*/
	GUID string
}

DownloadsBitsForAppParams contains all the bound params for the downloads bits for app operation typically these are obtained from a http.Request

swagger:parameters downloadsBitsForApp

func NewDownloadsBitsForAppParams

func NewDownloadsBitsForAppParams() DownloadsBitsForAppParams

NewDownloadsBitsForAppParams creates a new DownloadsBitsForAppParams object no default values defined in spec.

func (*DownloadsBitsForAppParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDownloadsBitsForAppParams() beforehand.

type DownloadsBitsForAppURL

type DownloadsBitsForAppURL struct {
	GUID string
	// contains filtered or unexported fields
}

DownloadsBitsForAppURL generates an URL for the downloads bits for app operation

func (*DownloadsBitsForAppURL) Build

func (o *DownloadsBitsForAppURL) Build() (*url.URL, error)

Build a url path and query string

func (*DownloadsBitsForAppURL) BuildFull

func (o *DownloadsBitsForAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DownloadsBitsForAppURL) Must

func (o *DownloadsBitsForAppURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DownloadsBitsForAppURL) SetBasePath

func (o *DownloadsBitsForAppURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DownloadsBitsForAppURL) String

func (o *DownloadsBitsForAppURL) String() string

String returns the string representation of the path with query string

func (*DownloadsBitsForAppURL) StringFull

func (o *DownloadsBitsForAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DownloadsBitsForAppURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetAppSummary

type GetAppSummary struct {
	Context *middleware.Context
	Handler GetAppSummaryHandler
}

GetAppSummary swagger:route GET /apps/{guid}/summary apps getAppSummary

Get App summary

curl --insecure -i %s/v2/apps/{guid}/summary -X GET -H 'Authorization: %s'

func NewGetAppSummary

func NewGetAppSummary(ctx *middleware.Context, handler GetAppSummaryHandler) *GetAppSummary

NewGetAppSummary creates a new http.Handler for the get app summary operation

func (*GetAppSummary) ServeHTTP

func (o *GetAppSummary) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetAppSummaryHandler

type GetAppSummaryHandler interface {
	Handle(GetAppSummaryParams) middleware.Responder
}

GetAppSummaryHandler interface for that can handle valid get app summary params

type GetAppSummaryHandlerFunc

type GetAppSummaryHandlerFunc func(GetAppSummaryParams) middleware.Responder

GetAppSummaryHandlerFunc turns a function with the right signature into a get app summary handler

func (GetAppSummaryHandlerFunc) Handle

Handle executing the request and returning a response

type GetAppSummaryOK

type GetAppSummaryOK struct {

	/*
	  In: Body
	*/
	Payload *models.GetAppSummaryResponse `json:"body,omitempty"`
}

GetAppSummaryOK successful response

swagger:response getAppSummaryOK

func NewGetAppSummaryOK

func NewGetAppSummaryOK() *GetAppSummaryOK

NewGetAppSummaryOK creates GetAppSummaryOK with default headers values

func (*GetAppSummaryOK) SetPayload

func (o *GetAppSummaryOK) SetPayload(payload *models.GetAppSummaryResponse)

SetPayload sets the payload to the get app summary o k response

func (*GetAppSummaryOK) WithPayload

func (o *GetAppSummaryOK) WithPayload(payload *models.GetAppSummaryResponse) *GetAppSummaryOK

WithPayload adds the payload to the get app summary o k response

func (*GetAppSummaryOK) WriteResponse

func (o *GetAppSummaryOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAppSummaryParams

type GetAppSummaryParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid/summary'
	  Required: true
	  In: path
	*/
	GUID string
}

GetAppSummaryParams contains all the bound params for the get app summary operation typically these are obtained from a http.Request

swagger:parameters getAppSummary

func NewGetAppSummaryParams

func NewGetAppSummaryParams() GetAppSummaryParams

NewGetAppSummaryParams creates a new GetAppSummaryParams object no default values defined in spec.

func (*GetAppSummaryParams) BindRequest

func (o *GetAppSummaryParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetAppSummaryParams() beforehand.

type GetAppSummaryURL

type GetAppSummaryURL struct {
	GUID string
	// contains filtered or unexported fields
}

GetAppSummaryURL generates an URL for the get app summary operation

func (*GetAppSummaryURL) Build

func (o *GetAppSummaryURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetAppSummaryURL) BuildFull

func (o *GetAppSummaryURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetAppSummaryURL) Must

func (o *GetAppSummaryURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetAppSummaryURL) SetBasePath

func (o *GetAppSummaryURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetAppSummaryURL) String

func (o *GetAppSummaryURL) String() string

String returns the string representation of the path with query string

func (*GetAppSummaryURL) StringFull

func (o *GetAppSummaryURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetAppSummaryURL) WithBasePath

func (o *GetAppSummaryURL) WithBasePath(bp string) *GetAppSummaryURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetDetailedStatsForStartedApp

type GetDetailedStatsForStartedApp struct {
	Context *middleware.Context
	Handler GetDetailedStatsForStartedAppHandler
}

GetDetailedStatsForStartedApp swagger:route GET /apps/{guid}/stats apps getDetailedStatsForStartedApp

Get detailed stats for a STARTED App

curl --insecure -i %s/v2/apps/{guid}/stats -X GET -H 'Authorization: %s'

func NewGetDetailedStatsForStartedApp

func NewGetDetailedStatsForStartedApp(ctx *middleware.Context, handler GetDetailedStatsForStartedAppHandler) *GetDetailedStatsForStartedApp

NewGetDetailedStatsForStartedApp creates a new http.Handler for the get detailed stats for started app operation

func (*GetDetailedStatsForStartedApp) ServeHTTP

type GetDetailedStatsForStartedAppHandler

type GetDetailedStatsForStartedAppHandler interface {
	Handle(GetDetailedStatsForStartedAppParams) middleware.Responder
}

GetDetailedStatsForStartedAppHandler interface for that can handle valid get detailed stats for started app params

type GetDetailedStatsForStartedAppHandlerFunc

type GetDetailedStatsForStartedAppHandlerFunc func(GetDetailedStatsForStartedAppParams) middleware.Responder

GetDetailedStatsForStartedAppHandlerFunc turns a function with the right signature into a get detailed stats for started app handler

func (GetDetailedStatsForStartedAppHandlerFunc) Handle

Handle executing the request and returning a response

type GetDetailedStatsForStartedAppOK

type GetDetailedStatsForStartedAppOK struct {

	/*
	  In: Body
	*/
	Payload models.GetDetailedStatsForStartedAppResponseResource `json:"body,omitempty"`
}

GetDetailedStatsForStartedAppOK successful response

swagger:response getDetailedStatsForStartedAppOK

func NewGetDetailedStatsForStartedAppOK

func NewGetDetailedStatsForStartedAppOK() *GetDetailedStatsForStartedAppOK

NewGetDetailedStatsForStartedAppOK creates GetDetailedStatsForStartedAppOK with default headers values

func (*GetDetailedStatsForStartedAppOK) SetPayload

SetPayload sets the payload to the get detailed stats for started app o k response

func (*GetDetailedStatsForStartedAppOK) WithPayload

WithPayload adds the payload to the get detailed stats for started app o k response

func (*GetDetailedStatsForStartedAppOK) WriteResponse

func (o *GetDetailedStatsForStartedAppOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDetailedStatsForStartedAppParams

type GetDetailedStatsForStartedAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid/stats'
	  Required: true
	  In: path
	*/
	GUID string
}

GetDetailedStatsForStartedAppParams contains all the bound params for the get detailed stats for started app operation typically these are obtained from a http.Request

swagger:parameters getDetailedStatsForStartedApp

func NewGetDetailedStatsForStartedAppParams

func NewGetDetailedStatsForStartedAppParams() GetDetailedStatsForStartedAppParams

NewGetDetailedStatsForStartedAppParams creates a new GetDetailedStatsForStartedAppParams object no default values defined in spec.

func (*GetDetailedStatsForStartedAppParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetDetailedStatsForStartedAppParams() beforehand.

type GetDetailedStatsForStartedAppURL

type GetDetailedStatsForStartedAppURL struct {
	GUID string
	// contains filtered or unexported fields
}

GetDetailedStatsForStartedAppURL generates an URL for the get detailed stats for started app operation

func (*GetDetailedStatsForStartedAppURL) Build

Build a url path and query string

func (*GetDetailedStatsForStartedAppURL) BuildFull

func (o *GetDetailedStatsForStartedAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetDetailedStatsForStartedAppURL) Must

Must is a helper function to panic when the url builder returns an error

func (*GetDetailedStatsForStartedAppURL) SetBasePath

func (o *GetDetailedStatsForStartedAppURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetDetailedStatsForStartedAppURL) String

String returns the string representation of the path with query string

func (*GetDetailedStatsForStartedAppURL) StringFull

func (o *GetDetailedStatsForStartedAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetDetailedStatsForStartedAppURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetEnvForApp

type GetEnvForApp struct {
	Context *middleware.Context
	Handler GetEnvForAppHandler
}

GetEnvForApp swagger:route GET /apps/{guid}/env apps getEnvForApp

Get the env for an App

curl --insecure -i %s/v2/apps/{guid}/env -X GET -H 'Authorization: %s'

func NewGetEnvForApp

func NewGetEnvForApp(ctx *middleware.Context, handler GetEnvForAppHandler) *GetEnvForApp

NewGetEnvForApp creates a new http.Handler for the get env for app operation

func (*GetEnvForApp) ServeHTTP

func (o *GetEnvForApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetEnvForAppHandler

type GetEnvForAppHandler interface {
	Handle(GetEnvForAppParams) middleware.Responder
}

GetEnvForAppHandler interface for that can handle valid get env for app params

type GetEnvForAppHandlerFunc

type GetEnvForAppHandlerFunc func(GetEnvForAppParams) middleware.Responder

GetEnvForAppHandlerFunc turns a function with the right signature into a get env for app handler

func (GetEnvForAppHandlerFunc) Handle

Handle executing the request and returning a response

type GetEnvForAppOK

type GetEnvForAppOK struct {

	/*
	  In: Body
	*/
	Payload *models.GetEnvForAppResponseResource `json:"body,omitempty"`
}

GetEnvForAppOK successful response

swagger:response getEnvForAppOK

func NewGetEnvForAppOK

func NewGetEnvForAppOK() *GetEnvForAppOK

NewGetEnvForAppOK creates GetEnvForAppOK with default headers values

func (*GetEnvForAppOK) SetPayload

func (o *GetEnvForAppOK) SetPayload(payload *models.GetEnvForAppResponseResource)

SetPayload sets the payload to the get env for app o k response

func (*GetEnvForAppOK) WithPayload

WithPayload adds the payload to the get env for app o k response

func (*GetEnvForAppOK) WriteResponse

func (o *GetEnvForAppOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEnvForAppParams

type GetEnvForAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid/env'
	  Required: true
	  In: path
	*/
	GUID string
}

GetEnvForAppParams contains all the bound params for the get env for app operation typically these are obtained from a http.Request

swagger:parameters getEnvForApp

func NewGetEnvForAppParams

func NewGetEnvForAppParams() GetEnvForAppParams

NewGetEnvForAppParams creates a new GetEnvForAppParams object no default values defined in spec.

func (*GetEnvForAppParams) BindRequest

func (o *GetEnvForAppParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetEnvForAppParams() beforehand.

type GetEnvForAppURL

type GetEnvForAppURL struct {
	GUID string
	// contains filtered or unexported fields
}

GetEnvForAppURL generates an URL for the get env for app operation

func (*GetEnvForAppURL) Build

func (o *GetEnvForAppURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetEnvForAppURL) BuildFull

func (o *GetEnvForAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetEnvForAppURL) Must

func (o *GetEnvForAppURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetEnvForAppURL) SetBasePath

func (o *GetEnvForAppURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetEnvForAppURL) String

func (o *GetEnvForAppURL) String() string

String returns the string representation of the path with query string

func (*GetEnvForAppURL) StringFull

func (o *GetEnvForAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetEnvForAppURL) WithBasePath

func (o *GetEnvForAppURL) WithBasePath(bp string) *GetEnvForAppURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetInstanceInformationForStartedApp

type GetInstanceInformationForStartedApp struct {
	Context *middleware.Context
	Handler GetInstanceInformationForStartedAppHandler
}

GetInstanceInformationForStartedApp swagger:route GET /apps/{guid}/instances apps getInstanceInformationForStartedApp

Get the instance information for a STARTED App

curl --insecure -i %s/v2/apps/{guid}/instances -X GET -H 'Authorization: %s'

func NewGetInstanceInformationForStartedApp

func NewGetInstanceInformationForStartedApp(ctx *middleware.Context, handler GetInstanceInformationForStartedAppHandler) *GetInstanceInformationForStartedApp

NewGetInstanceInformationForStartedApp creates a new http.Handler for the get instance information for started app operation

func (*GetInstanceInformationForStartedApp) ServeHTTP

type GetInstanceInformationForStartedAppHandler

type GetInstanceInformationForStartedAppHandler interface {
	Handle(GetInstanceInformationForStartedAppParams) middleware.Responder
}

GetInstanceInformationForStartedAppHandler interface for that can handle valid get instance information for started app params

type GetInstanceInformationForStartedAppHandlerFunc

type GetInstanceInformationForStartedAppHandlerFunc func(GetInstanceInformationForStartedAppParams) middleware.Responder

GetInstanceInformationForStartedAppHandlerFunc turns a function with the right signature into a get instance information for started app handler

func (GetInstanceInformationForStartedAppHandlerFunc) Handle

Handle executing the request and returning a response

type GetInstanceInformationForStartedAppOK

type GetInstanceInformationForStartedAppOK struct {

	/*
	  In: Body
	*/
	Payload models.GetInstanceInformationForStartedAppResponseResource `json:"body,omitempty"`
}

GetInstanceInformationForStartedAppOK successful response

swagger:response getInstanceInformationForStartedAppOK

func NewGetInstanceInformationForStartedAppOK

func NewGetInstanceInformationForStartedAppOK() *GetInstanceInformationForStartedAppOK

NewGetInstanceInformationForStartedAppOK creates GetInstanceInformationForStartedAppOK with default headers values

func (*GetInstanceInformationForStartedAppOK) SetPayload

SetPayload sets the payload to the get instance information for started app o k response

func (*GetInstanceInformationForStartedAppOK) WithPayload

WithPayload adds the payload to the get instance information for started app o k response

func (*GetInstanceInformationForStartedAppOK) WriteResponse

WriteResponse to the client

type GetInstanceInformationForStartedAppParams

type GetInstanceInformationForStartedAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid/instances'
	  Required: true
	  In: path
	*/
	GUID string
}

GetInstanceInformationForStartedAppParams contains all the bound params for the get instance information for started app operation typically these are obtained from a http.Request

swagger:parameters getInstanceInformationForStartedApp

func NewGetInstanceInformationForStartedAppParams

func NewGetInstanceInformationForStartedAppParams() GetInstanceInformationForStartedAppParams

NewGetInstanceInformationForStartedAppParams creates a new GetInstanceInformationForStartedAppParams object no default values defined in spec.

func (*GetInstanceInformationForStartedAppParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetInstanceInformationForStartedAppParams() beforehand.

type GetInstanceInformationForStartedAppURL

type GetInstanceInformationForStartedAppURL struct {
	GUID string
	// contains filtered or unexported fields
}

GetInstanceInformationForStartedAppURL generates an URL for the get instance information for started app operation

func (*GetInstanceInformationForStartedAppURL) Build

Build a url path and query string

func (*GetInstanceInformationForStartedAppURL) BuildFull

func (o *GetInstanceInformationForStartedAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetInstanceInformationForStartedAppURL) Must

Must is a helper function to panic when the url builder returns an error

func (*GetInstanceInformationForStartedAppURL) SetBasePath

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetInstanceInformationForStartedAppURL) String

String returns the string representation of the path with query string

func (*GetInstanceInformationForStartedAppURL) StringFull

func (o *GetInstanceInformationForStartedAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetInstanceInformationForStartedAppURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListAllApps

type ListAllApps struct {
	Context *middleware.Context
	Handler ListAllAppsHandler
}

ListAllApps swagger:route GET /apps apps listAllApps

List all Apps

curl --insecure -i %s/v2/apps -X GET -H 'Authorization: %s'

func NewListAllApps

func NewListAllApps(ctx *middleware.Context, handler ListAllAppsHandler) *ListAllApps

NewListAllApps creates a new http.Handler for the list all apps operation

func (*ListAllApps) ServeHTTP

func (o *ListAllApps) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListAllAppsHandler

type ListAllAppsHandler interface {
	Handle(ListAllAppsParams) middleware.Responder
}

ListAllAppsHandler interface for that can handle valid list all apps params

type ListAllAppsHandlerFunc

type ListAllAppsHandlerFunc func(ListAllAppsParams) middleware.Responder

ListAllAppsHandlerFunc turns a function with the right signature into a list all apps handler

func (ListAllAppsHandlerFunc) Handle

Handle executing the request and returning a response

type ListAllAppsOK

type ListAllAppsOK struct {

	/*
	  In: Body
	*/
	Payload *models.ListAllAppsResponsePaged `json:"body,omitempty"`
}

ListAllAppsOK successful response

swagger:response listAllAppsOK

func NewListAllAppsOK

func NewListAllAppsOK() *ListAllAppsOK

NewListAllAppsOK creates ListAllAppsOK with default headers values

func (*ListAllAppsOK) SetPayload

func (o *ListAllAppsOK) SetPayload(payload *models.ListAllAppsResponsePaged)

SetPayload sets the payload to the list all apps o k response

func (*ListAllAppsOK) WithPayload

func (o *ListAllAppsOK) WithPayload(payload *models.ListAllAppsResponsePaged) *ListAllAppsOK

WithPayload adds the payload to the list all apps o k response

func (*ListAllAppsOK) WriteResponse

func (o *ListAllAppsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListAllAppsParams

type ListAllAppsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

ListAllAppsParams contains all the bound params for the list all apps operation typically these are obtained from a http.Request

swagger:parameters listAllApps

func NewListAllAppsParams

func NewListAllAppsParams() ListAllAppsParams

NewListAllAppsParams creates a new ListAllAppsParams object no default values defined in spec.

func (*ListAllAppsParams) BindRequest

func (o *ListAllAppsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListAllAppsParams() beforehand.

type ListAllAppsURL

type ListAllAppsURL struct {
	// contains filtered or unexported fields
}

ListAllAppsURL generates an URL for the list all apps operation

func (*ListAllAppsURL) Build

func (o *ListAllAppsURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListAllAppsURL) BuildFull

func (o *ListAllAppsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListAllAppsURL) Must

func (o *ListAllAppsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListAllAppsURL) SetBasePath

func (o *ListAllAppsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListAllAppsURL) String

func (o *ListAllAppsURL) String() string

String returns the string representation of the path with query string

func (*ListAllAppsURL) StringFull

func (o *ListAllAppsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListAllAppsURL) WithBasePath

func (o *ListAllAppsURL) WithBasePath(bp string) *ListAllAppsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListAllRoutesForApp

type ListAllRoutesForApp struct {
	Context *middleware.Context
	Handler ListAllRoutesForAppHandler
}

ListAllRoutesForApp swagger:route GET /apps/{guid}/routes apps listAllRoutesForApp

List all Routes for the App

curl --insecure -i %s/v2/apps/{guid}/routes -X GET -H 'Authorization: %s'

func NewListAllRoutesForApp

func NewListAllRoutesForApp(ctx *middleware.Context, handler ListAllRoutesForAppHandler) *ListAllRoutesForApp

NewListAllRoutesForApp creates a new http.Handler for the list all routes for app operation

func (*ListAllRoutesForApp) ServeHTTP

func (o *ListAllRoutesForApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListAllRoutesForAppHandler

type ListAllRoutesForAppHandler interface {
	Handle(ListAllRoutesForAppParams) middleware.Responder
}

ListAllRoutesForAppHandler interface for that can handle valid list all routes for app params

type ListAllRoutesForAppHandlerFunc

type ListAllRoutesForAppHandlerFunc func(ListAllRoutesForAppParams) middleware.Responder

ListAllRoutesForAppHandlerFunc turns a function with the right signature into a list all routes for app handler

func (ListAllRoutesForAppHandlerFunc) Handle

Handle executing the request and returning a response

type ListAllRoutesForAppOK

type ListAllRoutesForAppOK struct {

	/*
	  In: Body
	*/
	Payload *models.ListAllRoutesForAppResponsePaged `json:"body,omitempty"`
}

ListAllRoutesForAppOK successful response

swagger:response listAllRoutesForAppOK

func NewListAllRoutesForAppOK

func NewListAllRoutesForAppOK() *ListAllRoutesForAppOK

NewListAllRoutesForAppOK creates ListAllRoutesForAppOK with default headers values

func (*ListAllRoutesForAppOK) SetPayload

SetPayload sets the payload to the list all routes for app o k response

func (*ListAllRoutesForAppOK) WithPayload

WithPayload adds the payload to the list all routes for app o k response

func (*ListAllRoutesForAppOK) WriteResponse

func (o *ListAllRoutesForAppOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListAllRoutesForAppParams

type ListAllRoutesForAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid/routes'
	  Required: true
	  In: path
	*/
	GUID string
}

ListAllRoutesForAppParams contains all the bound params for the list all routes for app operation typically these are obtained from a http.Request

swagger:parameters listAllRoutesForApp

func NewListAllRoutesForAppParams

func NewListAllRoutesForAppParams() ListAllRoutesForAppParams

NewListAllRoutesForAppParams creates a new ListAllRoutesForAppParams object no default values defined in spec.

func (*ListAllRoutesForAppParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListAllRoutesForAppParams() beforehand.

type ListAllRoutesForAppURL

type ListAllRoutesForAppURL struct {
	GUID string
	// contains filtered or unexported fields
}

ListAllRoutesForAppURL generates an URL for the list all routes for app operation

func (*ListAllRoutesForAppURL) Build

func (o *ListAllRoutesForAppURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListAllRoutesForAppURL) BuildFull

func (o *ListAllRoutesForAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListAllRoutesForAppURL) Must

func (o *ListAllRoutesForAppURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListAllRoutesForAppURL) SetBasePath

func (o *ListAllRoutesForAppURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListAllRoutesForAppURL) String

func (o *ListAllRoutesForAppURL) String() string

String returns the string representation of the path with query string

func (*ListAllRoutesForAppURL) StringFull

func (o *ListAllRoutesForAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListAllRoutesForAppURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListAllServiceBindingsForApp

type ListAllServiceBindingsForApp struct {
	Context *middleware.Context
	Handler ListAllServiceBindingsForAppHandler
}

ListAllServiceBindingsForApp swagger:route GET /apps/{guid}/service_bindings apps listAllServiceBindingsForApp

List all Service Bindings for the App

curl --insecure -i %s/v2/apps/{guid}/service_bindings -X GET -H 'Authorization: %s'

func NewListAllServiceBindingsForApp

func NewListAllServiceBindingsForApp(ctx *middleware.Context, handler ListAllServiceBindingsForAppHandler) *ListAllServiceBindingsForApp

NewListAllServiceBindingsForApp creates a new http.Handler for the list all service bindings for app operation

func (*ListAllServiceBindingsForApp) ServeHTTP

type ListAllServiceBindingsForAppHandler

type ListAllServiceBindingsForAppHandler interface {
	Handle(ListAllServiceBindingsForAppParams) middleware.Responder
}

ListAllServiceBindingsForAppHandler interface for that can handle valid list all service bindings for app params

type ListAllServiceBindingsForAppHandlerFunc

type ListAllServiceBindingsForAppHandlerFunc func(ListAllServiceBindingsForAppParams) middleware.Responder

ListAllServiceBindingsForAppHandlerFunc turns a function with the right signature into a list all service bindings for app handler

func (ListAllServiceBindingsForAppHandlerFunc) Handle

Handle executing the request and returning a response

type ListAllServiceBindingsForAppOK

type ListAllServiceBindingsForAppOK struct {

	/*
	  In: Body
	*/
	Payload *models.ListAllServiceBindingsForAppResponsePaged `json:"body,omitempty"`
}

ListAllServiceBindingsForAppOK successful response

swagger:response listAllServiceBindingsForAppOK

func NewListAllServiceBindingsForAppOK

func NewListAllServiceBindingsForAppOK() *ListAllServiceBindingsForAppOK

NewListAllServiceBindingsForAppOK creates ListAllServiceBindingsForAppOK with default headers values

func (*ListAllServiceBindingsForAppOK) SetPayload

SetPayload sets the payload to the list all service bindings for app o k response

func (*ListAllServiceBindingsForAppOK) WithPayload

WithPayload adds the payload to the list all service bindings for app o k response

func (*ListAllServiceBindingsForAppOK) WriteResponse

func (o *ListAllServiceBindingsForAppOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListAllServiceBindingsForAppParams

type ListAllServiceBindingsForAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid/service_bindings'
	  Required: true
	  In: path
	*/
	GUID string
}

ListAllServiceBindingsForAppParams contains all the bound params for the list all service bindings for app operation typically these are obtained from a http.Request

swagger:parameters listAllServiceBindingsForApp

func NewListAllServiceBindingsForAppParams

func NewListAllServiceBindingsForAppParams() ListAllServiceBindingsForAppParams

NewListAllServiceBindingsForAppParams creates a new ListAllServiceBindingsForAppParams object no default values defined in spec.

func (*ListAllServiceBindingsForAppParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListAllServiceBindingsForAppParams() beforehand.

type ListAllServiceBindingsForAppURL

type ListAllServiceBindingsForAppURL struct {
	GUID string
	// contains filtered or unexported fields
}

ListAllServiceBindingsForAppURL generates an URL for the list all service bindings for app operation

func (*ListAllServiceBindingsForAppURL) Build

Build a url path and query string

func (*ListAllServiceBindingsForAppURL) BuildFull

func (o *ListAllServiceBindingsForAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListAllServiceBindingsForAppURL) Must

func (o *ListAllServiceBindingsForAppURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListAllServiceBindingsForAppURL) SetBasePath

func (o *ListAllServiceBindingsForAppURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListAllServiceBindingsForAppURL) String

String returns the string representation of the path with query string

func (*ListAllServiceBindingsForAppURL) StringFull

func (o *ListAllServiceBindingsForAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListAllServiceBindingsForAppURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type RemoveRouteFromApp

type RemoveRouteFromApp struct {
	Context *middleware.Context
	Handler RemoveRouteFromAppHandler
}

RemoveRouteFromApp swagger:route DELETE /apps/{guid}/routes/{route_guid} apps removeRouteFromApp

Remove Route from the App

curl --insecure -i %s/v2/apps/{guid}/routes/{route_guid} -X DELETE -H 'Authorization: %s'

func NewRemoveRouteFromApp

func NewRemoveRouteFromApp(ctx *middleware.Context, handler RemoveRouteFromAppHandler) *RemoveRouteFromApp

NewRemoveRouteFromApp creates a new http.Handler for the remove route from app operation

func (*RemoveRouteFromApp) ServeHTTP

func (o *RemoveRouteFromApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type RemoveRouteFromAppCreated

type RemoveRouteFromAppCreated struct {

	/*
	  In: Body
	*/
	Payload *models.RemoveRouteFromAppResponseResource `json:"body,omitempty"`
}

RemoveRouteFromAppCreated successful response

swagger:response removeRouteFromAppCreated

func NewRemoveRouteFromAppCreated

func NewRemoveRouteFromAppCreated() *RemoveRouteFromAppCreated

NewRemoveRouteFromAppCreated creates RemoveRouteFromAppCreated with default headers values

func (*RemoveRouteFromAppCreated) SetPayload

SetPayload sets the payload to the remove route from app created response

func (*RemoveRouteFromAppCreated) WithPayload

WithPayload adds the payload to the remove route from app created response

func (*RemoveRouteFromAppCreated) WriteResponse

func (o *RemoveRouteFromAppCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RemoveRouteFromAppHandler

type RemoveRouteFromAppHandler interface {
	Handle(RemoveRouteFromAppParams) middleware.Responder
}

RemoveRouteFromAppHandler interface for that can handle valid remove route from app params

type RemoveRouteFromAppHandlerFunc

type RemoveRouteFromAppHandlerFunc func(RemoveRouteFromAppParams) middleware.Responder

RemoveRouteFromAppHandlerFunc turns a function with the right signature into a remove route from app handler

func (RemoveRouteFromAppHandlerFunc) Handle

Handle executing the request and returning a response

type RemoveRouteFromAppParams

type RemoveRouteFromAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid/routes/:route_guid'
	  Required: true
	  In: path
	*/
	GUID string
	/*The route_guid parameter is used as a part of the request URL: '/v2/apps/:guid/routes/:route_guid'
	  Required: true
	  In: path
	*/
	RouteGUID string
}

RemoveRouteFromAppParams contains all the bound params for the remove route from app operation typically these are obtained from a http.Request

swagger:parameters removeRouteFromApp

func NewRemoveRouteFromAppParams

func NewRemoveRouteFromAppParams() RemoveRouteFromAppParams

NewRemoveRouteFromAppParams creates a new RemoveRouteFromAppParams object no default values defined in spec.

func (*RemoveRouteFromAppParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewRemoveRouteFromAppParams() beforehand.

type RemoveRouteFromAppURL

type RemoveRouteFromAppURL struct {
	GUID      string
	RouteGUID string
	// contains filtered or unexported fields
}

RemoveRouteFromAppURL generates an URL for the remove route from app operation

func (*RemoveRouteFromAppURL) Build

func (o *RemoveRouteFromAppURL) Build() (*url.URL, error)

Build a url path and query string

func (*RemoveRouteFromAppURL) BuildFull

func (o *RemoveRouteFromAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*RemoveRouteFromAppURL) Must

func (o *RemoveRouteFromAppURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*RemoveRouteFromAppURL) SetBasePath

func (o *RemoveRouteFromAppURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*RemoveRouteFromAppURL) String

func (o *RemoveRouteFromAppURL) String() string

String returns the string representation of the path with query string

func (*RemoveRouteFromAppURL) StringFull

func (o *RemoveRouteFromAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*RemoveRouteFromAppURL) WithBasePath

func (o *RemoveRouteFromAppURL) WithBasePath(bp string) *RemoveRouteFromAppURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type RemoveServiceBindingFromApp

type RemoveServiceBindingFromApp struct {
	Context *middleware.Context
	Handler RemoveServiceBindingFromAppHandler
}

RemoveServiceBindingFromApp swagger:route DELETE /apps/{guid}/service_bindings/{service_binding_guid} apps removeServiceBindingFromApp

Remove Service Binding from the App

curl --insecure -i %s/v2/apps/{guid}/service_bindings/{service_binding_guid} -X DELETE -H 'Authorization: %s'

func NewRemoveServiceBindingFromApp

func NewRemoveServiceBindingFromApp(ctx *middleware.Context, handler RemoveServiceBindingFromAppHandler) *RemoveServiceBindingFromApp

NewRemoveServiceBindingFromApp creates a new http.Handler for the remove service binding from app operation

func (*RemoveServiceBindingFromApp) ServeHTTP

type RemoveServiceBindingFromAppCreated

type RemoveServiceBindingFromAppCreated struct {

	/*
	  In: Body
	*/
	Payload *models.RemoveServiceBindingFromAppResponseResource `json:"body,omitempty"`
}

RemoveServiceBindingFromAppCreated successful response

swagger:response removeServiceBindingFromAppCreated

func NewRemoveServiceBindingFromAppCreated

func NewRemoveServiceBindingFromAppCreated() *RemoveServiceBindingFromAppCreated

NewRemoveServiceBindingFromAppCreated creates RemoveServiceBindingFromAppCreated with default headers values

func (*RemoveServiceBindingFromAppCreated) SetPayload

SetPayload sets the payload to the remove service binding from app created response

func (*RemoveServiceBindingFromAppCreated) WithPayload

WithPayload adds the payload to the remove service binding from app created response

func (*RemoveServiceBindingFromAppCreated) WriteResponse

WriteResponse to the client

type RemoveServiceBindingFromAppHandler

type RemoveServiceBindingFromAppHandler interface {
	Handle(RemoveServiceBindingFromAppParams) middleware.Responder
}

RemoveServiceBindingFromAppHandler interface for that can handle valid remove service binding from app params

type RemoveServiceBindingFromAppHandlerFunc

type RemoveServiceBindingFromAppHandlerFunc func(RemoveServiceBindingFromAppParams) middleware.Responder

RemoveServiceBindingFromAppHandlerFunc turns a function with the right signature into a remove service binding from app handler

func (RemoveServiceBindingFromAppHandlerFunc) Handle

Handle executing the request and returning a response

type RemoveServiceBindingFromAppParams

type RemoveServiceBindingFromAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid/service_bindings/:service_binding_guid'
	  Required: true
	  In: path
	*/
	GUID string
	/*The service_binding_guid parameter is used as a part of the request URL: '/v2/apps/:guid/service_bindings/:service_binding_guid'
	  Required: true
	  In: path
	*/
	ServiceBindingGUID string
}

RemoveServiceBindingFromAppParams contains all the bound params for the remove service binding from app operation typically these are obtained from a http.Request

swagger:parameters removeServiceBindingFromApp

func NewRemoveServiceBindingFromAppParams

func NewRemoveServiceBindingFromAppParams() RemoveServiceBindingFromAppParams

NewRemoveServiceBindingFromAppParams creates a new RemoveServiceBindingFromAppParams object no default values defined in spec.

func (*RemoveServiceBindingFromAppParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewRemoveServiceBindingFromAppParams() beforehand.

type RemoveServiceBindingFromAppURL

type RemoveServiceBindingFromAppURL struct {
	GUID               string
	ServiceBindingGUID string
	// contains filtered or unexported fields
}

RemoveServiceBindingFromAppURL generates an URL for the remove service binding from app operation

func (*RemoveServiceBindingFromAppURL) Build

Build a url path and query string

func (*RemoveServiceBindingFromAppURL) BuildFull

func (o *RemoveServiceBindingFromAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*RemoveServiceBindingFromAppURL) Must

func (o *RemoveServiceBindingFromAppURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*RemoveServiceBindingFromAppURL) SetBasePath

func (o *RemoveServiceBindingFromAppURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*RemoveServiceBindingFromAppURL) String

String returns the string representation of the path with query string

func (*RemoveServiceBindingFromAppURL) StringFull

func (o *RemoveServiceBindingFromAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*RemoveServiceBindingFromAppURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type RestageApp

type RestageApp struct {
	Context *middleware.Context
	Handler RestageAppHandler
}

RestageApp swagger:route POST /apps/{guid}/restage apps restageApp

Restage an App

curl --insecure -i %s/v2/apps/{guid}/restage -X POST -H 'Authorization: %s'

func NewRestageApp

func NewRestageApp(ctx *middleware.Context, handler RestageAppHandler) *RestageApp

NewRestageApp creates a new http.Handler for the restage app operation

func (*RestageApp) ServeHTTP

func (o *RestageApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type RestageAppCreated

type RestageAppCreated struct {

	/*
	  In: Body
	*/
	Payload *models.RestageAppResponseResource `json:"body,omitempty"`
}

RestageAppCreated successful response

swagger:response restageAppCreated

func NewRestageAppCreated

func NewRestageAppCreated() *RestageAppCreated

NewRestageAppCreated creates RestageAppCreated with default headers values

func (*RestageAppCreated) SetPayload

func (o *RestageAppCreated) SetPayload(payload *models.RestageAppResponseResource)

SetPayload sets the payload to the restage app created response

func (*RestageAppCreated) WithPayload

WithPayload adds the payload to the restage app created response

func (*RestageAppCreated) WriteResponse

func (o *RestageAppCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RestageAppHandler

type RestageAppHandler interface {
	Handle(RestageAppParams) middleware.Responder
}

RestageAppHandler interface for that can handle valid restage app params

type RestageAppHandlerFunc

type RestageAppHandlerFunc func(RestageAppParams) middleware.Responder

RestageAppHandlerFunc turns a function with the right signature into a restage app handler

func (RestageAppHandlerFunc) Handle

Handle executing the request and returning a response

type RestageAppParams

type RestageAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid/restage'
	  Required: true
	  In: path
	*/
	GUID string
}

RestageAppParams contains all the bound params for the restage app operation typically these are obtained from a http.Request

swagger:parameters restageApp

func NewRestageAppParams

func NewRestageAppParams() RestageAppParams

NewRestageAppParams creates a new RestageAppParams object no default values defined in spec.

func (*RestageAppParams) BindRequest

func (o *RestageAppParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewRestageAppParams() beforehand.

type RestageAppURL

type RestageAppURL struct {
	GUID string
	// contains filtered or unexported fields
}

RestageAppURL generates an URL for the restage app operation

func (*RestageAppURL) Build

func (o *RestageAppURL) Build() (*url.URL, error)

Build a url path and query string

func (*RestageAppURL) BuildFull

func (o *RestageAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*RestageAppURL) Must

func (o *RestageAppURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*RestageAppURL) SetBasePath

func (o *RestageAppURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*RestageAppURL) String

func (o *RestageAppURL) String() string

String returns the string representation of the path with query string

func (*RestageAppURL) StringFull

func (o *RestageAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*RestageAppURL) WithBasePath

func (o *RestageAppURL) WithBasePath(bp string) *RestageAppURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type RetrieveApp

type RetrieveApp struct {
	Context *middleware.Context
	Handler RetrieveAppHandler
}

RetrieveApp swagger:route GET /apps/{guid} apps retrieveApp

Retrieve a Particular App

curl --insecure -i %s/v2/apps/{guid} -X GET -H 'Authorization: %s'

func NewRetrieveApp

func NewRetrieveApp(ctx *middleware.Context, handler RetrieveAppHandler) *RetrieveApp

NewRetrieveApp creates a new http.Handler for the retrieve app operation

func (*RetrieveApp) ServeHTTP

func (o *RetrieveApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type RetrieveAppHandler

type RetrieveAppHandler interface {
	Handle(RetrieveAppParams) middleware.Responder
}

RetrieveAppHandler interface for that can handle valid retrieve app params

type RetrieveAppHandlerFunc

type RetrieveAppHandlerFunc func(RetrieveAppParams) middleware.Responder

RetrieveAppHandlerFunc turns a function with the right signature into a retrieve app handler

func (RetrieveAppHandlerFunc) Handle

Handle executing the request and returning a response

type RetrieveAppOK

type RetrieveAppOK struct {

	/*
	  In: Body
	*/
	Payload *models.RetrieveAppResponseResource `json:"body,omitempty"`
}

RetrieveAppOK successful response

swagger:response retrieveAppOK

func NewRetrieveAppOK

func NewRetrieveAppOK() *RetrieveAppOK

NewRetrieveAppOK creates RetrieveAppOK with default headers values

func (*RetrieveAppOK) SetPayload

func (o *RetrieveAppOK) SetPayload(payload *models.RetrieveAppResponseResource)

SetPayload sets the payload to the retrieve app o k response

func (*RetrieveAppOK) WithPayload

WithPayload adds the payload to the retrieve app o k response

func (*RetrieveAppOK) WriteResponse

func (o *RetrieveAppOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RetrieveAppParams

type RetrieveAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid'
	  Required: true
	  In: path
	*/
	GUID string
}

RetrieveAppParams contains all the bound params for the retrieve app operation typically these are obtained from a http.Request

swagger:parameters retrieveApp

func NewRetrieveAppParams

func NewRetrieveAppParams() RetrieveAppParams

NewRetrieveAppParams creates a new RetrieveAppParams object no default values defined in spec.

func (*RetrieveAppParams) BindRequest

func (o *RetrieveAppParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewRetrieveAppParams() beforehand.

type RetrieveAppURL

type RetrieveAppURL struct {
	GUID string
	// contains filtered or unexported fields
}

RetrieveAppURL generates an URL for the retrieve app operation

func (*RetrieveAppURL) Build

func (o *RetrieveAppURL) Build() (*url.URL, error)

Build a url path and query string

func (*RetrieveAppURL) BuildFull

func (o *RetrieveAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*RetrieveAppURL) Must

func (o *RetrieveAppURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*RetrieveAppURL) SetBasePath

func (o *RetrieveAppURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*RetrieveAppURL) String

func (o *RetrieveAppURL) String() string

String returns the string representation of the path with query string

func (*RetrieveAppURL) StringFull

func (o *RetrieveAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*RetrieveAppURL) WithBasePath

func (o *RetrieveAppURL) WithBasePath(bp string) *RetrieveAppURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TerminateRunningAppInstanceAtGivenIndex

type TerminateRunningAppInstanceAtGivenIndex struct {
	Context *middleware.Context
	Handler TerminateRunningAppInstanceAtGivenIndexHandler
}

TerminateRunningAppInstanceAtGivenIndex swagger:route DELETE /apps/{guid}/instances/{index} apps terminateRunningAppInstanceAtGivenIndex

Terminate the running App Instance at the given index

curl --insecure -i %s/v2/apps/{guid}/instances/{index} -X DELETE -H 'Authorization: %s'

func NewTerminateRunningAppInstanceAtGivenIndex

func NewTerminateRunningAppInstanceAtGivenIndex(ctx *middleware.Context, handler TerminateRunningAppInstanceAtGivenIndexHandler) *TerminateRunningAppInstanceAtGivenIndex

NewTerminateRunningAppInstanceAtGivenIndex creates a new http.Handler for the terminate running app instance at given index operation

func (*TerminateRunningAppInstanceAtGivenIndex) ServeHTTP

type TerminateRunningAppInstanceAtGivenIndexHandler

type TerminateRunningAppInstanceAtGivenIndexHandler interface {
	Handle(TerminateRunningAppInstanceAtGivenIndexParams) middleware.Responder
}

TerminateRunningAppInstanceAtGivenIndexHandler interface for that can handle valid terminate running app instance at given index params

type TerminateRunningAppInstanceAtGivenIndexHandlerFunc

type TerminateRunningAppInstanceAtGivenIndexHandlerFunc func(TerminateRunningAppInstanceAtGivenIndexParams) middleware.Responder

TerminateRunningAppInstanceAtGivenIndexHandlerFunc turns a function with the right signature into a terminate running app instance at given index handler

func (TerminateRunningAppInstanceAtGivenIndexHandlerFunc) Handle

Handle executing the request and returning a response

type TerminateRunningAppInstanceAtGivenIndexNoContent

type TerminateRunningAppInstanceAtGivenIndexNoContent struct {
}

TerminateRunningAppInstanceAtGivenIndexNoContent successful response

swagger:response terminateRunningAppInstanceAtGivenIndexNoContent

func NewTerminateRunningAppInstanceAtGivenIndexNoContent

func NewTerminateRunningAppInstanceAtGivenIndexNoContent() *TerminateRunningAppInstanceAtGivenIndexNoContent

NewTerminateRunningAppInstanceAtGivenIndexNoContent creates TerminateRunningAppInstanceAtGivenIndexNoContent with default headers values

func (*TerminateRunningAppInstanceAtGivenIndexNoContent) WriteResponse

WriteResponse to the client

type TerminateRunningAppInstanceAtGivenIndexParams

type TerminateRunningAppInstanceAtGivenIndexParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid/instances/:index'
	  Required: true
	  In: path
	*/
	GUID string
	/*The index parameter is used as a part of the request URL: '/v2/apps/:guid/instances/:index'
	  Required: true
	  In: path
	*/
	Index int64
}

TerminateRunningAppInstanceAtGivenIndexParams contains all the bound params for the terminate running app instance at given index operation typically these are obtained from a http.Request

swagger:parameters terminateRunningAppInstanceAtGivenIndex

func NewTerminateRunningAppInstanceAtGivenIndexParams

func NewTerminateRunningAppInstanceAtGivenIndexParams() TerminateRunningAppInstanceAtGivenIndexParams

NewTerminateRunningAppInstanceAtGivenIndexParams creates a new TerminateRunningAppInstanceAtGivenIndexParams object no default values defined in spec.

func (*TerminateRunningAppInstanceAtGivenIndexParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTerminateRunningAppInstanceAtGivenIndexParams() beforehand.

type TerminateRunningAppInstanceAtGivenIndexURL

type TerminateRunningAppInstanceAtGivenIndexURL struct {
	GUID  string
	Index int64
	// contains filtered or unexported fields
}

TerminateRunningAppInstanceAtGivenIndexURL generates an URL for the terminate running app instance at given index operation

func (*TerminateRunningAppInstanceAtGivenIndexURL) Build

Build a url path and query string

func (*TerminateRunningAppInstanceAtGivenIndexURL) BuildFull

func (o *TerminateRunningAppInstanceAtGivenIndexURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TerminateRunningAppInstanceAtGivenIndexURL) Must

Must is a helper function to panic when the url builder returns an error

func (*TerminateRunningAppInstanceAtGivenIndexURL) SetBasePath

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TerminateRunningAppInstanceAtGivenIndexURL) String

String returns the string representation of the path with query string

func (*TerminateRunningAppInstanceAtGivenIndexURL) StringFull

func (o *TerminateRunningAppInstanceAtGivenIndexURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TerminateRunningAppInstanceAtGivenIndexURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateApp

type UpdateApp struct {
	Context *middleware.Context
	Handler UpdateAppHandler
}

UpdateApp swagger:route PUT /apps/{guid} apps updateApp

Updating an App

curl --insecure -i %s/v2/apps/{guid} -X PUT -H 'Authorization: %s' -d '%s'

func NewUpdateApp

func NewUpdateApp(ctx *middleware.Context, handler UpdateAppHandler) *UpdateApp

NewUpdateApp creates a new http.Handler for the update app operation

func (*UpdateApp) ServeHTTP

func (o *UpdateApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateAppCreated

type UpdateAppCreated struct {

	/*
	  In: Body
	*/
	Payload *models.UpdateAppResponseResource `json:"body,omitempty"`
}

UpdateAppCreated successful response

swagger:response updateAppCreated

func NewUpdateAppCreated

func NewUpdateAppCreated() *UpdateAppCreated

NewUpdateAppCreated creates UpdateAppCreated with default headers values

func (*UpdateAppCreated) SetPayload

func (o *UpdateAppCreated) SetPayload(payload *models.UpdateAppResponseResource)

SetPayload sets the payload to the update app created response

func (*UpdateAppCreated) WithPayload

WithPayload adds the payload to the update app created response

func (*UpdateAppCreated) WriteResponse

func (o *UpdateAppCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateAppHandler

type UpdateAppHandler interface {
	Handle(UpdateAppParams) middleware.Responder
}

UpdateAppHandler interface for that can handle valid update app params

type UpdateAppHandlerFunc

type UpdateAppHandlerFunc func(UpdateAppParams) middleware.Responder

UpdateAppHandlerFunc turns a function with the right signature into a update app handler

func (UpdateAppHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateAppParams

type UpdateAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid'
	  Required: true
	  In: path
	*/
	GUID string
	/*An object instance that is serialized and sent as the request body.
	  Required: true
	  In: body
	*/
	Value *models.UpdateAppRequest
}

UpdateAppParams contains all the bound params for the update app operation typically these are obtained from a http.Request

swagger:parameters updateApp

func NewUpdateAppParams

func NewUpdateAppParams() UpdateAppParams

NewUpdateAppParams creates a new UpdateAppParams object no default values defined in spec.

func (*UpdateAppParams) BindRequest

func (o *UpdateAppParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateAppParams() beforehand.

type UpdateAppURL

type UpdateAppURL struct {
	GUID string
	// contains filtered or unexported fields
}

UpdateAppURL generates an URL for the update app operation

func (*UpdateAppURL) Build

func (o *UpdateAppURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateAppURL) BuildFull

func (o *UpdateAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateAppURL) Must

func (o *UpdateAppURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateAppURL) SetBasePath

func (o *UpdateAppURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateAppURL) String

func (o *UpdateAppURL) String() string

String returns the string representation of the path with query string

func (*UpdateAppURL) StringFull

func (o *UpdateAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateAppURL) WithBasePath

func (o *UpdateAppURL) WithBasePath(bp string) *UpdateAppURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UploadsBitsForApp

type UploadsBitsForApp struct {
	Context *middleware.Context
	Handler UploadsBitsForAppHandler
}

UploadsBitsForApp swagger:route PUT /apps/{guid}/bits apps uploadsBitsForApp

Uploads the bits for an App

curl --insecure -i %s/v2/apps/{guid}/bits -X PUT -H 'Authorization: %s' -d '%s'

func NewUploadsBitsForApp

func NewUploadsBitsForApp(ctx *middleware.Context, handler UploadsBitsForAppHandler) *UploadsBitsForApp

NewUploadsBitsForApp creates a new http.Handler for the uploads bits for app operation

func (*UploadsBitsForApp) ServeHTTP

func (o *UploadsBitsForApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UploadsBitsForAppCreated

type UploadsBitsForAppCreated struct {

	/*
	  In: Body
	*/
	Payload *models.UploadsBitsForAppResponseResource `json:"body,omitempty"`
}

UploadsBitsForAppCreated successful response

swagger:response uploadsBitsForAppCreated

func NewUploadsBitsForAppCreated

func NewUploadsBitsForAppCreated() *UploadsBitsForAppCreated

NewUploadsBitsForAppCreated creates UploadsBitsForAppCreated with default headers values

func (*UploadsBitsForAppCreated) SetPayload

SetPayload sets the payload to the uploads bits for app created response

func (*UploadsBitsForAppCreated) WithPayload

WithPayload adds the payload to the uploads bits for app created response

func (*UploadsBitsForAppCreated) WriteResponse

func (o *UploadsBitsForAppCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UploadsBitsForAppHandler

type UploadsBitsForAppHandler interface {
	Handle(UploadsBitsForAppParams) middleware.Responder
}

UploadsBitsForAppHandler interface for that can handle valid uploads bits for app params

type UploadsBitsForAppHandlerFunc

type UploadsBitsForAppHandlerFunc func(UploadsBitsForAppParams) middleware.Responder

UploadsBitsForAppHandlerFunc turns a function with the right signature into a uploads bits for app handler

func (UploadsBitsForAppHandlerFunc) Handle

Handle executing the request and returning a response

type UploadsBitsForAppParams

type UploadsBitsForAppParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*A binary zip file containing the application bits.
	  Required: true
	  In: formData
	*/
	Application io.ReadCloser
	/*If true, a new asynchronous job is submitted to persist the bits and the job id is included in the response. The client will need to poll the job's status until persistence is completed successfully. If false, the request will block until the bits are persisted synchronously. Defaults to false.
	  In: formData
	*/
	Async *bool
	/*The guid parameter is used as a part of the request URL: '/v2/apps/:guid/bits'
	  Required: true
	  In: path
	*/
	GUID string
	/*Fingerprints of the application bits that have previously been pushed to Cloud Foundry. Each fingerprint must include the file path, sha1 hash, and file size in bytes. Each fingerprint may include the file mode, which must be an octal string with at least read and write permissions for owners. If a mode is not provided, the default mode of 0744 will be used. Fingerprinted bits MUST exist in the Cloud Foundry resource cache or the request (or job, if async) will fail.
	  In: formData
	*/
	Resources *string
}

UploadsBitsForAppParams contains all the bound params for the uploads bits for app operation typically these are obtained from a http.Request

swagger:parameters uploadsBitsForApp

func NewUploadsBitsForAppParams

func NewUploadsBitsForAppParams() UploadsBitsForAppParams

NewUploadsBitsForAppParams creates a new UploadsBitsForAppParams object no default values defined in spec.

func (*UploadsBitsForAppParams) BindRequest

func (o *UploadsBitsForAppParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUploadsBitsForAppParams() beforehand.

type UploadsBitsForAppURL

type UploadsBitsForAppURL struct {
	GUID string
	// contains filtered or unexported fields
}

UploadsBitsForAppURL generates an URL for the uploads bits for app operation

func (*UploadsBitsForAppURL) Build

func (o *UploadsBitsForAppURL) Build() (*url.URL, error)

Build a url path and query string

func (*UploadsBitsForAppURL) BuildFull

func (o *UploadsBitsForAppURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UploadsBitsForAppURL) Must

func (o *UploadsBitsForAppURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UploadsBitsForAppURL) SetBasePath

func (o *UploadsBitsForAppURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UploadsBitsForAppURL) String

func (o *UploadsBitsForAppURL) String() string

String returns the string representation of the path with query string

func (*UploadsBitsForAppURL) StringFull

func (o *UploadsBitsForAppURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UploadsBitsForAppURL) WithBasePath

func (o *UploadsBitsForAppURL) WithBasePath(bp string) *UploadsBitsForAppURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Source Files

Jump to

Keyboard shortcuts

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