Documentation ¶
Index ¶
- Constants
- type AddReleases
- type AddReleasesBadRequest
- type AddReleasesCreated
- type AddReleasesHandler
- type AddReleasesHandlerFunc
- type AddReleasesInternalServerError
- func (o *AddReleasesInternalServerError) SetPayload(payload *models.APIResponse)
- func (o *AddReleasesInternalServerError) WithPayload(payload *models.APIResponse) *AddReleasesInternalServerError
- func (o *AddReleasesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddReleasesParams
- type AddReleasesURL
- func (o *AddReleasesURL) Build() (*url.URL, error)
- func (o *AddReleasesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddReleasesURL) Must(u *url.URL, err error) *url.URL
- func (o *AddReleasesURL) SetBasePath(bp string)
- func (o *AddReleasesURL) String() string
- func (o *AddReleasesURL) StringFull(scheme, host string) string
- func (o *AddReleasesURL) WithBasePath(bp string) *AddReleasesURL
- type AddReleasesUnauthorized
- type DeleteRelease
- type DeleteReleaseBadRequest
- type DeleteReleaseHandler
- type DeleteReleaseHandlerFunc
- type DeleteReleaseInternalServerError
- func (o *DeleteReleaseInternalServerError) SetPayload(payload *models.APIResponse)
- func (o *DeleteReleaseInternalServerError) WithPayload(payload *models.APIResponse) *DeleteReleaseInternalServerError
- func (o *DeleteReleaseInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteReleaseNotFound
- type DeleteReleaseOK
- type DeleteReleaseParams
- type DeleteReleaseURL
- func (o *DeleteReleaseURL) Build() (*url.URL, error)
- func (o *DeleteReleaseURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteReleaseURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteReleaseURL) SetBasePath(bp string)
- func (o *DeleteReleaseURL) String() string
- func (o *DeleteReleaseURL) StringFull(scheme, host string) string
- func (o *DeleteReleaseURL) WithBasePath(bp string) *DeleteReleaseURL
- type DeleteReleaseUnauthorized
- type GetReleaseByID
- type GetReleaseByIDBadRequest
- type GetReleaseByIDHandler
- type GetReleaseByIDHandlerFunc
- type GetReleaseByIDInternalServerError
- func (o *GetReleaseByIDInternalServerError) SetPayload(payload *models.APIResponse)
- func (o *GetReleaseByIDInternalServerError) WithPayload(payload *models.APIResponse) *GetReleaseByIDInternalServerError
- func (o *GetReleaseByIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetReleaseByIDNotFound
- type GetReleaseByIDOK
- type GetReleaseByIDParams
- type GetReleaseByIDURL
- func (o *GetReleaseByIDURL) Build() (*url.URL, error)
- func (o *GetReleaseByIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetReleaseByIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetReleaseByIDURL) SetBasePath(bp string)
- func (o *GetReleaseByIDURL) String() string
- func (o *GetReleaseByIDURL) StringFull(scheme, host string) string
- func (o *GetReleaseByIDURL) WithBasePath(bp string) *GetReleaseByIDURL
- type GetReleaseByIDUnauthorized
- type GetReleases
- type GetReleasesBadRequest
- type GetReleasesHandler
- type GetReleasesHandlerFunc
- type GetReleasesInternalServerError
- func (o *GetReleasesInternalServerError) SetPayload(payload *models.APIResponse)
- func (o *GetReleasesInternalServerError) WithPayload(payload *models.APIResponse) *GetReleasesInternalServerError
- func (o *GetReleasesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetReleasesOK
- type GetReleasesParams
- type GetReleasesURL
- func (o *GetReleasesURL) Build() (*url.URL, error)
- func (o *GetReleasesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetReleasesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetReleasesURL) SetBasePath(bp string)
- func (o *GetReleasesURL) String() string
- func (o *GetReleasesURL) StringFull(scheme, host string) string
- func (o *GetReleasesURL) WithBasePath(bp string) *GetReleasesURL
- type GetReleasesUnauthorized
- type UpdateRelease
- type UpdateReleaseBadRequest
- type UpdateReleaseHandler
- type UpdateReleaseHandlerFunc
- type UpdateReleaseInternalServerError
- func (o *UpdateReleaseInternalServerError) SetPayload(payload *models.APIResponse)
- func (o *UpdateReleaseInternalServerError) WithPayload(payload *models.APIResponse) *UpdateReleaseInternalServerError
- func (o *UpdateReleaseInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateReleaseNotFound
- type UpdateReleaseOK
- type UpdateReleaseParams
- type UpdateReleaseURL
- func (o *UpdateReleaseURL) Build() (*url.URL, error)
- func (o *UpdateReleaseURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateReleaseURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateReleaseURL) SetBasePath(bp string)
- func (o *UpdateReleaseURL) String() string
- func (o *UpdateReleaseURL) StringFull(scheme, host string) string
- func (o *UpdateReleaseURL) WithBasePath(bp string) *UpdateReleaseURL
- type UpdateReleaseUnauthorized
Constants ¶
const AddReleasesBadRequestCode int = 400
AddReleasesBadRequestCode is the HTTP code returned for type AddReleasesBadRequest
const AddReleasesCreatedCode int = 201
AddReleasesCreatedCode is the HTTP code returned for type AddReleasesCreated
const AddReleasesInternalServerErrorCode int = 500
AddReleasesInternalServerErrorCode is the HTTP code returned for type AddReleasesInternalServerError
AddReleasesUnauthorizedCode is the HTTP code returned for type AddReleasesUnauthorized
const DeleteReleaseBadRequestCode int = 400
DeleteReleaseBadRequestCode is the HTTP code returned for type DeleteReleaseBadRequest
const DeleteReleaseInternalServerErrorCode int = 500
DeleteReleaseInternalServerErrorCode is the HTTP code returned for type DeleteReleaseInternalServerError
const DeleteReleaseNotFoundCode int = 404
DeleteReleaseNotFoundCode is the HTTP code returned for type DeleteReleaseNotFound
const DeleteReleaseOKCode int = 200
DeleteReleaseOKCode is the HTTP code returned for type DeleteReleaseOK
DeleteReleaseUnauthorizedCode is the HTTP code returned for type DeleteReleaseUnauthorized
const GetReleaseByIDBadRequestCode int = 400
GetReleaseByIDBadRequestCode is the HTTP code returned for type GetReleaseByIDBadRequest
const GetReleaseByIDInternalServerErrorCode int = 500
GetReleaseByIDInternalServerErrorCode is the HTTP code returned for type GetReleaseByIDInternalServerError
const GetReleaseByIDNotFoundCode int = 404
GetReleaseByIDNotFoundCode is the HTTP code returned for type GetReleaseByIDNotFound
const GetReleaseByIDOKCode int = 200
GetReleaseByIDOKCode is the HTTP code returned for type GetReleaseByIDOK
GetReleaseByIDUnauthorizedCode is the HTTP code returned for type GetReleaseByIDUnauthorized
const GetReleasesBadRequestCode int = 400
GetReleasesBadRequestCode is the HTTP code returned for type GetReleasesBadRequest
const GetReleasesInternalServerErrorCode int = 500
GetReleasesInternalServerErrorCode is the HTTP code returned for type GetReleasesInternalServerError
const GetReleasesOKCode int = 200
GetReleasesOKCode is the HTTP code returned for type GetReleasesOK
GetReleasesUnauthorizedCode is the HTTP code returned for type GetReleasesUnauthorized
const UpdateReleaseBadRequestCode int = 400
UpdateReleaseBadRequestCode is the HTTP code returned for type UpdateReleaseBadRequest
const UpdateReleaseInternalServerErrorCode int = 500
UpdateReleaseInternalServerErrorCode is the HTTP code returned for type UpdateReleaseInternalServerError
const UpdateReleaseNotFoundCode int = 404
UpdateReleaseNotFoundCode is the HTTP code returned for type UpdateReleaseNotFound
const UpdateReleaseOKCode int = 200
UpdateReleaseOKCode is the HTTP code returned for type UpdateReleaseOK
UpdateReleaseUnauthorizedCode is the HTTP code returned for type UpdateReleaseUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddReleases ¶
type AddReleases struct { Context *middleware.Context Handler AddReleasesHandler }
AddReleases swagger:route POST /releases releases addReleases
Add a new release to the clusters
func NewAddReleases ¶
func NewAddReleases(ctx *middleware.Context, handler AddReleasesHandler) *AddReleases
NewAddReleases creates a new http.Handler for the add releases operation
func (*AddReleases) ServeHTTP ¶
func (o *AddReleases) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type AddReleasesBadRequest ¶
type AddReleasesBadRequest struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` }
AddReleasesBadRequest Bad Request
swagger:response addReleasesBadRequest
func NewAddReleasesBadRequest ¶
func NewAddReleasesBadRequest() *AddReleasesBadRequest
NewAddReleasesBadRequest creates AddReleasesBadRequest with default headers values
func (*AddReleasesBadRequest) SetPayload ¶
func (o *AddReleasesBadRequest) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the add releases bad request response
func (*AddReleasesBadRequest) WithPayload ¶
func (o *AddReleasesBadRequest) WithPayload(payload *models.APIResponse) *AddReleasesBadRequest
WithPayload adds the payload to the add releases bad request response
func (*AddReleasesBadRequest) WriteResponse ¶
func (o *AddReleasesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddReleasesCreated ¶
type AddReleasesCreated struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` }
AddReleasesCreated Created
swagger:response addReleasesCreated
func NewAddReleasesCreated ¶
func NewAddReleasesCreated() *AddReleasesCreated
NewAddReleasesCreated creates AddReleasesCreated with default headers values
func (*AddReleasesCreated) SetPayload ¶
func (o *AddReleasesCreated) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the add releases created response
func (*AddReleasesCreated) WithPayload ¶
func (o *AddReleasesCreated) WithPayload(payload *models.APIResponse) *AddReleasesCreated
WithPayload adds the payload to the add releases created response
func (*AddReleasesCreated) WriteResponse ¶
func (o *AddReleasesCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddReleasesHandler ¶
type AddReleasesHandler interface {
Handle(AddReleasesParams) middleware.Responder
}
AddReleasesHandler interface for that can handle valid add releases params
type AddReleasesHandlerFunc ¶
type AddReleasesHandlerFunc func(AddReleasesParams) middleware.Responder
AddReleasesHandlerFunc turns a function with the right signature into a add releases handler
func (AddReleasesHandlerFunc) Handle ¶
func (fn AddReleasesHandlerFunc) Handle(params AddReleasesParams) middleware.Responder
Handle executing the request and returning a response
type AddReleasesInternalServerError ¶
type AddReleasesInternalServerError struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` }
AddReleasesInternalServerError Internal Server Error
swagger:response addReleasesInternalServerError
func NewAddReleasesInternalServerError ¶
func NewAddReleasesInternalServerError() *AddReleasesInternalServerError
NewAddReleasesInternalServerError creates AddReleasesInternalServerError with default headers values
func (*AddReleasesInternalServerError) SetPayload ¶
func (o *AddReleasesInternalServerError) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the add releases internal server error response
func (*AddReleasesInternalServerError) WithPayload ¶
func (o *AddReleasesInternalServerError) WithPayload(payload *models.APIResponse) *AddReleasesInternalServerError
WithPayload adds the payload to the add releases internal server error response
func (*AddReleasesInternalServerError) WriteResponse ¶
func (o *AddReleasesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddReleasesParams ¶
type AddReleasesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The file to upload Required: true In: formData */ ChartTar runtime.File /*The node labels to identify applicable clusters In: query */ Labels *string /*The name of the helm release Required: true In: formData */ Name string /*The kubernetes namespace to be used Required: true In: formData */ Namespace string }
AddReleasesParams contains all the bound params for the add releases operation typically these are obtained from a http.Request
swagger:parameters addReleases
func NewAddReleasesParams ¶
func NewAddReleasesParams() AddReleasesParams
NewAddReleasesParams creates a new AddReleasesParams object with the default values initialized.
func (*AddReleasesParams) BindRequest ¶
func (o *AddReleasesParams) 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 AddReleasesURL ¶
type AddReleasesURL struct { Labels *string // contains filtered or unexported fields }
AddReleasesURL generates an URL for the add releases operation
func (*AddReleasesURL) Build ¶
func (o *AddReleasesURL) Build() (*url.URL, error)
Build a url path and query string
func (*AddReleasesURL) BuildFull ¶
func (o *AddReleasesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AddReleasesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*AddReleasesURL) SetBasePath ¶
func (o *AddReleasesURL) 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 (*AddReleasesURL) String ¶
func (o *AddReleasesURL) String() string
String returns the string representation of the path with query string
func (*AddReleasesURL) StringFull ¶
func (o *AddReleasesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AddReleasesURL) WithBasePath ¶
func (o *AddReleasesURL) WithBasePath(bp string) *AddReleasesURL
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 AddReleasesUnauthorized ¶
type AddReleasesUnauthorized struct { models.APIResponse `json:"body,omitempty"` }Payload *
AddReleasesUnauthorized Unauthorized
swagger:response addReleasesUnauthorized
func NewAddReleasesUnauthorized ¶
func NewAddReleasesUnauthorized() *AddReleasesUnauthorized
NewAddReleasesUnauthorized creates AddReleasesUnauthorized with default headers values
func (*AddReleasesUnauthorized) SetPayload ¶
func (o *AddReleasesUnauthorized) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the add releases unauthorized response
func (*AddReleasesUnauthorized) WithPayload ¶
func (o *AddReleasesUnauthorized) WithPayload(payload *models.APIResponse) *AddReleasesUnauthorized
WithPayload adds the payload to the add releases unauthorized response
func (*AddReleasesUnauthorized) WriteResponse ¶
func (o *AddReleasesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteRelease ¶
type DeleteRelease struct { Context *middleware.Context Handler DeleteReleaseHandler }
DeleteRelease swagger:route DELETE /releases/{releaseId} releases deleteRelease
Delete release by ID
func NewDeleteRelease ¶
func NewDeleteRelease(ctx *middleware.Context, handler DeleteReleaseHandler) *DeleteRelease
NewDeleteRelease creates a new http.Handler for the delete release operation
func (*DeleteRelease) ServeHTTP ¶
func (o *DeleteRelease) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteReleaseBadRequest ¶
type DeleteReleaseBadRequest struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` }
DeleteReleaseBadRequest Bad Request
swagger:response deleteReleaseBadRequest
func NewDeleteReleaseBadRequest ¶
func NewDeleteReleaseBadRequest() *DeleteReleaseBadRequest
NewDeleteReleaseBadRequest creates DeleteReleaseBadRequest with default headers values
func (*DeleteReleaseBadRequest) SetPayload ¶
func (o *DeleteReleaseBadRequest) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the delete release bad request response
func (*DeleteReleaseBadRequest) WithPayload ¶
func (o *DeleteReleaseBadRequest) WithPayload(payload *models.APIResponse) *DeleteReleaseBadRequest
WithPayload adds the payload to the delete release bad request response
func (*DeleteReleaseBadRequest) WriteResponse ¶
func (o *DeleteReleaseBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteReleaseHandler ¶
type DeleteReleaseHandler interface {
Handle(DeleteReleaseParams) middleware.Responder
}
DeleteReleaseHandler interface for that can handle valid delete release params
type DeleteReleaseHandlerFunc ¶
type DeleteReleaseHandlerFunc func(DeleteReleaseParams) middleware.Responder
DeleteReleaseHandlerFunc turns a function with the right signature into a delete release handler
func (DeleteReleaseHandlerFunc) Handle ¶
func (fn DeleteReleaseHandlerFunc) Handle(params DeleteReleaseParams) middleware.Responder
Handle executing the request and returning a response
type DeleteReleaseInternalServerError ¶
type DeleteReleaseInternalServerError struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` }
DeleteReleaseInternalServerError Internal Server Error
swagger:response deleteReleaseInternalServerError
func NewDeleteReleaseInternalServerError ¶
func NewDeleteReleaseInternalServerError() *DeleteReleaseInternalServerError
NewDeleteReleaseInternalServerError creates DeleteReleaseInternalServerError with default headers values
func (*DeleteReleaseInternalServerError) SetPayload ¶
func (o *DeleteReleaseInternalServerError) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the delete release internal server error response
func (*DeleteReleaseInternalServerError) WithPayload ¶
func (o *DeleteReleaseInternalServerError) WithPayload(payload *models.APIResponse) *DeleteReleaseInternalServerError
WithPayload adds the payload to the delete release internal server error response
func (*DeleteReleaseInternalServerError) WriteResponse ¶
func (o *DeleteReleaseInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteReleaseNotFound ¶
type DeleteReleaseNotFound struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` }
DeleteReleaseNotFound The specified resource was not found
swagger:response deleteReleaseNotFound
func NewDeleteReleaseNotFound ¶
func NewDeleteReleaseNotFound() *DeleteReleaseNotFound
NewDeleteReleaseNotFound creates DeleteReleaseNotFound with default headers values
func (*DeleteReleaseNotFound) SetPayload ¶
func (o *DeleteReleaseNotFound) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the delete release not found response
func (*DeleteReleaseNotFound) WithPayload ¶
func (o *DeleteReleaseNotFound) WithPayload(payload *models.APIResponse) *DeleteReleaseNotFound
WithPayload adds the payload to the delete release not found response
func (*DeleteReleaseNotFound) WriteResponse ¶
func (o *DeleteReleaseNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteReleaseOK ¶
type DeleteReleaseOK struct { }
DeleteReleaseOK OK
swagger:response deleteReleaseOK
func NewDeleteReleaseOK ¶
func NewDeleteReleaseOK() *DeleteReleaseOK
NewDeleteReleaseOK creates DeleteReleaseOK with default headers values
func (*DeleteReleaseOK) WriteResponse ¶
func (o *DeleteReleaseOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteReleaseParams ¶
type DeleteReleaseParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The node labels to identify applicable clusters In: query */ Labels *string /*ID of release to return Required: true In: path */ ReleaseID string }
DeleteReleaseParams contains all the bound params for the delete release operation typically these are obtained from a http.Request
swagger:parameters deleteRelease
func NewDeleteReleaseParams ¶
func NewDeleteReleaseParams() DeleteReleaseParams
NewDeleteReleaseParams creates a new DeleteReleaseParams object with the default values initialized.
func (*DeleteReleaseParams) BindRequest ¶
func (o *DeleteReleaseParams) 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 DeleteReleaseURL ¶
type DeleteReleaseURL struct { ReleaseID string Labels *string // contains filtered or unexported fields }
DeleteReleaseURL generates an URL for the delete release operation
func (*DeleteReleaseURL) Build ¶
func (o *DeleteReleaseURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteReleaseURL) BuildFull ¶
func (o *DeleteReleaseURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteReleaseURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteReleaseURL) SetBasePath ¶
func (o *DeleteReleaseURL) 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 (*DeleteReleaseURL) String ¶
func (o *DeleteReleaseURL) String() string
String returns the string representation of the path with query string
func (*DeleteReleaseURL) StringFull ¶
func (o *DeleteReleaseURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteReleaseURL) WithBasePath ¶
func (o *DeleteReleaseURL) WithBasePath(bp string) *DeleteReleaseURL
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 DeleteReleaseUnauthorized ¶
type DeleteReleaseUnauthorized struct { models.APIResponse `json:"body,omitempty"` }Payload *
DeleteReleaseUnauthorized Unauthorized
swagger:response deleteReleaseUnauthorized
func NewDeleteReleaseUnauthorized ¶
func NewDeleteReleaseUnauthorized() *DeleteReleaseUnauthorized
NewDeleteReleaseUnauthorized creates DeleteReleaseUnauthorized with default headers values
func (*DeleteReleaseUnauthorized) SetPayload ¶
func (o *DeleteReleaseUnauthorized) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the delete release unauthorized response
func (*DeleteReleaseUnauthorized) WithPayload ¶
func (o *DeleteReleaseUnauthorized) WithPayload(payload *models.APIResponse) *DeleteReleaseUnauthorized
WithPayload adds the payload to the delete release unauthorized response
func (*DeleteReleaseUnauthorized) WriteResponse ¶
func (o *DeleteReleaseUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetReleaseByID ¶
type GetReleaseByID struct { Context *middleware.Context Handler GetReleaseByIDHandler }
GetReleaseByID swagger:route GET /releases/{releaseId} releases getReleaseById
Find release by ID ¶
Returns a single release
func NewGetReleaseByID ¶
func NewGetReleaseByID(ctx *middleware.Context, handler GetReleaseByIDHandler) *GetReleaseByID
NewGetReleaseByID creates a new http.Handler for the get release by Id operation
func (*GetReleaseByID) ServeHTTP ¶
func (o *GetReleaseByID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetReleaseByIDBadRequest ¶
type GetReleaseByIDBadRequest struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` }
GetReleaseByIDBadRequest Bad Request
swagger:response getReleaseByIdBadRequest
func NewGetReleaseByIDBadRequest ¶
func NewGetReleaseByIDBadRequest() *GetReleaseByIDBadRequest
NewGetReleaseByIDBadRequest creates GetReleaseByIDBadRequest with default headers values
func (*GetReleaseByIDBadRequest) SetPayload ¶
func (o *GetReleaseByIDBadRequest) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get release by Id bad request response
func (*GetReleaseByIDBadRequest) WithPayload ¶
func (o *GetReleaseByIDBadRequest) WithPayload(payload *models.APIResponse) *GetReleaseByIDBadRequest
WithPayload adds the payload to the get release by Id bad request response
func (*GetReleaseByIDBadRequest) WriteResponse ¶
func (o *GetReleaseByIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetReleaseByIDHandler ¶
type GetReleaseByIDHandler interface {
Handle(GetReleaseByIDParams) middleware.Responder
}
GetReleaseByIDHandler interface for that can handle valid get release by Id params
type GetReleaseByIDHandlerFunc ¶
type GetReleaseByIDHandlerFunc func(GetReleaseByIDParams) middleware.Responder
GetReleaseByIDHandlerFunc turns a function with the right signature into a get release by Id handler
func (GetReleaseByIDHandlerFunc) Handle ¶
func (fn GetReleaseByIDHandlerFunc) Handle(params GetReleaseByIDParams) middleware.Responder
Handle executing the request and returning a response
type GetReleaseByIDInternalServerError ¶
type GetReleaseByIDInternalServerError struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` }
GetReleaseByIDInternalServerError Internal Server Error
swagger:response getReleaseByIdInternalServerError
func NewGetReleaseByIDInternalServerError ¶
func NewGetReleaseByIDInternalServerError() *GetReleaseByIDInternalServerError
NewGetReleaseByIDInternalServerError creates GetReleaseByIDInternalServerError with default headers values
func (*GetReleaseByIDInternalServerError) SetPayload ¶
func (o *GetReleaseByIDInternalServerError) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get release by Id internal server error response
func (*GetReleaseByIDInternalServerError) WithPayload ¶
func (o *GetReleaseByIDInternalServerError) WithPayload(payload *models.APIResponse) *GetReleaseByIDInternalServerError
WithPayload adds the payload to the get release by Id internal server error response
func (*GetReleaseByIDInternalServerError) WriteResponse ¶
func (o *GetReleaseByIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetReleaseByIDNotFound ¶
type GetReleaseByIDNotFound struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` }
GetReleaseByIDNotFound The specified resource was not found
swagger:response getReleaseByIdNotFound
func NewGetReleaseByIDNotFound ¶
func NewGetReleaseByIDNotFound() *GetReleaseByIDNotFound
NewGetReleaseByIDNotFound creates GetReleaseByIDNotFound with default headers values
func (*GetReleaseByIDNotFound) SetPayload ¶
func (o *GetReleaseByIDNotFound) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get release by Id not found response
func (*GetReleaseByIDNotFound) WithPayload ¶
func (o *GetReleaseByIDNotFound) WithPayload(payload *models.APIResponse) *GetReleaseByIDNotFound
WithPayload adds the payload to the get release by Id not found response
func (*GetReleaseByIDNotFound) WriteResponse ¶
func (o *GetReleaseByIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetReleaseByIDOK ¶
type GetReleaseByIDOK struct { /* In: Body */ Payload *models.ReleaseRelease `json:"body,omitempty"` }
GetReleaseByIDOK OK
swagger:response getReleaseByIdOK
func NewGetReleaseByIDOK ¶
func NewGetReleaseByIDOK() *GetReleaseByIDOK
NewGetReleaseByIDOK creates GetReleaseByIDOK with default headers values
func (*GetReleaseByIDOK) SetPayload ¶
func (o *GetReleaseByIDOK) SetPayload(payload *models.ReleaseRelease)
SetPayload sets the payload to the get release by Id o k response
func (*GetReleaseByIDOK) WithPayload ¶
func (o *GetReleaseByIDOK) WithPayload(payload *models.ReleaseRelease) *GetReleaseByIDOK
WithPayload adds the payload to the get release by Id o k response
func (*GetReleaseByIDOK) WriteResponse ¶
func (o *GetReleaseByIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetReleaseByIDParams ¶
type GetReleaseByIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The node labels to identify applicable clusters In: query */ Labels *string /*ID of release to return Required: true In: path */ ReleaseID string }
GetReleaseByIDParams contains all the bound params for the get release by Id operation typically these are obtained from a http.Request
swagger:parameters getReleaseById
func NewGetReleaseByIDParams ¶
func NewGetReleaseByIDParams() GetReleaseByIDParams
NewGetReleaseByIDParams creates a new GetReleaseByIDParams object with the default values initialized.
func (*GetReleaseByIDParams) BindRequest ¶
func (o *GetReleaseByIDParams) 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 GetReleaseByIDURL ¶
type GetReleaseByIDURL struct { ReleaseID string Labels *string // contains filtered or unexported fields }
GetReleaseByIDURL generates an URL for the get release by Id operation
func (*GetReleaseByIDURL) Build ¶
func (o *GetReleaseByIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetReleaseByIDURL) BuildFull ¶
func (o *GetReleaseByIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetReleaseByIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetReleaseByIDURL) SetBasePath ¶
func (o *GetReleaseByIDURL) 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 (*GetReleaseByIDURL) String ¶
func (o *GetReleaseByIDURL) String() string
String returns the string representation of the path with query string
func (*GetReleaseByIDURL) StringFull ¶
func (o *GetReleaseByIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetReleaseByIDURL) WithBasePath ¶
func (o *GetReleaseByIDURL) WithBasePath(bp string) *GetReleaseByIDURL
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 GetReleaseByIDUnauthorized ¶
type GetReleaseByIDUnauthorized struct { models.APIResponse `json:"body,omitempty"` }Payload *
GetReleaseByIDUnauthorized Unauthorized
swagger:response getReleaseByIdUnauthorized
func NewGetReleaseByIDUnauthorized ¶
func NewGetReleaseByIDUnauthorized() *GetReleaseByIDUnauthorized
NewGetReleaseByIDUnauthorized creates GetReleaseByIDUnauthorized with default headers values
func (*GetReleaseByIDUnauthorized) SetPayload ¶
func (o *GetReleaseByIDUnauthorized) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get release by Id unauthorized response
func (*GetReleaseByIDUnauthorized) WithPayload ¶
func (o *GetReleaseByIDUnauthorized) WithPayload(payload *models.APIResponse) *GetReleaseByIDUnauthorized
WithPayload adds the payload to the get release by Id unauthorized response
func (*GetReleaseByIDUnauthorized) WriteResponse ¶
func (o *GetReleaseByIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetReleases ¶
type GetReleases struct { Context *middleware.Context Handler GetReleasesHandler }
GetReleases swagger:route GET /releases releases getReleases
Returns all releases ¶
Returns a list of releases
func NewGetReleases ¶
func NewGetReleases(ctx *middleware.Context, handler GetReleasesHandler) *GetReleases
NewGetReleases creates a new http.Handler for the get releases operation
func (*GetReleases) ServeHTTP ¶
func (o *GetReleases) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetReleasesBadRequest ¶
type GetReleasesBadRequest struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` }
GetReleasesBadRequest Bad Request
swagger:response getReleasesBadRequest
func NewGetReleasesBadRequest ¶
func NewGetReleasesBadRequest() *GetReleasesBadRequest
NewGetReleasesBadRequest creates GetReleasesBadRequest with default headers values
func (*GetReleasesBadRequest) SetPayload ¶
func (o *GetReleasesBadRequest) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get releases bad request response
func (*GetReleasesBadRequest) WithPayload ¶
func (o *GetReleasesBadRequest) WithPayload(payload *models.APIResponse) *GetReleasesBadRequest
WithPayload adds the payload to the get releases bad request response
func (*GetReleasesBadRequest) WriteResponse ¶
func (o *GetReleasesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetReleasesHandler ¶
type GetReleasesHandler interface {
Handle(GetReleasesParams) middleware.Responder
}
GetReleasesHandler interface for that can handle valid get releases params
type GetReleasesHandlerFunc ¶
type GetReleasesHandlerFunc func(GetReleasesParams) middleware.Responder
GetReleasesHandlerFunc turns a function with the right signature into a get releases handler
func (GetReleasesHandlerFunc) Handle ¶
func (fn GetReleasesHandlerFunc) Handle(params GetReleasesParams) middleware.Responder
Handle executing the request and returning a response
type GetReleasesInternalServerError ¶
type GetReleasesInternalServerError struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` }
GetReleasesInternalServerError Internal Server Error
swagger:response getReleasesInternalServerError
func NewGetReleasesInternalServerError ¶
func NewGetReleasesInternalServerError() *GetReleasesInternalServerError
NewGetReleasesInternalServerError creates GetReleasesInternalServerError with default headers values
func (*GetReleasesInternalServerError) SetPayload ¶
func (o *GetReleasesInternalServerError) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get releases internal server error response
func (*GetReleasesInternalServerError) WithPayload ¶
func (o *GetReleasesInternalServerError) WithPayload(payload *models.APIResponse) *GetReleasesInternalServerError
WithPayload adds the payload to the get releases internal server error response
func (*GetReleasesInternalServerError) WriteResponse ¶
func (o *GetReleasesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetReleasesOK ¶
type GetReleasesOK struct { /* In: Body */ Payload models.GetReleasesOKBody `json:"body,omitempty"` }
GetReleasesOK OK
swagger:response getReleasesOK
func NewGetReleasesOK ¶
func NewGetReleasesOK() *GetReleasesOK
NewGetReleasesOK creates GetReleasesOK with default headers values
func (*GetReleasesOK) SetPayload ¶
func (o *GetReleasesOK) SetPayload(payload models.GetReleasesOKBody)
SetPayload sets the payload to the get releases o k response
func (*GetReleasesOK) WithPayload ¶
func (o *GetReleasesOK) WithPayload(payload models.GetReleasesOKBody) *GetReleasesOK
WithPayload adds the payload to the get releases o k response
func (*GetReleasesOK) WriteResponse ¶
func (o *GetReleasesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetReleasesParams ¶
type GetReleasesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The node labels to identify applicable clusters In: query */ Labels *string }
GetReleasesParams contains all the bound params for the get releases operation typically these are obtained from a http.Request
swagger:parameters getReleases
func NewGetReleasesParams ¶
func NewGetReleasesParams() GetReleasesParams
NewGetReleasesParams creates a new GetReleasesParams object with the default values initialized.
func (*GetReleasesParams) BindRequest ¶
func (o *GetReleasesParams) 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 GetReleasesURL ¶
type GetReleasesURL struct { Labels *string // contains filtered or unexported fields }
GetReleasesURL generates an URL for the get releases operation
func (*GetReleasesURL) Build ¶
func (o *GetReleasesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetReleasesURL) BuildFull ¶
func (o *GetReleasesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetReleasesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetReleasesURL) SetBasePath ¶
func (o *GetReleasesURL) 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 (*GetReleasesURL) String ¶
func (o *GetReleasesURL) String() string
String returns the string representation of the path with query string
func (*GetReleasesURL) StringFull ¶
func (o *GetReleasesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetReleasesURL) WithBasePath ¶
func (o *GetReleasesURL) WithBasePath(bp string) *GetReleasesURL
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 GetReleasesUnauthorized ¶
type GetReleasesUnauthorized struct { models.APIResponse `json:"body,omitempty"` }Payload *
GetReleasesUnauthorized Unauthorized
swagger:response getReleasesUnauthorized
func NewGetReleasesUnauthorized ¶
func NewGetReleasesUnauthorized() *GetReleasesUnauthorized
NewGetReleasesUnauthorized creates GetReleasesUnauthorized with default headers values
func (*GetReleasesUnauthorized) SetPayload ¶
func (o *GetReleasesUnauthorized) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get releases unauthorized response
func (*GetReleasesUnauthorized) WithPayload ¶
func (o *GetReleasesUnauthorized) WithPayload(payload *models.APIResponse) *GetReleasesUnauthorized
WithPayload adds the payload to the get releases unauthorized response
func (*GetReleasesUnauthorized) WriteResponse ¶
func (o *GetReleasesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateRelease ¶
type UpdateRelease struct { Context *middleware.Context Handler UpdateReleaseHandler }
UpdateRelease swagger:route PUT /releases/{releaseId} releases updateRelease
Update an existing release
func NewUpdateRelease ¶
func NewUpdateRelease(ctx *middleware.Context, handler UpdateReleaseHandler) *UpdateRelease
NewUpdateRelease creates a new http.Handler for the update release operation
func (*UpdateRelease) ServeHTTP ¶
func (o *UpdateRelease) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateReleaseBadRequest ¶
type UpdateReleaseBadRequest struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` }
UpdateReleaseBadRequest Bad Request
swagger:response updateReleaseBadRequest
func NewUpdateReleaseBadRequest ¶
func NewUpdateReleaseBadRequest() *UpdateReleaseBadRequest
NewUpdateReleaseBadRequest creates UpdateReleaseBadRequest with default headers values
func (*UpdateReleaseBadRequest) SetPayload ¶
func (o *UpdateReleaseBadRequest) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the update release bad request response
func (*UpdateReleaseBadRequest) WithPayload ¶
func (o *UpdateReleaseBadRequest) WithPayload(payload *models.APIResponse) *UpdateReleaseBadRequest
WithPayload adds the payload to the update release bad request response
func (*UpdateReleaseBadRequest) WriteResponse ¶
func (o *UpdateReleaseBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateReleaseHandler ¶
type UpdateReleaseHandler interface {
Handle(UpdateReleaseParams) middleware.Responder
}
UpdateReleaseHandler interface for that can handle valid update release params
type UpdateReleaseHandlerFunc ¶
type UpdateReleaseHandlerFunc func(UpdateReleaseParams) middleware.Responder
UpdateReleaseHandlerFunc turns a function with the right signature into a update release handler
func (UpdateReleaseHandlerFunc) Handle ¶
func (fn UpdateReleaseHandlerFunc) Handle(params UpdateReleaseParams) middleware.Responder
Handle executing the request and returning a response
type UpdateReleaseInternalServerError ¶
type UpdateReleaseInternalServerError struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` }
UpdateReleaseInternalServerError Internal Server Error
swagger:response updateReleaseInternalServerError
func NewUpdateReleaseInternalServerError ¶
func NewUpdateReleaseInternalServerError() *UpdateReleaseInternalServerError
NewUpdateReleaseInternalServerError creates UpdateReleaseInternalServerError with default headers values
func (*UpdateReleaseInternalServerError) SetPayload ¶
func (o *UpdateReleaseInternalServerError) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the update release internal server error response
func (*UpdateReleaseInternalServerError) WithPayload ¶
func (o *UpdateReleaseInternalServerError) WithPayload(payload *models.APIResponse) *UpdateReleaseInternalServerError
WithPayload adds the payload to the update release internal server error response
func (*UpdateReleaseInternalServerError) WriteResponse ¶
func (o *UpdateReleaseInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateReleaseNotFound ¶
type UpdateReleaseNotFound struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` }
UpdateReleaseNotFound The specified resource was not found
swagger:response updateReleaseNotFound
func NewUpdateReleaseNotFound ¶
func NewUpdateReleaseNotFound() *UpdateReleaseNotFound
NewUpdateReleaseNotFound creates UpdateReleaseNotFound with default headers values
func (*UpdateReleaseNotFound) SetPayload ¶
func (o *UpdateReleaseNotFound) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the update release not found response
func (*UpdateReleaseNotFound) WithPayload ¶
func (o *UpdateReleaseNotFound) WithPayload(payload *models.APIResponse) *UpdateReleaseNotFound
WithPayload adds the payload to the update release not found response
func (*UpdateReleaseNotFound) WriteResponse ¶
func (o *UpdateReleaseNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateReleaseOK ¶
type UpdateReleaseOK struct { }
UpdateReleaseOK OK
swagger:response updateReleaseOK
func NewUpdateReleaseOK ¶
func NewUpdateReleaseOK() *UpdateReleaseOK
NewUpdateReleaseOK creates UpdateReleaseOK with default headers values
func (*UpdateReleaseOK) WriteResponse ¶
func (o *UpdateReleaseOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateReleaseParams ¶
type UpdateReleaseParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The file to upload Required: true In: formData */ ChartTar runtime.File /*The node labels to identify applicable clusters In: query */ Labels *string /*ID of release to update Required: true In: path */ ReleaseID string }
UpdateReleaseParams contains all the bound params for the update release operation typically these are obtained from a http.Request
swagger:parameters updateRelease
func NewUpdateReleaseParams ¶
func NewUpdateReleaseParams() UpdateReleaseParams
NewUpdateReleaseParams creates a new UpdateReleaseParams object with the default values initialized.
func (*UpdateReleaseParams) BindRequest ¶
func (o *UpdateReleaseParams) 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 UpdateReleaseURL ¶
type UpdateReleaseURL struct { ReleaseID string Labels *string // contains filtered or unexported fields }
UpdateReleaseURL generates an URL for the update release operation
func (*UpdateReleaseURL) Build ¶
func (o *UpdateReleaseURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateReleaseURL) BuildFull ¶
func (o *UpdateReleaseURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateReleaseURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateReleaseURL) SetBasePath ¶
func (o *UpdateReleaseURL) 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 (*UpdateReleaseURL) String ¶
func (o *UpdateReleaseURL) String() string
String returns the string representation of the path with query string
func (*UpdateReleaseURL) StringFull ¶
func (o *UpdateReleaseURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateReleaseURL) WithBasePath ¶
func (o *UpdateReleaseURL) WithBasePath(bp string) *UpdateReleaseURL
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 UpdateReleaseUnauthorized ¶
type UpdateReleaseUnauthorized struct { models.APIResponse `json:"body,omitempty"` }Payload *
UpdateReleaseUnauthorized Unauthorized
swagger:response updateReleaseUnauthorized
func NewUpdateReleaseUnauthorized ¶
func NewUpdateReleaseUnauthorized() *UpdateReleaseUnauthorized
NewUpdateReleaseUnauthorized creates UpdateReleaseUnauthorized with default headers values
func (*UpdateReleaseUnauthorized) SetPayload ¶
func (o *UpdateReleaseUnauthorized) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the update release unauthorized response
func (*UpdateReleaseUnauthorized) WithPayload ¶
func (o *UpdateReleaseUnauthorized) WithPayload(payload *models.APIResponse) *UpdateReleaseUnauthorized
WithPayload adds the payload to the update release unauthorized response
func (*UpdateReleaseUnauthorized) WriteResponse ¶
func (o *UpdateReleaseUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- add_releases.go
- add_releases_parameters.go
- add_releases_responses.go
- add_releases_urlbuilder.go
- delete_release.go
- delete_release_parameters.go
- delete_release_responses.go
- delete_release_urlbuilder.go
- get_release_by_id.go
- get_release_by_id_parameters.go
- get_release_by_id_responses.go
- get_release_by_id_urlbuilder.go
- get_releases.go
- get_releases_parameters.go
- get_releases_responses.go
- get_releases_urlbuilder.go
- update_release.go
- update_release_parameters.go
- update_release_responses.go
- update_release_urlbuilder.go