Documentation
¶
Index ¶
- type CreateApp
- type CreateAppCreated
- type CreateAppDefault
- func (o *CreateAppDefault) SetPayload(payload *models.Error)
- func (o *CreateAppDefault) SetStatusCode(code int)
- func (o *CreateAppDefault) WithPayload(payload *models.Error) *CreateAppDefault
- func (o *CreateAppDefault) WithStatusCode(code int) *CreateAppDefault
- func (o *CreateAppDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAppForbidden
- type CreateAppHandler
- type CreateAppHandlerFunc
- type CreateAppParams
- type CreateAppUnauthorized
- type GetAppDetails
- type GetAppDetailsDefault
- func (o *GetAppDetailsDefault) SetPayload(payload *models.Error)
- func (o *GetAppDetailsDefault) SetStatusCode(code int)
- func (o *GetAppDetailsDefault) WithPayload(payload *models.Error) *GetAppDetailsDefault
- func (o *GetAppDetailsDefault) WithStatusCode(code int) *GetAppDetailsDefault
- func (o *GetAppDetailsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAppDetailsForbidden
- type GetAppDetailsHandler
- type GetAppDetailsHandlerFunc
- type GetAppDetailsOK
- type GetAppDetailsParams
- type GetAppDetailsUnauthorized
- type GetApps
- type GetAppsDefault
- func (o *GetAppsDefault) SetPayload(payload *models.Error)
- func (o *GetAppsDefault) SetStatusCode(code int)
- func (o *GetAppsDefault) WithPayload(payload *models.Error) *GetAppsDefault
- func (o *GetAppsDefault) WithStatusCode(code int) *GetAppsDefault
- func (o *GetAppsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAppsForbidden
- type GetAppsHandler
- type GetAppsHandlerFunc
- type GetAppsOK
- type GetAppsOKBodyBody
- type GetAppsParams
- type GetAppsUnauthorized
- type PartialUpdateApp
- type PartialUpdateAppDefault
- func (o *PartialUpdateAppDefault) SetPayload(payload *models.Error)
- func (o *PartialUpdateAppDefault) SetStatusCode(code int)
- func (o *PartialUpdateAppDefault) WithPayload(payload *models.Error) *PartialUpdateAppDefault
- func (o *PartialUpdateAppDefault) WithStatusCode(code int) *PartialUpdateAppDefault
- func (o *PartialUpdateAppDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PartialUpdateAppForbidden
- type PartialUpdateAppHandler
- type PartialUpdateAppHandlerFunc
- type PartialUpdateAppOK
- type PartialUpdateAppParams
- type PartialUpdateAppUnauthorized
- type UpdateApp
- type UpdateAppDefault
- func (o *UpdateAppDefault) SetPayload(payload *models.Error)
- func (o *UpdateAppDefault) SetStatusCode(code int)
- func (o *UpdateAppDefault) WithPayload(payload *models.Error) *UpdateAppDefault
- func (o *UpdateAppDefault) WithStatusCode(code int) *UpdateAppDefault
- func (o *UpdateAppDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateAppForbidden
- type UpdateAppHandler
- type UpdateAppHandlerFunc
- type UpdateAppOK
- type UpdateAppParams
- type UpdateAppUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateApp ¶
type CreateApp struct { Context *middleware.Context Handler CreateAppHandler }
CreateApp swagger:route POST /teams/{team_id}/apps apps createApp
Create an app ¶
Create an app
func NewCreateApp ¶
func NewCreateApp(ctx *middleware.Context, handler CreateAppHandler) *CreateApp
NewCreateApp creates a new http.Handler for the create app operation
type CreateAppCreated ¶
CreateAppCreated Newly created app
swagger:response createAppCreated
func NewCreateAppCreated ¶
func NewCreateAppCreated() *CreateAppCreated
NewCreateAppCreated creates CreateAppCreated with default headers values
func (*CreateAppCreated) SetPayload ¶
func (o *CreateAppCreated) SetPayload(payload *models.App)
SetPayload sets the payload to the create app created response
func (*CreateAppCreated) WithPayload ¶
func (o *CreateAppCreated) WithPayload(payload *models.App) *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 CreateAppDefault ¶
type CreateAppDefault struct { // In: body Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CreateAppDefault Error
swagger:response createAppDefault
func NewCreateAppDefault ¶
func NewCreateAppDefault(code int) *CreateAppDefault
NewCreateAppDefault creates CreateAppDefault with default headers values
func (*CreateAppDefault) SetPayload ¶
func (o *CreateAppDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the create app default response
func (*CreateAppDefault) SetStatusCode ¶
func (o *CreateAppDefault) SetStatusCode(code int)
SetStatusCode sets the status to the create app default response
func (*CreateAppDefault) WithPayload ¶
func (o *CreateAppDefault) WithPayload(payload *models.Error) *CreateAppDefault
WithPayload adds the payload to the create app default response
func (*CreateAppDefault) WithStatusCode ¶
func (o *CreateAppDefault) WithStatusCode(code int) *CreateAppDefault
WithStatusCode adds the status to the create app default response
func (*CreateAppDefault) WriteResponse ¶
func (o *CreateAppDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAppForbidden ¶
type CreateAppForbidden struct { // In: body Payload *models.Unauthorized `json:"body,omitempty"` }
CreateAppForbidden User does not have the credentials to access this resource
swagger:response createAppForbidden
func NewCreateAppForbidden ¶
func NewCreateAppForbidden() *CreateAppForbidden
NewCreateAppForbidden creates CreateAppForbidden with default headers values
func (*CreateAppForbidden) SetPayload ¶
func (o *CreateAppForbidden) SetPayload(payload *models.Unauthorized)
SetPayload sets the payload to the create app forbidden response
func (*CreateAppForbidden) WithPayload ¶
func (o *CreateAppForbidden) WithPayload(payload *models.Unauthorized) *CreateAppForbidden
WithPayload adds the payload to the create app forbidden response
func (*CreateAppForbidden) WriteResponse ¶
func (o *CreateAppForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAppHandler ¶
type CreateAppHandler interface {
Handle(CreateAppParams, interface{}) middleware.Responder
}
CreateAppHandler interface for that can handle valid create app params
type CreateAppHandlerFunc ¶
type CreateAppHandlerFunc func(CreateAppParams, interface{}) middleware.Responder
CreateAppHandlerFunc turns a function with the right signature into a create app handler
func (CreateAppHandlerFunc) Handle ¶
func (fn CreateAppHandlerFunc) Handle(params CreateAppParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateAppParams ¶
type CreateAppParams struct { // HTTP Request Object HTTPRequest *http.Request /* Required: true In: body */ Body *models.App /*Team ID Required: true In: path */ TeamID int64 }
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 with the default values initialized.
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
type CreateAppUnauthorized ¶
type CreateAppUnauthorized struct { models.Unauthorized `json:"body,omitempty"` }Payload *
CreateAppUnauthorized User not authorized
swagger:response createAppUnauthorized
func NewCreateAppUnauthorized ¶
func NewCreateAppUnauthorized() *CreateAppUnauthorized
NewCreateAppUnauthorized creates CreateAppUnauthorized with default headers values
func (*CreateAppUnauthorized) SetPayload ¶
func (o *CreateAppUnauthorized) SetPayload(payload *models.Unauthorized)
SetPayload sets the payload to the create app unauthorized response
func (*CreateAppUnauthorized) WithPayload ¶
func (o *CreateAppUnauthorized) WithPayload(payload *models.Unauthorized) *CreateAppUnauthorized
WithPayload adds the payload to the create app unauthorized response
func (*CreateAppUnauthorized) WriteResponse ¶
func (o *CreateAppUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAppDetails ¶
type GetAppDetails struct { Context *middleware.Context Handler GetAppDetailsHandler }
GetAppDetails swagger:route GET /teams/{team_id}/apps/{app_id} apps getAppDetails
Get app details ¶
Get app details
func NewGetAppDetails ¶
func NewGetAppDetails(ctx *middleware.Context, handler GetAppDetailsHandler) *GetAppDetails
NewGetAppDetails creates a new http.Handler for the get app details operation
func (*GetAppDetails) ServeHTTP ¶
func (o *GetAppDetails) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAppDetailsDefault ¶
type GetAppDetailsDefault struct { // In: body Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetAppDetailsDefault Error
swagger:response getAppDetailsDefault
func NewGetAppDetailsDefault ¶
func NewGetAppDetailsDefault(code int) *GetAppDetailsDefault
NewGetAppDetailsDefault creates GetAppDetailsDefault with default headers values
func (*GetAppDetailsDefault) SetPayload ¶
func (o *GetAppDetailsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get app details default response
func (*GetAppDetailsDefault) SetStatusCode ¶
func (o *GetAppDetailsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get app details default response
func (*GetAppDetailsDefault) WithPayload ¶
func (o *GetAppDetailsDefault) WithPayload(payload *models.Error) *GetAppDetailsDefault
WithPayload adds the payload to the get app details default response
func (*GetAppDetailsDefault) WithStatusCode ¶
func (o *GetAppDetailsDefault) WithStatusCode(code int) *GetAppDetailsDefault
WithStatusCode adds the status to the get app details default response
func (*GetAppDetailsDefault) WriteResponse ¶
func (o *GetAppDetailsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAppDetailsForbidden ¶
type GetAppDetailsForbidden struct { // In: body Payload *models.Unauthorized `json:"body,omitempty"` }
GetAppDetailsForbidden User does not have the credentials to access this resource
swagger:response getAppDetailsForbidden
func NewGetAppDetailsForbidden ¶
func NewGetAppDetailsForbidden() *GetAppDetailsForbidden
NewGetAppDetailsForbidden creates GetAppDetailsForbidden with default headers values
func (*GetAppDetailsForbidden) SetPayload ¶
func (o *GetAppDetailsForbidden) SetPayload(payload *models.Unauthorized)
SetPayload sets the payload to the get app details forbidden response
func (*GetAppDetailsForbidden) WithPayload ¶
func (o *GetAppDetailsForbidden) WithPayload(payload *models.Unauthorized) *GetAppDetailsForbidden
WithPayload adds the payload to the get app details forbidden response
func (*GetAppDetailsForbidden) WriteResponse ¶
func (o *GetAppDetailsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAppDetailsHandler ¶
type GetAppDetailsHandler interface {
Handle(GetAppDetailsParams, interface{}) middleware.Responder
}
GetAppDetailsHandler interface for that can handle valid get app details params
type GetAppDetailsHandlerFunc ¶
type GetAppDetailsHandlerFunc func(GetAppDetailsParams, interface{}) middleware.Responder
GetAppDetailsHandlerFunc turns a function with the right signature into a get app details handler
func (GetAppDetailsHandlerFunc) Handle ¶
func (fn GetAppDetailsHandlerFunc) Handle(params GetAppDetailsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetAppDetailsOK ¶
GetAppDetailsOK App details
swagger:response getAppDetailsOK
func NewGetAppDetailsOK ¶
func NewGetAppDetailsOK() *GetAppDetailsOK
NewGetAppDetailsOK creates GetAppDetailsOK with default headers values
func (*GetAppDetailsOK) SetPayload ¶
func (o *GetAppDetailsOK) SetPayload(payload *models.App)
SetPayload sets the payload to the get app details o k response
func (*GetAppDetailsOK) WithPayload ¶
func (o *GetAppDetailsOK) WithPayload(payload *models.App) *GetAppDetailsOK
WithPayload adds the payload to the get app details o k response
func (*GetAppDetailsOK) WriteResponse ¶
func (o *GetAppDetailsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAppDetailsParams ¶
type GetAppDetailsParams struct { // HTTP Request Object HTTPRequest *http.Request /*App ID Required: true In: path */ AppID int64 /*Team ID Required: true In: path */ TeamID int64 }
GetAppDetailsParams contains all the bound params for the get app details operation typically these are obtained from a http.Request
swagger:parameters getAppDetails
func NewGetAppDetailsParams ¶
func NewGetAppDetailsParams() GetAppDetailsParams
NewGetAppDetailsParams creates a new GetAppDetailsParams object with the default values initialized.
func (*GetAppDetailsParams) BindRequest ¶
func (o *GetAppDetailsParams) 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
type GetAppDetailsUnauthorized ¶
type GetAppDetailsUnauthorized struct { models.Unauthorized `json:"body,omitempty"` }Payload *
GetAppDetailsUnauthorized User not authorized
swagger:response getAppDetailsUnauthorized
func NewGetAppDetailsUnauthorized ¶
func NewGetAppDetailsUnauthorized() *GetAppDetailsUnauthorized
NewGetAppDetailsUnauthorized creates GetAppDetailsUnauthorized with default headers values
func (*GetAppDetailsUnauthorized) SetPayload ¶
func (o *GetAppDetailsUnauthorized) SetPayload(payload *models.Unauthorized)
SetPayload sets the payload to the get app details unauthorized response
func (*GetAppDetailsUnauthorized) WithPayload ¶
func (o *GetAppDetailsUnauthorized) WithPayload(payload *models.Unauthorized) *GetAppDetailsUnauthorized
WithPayload adds the payload to the get app details unauthorized response
func (*GetAppDetailsUnauthorized) WriteResponse ¶
func (o *GetAppDetailsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApps ¶
type GetApps struct { Context *middleware.Context Handler GetAppsHandler }
GetApps swagger:route GET /teams/{team_id}/apps apps getApps
Get team apps ¶
Get team apps
func NewGetApps ¶
func NewGetApps(ctx *middleware.Context, handler GetAppsHandler) *GetApps
NewGetApps creates a new http.Handler for the get apps operation
type GetAppsDefault ¶
type GetAppsDefault struct { // In: body Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetAppsDefault Error
swagger:response getAppsDefault
func NewGetAppsDefault ¶
func NewGetAppsDefault(code int) *GetAppsDefault
NewGetAppsDefault creates GetAppsDefault with default headers values
func (*GetAppsDefault) SetPayload ¶
func (o *GetAppsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get apps default response
func (*GetAppsDefault) SetStatusCode ¶
func (o *GetAppsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get apps default response
func (*GetAppsDefault) WithPayload ¶
func (o *GetAppsDefault) WithPayload(payload *models.Error) *GetAppsDefault
WithPayload adds the payload to the get apps default response
func (*GetAppsDefault) WithStatusCode ¶
func (o *GetAppsDefault) WithStatusCode(code int) *GetAppsDefault
WithStatusCode adds the status to the get apps default response
func (*GetAppsDefault) WriteResponse ¶
func (o *GetAppsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAppsForbidden ¶
type GetAppsForbidden struct { // In: body Payload *models.Unauthorized `json:"body,omitempty"` }
GetAppsForbidden User does not have the credentials to access this resource
swagger:response getAppsForbidden
func NewGetAppsForbidden ¶
func NewGetAppsForbidden() *GetAppsForbidden
NewGetAppsForbidden creates GetAppsForbidden with default headers values
func (*GetAppsForbidden) SetPayload ¶
func (o *GetAppsForbidden) SetPayload(payload *models.Unauthorized)
SetPayload sets the payload to the get apps forbidden response
func (*GetAppsForbidden) WithPayload ¶
func (o *GetAppsForbidden) WithPayload(payload *models.Unauthorized) *GetAppsForbidden
WithPayload adds the payload to the get apps forbidden response
func (*GetAppsForbidden) WriteResponse ¶
func (o *GetAppsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAppsHandler ¶
type GetAppsHandler interface {
Handle(GetAppsParams, interface{}) middleware.Responder
}
GetAppsHandler interface for that can handle valid get apps params
type GetAppsHandlerFunc ¶
type GetAppsHandlerFunc func(GetAppsParams, interface{}) middleware.Responder
GetAppsHandlerFunc turns a function with the right signature into a get apps handler
func (GetAppsHandlerFunc) Handle ¶
func (fn GetAppsHandlerFunc) Handle(params GetAppsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetAppsOK ¶
type GetAppsOK struct { // In: body Payload GetAppsOKBodyBody `json:"body,omitempty"` }
GetAppsOK Apps
swagger:response getAppsOK
func NewGetAppsOK ¶
func NewGetAppsOK() *GetAppsOK
NewGetAppsOK creates GetAppsOK with default headers values
func (*GetAppsOK) SetPayload ¶
func (o *GetAppsOK) SetPayload(payload GetAppsOKBodyBody)
SetPayload sets the payload to the get apps o k response
func (*GetAppsOK) WithPayload ¶
func (o *GetAppsOK) WithPayload(payload GetAppsOKBodyBody) *GetAppsOK
WithPayload adds the payload to the get apps o k response
func (*GetAppsOK) WriteResponse ¶
func (o *GetAppsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAppsOKBodyBody ¶
type GetAppsOKBodyBody struct { models.Pagination /* items Required: true */ Items []*models.App `json:"items"` }
GetAppsOKBodyBody get apps o k body body
swagger:model GetAppsOKBodyBody
type GetAppsParams ¶
type GetAppsParams struct { // HTTP Request Object HTTPRequest *http.Request /*Limit In: query Default: 20 */ Limit *int64 /*Offset In: query Default: 0 */ Since *int64 /*Team ID Required: true In: path */ TeamID int64 }
GetAppsParams contains all the bound params for the get apps operation typically these are obtained from a http.Request
swagger:parameters getApps
func NewGetAppsParams ¶
func NewGetAppsParams() GetAppsParams
NewGetAppsParams creates a new GetAppsParams object with the default values initialized.
func (*GetAppsParams) BindRequest ¶
func (o *GetAppsParams) 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
type GetAppsUnauthorized ¶
type GetAppsUnauthorized struct { models.Unauthorized `json:"body,omitempty"` }Payload *
GetAppsUnauthorized User not authorized
swagger:response getAppsUnauthorized
func NewGetAppsUnauthorized ¶
func NewGetAppsUnauthorized() *GetAppsUnauthorized
NewGetAppsUnauthorized creates GetAppsUnauthorized with default headers values
func (*GetAppsUnauthorized) SetPayload ¶
func (o *GetAppsUnauthorized) SetPayload(payload *models.Unauthorized)
SetPayload sets the payload to the get apps unauthorized response
func (*GetAppsUnauthorized) WithPayload ¶
func (o *GetAppsUnauthorized) WithPayload(payload *models.Unauthorized) *GetAppsUnauthorized
WithPayload adds the payload to the get apps unauthorized response
func (*GetAppsUnauthorized) WriteResponse ¶
func (o *GetAppsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PartialUpdateApp ¶
type PartialUpdateApp struct { Context *middleware.Context Handler PartialUpdateAppHandler }
PartialUpdateApp swagger:route PATCH /teams/{team_id}/apps/{app_id} apps partialUpdateApp
Partial update app ¶
Update some app properties, for now, only accept envvars
func NewPartialUpdateApp ¶
func NewPartialUpdateApp(ctx *middleware.Context, handler PartialUpdateAppHandler) *PartialUpdateApp
NewPartialUpdateApp creates a new http.Handler for the partial update app operation
func (*PartialUpdateApp) ServeHTTP ¶
func (o *PartialUpdateApp) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PartialUpdateAppDefault ¶
type PartialUpdateAppDefault struct { // In: body Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PartialUpdateAppDefault Error
swagger:response partialUpdateAppDefault
func NewPartialUpdateAppDefault ¶
func NewPartialUpdateAppDefault(code int) *PartialUpdateAppDefault
NewPartialUpdateAppDefault creates PartialUpdateAppDefault with default headers values
func (*PartialUpdateAppDefault) SetPayload ¶
func (o *PartialUpdateAppDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the partial update app default response
func (*PartialUpdateAppDefault) SetStatusCode ¶
func (o *PartialUpdateAppDefault) SetStatusCode(code int)
SetStatusCode sets the status to the partial update app default response
func (*PartialUpdateAppDefault) WithPayload ¶
func (o *PartialUpdateAppDefault) WithPayload(payload *models.Error) *PartialUpdateAppDefault
WithPayload adds the payload to the partial update app default response
func (*PartialUpdateAppDefault) WithStatusCode ¶
func (o *PartialUpdateAppDefault) WithStatusCode(code int) *PartialUpdateAppDefault
WithStatusCode adds the status to the partial update app default response
func (*PartialUpdateAppDefault) WriteResponse ¶
func (o *PartialUpdateAppDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PartialUpdateAppForbidden ¶
type PartialUpdateAppForbidden struct { // In: body Payload *models.Unauthorized `json:"body,omitempty"` }
PartialUpdateAppForbidden User does not have the credentials to access this resource
swagger:response partialUpdateAppForbidden
func NewPartialUpdateAppForbidden ¶
func NewPartialUpdateAppForbidden() *PartialUpdateAppForbidden
NewPartialUpdateAppForbidden creates PartialUpdateAppForbidden with default headers values
func (*PartialUpdateAppForbidden) SetPayload ¶
func (o *PartialUpdateAppForbidden) SetPayload(payload *models.Unauthorized)
SetPayload sets the payload to the partial update app forbidden response
func (*PartialUpdateAppForbidden) WithPayload ¶
func (o *PartialUpdateAppForbidden) WithPayload(payload *models.Unauthorized) *PartialUpdateAppForbidden
WithPayload adds the payload to the partial update app forbidden response
func (*PartialUpdateAppForbidden) WriteResponse ¶
func (o *PartialUpdateAppForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PartialUpdateAppHandler ¶
type PartialUpdateAppHandler interface {
Handle(PartialUpdateAppParams, interface{}) middleware.Responder
}
PartialUpdateAppHandler interface for that can handle valid partial update app params
type PartialUpdateAppHandlerFunc ¶
type PartialUpdateAppHandlerFunc func(PartialUpdateAppParams, interface{}) middleware.Responder
PartialUpdateAppHandlerFunc turns a function with the right signature into a partial update app handler
func (PartialUpdateAppHandlerFunc) Handle ¶
func (fn PartialUpdateAppHandlerFunc) Handle(params PartialUpdateAppParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PartialUpdateAppOK ¶
PartialUpdateAppOK App
swagger:response partialUpdateAppOK
func NewPartialUpdateAppOK ¶
func NewPartialUpdateAppOK() *PartialUpdateAppOK
NewPartialUpdateAppOK creates PartialUpdateAppOK with default headers values
func (*PartialUpdateAppOK) SetPayload ¶
func (o *PartialUpdateAppOK) SetPayload(payload *models.App)
SetPayload sets the payload to the partial update app o k response
func (*PartialUpdateAppOK) WithPayload ¶
func (o *PartialUpdateAppOK) WithPayload(payload *models.App) *PartialUpdateAppOK
WithPayload adds the payload to the partial update app o k response
func (*PartialUpdateAppOK) WriteResponse ¶
func (o *PartialUpdateAppOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PartialUpdateAppParams ¶
type PartialUpdateAppParams struct { // HTTP Request Object HTTPRequest *http.Request /*App ID Required: true In: path */ AppID int64 /* Required: true In: body */ Body []*models.PatchAppRequest /*Team ID Required: true In: path */ TeamID int64 }
PartialUpdateAppParams contains all the bound params for the partial update app operation typically these are obtained from a http.Request
swagger:parameters partialUpdateApp
func NewPartialUpdateAppParams ¶
func NewPartialUpdateAppParams() PartialUpdateAppParams
NewPartialUpdateAppParams creates a new PartialUpdateAppParams object with the default values initialized.
func (*PartialUpdateAppParams) BindRequest ¶
func (o *PartialUpdateAppParams) 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
type PartialUpdateAppUnauthorized ¶
type PartialUpdateAppUnauthorized struct { models.Unauthorized `json:"body,omitempty"` }Payload *
PartialUpdateAppUnauthorized User not authorized
swagger:response partialUpdateAppUnauthorized
func NewPartialUpdateAppUnauthorized ¶
func NewPartialUpdateAppUnauthorized() *PartialUpdateAppUnauthorized
NewPartialUpdateAppUnauthorized creates PartialUpdateAppUnauthorized with default headers values
func (*PartialUpdateAppUnauthorized) SetPayload ¶
func (o *PartialUpdateAppUnauthorized) SetPayload(payload *models.Unauthorized)
SetPayload sets the payload to the partial update app unauthorized response
func (*PartialUpdateAppUnauthorized) WithPayload ¶
func (o *PartialUpdateAppUnauthorized) WithPayload(payload *models.Unauthorized) *PartialUpdateAppUnauthorized
WithPayload adds the payload to the partial update app unauthorized response
func (*PartialUpdateAppUnauthorized) WriteResponse ¶
func (o *PartialUpdateAppUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateApp ¶
type UpdateApp struct { Context *middleware.Context Handler UpdateAppHandler }
UpdateApp swagger:route PUT /teams/{team_id}/apps/{app_id} apps updateApp
Update app ¶
Update app properties, such as number of replicas and other things.
func NewUpdateApp ¶
func NewUpdateApp(ctx *middleware.Context, handler UpdateAppHandler) *UpdateApp
NewUpdateApp creates a new http.Handler for the update app operation
type UpdateAppDefault ¶
type UpdateAppDefault struct { // In: body Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UpdateAppDefault Error
swagger:response updateAppDefault
func NewUpdateAppDefault ¶
func NewUpdateAppDefault(code int) *UpdateAppDefault
NewUpdateAppDefault creates UpdateAppDefault with default headers values
func (*UpdateAppDefault) SetPayload ¶
func (o *UpdateAppDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the update app default response
func (*UpdateAppDefault) SetStatusCode ¶
func (o *UpdateAppDefault) SetStatusCode(code int)
SetStatusCode sets the status to the update app default response
func (*UpdateAppDefault) WithPayload ¶
func (o *UpdateAppDefault) WithPayload(payload *models.Error) *UpdateAppDefault
WithPayload adds the payload to the update app default response
func (*UpdateAppDefault) WithStatusCode ¶
func (o *UpdateAppDefault) WithStatusCode(code int) *UpdateAppDefault
WithStatusCode adds the status to the update app default response
func (*UpdateAppDefault) WriteResponse ¶
func (o *UpdateAppDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAppForbidden ¶
type UpdateAppForbidden struct { // In: body Payload *models.Unauthorized `json:"body,omitempty"` }
UpdateAppForbidden User does not have the credentials to access this resource
swagger:response updateAppForbidden
func NewUpdateAppForbidden ¶
func NewUpdateAppForbidden() *UpdateAppForbidden
NewUpdateAppForbidden creates UpdateAppForbidden with default headers values
func (*UpdateAppForbidden) SetPayload ¶
func (o *UpdateAppForbidden) SetPayload(payload *models.Unauthorized)
SetPayload sets the payload to the update app forbidden response
func (*UpdateAppForbidden) WithPayload ¶
func (o *UpdateAppForbidden) WithPayload(payload *models.Unauthorized) *UpdateAppForbidden
WithPayload adds the payload to the update app forbidden response
func (*UpdateAppForbidden) WriteResponse ¶
func (o *UpdateAppForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAppHandler ¶
type UpdateAppHandler interface {
Handle(UpdateAppParams, interface{}) middleware.Responder
}
UpdateAppHandler interface for that can handle valid update app params
type UpdateAppHandlerFunc ¶
type UpdateAppHandlerFunc func(UpdateAppParams, interface{}) middleware.Responder
UpdateAppHandlerFunc turns a function with the right signature into a update app handler
func (UpdateAppHandlerFunc) Handle ¶
func (fn UpdateAppHandlerFunc) Handle(params UpdateAppParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateAppOK ¶
UpdateAppOK App
swagger:response updateAppOK
func NewUpdateAppOK ¶
func NewUpdateAppOK() *UpdateAppOK
NewUpdateAppOK creates UpdateAppOK with default headers values
func (*UpdateAppOK) SetPayload ¶
func (o *UpdateAppOK) SetPayload(payload *models.App)
SetPayload sets the payload to the update app o k response
func (*UpdateAppOK) WithPayload ¶
func (o *UpdateAppOK) WithPayload(payload *models.App) *UpdateAppOK
WithPayload adds the payload to the update app o k response
func (*UpdateAppOK) WriteResponse ¶
func (o *UpdateAppOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAppParams ¶
type UpdateAppParams struct { // HTTP Request Object HTTPRequest *http.Request /*App ID Required: true In: path */ AppID int64 /* Required: true In: body */ Body *models.App /*Team ID Required: true In: path */ TeamID int64 }
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 with the default values initialized.
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
type UpdateAppUnauthorized ¶
type UpdateAppUnauthorized struct { models.Unauthorized `json:"body,omitempty"` }Payload *
UpdateAppUnauthorized User not authorized
swagger:response updateAppUnauthorized
func NewUpdateAppUnauthorized ¶
func NewUpdateAppUnauthorized() *UpdateAppUnauthorized
NewUpdateAppUnauthorized creates UpdateAppUnauthorized with default headers values
func (*UpdateAppUnauthorized) SetPayload ¶
func (o *UpdateAppUnauthorized) SetPayload(payload *models.Unauthorized)
SetPayload sets the payload to the update app unauthorized response
func (*UpdateAppUnauthorized) WithPayload ¶
func (o *UpdateAppUnauthorized) WithPayload(payload *models.Unauthorized) *UpdateAppUnauthorized
WithPayload adds the payload to the update app unauthorized response
func (*UpdateAppUnauthorized) WriteResponse ¶
func (o *UpdateAppUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- create_app.go
- create_app_parameters.go
- create_app_responses.go
- get_app_details.go
- get_app_details_parameters.go
- get_app_details_responses.go
- get_apps.go
- get_apps_parameters.go
- get_apps_responses.go
- partial_update_app.go
- partial_update_app_parameters.go
- partial_update_app_responses.go
- update_app.go
- update_app_parameters.go
- update_app_responses.go