Documentation ¶
Index ¶
- Constants
- type AssociateRouteWithApp
- type AssociateRouteWithAppCreated
- func (o *AssociateRouteWithAppCreated) SetPayload(payload *models.AssociateRouteWithAppResponseResource)
- func (o *AssociateRouteWithAppCreated) WithPayload(payload *models.AssociateRouteWithAppResponseResource) *AssociateRouteWithAppCreated
- func (o *AssociateRouteWithAppCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AssociateRouteWithAppHandler
- type AssociateRouteWithAppHandlerFunc
- type AssociateRouteWithAppParams
- type AssociateRouteWithAppURL
- func (o *AssociateRouteWithAppURL) Build() (*url.URL, error)
- func (o *AssociateRouteWithAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AssociateRouteWithAppURL) Must(u *url.URL, err error) *url.URL
- func (o *AssociateRouteWithAppURL) SetBasePath(bp string)
- func (o *AssociateRouteWithAppURL) String() string
- func (o *AssociateRouteWithAppURL) StringFull(scheme, host string) string
- func (o *AssociateRouteWithAppURL) WithBasePath(bp string) *AssociateRouteWithAppURL
- type CopyAppBitsForApp
- type CopyAppBitsForAppCreated
- func (o *CopyAppBitsForAppCreated) SetPayload(payload *models.CopyAppBitsForAppResponseResource)
- func (o *CopyAppBitsForAppCreated) WithPayload(payload *models.CopyAppBitsForAppResponseResource) *CopyAppBitsForAppCreated
- func (o *CopyAppBitsForAppCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CopyAppBitsForAppHandler
- type CopyAppBitsForAppHandlerFunc
- type CopyAppBitsForAppParams
- type CopyAppBitsForAppURL
- func (o *CopyAppBitsForAppURL) Build() (*url.URL, error)
- func (o *CopyAppBitsForAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CopyAppBitsForAppURL) Must(u *url.URL, err error) *url.URL
- func (o *CopyAppBitsForAppURL) SetBasePath(bp string)
- func (o *CopyAppBitsForAppURL) String() string
- func (o *CopyAppBitsForAppURL) StringFull(scheme, host string) string
- func (o *CopyAppBitsForAppURL) WithBasePath(bp string) *CopyAppBitsForAppURL
- type CreateApp
- type CreateAppCreated
- type CreateAppHandler
- type CreateAppHandlerFunc
- type CreateAppParams
- type CreateAppURL
- func (o *CreateAppURL) Build() (*url.URL, error)
- func (o *CreateAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateAppURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateAppURL) SetBasePath(bp string)
- func (o *CreateAppURL) String() string
- func (o *CreateAppURL) StringFull(scheme, host string) string
- func (o *CreateAppURL) WithBasePath(bp string) *CreateAppURL
- type DeleteApp
- type DeleteAppHandler
- type DeleteAppHandlerFunc
- type DeleteAppNoContent
- type DeleteAppParams
- type DeleteAppURL
- func (o *DeleteAppURL) Build() (*url.URL, error)
- func (o *DeleteAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteAppURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteAppURL) SetBasePath(bp string)
- func (o *DeleteAppURL) String() string
- func (o *DeleteAppURL) StringFull(scheme, host string) string
- func (o *DeleteAppURL) WithBasePath(bp string) *DeleteAppURL
- type DownloadsBitsForApp
- type DownloadsBitsForAppFound
- type DownloadsBitsForAppHandler
- type DownloadsBitsForAppHandlerFunc
- type DownloadsBitsForAppParams
- type DownloadsBitsForAppURL
- func (o *DownloadsBitsForAppURL) Build() (*url.URL, error)
- func (o *DownloadsBitsForAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DownloadsBitsForAppURL) Must(u *url.URL, err error) *url.URL
- func (o *DownloadsBitsForAppURL) SetBasePath(bp string)
- func (o *DownloadsBitsForAppURL) String() string
- func (o *DownloadsBitsForAppURL) StringFull(scheme, host string) string
- func (o *DownloadsBitsForAppURL) WithBasePath(bp string) *DownloadsBitsForAppURL
- type GetAppSummary
- type GetAppSummaryHandler
- type GetAppSummaryHandlerFunc
- type GetAppSummaryOK
- type GetAppSummaryParams
- type GetAppSummaryURL
- func (o *GetAppSummaryURL) Build() (*url.URL, error)
- func (o *GetAppSummaryURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAppSummaryURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAppSummaryURL) SetBasePath(bp string)
- func (o *GetAppSummaryURL) String() string
- func (o *GetAppSummaryURL) StringFull(scheme, host string) string
- func (o *GetAppSummaryURL) WithBasePath(bp string) *GetAppSummaryURL
- type GetDetailedStatsForStartedApp
- type GetDetailedStatsForStartedAppHandler
- type GetDetailedStatsForStartedAppHandlerFunc
- type GetDetailedStatsForStartedAppOK
- func (o *GetDetailedStatsForStartedAppOK) SetPayload(payload models.GetDetailedStatsForStartedAppResponseResource)
- func (o *GetDetailedStatsForStartedAppOK) WithPayload(payload models.GetDetailedStatsForStartedAppResponseResource) *GetDetailedStatsForStartedAppOK
- func (o *GetDetailedStatsForStartedAppOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDetailedStatsForStartedAppParams
- type GetDetailedStatsForStartedAppURL
- func (o *GetDetailedStatsForStartedAppURL) Build() (*url.URL, error)
- func (o *GetDetailedStatsForStartedAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDetailedStatsForStartedAppURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDetailedStatsForStartedAppURL) SetBasePath(bp string)
- func (o *GetDetailedStatsForStartedAppURL) String() string
- func (o *GetDetailedStatsForStartedAppURL) StringFull(scheme, host string) string
- func (o *GetDetailedStatsForStartedAppURL) WithBasePath(bp string) *GetDetailedStatsForStartedAppURL
- type GetEnvForApp
- type GetEnvForAppHandler
- type GetEnvForAppHandlerFunc
- type GetEnvForAppOK
- type GetEnvForAppParams
- type GetEnvForAppURL
- func (o *GetEnvForAppURL) Build() (*url.URL, error)
- func (o *GetEnvForAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetEnvForAppURL) Must(u *url.URL, err error) *url.URL
- func (o *GetEnvForAppURL) SetBasePath(bp string)
- func (o *GetEnvForAppURL) String() string
- func (o *GetEnvForAppURL) StringFull(scheme, host string) string
- func (o *GetEnvForAppURL) WithBasePath(bp string) *GetEnvForAppURL
- type GetInstanceInformationForStartedApp
- type GetInstanceInformationForStartedAppHandler
- type GetInstanceInformationForStartedAppHandlerFunc
- type GetInstanceInformationForStartedAppOK
- func (o *GetInstanceInformationForStartedAppOK) SetPayload(payload models.GetInstanceInformationForStartedAppResponseResource)
- func (o *GetInstanceInformationForStartedAppOK) WithPayload(payload models.GetInstanceInformationForStartedAppResponseResource) *GetInstanceInformationForStartedAppOK
- func (o *GetInstanceInformationForStartedAppOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetInstanceInformationForStartedAppParams
- type GetInstanceInformationForStartedAppURL
- func (o *GetInstanceInformationForStartedAppURL) Build() (*url.URL, error)
- func (o *GetInstanceInformationForStartedAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetInstanceInformationForStartedAppURL) Must(u *url.URL, err error) *url.URL
- func (o *GetInstanceInformationForStartedAppURL) SetBasePath(bp string)
- func (o *GetInstanceInformationForStartedAppURL) String() string
- func (o *GetInstanceInformationForStartedAppURL) StringFull(scheme, host string) string
- func (o *GetInstanceInformationForStartedAppURL) WithBasePath(bp string) *GetInstanceInformationForStartedAppURL
- type ListAllApps
- type ListAllAppsHandler
- type ListAllAppsHandlerFunc
- type ListAllAppsOK
- type ListAllAppsParams
- type ListAllAppsURL
- func (o *ListAllAppsURL) Build() (*url.URL, error)
- func (o *ListAllAppsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllAppsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllAppsURL) SetBasePath(bp string)
- func (o *ListAllAppsURL) String() string
- func (o *ListAllAppsURL) StringFull(scheme, host string) string
- func (o *ListAllAppsURL) WithBasePath(bp string) *ListAllAppsURL
- type ListAllRoutesForApp
- type ListAllRoutesForAppHandler
- type ListAllRoutesForAppHandlerFunc
- type ListAllRoutesForAppOK
- func (o *ListAllRoutesForAppOK) SetPayload(payload *models.ListAllRoutesForAppResponsePaged)
- func (o *ListAllRoutesForAppOK) WithPayload(payload *models.ListAllRoutesForAppResponsePaged) *ListAllRoutesForAppOK
- func (o *ListAllRoutesForAppOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAllRoutesForAppParams
- type ListAllRoutesForAppURL
- func (o *ListAllRoutesForAppURL) Build() (*url.URL, error)
- func (o *ListAllRoutesForAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllRoutesForAppURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllRoutesForAppURL) SetBasePath(bp string)
- func (o *ListAllRoutesForAppURL) String() string
- func (o *ListAllRoutesForAppURL) StringFull(scheme, host string) string
- func (o *ListAllRoutesForAppURL) WithBasePath(bp string) *ListAllRoutesForAppURL
- type ListAllServiceBindingsForApp
- type ListAllServiceBindingsForAppHandler
- type ListAllServiceBindingsForAppHandlerFunc
- type ListAllServiceBindingsForAppOK
- func (o *ListAllServiceBindingsForAppOK) SetPayload(payload *models.ListAllServiceBindingsForAppResponsePaged)
- func (o *ListAllServiceBindingsForAppOK) WithPayload(payload *models.ListAllServiceBindingsForAppResponsePaged) *ListAllServiceBindingsForAppOK
- func (o *ListAllServiceBindingsForAppOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAllServiceBindingsForAppParams
- type ListAllServiceBindingsForAppURL
- func (o *ListAllServiceBindingsForAppURL) Build() (*url.URL, error)
- func (o *ListAllServiceBindingsForAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllServiceBindingsForAppURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllServiceBindingsForAppURL) SetBasePath(bp string)
- func (o *ListAllServiceBindingsForAppURL) String() string
- func (o *ListAllServiceBindingsForAppURL) StringFull(scheme, host string) string
- func (o *ListAllServiceBindingsForAppURL) WithBasePath(bp string) *ListAllServiceBindingsForAppURL
- type RemoveRouteFromApp
- type RemoveRouteFromAppCreated
- func (o *RemoveRouteFromAppCreated) SetPayload(payload *models.RemoveRouteFromAppResponseResource)
- func (o *RemoveRouteFromAppCreated) WithPayload(payload *models.RemoveRouteFromAppResponseResource) *RemoveRouteFromAppCreated
- func (o *RemoveRouteFromAppCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RemoveRouteFromAppHandler
- type RemoveRouteFromAppHandlerFunc
- type RemoveRouteFromAppParams
- type RemoveRouteFromAppURL
- func (o *RemoveRouteFromAppURL) Build() (*url.URL, error)
- func (o *RemoveRouteFromAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RemoveRouteFromAppURL) Must(u *url.URL, err error) *url.URL
- func (o *RemoveRouteFromAppURL) SetBasePath(bp string)
- func (o *RemoveRouteFromAppURL) String() string
- func (o *RemoveRouteFromAppURL) StringFull(scheme, host string) string
- func (o *RemoveRouteFromAppURL) WithBasePath(bp string) *RemoveRouteFromAppURL
- type RemoveServiceBindingFromApp
- type RemoveServiceBindingFromAppCreated
- func (o *RemoveServiceBindingFromAppCreated) SetPayload(payload *models.RemoveServiceBindingFromAppResponseResource)
- func (o *RemoveServiceBindingFromAppCreated) WithPayload(payload *models.RemoveServiceBindingFromAppResponseResource) *RemoveServiceBindingFromAppCreated
- func (o *RemoveServiceBindingFromAppCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RemoveServiceBindingFromAppHandler
- type RemoveServiceBindingFromAppHandlerFunc
- type RemoveServiceBindingFromAppParams
- type RemoveServiceBindingFromAppURL
- func (o *RemoveServiceBindingFromAppURL) Build() (*url.URL, error)
- func (o *RemoveServiceBindingFromAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RemoveServiceBindingFromAppURL) Must(u *url.URL, err error) *url.URL
- func (o *RemoveServiceBindingFromAppURL) SetBasePath(bp string)
- func (o *RemoveServiceBindingFromAppURL) String() string
- func (o *RemoveServiceBindingFromAppURL) StringFull(scheme, host string) string
- func (o *RemoveServiceBindingFromAppURL) WithBasePath(bp string) *RemoveServiceBindingFromAppURL
- type RestageApp
- type RestageAppCreated
- type RestageAppHandler
- type RestageAppHandlerFunc
- type RestageAppParams
- type RestageAppURL
- func (o *RestageAppURL) Build() (*url.URL, error)
- func (o *RestageAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RestageAppURL) Must(u *url.URL, err error) *url.URL
- func (o *RestageAppURL) SetBasePath(bp string)
- func (o *RestageAppURL) String() string
- func (o *RestageAppURL) StringFull(scheme, host string) string
- func (o *RestageAppURL) WithBasePath(bp string) *RestageAppURL
- type RetrieveApp
- type RetrieveAppHandler
- type RetrieveAppHandlerFunc
- type RetrieveAppOK
- type RetrieveAppParams
- type RetrieveAppURL
- func (o *RetrieveAppURL) Build() (*url.URL, error)
- func (o *RetrieveAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RetrieveAppURL) Must(u *url.URL, err error) *url.URL
- func (o *RetrieveAppURL) SetBasePath(bp string)
- func (o *RetrieveAppURL) String() string
- func (o *RetrieveAppURL) StringFull(scheme, host string) string
- func (o *RetrieveAppURL) WithBasePath(bp string) *RetrieveAppURL
- type TerminateRunningAppInstanceAtGivenIndex
- type TerminateRunningAppInstanceAtGivenIndexHandler
- type TerminateRunningAppInstanceAtGivenIndexHandlerFunc
- type TerminateRunningAppInstanceAtGivenIndexNoContent
- type TerminateRunningAppInstanceAtGivenIndexParams
- type TerminateRunningAppInstanceAtGivenIndexURL
- func (o *TerminateRunningAppInstanceAtGivenIndexURL) Build() (*url.URL, error)
- func (o *TerminateRunningAppInstanceAtGivenIndexURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *TerminateRunningAppInstanceAtGivenIndexURL) Must(u *url.URL, err error) *url.URL
- func (o *TerminateRunningAppInstanceAtGivenIndexURL) SetBasePath(bp string)
- func (o *TerminateRunningAppInstanceAtGivenIndexURL) String() string
- func (o *TerminateRunningAppInstanceAtGivenIndexURL) StringFull(scheme, host string) string
- func (o *TerminateRunningAppInstanceAtGivenIndexURL) WithBasePath(bp string) *TerminateRunningAppInstanceAtGivenIndexURL
- type UpdateApp
- type UpdateAppCreated
- type UpdateAppHandler
- type UpdateAppHandlerFunc
- type UpdateAppParams
- type UpdateAppURL
- func (o *UpdateAppURL) Build() (*url.URL, error)
- func (o *UpdateAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateAppURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateAppURL) SetBasePath(bp string)
- func (o *UpdateAppURL) String() string
- func (o *UpdateAppURL) StringFull(scheme, host string) string
- func (o *UpdateAppURL) WithBasePath(bp string) *UpdateAppURL
- type UploadsBitsForApp
- type UploadsBitsForAppCreated
- func (o *UploadsBitsForAppCreated) SetPayload(payload *models.UploadsBitsForAppResponseResource)
- func (o *UploadsBitsForAppCreated) WithPayload(payload *models.UploadsBitsForAppResponseResource) *UploadsBitsForAppCreated
- func (o *UploadsBitsForAppCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UploadsBitsForAppHandler
- type UploadsBitsForAppHandlerFunc
- type UploadsBitsForAppParams
- type UploadsBitsForAppURL
- func (o *UploadsBitsForAppURL) Build() (*url.URL, error)
- func (o *UploadsBitsForAppURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UploadsBitsForAppURL) Must(u *url.URL, err error) *url.URL
- func (o *UploadsBitsForAppURL) SetBasePath(bp string)
- func (o *UploadsBitsForAppURL) String() string
- func (o *UploadsBitsForAppURL) StringFull(scheme, host string) string
- func (o *UploadsBitsForAppURL) WithBasePath(bp string) *UploadsBitsForAppURL
Constants ¶
const AssociateRouteWithAppCreatedCode int = 201
AssociateRouteWithAppCreatedCode is the HTTP code returned for type AssociateRouteWithAppCreated
const CopyAppBitsForAppCreatedCode int = 201
CopyAppBitsForAppCreatedCode is the HTTP code returned for type CopyAppBitsForAppCreated
const CreateAppCreatedCode int = 201
CreateAppCreatedCode is the HTTP code returned for type CreateAppCreated
const DeleteAppNoContentCode int = 204
DeleteAppNoContentCode is the HTTP code returned for type DeleteAppNoContent
const DownloadsBitsForAppFoundCode int = 302
DownloadsBitsForAppFoundCode is the HTTP code returned for type DownloadsBitsForAppFound
const GetAppSummaryOKCode int = 200
GetAppSummaryOKCode is the HTTP code returned for type GetAppSummaryOK
const GetDetailedStatsForStartedAppOKCode int = 200
GetDetailedStatsForStartedAppOKCode is the HTTP code returned for type GetDetailedStatsForStartedAppOK
const GetEnvForAppOKCode int = 200
GetEnvForAppOKCode is the HTTP code returned for type GetEnvForAppOK
const GetInstanceInformationForStartedAppOKCode int = 200
GetInstanceInformationForStartedAppOKCode is the HTTP code returned for type GetInstanceInformationForStartedAppOK
const ListAllAppsOKCode int = 200
ListAllAppsOKCode is the HTTP code returned for type ListAllAppsOK
const ListAllRoutesForAppOKCode int = 200
ListAllRoutesForAppOKCode is the HTTP code returned for type ListAllRoutesForAppOK
const ListAllServiceBindingsForAppOKCode int = 200
ListAllServiceBindingsForAppOKCode is the HTTP code returned for type ListAllServiceBindingsForAppOK
const RemoveRouteFromAppCreatedCode int = 201
RemoveRouteFromAppCreatedCode is the HTTP code returned for type RemoveRouteFromAppCreated
const RemoveServiceBindingFromAppCreatedCode int = 201
RemoveServiceBindingFromAppCreatedCode is the HTTP code returned for type RemoveServiceBindingFromAppCreated
const RestageAppCreatedCode int = 201
RestageAppCreatedCode is the HTTP code returned for type RestageAppCreated
const RetrieveAppOKCode int = 200
RetrieveAppOKCode is the HTTP code returned for type RetrieveAppOK
const TerminateRunningAppInstanceAtGivenIndexNoContentCode int = 204
TerminateRunningAppInstanceAtGivenIndexNoContentCode is the HTTP code returned for type TerminateRunningAppInstanceAtGivenIndexNoContent
const UpdateAppCreatedCode int = 201
UpdateAppCreatedCode is the HTTP code returned for type UpdateAppCreated
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 ¶
func (o *AssociateRouteWithAppCreated) SetPayload(payload *models.AssociateRouteWithAppResponseResource)
SetPayload sets the payload to the associate route with app created response
func (*AssociateRouteWithAppCreated) WithPayload ¶
func (o *AssociateRouteWithAppCreated) WithPayload(payload *models.AssociateRouteWithAppResponseResource) *AssociateRouteWithAppCreated
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 ¶
func (fn AssociateRouteWithAppHandlerFunc) Handle(params AssociateRouteWithAppParams) middleware.Responder
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 ¶
func (o *AssociateRouteWithAppParams) 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 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 ¶
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 ¶
func (o *AssociateRouteWithAppURL) WithBasePath(bp string) *AssociateRouteWithAppURL
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 ¶
func (o *CopyAppBitsForAppCreated) SetPayload(payload *models.CopyAppBitsForAppResponseResource)
SetPayload sets the payload to the copy app bits for app created response
func (*CopyAppBitsForAppCreated) WithPayload ¶
func (o *CopyAppBitsForAppCreated) WithPayload(payload *models.CopyAppBitsForAppResponseResource) *CopyAppBitsForAppCreated
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 ¶
func (fn CopyAppBitsForAppHandlerFunc) Handle(params CopyAppBitsForAppParams) middleware.Responder
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 ¶
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
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 ¶
func (o *CreateAppCreated) WithPayload(payload *models.CreateAppResponseResource) *CreateAppCreated
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 ¶
func (fn CreateAppHandlerFunc) Handle(params CreateAppParams) middleware.Responder
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 ¶
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
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 ¶
func (fn DeleteAppHandlerFunc) Handle(params DeleteAppParams) middleware.Responder
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 ¶
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 ¶
func (fn DownloadsBitsForAppHandlerFunc) Handle(params DownloadsBitsForAppParams) middleware.Responder
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 ¶
func (o *DownloadsBitsForAppParams) 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 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 ¶
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 ¶
func (o *DownloadsBitsForAppURL) WithBasePath(bp string) *DownloadsBitsForAppURL
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 ¶
func (fn GetAppSummaryHandlerFunc) Handle(params GetAppSummaryParams) middleware.Responder
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 ¶
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 ¶
func (o *GetDetailedStatsForStartedApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn GetDetailedStatsForStartedAppHandlerFunc) Handle(params GetDetailedStatsForStartedAppParams) middleware.Responder
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 ¶
func (o *GetDetailedStatsForStartedAppOK) SetPayload(payload models.GetDetailedStatsForStartedAppResponseResource)
SetPayload sets the payload to the get detailed stats for started app o k response
func (*GetDetailedStatsForStartedAppOK) WithPayload ¶
func (o *GetDetailedStatsForStartedAppOK) WithPayload(payload models.GetDetailedStatsForStartedAppResponseResource) *GetDetailedStatsForStartedAppOK
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 ¶
func (o *GetDetailedStatsForStartedAppParams) 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 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 ¶
func (o *GetDetailedStatsForStartedAppURL) Build() (*url.URL, error)
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 ¶
func (o *GetDetailedStatsForStartedAppURL) String() 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 ¶
func (o *GetDetailedStatsForStartedAppURL) WithBasePath(bp string) *GetDetailedStatsForStartedAppURL
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 ¶
func (fn GetEnvForAppHandlerFunc) Handle(params GetEnvForAppParams) middleware.Responder
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 ¶
func (o *GetEnvForAppOK) WithPayload(payload *models.GetEnvForAppResponseResource) *GetEnvForAppOK
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 ¶
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 ¶
func (o *GetInstanceInformationForStartedApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn GetInstanceInformationForStartedAppHandlerFunc) Handle(params GetInstanceInformationForStartedAppParams) middleware.Responder
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 ¶
func (o *GetInstanceInformationForStartedAppOK) SetPayload(payload models.GetInstanceInformationForStartedAppResponseResource)
SetPayload sets the payload to the get instance information for started app o k response
func (*GetInstanceInformationForStartedAppOK) WithPayload ¶
func (o *GetInstanceInformationForStartedAppOK) WithPayload(payload models.GetInstanceInformationForStartedAppResponseResource) *GetInstanceInformationForStartedAppOK
WithPayload adds the payload to the get instance information for started app o k response
func (*GetInstanceInformationForStartedAppOK) WriteResponse ¶
func (o *GetInstanceInformationForStartedAppOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GetInstanceInformationForStartedAppParams) 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 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 ¶
func (o *GetInstanceInformationForStartedAppURL) Build() (*url.URL, error)
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 ¶
func (o *GetInstanceInformationForStartedAppURL) 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 (*GetInstanceInformationForStartedAppURL) String ¶
func (o *GetInstanceInformationForStartedAppURL) String() 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 ¶
func (o *GetInstanceInformationForStartedAppURL) WithBasePath(bp string) *GetInstanceInformationForStartedAppURL
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 ¶
func (fn ListAllAppsHandlerFunc) Handle(params ListAllAppsParams) middleware.Responder
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 ¶
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 ¶
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 ¶
func (fn ListAllRoutesForAppHandlerFunc) Handle(params ListAllRoutesForAppParams) middleware.Responder
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 ¶
func (o *ListAllRoutesForAppOK) SetPayload(payload *models.ListAllRoutesForAppResponsePaged)
SetPayload sets the payload to the list all routes for app o k response
func (*ListAllRoutesForAppOK) WithPayload ¶
func (o *ListAllRoutesForAppOK) WithPayload(payload *models.ListAllRoutesForAppResponsePaged) *ListAllRoutesForAppOK
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 ¶
func (o *ListAllRoutesForAppParams) 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 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 ¶
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 ¶
func (o *ListAllRoutesForAppURL) WithBasePath(bp string) *ListAllRoutesForAppURL
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 ¶
func (o *ListAllServiceBindingsForApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn ListAllServiceBindingsForAppHandlerFunc) Handle(params ListAllServiceBindingsForAppParams) middleware.Responder
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 ¶
func (o *ListAllServiceBindingsForAppOK) SetPayload(payload *models.ListAllServiceBindingsForAppResponsePaged)
SetPayload sets the payload to the list all service bindings for app o k response
func (*ListAllServiceBindingsForAppOK) WithPayload ¶
func (o *ListAllServiceBindingsForAppOK) WithPayload(payload *models.ListAllServiceBindingsForAppResponsePaged) *ListAllServiceBindingsForAppOK
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 ¶
func (o *ListAllServiceBindingsForAppParams) 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 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 ¶
func (o *ListAllServiceBindingsForAppURL) Build() (*url.URL, error)
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 ¶
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 ¶
func (o *ListAllServiceBindingsForAppURL) String() 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 ¶
func (o *ListAllServiceBindingsForAppURL) WithBasePath(bp string) *ListAllServiceBindingsForAppURL
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 ¶
func (o *RemoveRouteFromAppCreated) SetPayload(payload *models.RemoveRouteFromAppResponseResource)
SetPayload sets the payload to the remove route from app created response
func (*RemoveRouteFromAppCreated) WithPayload ¶
func (o *RemoveRouteFromAppCreated) WithPayload(payload *models.RemoveRouteFromAppResponseResource) *RemoveRouteFromAppCreated
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 ¶
func (fn RemoveRouteFromAppHandlerFunc) Handle(params RemoveRouteFromAppParams) middleware.Responder
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 ¶
func (o *RemoveRouteFromAppParams) 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 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 ¶
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 ¶
func (o *RemoveServiceBindingFromApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *RemoveServiceBindingFromAppCreated) SetPayload(payload *models.RemoveServiceBindingFromAppResponseResource)
SetPayload sets the payload to the remove service binding from app created response
func (*RemoveServiceBindingFromAppCreated) WithPayload ¶
func (o *RemoveServiceBindingFromAppCreated) WithPayload(payload *models.RemoveServiceBindingFromAppResponseResource) *RemoveServiceBindingFromAppCreated
WithPayload adds the payload to the remove service binding from app created response
func (*RemoveServiceBindingFromAppCreated) WriteResponse ¶
func (o *RemoveServiceBindingFromAppCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn RemoveServiceBindingFromAppHandlerFunc) Handle(params RemoveServiceBindingFromAppParams) middleware.Responder
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 ¶
func (o *RemoveServiceBindingFromAppParams) 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 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 ¶
func (o *RemoveServiceBindingFromAppURL) Build() (*url.URL, error)
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 ¶
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 ¶
func (o *RemoveServiceBindingFromAppURL) String() 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 ¶
func (o *RemoveServiceBindingFromAppURL) WithBasePath(bp string) *RemoveServiceBindingFromAppURL
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 ¶
func (o *RestageAppCreated) WithPayload(payload *models.RestageAppResponseResource) *RestageAppCreated
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 ¶
func (fn RestageAppHandlerFunc) Handle(params RestageAppParams) middleware.Responder
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 ¶
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 ¶
func (fn RetrieveAppHandlerFunc) Handle(params RetrieveAppParams) middleware.Responder
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 ¶
func (o *RetrieveAppOK) WithPayload(payload *models.RetrieveAppResponseResource) *RetrieveAppOK
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 ¶
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 ¶
func (o *TerminateRunningAppInstanceAtGivenIndex) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn TerminateRunningAppInstanceAtGivenIndexHandlerFunc) Handle(params TerminateRunningAppInstanceAtGivenIndexParams) middleware.Responder
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 ¶
func (o *TerminateRunningAppInstanceAtGivenIndexNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *TerminateRunningAppInstanceAtGivenIndexParams) 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 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 ¶
func (o *TerminateRunningAppInstanceAtGivenIndexURL) Build() (*url.URL, error)
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 ¶
func (o *TerminateRunningAppInstanceAtGivenIndexURL) 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 (*TerminateRunningAppInstanceAtGivenIndexURL) String ¶
func (o *TerminateRunningAppInstanceAtGivenIndexURL) String() 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 ¶
func (o *TerminateRunningAppInstanceAtGivenIndexURL) WithBasePath(bp string) *TerminateRunningAppInstanceAtGivenIndexURL
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
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 ¶
func (o *UpdateAppCreated) WithPayload(payload *models.UpdateAppResponseResource) *UpdateAppCreated
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 ¶
func (fn UpdateAppHandlerFunc) Handle(params UpdateAppParams) middleware.Responder
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 ¶
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 ¶
func (o *UploadsBitsForAppCreated) SetPayload(payload *models.UploadsBitsForAppResponseResource)
SetPayload sets the payload to the uploads bits for app created response
func (*UploadsBitsForAppCreated) WithPayload ¶
func (o *UploadsBitsForAppCreated) WithPayload(payload *models.UploadsBitsForAppResponseResource) *UploadsBitsForAppCreated
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 ¶
func (fn UploadsBitsForAppHandlerFunc) Handle(params UploadsBitsForAppParams) middleware.Responder
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 ¶
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 ¶
- associate_route_with_app.go
- associate_route_with_app_parameters.go
- associate_route_with_app_responses.go
- associate_route_with_app_urlbuilder.go
- copy_app_bits_for_app.go
- copy_app_bits_for_app_parameters.go
- copy_app_bits_for_app_responses.go
- copy_app_bits_for_app_urlbuilder.go
- create_app.go
- create_app_parameters.go
- create_app_responses.go
- create_app_urlbuilder.go
- delete_app.go
- delete_app_parameters.go
- delete_app_responses.go
- delete_app_urlbuilder.go
- downloads_bits_for_app.go
- downloads_bits_for_app_parameters.go
- downloads_bits_for_app_responses.go
- downloads_bits_for_app_urlbuilder.go
- get_app_summary.go
- get_app_summary_parameters.go
- get_app_summary_responses.go
- get_app_summary_urlbuilder.go
- get_detailed_stats_for_started_app.go
- get_detailed_stats_for_started_app_parameters.go
- get_detailed_stats_for_started_app_responses.go
- get_detailed_stats_for_started_app_urlbuilder.go
- get_env_for_app.go
- get_env_for_app_parameters.go
- get_env_for_app_responses.go
- get_env_for_app_urlbuilder.go
- get_instance_information_for_started_app.go
- get_instance_information_for_started_app_parameters.go
- get_instance_information_for_started_app_responses.go
- get_instance_information_for_started_app_urlbuilder.go
- list_all_apps.go
- list_all_apps_parameters.go
- list_all_apps_responses.go
- list_all_apps_urlbuilder.go
- list_all_routes_for_app.go
- list_all_routes_for_app_parameters.go
- list_all_routes_for_app_responses.go
- list_all_routes_for_app_urlbuilder.go
- list_all_service_bindings_for_app.go
- list_all_service_bindings_for_app_parameters.go
- list_all_service_bindings_for_app_responses.go
- list_all_service_bindings_for_app_urlbuilder.go
- remove_route_from_app.go
- remove_route_from_app_parameters.go
- remove_route_from_app_responses.go
- remove_route_from_app_urlbuilder.go
- remove_service_binding_from_app.go
- remove_service_binding_from_app_parameters.go
- remove_service_binding_from_app_responses.go
- remove_service_binding_from_app_urlbuilder.go
- restage_app.go
- restage_app_parameters.go
- restage_app_responses.go
- restage_app_urlbuilder.go
- retrieve_app.go
- retrieve_app_parameters.go
- retrieve_app_responses.go
- retrieve_app_urlbuilder.go
- terminate_running_app_instance_at_given_index.go
- terminate_running_app_instance_at_given_index_parameters.go
- terminate_running_app_instance_at_given_index_responses.go
- terminate_running_app_instance_at_given_index_urlbuilder.go
- update_app.go
- update_app_parameters.go
- update_app_responses.go
- update_app_urlbuilder.go
- uploads_bits_for_app.go
- uploads_bits_for_app_parameters.go
- uploads_bits_for_app_responses.go
- uploads_bits_for_app_urlbuilder.go