Documentation ¶
Index ¶
- Constants
- type DownloadSharedObject
- type DownloadSharedObjectDefault
- func (o *DownloadSharedObjectDefault) SetPayload(payload *models.APIError)
- func (o *DownloadSharedObjectDefault) SetStatusCode(code int)
- func (o *DownloadSharedObjectDefault) WithPayload(payload *models.APIError) *DownloadSharedObjectDefault
- func (o *DownloadSharedObjectDefault) WithStatusCode(code int) *DownloadSharedObjectDefault
- func (o *DownloadSharedObjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadSharedObjectHandler
- type DownloadSharedObjectHandlerFunc
- type DownloadSharedObjectOK
- type DownloadSharedObjectParams
- type DownloadSharedObjectURL
- func (o *DownloadSharedObjectURL) Build() (*url.URL, error)
- func (o *DownloadSharedObjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DownloadSharedObjectURL) Must(u *url.URL, err error) *url.URL
- func (o *DownloadSharedObjectURL) SetBasePath(bp string)
- func (o *DownloadSharedObjectURL) String() string
- func (o *DownloadSharedObjectURL) StringFull(scheme, host string) string
- func (o *DownloadSharedObjectURL) WithBasePath(bp string) *DownloadSharedObjectURL
Constants ¶
DownloadSharedObjectOKCode is the HTTP code returned for type DownloadSharedObjectOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadSharedObject ¶
type DownloadSharedObject struct {}
DownloadSharedObject swagger:route GET /download-shared-object/{url} Public downloadSharedObject
Downloads an object from a presigned url
func NewDownloadSharedObject ¶
func NewDownloadSharedObject(ctx *middleware.Context, handler DownloadSharedObjectHandler) *DownloadSharedObject
NewDownloadSharedObject creates a new http.Handler for the download shared object operation
func (*DownloadSharedObject) ServeHTTP ¶
func (o *DownloadSharedObject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DownloadSharedObjectDefault ¶
type DownloadSharedObjectDefault struct { models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }Payload *
DownloadSharedObjectDefault Generic error response.
swagger:response downloadSharedObjectDefault
func NewDownloadSharedObjectDefault ¶
func NewDownloadSharedObjectDefault(code int) *DownloadSharedObjectDefault
NewDownloadSharedObjectDefault creates DownloadSharedObjectDefault with default headers values
func (*DownloadSharedObjectDefault) SetPayload ¶
func (o *DownloadSharedObjectDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the download shared object default response
func (*DownloadSharedObjectDefault) SetStatusCode ¶
func (o *DownloadSharedObjectDefault) SetStatusCode(code int)
SetStatusCode sets the status to the download shared object default response
func (*DownloadSharedObjectDefault) WithPayload ¶
func (o *DownloadSharedObjectDefault) WithPayload(payload *models.APIError) *DownloadSharedObjectDefault
WithPayload adds the payload to the download shared object default response
func (*DownloadSharedObjectDefault) WithStatusCode ¶
func (o *DownloadSharedObjectDefault) WithStatusCode(code int) *DownloadSharedObjectDefault
WithStatusCode adds the status to the download shared object default response
func (*DownloadSharedObjectDefault) WriteResponse ¶
func (o *DownloadSharedObjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadSharedObjectHandler ¶
type DownloadSharedObjectHandler interface {
}DownloadSharedObjectHandler interface for that can handle valid download shared object params
type DownloadSharedObjectHandlerFunc ¶
type DownloadSharedObjectHandlerFunc func(DownloadSharedObjectParams) middleware.Responder
DownloadSharedObjectHandlerFunc turns a function with the right signature into a download shared object handler
func (DownloadSharedObjectHandlerFunc) Handle ¶
func (fn DownloadSharedObjectHandlerFunc) Handle(params DownloadSharedObjectParams) middleware.Responder
Handle executing the request and returning a response
type DownloadSharedObjectOK ¶
type DownloadSharedObjectOK struct { io.ReadCloser `json:"body,omitempty"` }Payload
DownloadSharedObjectOK A successful response.
swagger:response downloadSharedObjectOK
func NewDownloadSharedObjectOK ¶
func NewDownloadSharedObjectOK() *DownloadSharedObjectOK
NewDownloadSharedObjectOK creates DownloadSharedObjectOK with default headers values
func (*DownloadSharedObjectOK) SetPayload ¶
func (o *DownloadSharedObjectOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the download shared object o k response
func (*DownloadSharedObjectOK) WithPayload ¶
func (o *DownloadSharedObjectOK) WithPayload(payload io.ReadCloser) *DownloadSharedObjectOK
WithPayload adds the payload to the download shared object o k response
func (*DownloadSharedObjectOK) WriteResponse ¶
func (o *DownloadSharedObjectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadSharedObjectParams ¶
DownloadSharedObjectParams contains all the bound params for the download shared object operation typically these are obtained from a http.Request
swagger:parameters DownloadSharedObject
func NewDownloadSharedObjectParams ¶
func NewDownloadSharedObjectParams() DownloadSharedObjectParams
NewDownloadSharedObjectParams creates a new DownloadSharedObjectParams object
There are no default values defined in the spec.
func (*DownloadSharedObjectParams) BindRequest ¶
func (o *DownloadSharedObjectParams) 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 NewDownloadSharedObjectParams() beforehand.
type DownloadSharedObjectURL ¶
type DownloadSharedObjectURL struct { // contains filtered or unexported fields }
DownloadSharedObjectURL generates an URL for the download shared object operation
func (*DownloadSharedObjectURL) Build ¶
func (o *DownloadSharedObjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*DownloadSharedObjectURL) BuildFull ¶
func (o *DownloadSharedObjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DownloadSharedObjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DownloadSharedObjectURL) SetBasePath ¶
func (o *DownloadSharedObjectURL) 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 (*DownloadSharedObjectURL) String ¶
func (o *DownloadSharedObjectURL) String() string
String returns the string representation of the path with query string
func (*DownloadSharedObjectURL) StringFull ¶
func (o *DownloadSharedObjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DownloadSharedObjectURL) WithBasePath ¶
func (o *DownloadSharedObjectURL) WithBasePath(bp string) *DownloadSharedObjectURL
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