Documentation ¶
Index ¶
- Constants
- type DeleteMultipleObjects
- type DeleteMultipleObjectsDefault
- func (o *DeleteMultipleObjectsDefault) SetPayload(payload *models.APIError)
- func (o *DeleteMultipleObjectsDefault) SetStatusCode(code int)
- func (o *DeleteMultipleObjectsDefault) WithPayload(payload *models.APIError) *DeleteMultipleObjectsDefault
- func (o *DeleteMultipleObjectsDefault) WithStatusCode(code int) *DeleteMultipleObjectsDefault
- func (o *DeleteMultipleObjectsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteMultipleObjectsHandler
- type DeleteMultipleObjectsHandlerFunc
- type DeleteMultipleObjectsOK
- type DeleteMultipleObjectsParams
- type DeleteMultipleObjectsURL
- func (o *DeleteMultipleObjectsURL) Build() (*url.URL, error)
- func (o *DeleteMultipleObjectsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteMultipleObjectsURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteMultipleObjectsURL) SetBasePath(bp string)
- func (o *DeleteMultipleObjectsURL) String() string
- func (o *DeleteMultipleObjectsURL) StringFull(scheme, host string) string
- func (o *DeleteMultipleObjectsURL) WithBasePath(bp string) *DeleteMultipleObjectsURL
- type DeleteObject
- type DeleteObjectDefault
- func (o *DeleteObjectDefault) SetPayload(payload *models.APIError)
- func (o *DeleteObjectDefault) SetStatusCode(code int)
- func (o *DeleteObjectDefault) WithPayload(payload *models.APIError) *DeleteObjectDefault
- func (o *DeleteObjectDefault) WithStatusCode(code int) *DeleteObjectDefault
- func (o *DeleteObjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteObjectHandler
- type DeleteObjectHandlerFunc
- type DeleteObjectOK
- type DeleteObjectParams
- type DeleteObjectRetention
- type DeleteObjectRetentionDefault
- func (o *DeleteObjectRetentionDefault) SetPayload(payload *models.APIError)
- func (o *DeleteObjectRetentionDefault) SetStatusCode(code int)
- func (o *DeleteObjectRetentionDefault) WithPayload(payload *models.APIError) *DeleteObjectRetentionDefault
- func (o *DeleteObjectRetentionDefault) WithStatusCode(code int) *DeleteObjectRetentionDefault
- func (o *DeleteObjectRetentionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteObjectRetentionHandler
- type DeleteObjectRetentionHandlerFunc
- type DeleteObjectRetentionOK
- type DeleteObjectRetentionParams
- type DeleteObjectRetentionURL
- func (o *DeleteObjectRetentionURL) Build() (*url.URL, error)
- func (o *DeleteObjectRetentionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteObjectRetentionURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteObjectRetentionURL) SetBasePath(bp string)
- func (o *DeleteObjectRetentionURL) String() string
- func (o *DeleteObjectRetentionURL) StringFull(scheme, host string) string
- func (o *DeleteObjectRetentionURL) WithBasePath(bp string) *DeleteObjectRetentionURL
- type DeleteObjectURL
- func (o *DeleteObjectURL) Build() (*url.URL, error)
- func (o *DeleteObjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteObjectURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteObjectURL) SetBasePath(bp string)
- func (o *DeleteObjectURL) String() string
- func (o *DeleteObjectURL) StringFull(scheme, host string) string
- func (o *DeleteObjectURL) WithBasePath(bp string) *DeleteObjectURL
- type DownloadMultipleObjects
- type DownloadMultipleObjectsDefault
- func (o *DownloadMultipleObjectsDefault) SetPayload(payload *models.APIError)
- func (o *DownloadMultipleObjectsDefault) SetStatusCode(code int)
- func (o *DownloadMultipleObjectsDefault) WithPayload(payload *models.APIError) *DownloadMultipleObjectsDefault
- func (o *DownloadMultipleObjectsDefault) WithStatusCode(code int) *DownloadMultipleObjectsDefault
- func (o *DownloadMultipleObjectsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadMultipleObjectsHandler
- type DownloadMultipleObjectsHandlerFunc
- type DownloadMultipleObjectsOK
- type DownloadMultipleObjectsParams
- type DownloadMultipleObjectsURL
- func (o *DownloadMultipleObjectsURL) Build() (*url.URL, error)
- func (o *DownloadMultipleObjectsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DownloadMultipleObjectsURL) Must(u *url.URL, err error) *url.URL
- func (o *DownloadMultipleObjectsURL) SetBasePath(bp string)
- func (o *DownloadMultipleObjectsURL) String() string
- func (o *DownloadMultipleObjectsURL) StringFull(scheme, host string) string
- func (o *DownloadMultipleObjectsURL) WithBasePath(bp string) *DownloadMultipleObjectsURL
- type DownloadObject
- type DownloadObjectDefault
- func (o *DownloadObjectDefault) SetPayload(payload *models.APIError)
- func (o *DownloadObjectDefault) SetStatusCode(code int)
- func (o *DownloadObjectDefault) WithPayload(payload *models.APIError) *DownloadObjectDefault
- func (o *DownloadObjectDefault) WithStatusCode(code int) *DownloadObjectDefault
- func (o *DownloadObjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadObjectHandler
- type DownloadObjectHandlerFunc
- type DownloadObjectOK
- type DownloadObjectParams
- type DownloadObjectURL
- func (o *DownloadObjectURL) Build() (*url.URL, error)
- func (o *DownloadObjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DownloadObjectURL) Must(u *url.URL, err error) *url.URL
- func (o *DownloadObjectURL) SetBasePath(bp string)
- func (o *DownloadObjectURL) String() string
- func (o *DownloadObjectURL) StringFull(scheme, host string) string
- func (o *DownloadObjectURL) WithBasePath(bp string) *DownloadObjectURL
- type GetObjectMetadata
- type GetObjectMetadataDefault
- func (o *GetObjectMetadataDefault) SetPayload(payload *models.APIError)
- func (o *GetObjectMetadataDefault) SetStatusCode(code int)
- func (o *GetObjectMetadataDefault) WithPayload(payload *models.APIError) *GetObjectMetadataDefault
- func (o *GetObjectMetadataDefault) WithStatusCode(code int) *GetObjectMetadataDefault
- func (o *GetObjectMetadataDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetObjectMetadataHandler
- type GetObjectMetadataHandlerFunc
- type GetObjectMetadataOK
- type GetObjectMetadataParams
- type GetObjectMetadataURL
- func (o *GetObjectMetadataURL) Build() (*url.URL, error)
- func (o *GetObjectMetadataURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetObjectMetadataURL) Must(u *url.URL, err error) *url.URL
- func (o *GetObjectMetadataURL) SetBasePath(bp string)
- func (o *GetObjectMetadataURL) String() string
- func (o *GetObjectMetadataURL) StringFull(scheme, host string) string
- func (o *GetObjectMetadataURL) WithBasePath(bp string) *GetObjectMetadataURL
- type ListObjects
- type ListObjectsDefault
- func (o *ListObjectsDefault) SetPayload(payload *models.APIError)
- func (o *ListObjectsDefault) SetStatusCode(code int)
- func (o *ListObjectsDefault) WithPayload(payload *models.APIError) *ListObjectsDefault
- func (o *ListObjectsDefault) WithStatusCode(code int) *ListObjectsDefault
- func (o *ListObjectsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListObjectsHandler
- type ListObjectsHandlerFunc
- type ListObjectsOK
- type ListObjectsParams
- type ListObjectsURL
- func (o *ListObjectsURL) Build() (*url.URL, error)
- func (o *ListObjectsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListObjectsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListObjectsURL) SetBasePath(bp string)
- func (o *ListObjectsURL) String() string
- func (o *ListObjectsURL) StringFull(scheme, host string) string
- func (o *ListObjectsURL) WithBasePath(bp string) *ListObjectsURL
- type PostBucketsBucketNameObjectsUpload
- type PostBucketsBucketNameObjectsUploadDefault
- func (o *PostBucketsBucketNameObjectsUploadDefault) SetPayload(payload *models.APIError)
- func (o *PostBucketsBucketNameObjectsUploadDefault) SetStatusCode(code int)
- func (o *PostBucketsBucketNameObjectsUploadDefault) WithPayload(payload *models.APIError) *PostBucketsBucketNameObjectsUploadDefault
- func (o *PostBucketsBucketNameObjectsUploadDefault) WithStatusCode(code int) *PostBucketsBucketNameObjectsUploadDefault
- func (o *PostBucketsBucketNameObjectsUploadDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostBucketsBucketNameObjectsUploadHandler
- type PostBucketsBucketNameObjectsUploadHandlerFunc
- type PostBucketsBucketNameObjectsUploadOK
- type PostBucketsBucketNameObjectsUploadParams
- type PostBucketsBucketNameObjectsUploadURL
- func (o *PostBucketsBucketNameObjectsUploadURL) Build() (*url.URL, error)
- func (o *PostBucketsBucketNameObjectsUploadURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostBucketsBucketNameObjectsUploadURL) Must(u *url.URL, err error) *url.URL
- func (o *PostBucketsBucketNameObjectsUploadURL) SetBasePath(bp string)
- func (o *PostBucketsBucketNameObjectsUploadURL) String() string
- func (o *PostBucketsBucketNameObjectsUploadURL) StringFull(scheme, host string) string
- func (o *PostBucketsBucketNameObjectsUploadURL) WithBasePath(bp string) *PostBucketsBucketNameObjectsUploadURL
- type PutObjectLegalHold
- type PutObjectLegalHoldDefault
- func (o *PutObjectLegalHoldDefault) SetPayload(payload *models.APIError)
- func (o *PutObjectLegalHoldDefault) SetStatusCode(code int)
- func (o *PutObjectLegalHoldDefault) WithPayload(payload *models.APIError) *PutObjectLegalHoldDefault
- func (o *PutObjectLegalHoldDefault) WithStatusCode(code int) *PutObjectLegalHoldDefault
- func (o *PutObjectLegalHoldDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutObjectLegalHoldHandler
- type PutObjectLegalHoldHandlerFunc
- type PutObjectLegalHoldOK
- type PutObjectLegalHoldParams
- type PutObjectLegalHoldURL
- func (o *PutObjectLegalHoldURL) Build() (*url.URL, error)
- func (o *PutObjectLegalHoldURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutObjectLegalHoldURL) Must(u *url.URL, err error) *url.URL
- func (o *PutObjectLegalHoldURL) SetBasePath(bp string)
- func (o *PutObjectLegalHoldURL) String() string
- func (o *PutObjectLegalHoldURL) StringFull(scheme, host string) string
- func (o *PutObjectLegalHoldURL) WithBasePath(bp string) *PutObjectLegalHoldURL
- type PutObjectRestore
- type PutObjectRestoreDefault
- func (o *PutObjectRestoreDefault) SetPayload(payload *models.APIError)
- func (o *PutObjectRestoreDefault) SetStatusCode(code int)
- func (o *PutObjectRestoreDefault) WithPayload(payload *models.APIError) *PutObjectRestoreDefault
- func (o *PutObjectRestoreDefault) WithStatusCode(code int) *PutObjectRestoreDefault
- func (o *PutObjectRestoreDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutObjectRestoreHandler
- type PutObjectRestoreHandlerFunc
- type PutObjectRestoreOK
- type PutObjectRestoreParams
- type PutObjectRestoreURL
- func (o *PutObjectRestoreURL) Build() (*url.URL, error)
- func (o *PutObjectRestoreURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutObjectRestoreURL) Must(u *url.URL, err error) *url.URL
- func (o *PutObjectRestoreURL) SetBasePath(bp string)
- func (o *PutObjectRestoreURL) String() string
- func (o *PutObjectRestoreURL) StringFull(scheme, host string) string
- func (o *PutObjectRestoreURL) WithBasePath(bp string) *PutObjectRestoreURL
- type PutObjectRetention
- type PutObjectRetentionDefault
- func (o *PutObjectRetentionDefault) SetPayload(payload *models.APIError)
- func (o *PutObjectRetentionDefault) SetStatusCode(code int)
- func (o *PutObjectRetentionDefault) WithPayload(payload *models.APIError) *PutObjectRetentionDefault
- func (o *PutObjectRetentionDefault) WithStatusCode(code int) *PutObjectRetentionDefault
- func (o *PutObjectRetentionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutObjectRetentionHandler
- type PutObjectRetentionHandlerFunc
- type PutObjectRetentionOK
- type PutObjectRetentionParams
- type PutObjectRetentionURL
- func (o *PutObjectRetentionURL) Build() (*url.URL, error)
- func (o *PutObjectRetentionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutObjectRetentionURL) Must(u *url.URL, err error) *url.URL
- func (o *PutObjectRetentionURL) SetBasePath(bp string)
- func (o *PutObjectRetentionURL) String() string
- func (o *PutObjectRetentionURL) StringFull(scheme, host string) string
- func (o *PutObjectRetentionURL) WithBasePath(bp string) *PutObjectRetentionURL
- type PutObjectTags
- type PutObjectTagsDefault
- func (o *PutObjectTagsDefault) SetPayload(payload *models.APIError)
- func (o *PutObjectTagsDefault) SetStatusCode(code int)
- func (o *PutObjectTagsDefault) WithPayload(payload *models.APIError) *PutObjectTagsDefault
- func (o *PutObjectTagsDefault) WithStatusCode(code int) *PutObjectTagsDefault
- func (o *PutObjectTagsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutObjectTagsHandler
- type PutObjectTagsHandlerFunc
- type PutObjectTagsOK
- type PutObjectTagsParams
- type PutObjectTagsURL
- func (o *PutObjectTagsURL) Build() (*url.URL, error)
- func (o *PutObjectTagsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutObjectTagsURL) Must(u *url.URL, err error) *url.URL
- func (o *PutObjectTagsURL) SetBasePath(bp string)
- func (o *PutObjectTagsURL) String() string
- func (o *PutObjectTagsURL) StringFull(scheme, host string) string
- func (o *PutObjectTagsURL) WithBasePath(bp string) *PutObjectTagsURL
- type ShareObject
- type ShareObjectDefault
- func (o *ShareObjectDefault) SetPayload(payload *models.APIError)
- func (o *ShareObjectDefault) SetStatusCode(code int)
- func (o *ShareObjectDefault) WithPayload(payload *models.APIError) *ShareObjectDefault
- func (o *ShareObjectDefault) WithStatusCode(code int) *ShareObjectDefault
- func (o *ShareObjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ShareObjectHandler
- type ShareObjectHandlerFunc
- type ShareObjectOK
- type ShareObjectParams
- type ShareObjectURL
- func (o *ShareObjectURL) Build() (*url.URL, error)
- func (o *ShareObjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ShareObjectURL) Must(u *url.URL, err error) *url.URL
- func (o *ShareObjectURL) SetBasePath(bp string)
- func (o *ShareObjectURL) String() string
- func (o *ShareObjectURL) StringFull(scheme, host string) string
- func (o *ShareObjectURL) WithBasePath(bp string) *ShareObjectURL
Constants ¶
const DeleteMultipleObjectsOKCode int = 200
DeleteMultipleObjectsOKCode is the HTTP code returned for type DeleteMultipleObjectsOK
const DeleteObjectOKCode int = 200
DeleteObjectOKCode is the HTTP code returned for type DeleteObjectOK
const DeleteObjectRetentionOKCode int = 200
DeleteObjectRetentionOKCode is the HTTP code returned for type DeleteObjectRetentionOK
const DownloadMultipleObjectsOKCode int = 200
DownloadMultipleObjectsOKCode is the HTTP code returned for type DownloadMultipleObjectsOK
const DownloadObjectOKCode int = 200
DownloadObjectOKCode is the HTTP code returned for type DownloadObjectOK
const GetObjectMetadataOKCode int = 200
GetObjectMetadataOKCode is the HTTP code returned for type GetObjectMetadataOK
const ListObjectsOKCode int = 200
ListObjectsOKCode is the HTTP code returned for type ListObjectsOK
const PostBucketsBucketNameObjectsUploadOKCode int = 200
PostBucketsBucketNameObjectsUploadOKCode is the HTTP code returned for type PostBucketsBucketNameObjectsUploadOK
const PutObjectLegalHoldOKCode int = 200
PutObjectLegalHoldOKCode is the HTTP code returned for type PutObjectLegalHoldOK
const PutObjectRestoreOKCode int = 200
PutObjectRestoreOKCode is the HTTP code returned for type PutObjectRestoreOK
const PutObjectRetentionOKCode int = 200
PutObjectRetentionOKCode is the HTTP code returned for type PutObjectRetentionOK
const PutObjectTagsOKCode int = 200
PutObjectTagsOKCode is the HTTP code returned for type PutObjectTagsOK
ShareObjectOKCode is the HTTP code returned for type ShareObjectOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteMultipleObjects ¶
type DeleteMultipleObjects struct { Context *middleware.Context Handler DeleteMultipleObjectsHandler }
DeleteMultipleObjects swagger:route POST /buckets/{bucket_name}/delete-objects Object deleteMultipleObjects
Delete Multiple Objects
func NewDeleteMultipleObjects ¶
func NewDeleteMultipleObjects(ctx *middleware.Context, handler DeleteMultipleObjectsHandler) *DeleteMultipleObjects
NewDeleteMultipleObjects creates a new http.Handler for the delete multiple objects operation
func (*DeleteMultipleObjects) ServeHTTP ¶
func (o *DeleteMultipleObjects) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteMultipleObjectsDefault ¶
type DeleteMultipleObjectsDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteMultipleObjectsDefault Generic error response.
swagger:response deleteMultipleObjectsDefault
func NewDeleteMultipleObjectsDefault ¶
func NewDeleteMultipleObjectsDefault(code int) *DeleteMultipleObjectsDefault
NewDeleteMultipleObjectsDefault creates DeleteMultipleObjectsDefault with default headers values
func (*DeleteMultipleObjectsDefault) SetPayload ¶
func (o *DeleteMultipleObjectsDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the delete multiple objects default response
func (*DeleteMultipleObjectsDefault) SetStatusCode ¶
func (o *DeleteMultipleObjectsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete multiple objects default response
func (*DeleteMultipleObjectsDefault) WithPayload ¶
func (o *DeleteMultipleObjectsDefault) WithPayload(payload *models.APIError) *DeleteMultipleObjectsDefault
WithPayload adds the payload to the delete multiple objects default response
func (*DeleteMultipleObjectsDefault) WithStatusCode ¶
func (o *DeleteMultipleObjectsDefault) WithStatusCode(code int) *DeleteMultipleObjectsDefault
WithStatusCode adds the status to the delete multiple objects default response
func (*DeleteMultipleObjectsDefault) WriteResponse ¶
func (o *DeleteMultipleObjectsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMultipleObjectsHandler ¶
type DeleteMultipleObjectsHandler interface {
Handle(DeleteMultipleObjectsParams, *models.Principal) middleware.Responder
}
DeleteMultipleObjectsHandler interface for that can handle valid delete multiple objects params
type DeleteMultipleObjectsHandlerFunc ¶
type DeleteMultipleObjectsHandlerFunc func(DeleteMultipleObjectsParams, *models.Principal) middleware.Responder
DeleteMultipleObjectsHandlerFunc turns a function with the right signature into a delete multiple objects handler
func (DeleteMultipleObjectsHandlerFunc) Handle ¶
func (fn DeleteMultipleObjectsHandlerFunc) Handle(params DeleteMultipleObjectsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteMultipleObjectsOK ¶
type DeleteMultipleObjectsOK struct { }
DeleteMultipleObjectsOK A successful response.
swagger:response deleteMultipleObjectsOK
func NewDeleteMultipleObjectsOK ¶
func NewDeleteMultipleObjectsOK() *DeleteMultipleObjectsOK
NewDeleteMultipleObjectsOK creates DeleteMultipleObjectsOK with default headers values
func (*DeleteMultipleObjectsOK) WriteResponse ¶
func (o *DeleteMultipleObjectsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMultipleObjectsParams ¶
type DeleteMultipleObjectsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ AllVersions *bool /* Required: true In: path */ BucketName string /* In: query */ Bypass *bool /* Required: true In: body */ Files []*models.DeleteFile }
DeleteMultipleObjectsParams contains all the bound params for the delete multiple objects operation typically these are obtained from a http.Request
swagger:parameters DeleteMultipleObjects
func NewDeleteMultipleObjectsParams ¶
func NewDeleteMultipleObjectsParams() DeleteMultipleObjectsParams
NewDeleteMultipleObjectsParams creates a new DeleteMultipleObjectsParams object
There are no default values defined in the spec.
func (*DeleteMultipleObjectsParams) BindRequest ¶
func (o *DeleteMultipleObjectsParams) 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 NewDeleteMultipleObjectsParams() beforehand.
type DeleteMultipleObjectsURL ¶
type DeleteMultipleObjectsURL struct { BucketName string AllVersions *bool Bypass *bool // contains filtered or unexported fields }
DeleteMultipleObjectsURL generates an URL for the delete multiple objects operation
func (*DeleteMultipleObjectsURL) Build ¶
func (o *DeleteMultipleObjectsURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteMultipleObjectsURL) BuildFull ¶
func (o *DeleteMultipleObjectsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteMultipleObjectsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteMultipleObjectsURL) SetBasePath ¶
func (o *DeleteMultipleObjectsURL) 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 (*DeleteMultipleObjectsURL) String ¶
func (o *DeleteMultipleObjectsURL) String() string
String returns the string representation of the path with query string
func (*DeleteMultipleObjectsURL) StringFull ¶
func (o *DeleteMultipleObjectsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteMultipleObjectsURL) WithBasePath ¶
func (o *DeleteMultipleObjectsURL) WithBasePath(bp string) *DeleteMultipleObjectsURL
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 DeleteObject ¶
type DeleteObject struct { Context *middleware.Context Handler DeleteObjectHandler }
DeleteObject swagger:route DELETE /buckets/{bucket_name}/objects Object deleteObject
Delete Object
func NewDeleteObject ¶
func NewDeleteObject(ctx *middleware.Context, handler DeleteObjectHandler) *DeleteObject
NewDeleteObject creates a new http.Handler for the delete object operation
func (*DeleteObject) ServeHTTP ¶
func (o *DeleteObject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteObjectDefault ¶
type DeleteObjectDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteObjectDefault Generic error response.
swagger:response deleteObjectDefault
func NewDeleteObjectDefault ¶
func NewDeleteObjectDefault(code int) *DeleteObjectDefault
NewDeleteObjectDefault creates DeleteObjectDefault with default headers values
func (*DeleteObjectDefault) SetPayload ¶
func (o *DeleteObjectDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the delete object default response
func (*DeleteObjectDefault) SetStatusCode ¶
func (o *DeleteObjectDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete object default response
func (*DeleteObjectDefault) WithPayload ¶
func (o *DeleteObjectDefault) WithPayload(payload *models.APIError) *DeleteObjectDefault
WithPayload adds the payload to the delete object default response
func (*DeleteObjectDefault) WithStatusCode ¶
func (o *DeleteObjectDefault) WithStatusCode(code int) *DeleteObjectDefault
WithStatusCode adds the status to the delete object default response
func (*DeleteObjectDefault) WriteResponse ¶
func (o *DeleteObjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteObjectHandler ¶
type DeleteObjectHandler interface {
Handle(DeleteObjectParams, *models.Principal) middleware.Responder
}
DeleteObjectHandler interface for that can handle valid delete object params
type DeleteObjectHandlerFunc ¶
type DeleteObjectHandlerFunc func(DeleteObjectParams, *models.Principal) middleware.Responder
DeleteObjectHandlerFunc turns a function with the right signature into a delete object handler
func (DeleteObjectHandlerFunc) Handle ¶
func (fn DeleteObjectHandlerFunc) Handle(params DeleteObjectParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteObjectOK ¶
type DeleteObjectOK struct { }
DeleteObjectOK A successful response.
swagger:response deleteObjectOK
func NewDeleteObjectOK ¶
func NewDeleteObjectOK() *DeleteObjectOK
NewDeleteObjectOK creates DeleteObjectOK with default headers values
func (*DeleteObjectOK) WriteResponse ¶
func (o *DeleteObjectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteObjectParams ¶
type DeleteObjectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ AllVersions *bool /* Required: true In: path */ BucketName string /* In: query */ Bypass *bool /* In: query */ NonCurrentVersions *bool /* Required: true In: query */ Path string /* In: query */ Recursive *bool /* In: query */ VersionID *string }
DeleteObjectParams contains all the bound params for the delete object operation typically these are obtained from a http.Request
swagger:parameters DeleteObject
func NewDeleteObjectParams ¶
func NewDeleteObjectParams() DeleteObjectParams
NewDeleteObjectParams creates a new DeleteObjectParams object
There are no default values defined in the spec.
func (*DeleteObjectParams) BindRequest ¶
func (o *DeleteObjectParams) 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 NewDeleteObjectParams() beforehand.
type DeleteObjectRetention ¶
type DeleteObjectRetention struct { Context *middleware.Context Handler DeleteObjectRetentionHandler }
DeleteObjectRetention swagger:route DELETE /buckets/{bucket_name}/objects/retention Object deleteObjectRetention
Delete Object retention from an object
func NewDeleteObjectRetention ¶
func NewDeleteObjectRetention(ctx *middleware.Context, handler DeleteObjectRetentionHandler) *DeleteObjectRetention
NewDeleteObjectRetention creates a new http.Handler for the delete object retention operation
func (*DeleteObjectRetention) ServeHTTP ¶
func (o *DeleteObjectRetention) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteObjectRetentionDefault ¶
type DeleteObjectRetentionDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteObjectRetentionDefault Generic error response.
swagger:response deleteObjectRetentionDefault
func NewDeleteObjectRetentionDefault ¶
func NewDeleteObjectRetentionDefault(code int) *DeleteObjectRetentionDefault
NewDeleteObjectRetentionDefault creates DeleteObjectRetentionDefault with default headers values
func (*DeleteObjectRetentionDefault) SetPayload ¶
func (o *DeleteObjectRetentionDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the delete object retention default response
func (*DeleteObjectRetentionDefault) SetStatusCode ¶
func (o *DeleteObjectRetentionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete object retention default response
func (*DeleteObjectRetentionDefault) WithPayload ¶
func (o *DeleteObjectRetentionDefault) WithPayload(payload *models.APIError) *DeleteObjectRetentionDefault
WithPayload adds the payload to the delete object retention default response
func (*DeleteObjectRetentionDefault) WithStatusCode ¶
func (o *DeleteObjectRetentionDefault) WithStatusCode(code int) *DeleteObjectRetentionDefault
WithStatusCode adds the status to the delete object retention default response
func (*DeleteObjectRetentionDefault) WriteResponse ¶
func (o *DeleteObjectRetentionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteObjectRetentionHandler ¶
type DeleteObjectRetentionHandler interface {
Handle(DeleteObjectRetentionParams, *models.Principal) middleware.Responder
}
DeleteObjectRetentionHandler interface for that can handle valid delete object retention params
type DeleteObjectRetentionHandlerFunc ¶
type DeleteObjectRetentionHandlerFunc func(DeleteObjectRetentionParams, *models.Principal) middleware.Responder
DeleteObjectRetentionHandlerFunc turns a function with the right signature into a delete object retention handler
func (DeleteObjectRetentionHandlerFunc) Handle ¶
func (fn DeleteObjectRetentionHandlerFunc) Handle(params DeleteObjectRetentionParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteObjectRetentionOK ¶
type DeleteObjectRetentionOK struct { }
DeleteObjectRetentionOK A successful response.
swagger:response deleteObjectRetentionOK
func NewDeleteObjectRetentionOK ¶
func NewDeleteObjectRetentionOK() *DeleteObjectRetentionOK
NewDeleteObjectRetentionOK creates DeleteObjectRetentionOK with default headers values
func (*DeleteObjectRetentionOK) WriteResponse ¶
func (o *DeleteObjectRetentionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteObjectRetentionParams ¶
type DeleteObjectRetentionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* Required: true In: query */ Prefix string /* Required: true In: query */ VersionID string }
DeleteObjectRetentionParams contains all the bound params for the delete object retention operation typically these are obtained from a http.Request
swagger:parameters DeleteObjectRetention
func NewDeleteObjectRetentionParams ¶
func NewDeleteObjectRetentionParams() DeleteObjectRetentionParams
NewDeleteObjectRetentionParams creates a new DeleteObjectRetentionParams object
There are no default values defined in the spec.
func (*DeleteObjectRetentionParams) BindRequest ¶
func (o *DeleteObjectRetentionParams) 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 NewDeleteObjectRetentionParams() beforehand.
type DeleteObjectRetentionURL ¶
type DeleteObjectRetentionURL struct { BucketName string Prefix string VersionID string // contains filtered or unexported fields }
DeleteObjectRetentionURL generates an URL for the delete object retention operation
func (*DeleteObjectRetentionURL) Build ¶
func (o *DeleteObjectRetentionURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteObjectRetentionURL) BuildFull ¶
func (o *DeleteObjectRetentionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteObjectRetentionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteObjectRetentionURL) SetBasePath ¶
func (o *DeleteObjectRetentionURL) 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 (*DeleteObjectRetentionURL) String ¶
func (o *DeleteObjectRetentionURL) String() string
String returns the string representation of the path with query string
func (*DeleteObjectRetentionURL) StringFull ¶
func (o *DeleteObjectRetentionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteObjectRetentionURL) WithBasePath ¶
func (o *DeleteObjectRetentionURL) WithBasePath(bp string) *DeleteObjectRetentionURL
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 DeleteObjectURL ¶
type DeleteObjectURL struct { BucketName string AllVersions *bool Bypass *bool NonCurrentVersions *bool Path string Recursive *bool VersionID *string // contains filtered or unexported fields }
DeleteObjectURL generates an URL for the delete object operation
func (*DeleteObjectURL) Build ¶
func (o *DeleteObjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteObjectURL) BuildFull ¶
func (o *DeleteObjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteObjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteObjectURL) SetBasePath ¶
func (o *DeleteObjectURL) 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 (*DeleteObjectURL) String ¶
func (o *DeleteObjectURL) String() string
String returns the string representation of the path with query string
func (*DeleteObjectURL) StringFull ¶
func (o *DeleteObjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteObjectURL) WithBasePath ¶
func (o *DeleteObjectURL) WithBasePath(bp string) *DeleteObjectURL
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 DownloadMultipleObjects ¶ added in v0.35.0
type DownloadMultipleObjects struct { Context *middleware.Context Handler DownloadMultipleObjectsHandler }
DownloadMultipleObjects swagger:route POST /buckets/{bucket_name}/objects/download-multiple Object downloadMultipleObjects
Download Multiple Objects
func NewDownloadMultipleObjects ¶ added in v0.35.0
func NewDownloadMultipleObjects(ctx *middleware.Context, handler DownloadMultipleObjectsHandler) *DownloadMultipleObjects
NewDownloadMultipleObjects creates a new http.Handler for the download multiple objects operation
func (*DownloadMultipleObjects) ServeHTTP ¶ added in v0.35.0
func (o *DownloadMultipleObjects) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DownloadMultipleObjectsDefault ¶ added in v0.35.0
type DownloadMultipleObjectsDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
DownloadMultipleObjectsDefault Generic error response.
swagger:response downloadMultipleObjectsDefault
func NewDownloadMultipleObjectsDefault ¶ added in v0.35.0
func NewDownloadMultipleObjectsDefault(code int) *DownloadMultipleObjectsDefault
NewDownloadMultipleObjectsDefault creates DownloadMultipleObjectsDefault with default headers values
func (*DownloadMultipleObjectsDefault) SetPayload ¶ added in v0.35.0
func (o *DownloadMultipleObjectsDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the download multiple objects default response
func (*DownloadMultipleObjectsDefault) SetStatusCode ¶ added in v0.35.0
func (o *DownloadMultipleObjectsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the download multiple objects default response
func (*DownloadMultipleObjectsDefault) WithPayload ¶ added in v0.35.0
func (o *DownloadMultipleObjectsDefault) WithPayload(payload *models.APIError) *DownloadMultipleObjectsDefault
WithPayload adds the payload to the download multiple objects default response
func (*DownloadMultipleObjectsDefault) WithStatusCode ¶ added in v0.35.0
func (o *DownloadMultipleObjectsDefault) WithStatusCode(code int) *DownloadMultipleObjectsDefault
WithStatusCode adds the status to the download multiple objects default response
func (*DownloadMultipleObjectsDefault) WriteResponse ¶ added in v0.35.0
func (o *DownloadMultipleObjectsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadMultipleObjectsHandler ¶ added in v0.35.0
type DownloadMultipleObjectsHandler interface {
Handle(DownloadMultipleObjectsParams, *models.Principal) middleware.Responder
}
DownloadMultipleObjectsHandler interface for that can handle valid download multiple objects params
type DownloadMultipleObjectsHandlerFunc ¶ added in v0.35.0
type DownloadMultipleObjectsHandlerFunc func(DownloadMultipleObjectsParams, *models.Principal) middleware.Responder
DownloadMultipleObjectsHandlerFunc turns a function with the right signature into a download multiple objects handler
func (DownloadMultipleObjectsHandlerFunc) Handle ¶ added in v0.35.0
func (fn DownloadMultipleObjectsHandlerFunc) Handle(params DownloadMultipleObjectsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DownloadMultipleObjectsOK ¶ added in v0.35.0
type DownloadMultipleObjectsOK struct { /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
DownloadMultipleObjectsOK A successful response.
swagger:response downloadMultipleObjectsOK
func NewDownloadMultipleObjectsOK ¶ added in v0.35.0
func NewDownloadMultipleObjectsOK() *DownloadMultipleObjectsOK
NewDownloadMultipleObjectsOK creates DownloadMultipleObjectsOK with default headers values
func (*DownloadMultipleObjectsOK) SetPayload ¶ added in v0.35.0
func (o *DownloadMultipleObjectsOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the download multiple objects o k response
func (*DownloadMultipleObjectsOK) WithPayload ¶ added in v0.35.0
func (o *DownloadMultipleObjectsOK) WithPayload(payload io.ReadCloser) *DownloadMultipleObjectsOK
WithPayload adds the payload to the download multiple objects o k response
func (*DownloadMultipleObjectsOK) WriteResponse ¶ added in v0.35.0
func (o *DownloadMultipleObjectsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadMultipleObjectsParams ¶ added in v0.35.0
type DownloadMultipleObjectsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* Required: true In: body */ ObjectList []string }
DownloadMultipleObjectsParams contains all the bound params for the download multiple objects operation typically these are obtained from a http.Request
swagger:parameters DownloadMultipleObjects
func NewDownloadMultipleObjectsParams ¶ added in v0.35.0
func NewDownloadMultipleObjectsParams() DownloadMultipleObjectsParams
NewDownloadMultipleObjectsParams creates a new DownloadMultipleObjectsParams object
There are no default values defined in the spec.
func (*DownloadMultipleObjectsParams) BindRequest ¶ added in v0.35.0
func (o *DownloadMultipleObjectsParams) 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 NewDownloadMultipleObjectsParams() beforehand.
type DownloadMultipleObjectsURL ¶ added in v0.35.0
type DownloadMultipleObjectsURL struct { BucketName string // contains filtered or unexported fields }
DownloadMultipleObjectsURL generates an URL for the download multiple objects operation
func (*DownloadMultipleObjectsURL) Build ¶ added in v0.35.0
func (o *DownloadMultipleObjectsURL) Build() (*url.URL, error)
Build a url path and query string
func (*DownloadMultipleObjectsURL) BuildFull ¶ added in v0.35.0
func (o *DownloadMultipleObjectsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DownloadMultipleObjectsURL) Must ¶ added in v0.35.0
Must is a helper function to panic when the url builder returns an error
func (*DownloadMultipleObjectsURL) SetBasePath ¶ added in v0.35.0
func (o *DownloadMultipleObjectsURL) 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 (*DownloadMultipleObjectsURL) String ¶ added in v0.35.0
func (o *DownloadMultipleObjectsURL) String() string
String returns the string representation of the path with query string
func (*DownloadMultipleObjectsURL) StringFull ¶ added in v0.35.0
func (o *DownloadMultipleObjectsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DownloadMultipleObjectsURL) WithBasePath ¶ added in v0.35.0
func (o *DownloadMultipleObjectsURL) WithBasePath(bp string) *DownloadMultipleObjectsURL
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 DownloadObject ¶
type DownloadObject struct { Context *middleware.Context Handler DownloadObjectHandler }
DownloadObject swagger:route GET /buckets/{bucket_name}/objects/download Object downloadObject
Download Object
func NewDownloadObject ¶
func NewDownloadObject(ctx *middleware.Context, handler DownloadObjectHandler) *DownloadObject
NewDownloadObject creates a new http.Handler for the download object operation
func (*DownloadObject) ServeHTTP ¶
func (o *DownloadObject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DownloadObjectDefault ¶
type DownloadObjectDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
DownloadObjectDefault Generic error response.
swagger:response downloadObjectDefault
func NewDownloadObjectDefault ¶
func NewDownloadObjectDefault(code int) *DownloadObjectDefault
NewDownloadObjectDefault creates DownloadObjectDefault with default headers values
func (*DownloadObjectDefault) SetPayload ¶
func (o *DownloadObjectDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the download object default response
func (*DownloadObjectDefault) SetStatusCode ¶
func (o *DownloadObjectDefault) SetStatusCode(code int)
SetStatusCode sets the status to the download object default response
func (*DownloadObjectDefault) WithPayload ¶
func (o *DownloadObjectDefault) WithPayload(payload *models.APIError) *DownloadObjectDefault
WithPayload adds the payload to the download object default response
func (*DownloadObjectDefault) WithStatusCode ¶
func (o *DownloadObjectDefault) WithStatusCode(code int) *DownloadObjectDefault
WithStatusCode adds the status to the download object default response
func (*DownloadObjectDefault) WriteResponse ¶
func (o *DownloadObjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadObjectHandler ¶
type DownloadObjectHandler interface {
Handle(DownloadObjectParams, *models.Principal) middleware.Responder
}
DownloadObjectHandler interface for that can handle valid download object params
type DownloadObjectHandlerFunc ¶
type DownloadObjectHandlerFunc func(DownloadObjectParams, *models.Principal) middleware.Responder
DownloadObjectHandlerFunc turns a function with the right signature into a download object handler
func (DownloadObjectHandlerFunc) Handle ¶
func (fn DownloadObjectHandlerFunc) Handle(params DownloadObjectParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DownloadObjectOK ¶
type DownloadObjectOK struct { /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
DownloadObjectOK A successful response.
swagger:response downloadObjectOK
func NewDownloadObjectOK ¶
func NewDownloadObjectOK() *DownloadObjectOK
NewDownloadObjectOK creates DownloadObjectOK with default headers values
func (*DownloadObjectOK) SetPayload ¶
func (o *DownloadObjectOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the download object o k response
func (*DownloadObjectOK) WithPayload ¶
func (o *DownloadObjectOK) WithPayload(payload io.ReadCloser) *DownloadObjectOK
WithPayload adds the payload to the download object o k response
func (*DownloadObjectOK) WriteResponse ¶
func (o *DownloadObjectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadObjectParams ¶
type DownloadObjectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* In: query Default: "" */ OverrideFileName *string /* Required: true In: query */ Prefix string /* In: query Default: false */ Preview *bool /* In: query */ VersionID *string }
DownloadObjectParams contains all the bound params for the download object operation typically these are obtained from a http.Request
swagger:parameters Download Object
func NewDownloadObjectParams ¶
func NewDownloadObjectParams() DownloadObjectParams
NewDownloadObjectParams creates a new DownloadObjectParams object with the default values initialized.
func (*DownloadObjectParams) BindRequest ¶
func (o *DownloadObjectParams) 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 NewDownloadObjectParams() beforehand.
type DownloadObjectURL ¶
type DownloadObjectURL struct { BucketName string OverrideFileName *string Prefix string Preview *bool VersionID *string // contains filtered or unexported fields }
DownloadObjectURL generates an URL for the download object operation
func (*DownloadObjectURL) Build ¶
func (o *DownloadObjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*DownloadObjectURL) BuildFull ¶
func (o *DownloadObjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DownloadObjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DownloadObjectURL) SetBasePath ¶
func (o *DownloadObjectURL) 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 (*DownloadObjectURL) String ¶
func (o *DownloadObjectURL) String() string
String returns the string representation of the path with query string
func (*DownloadObjectURL) StringFull ¶
func (o *DownloadObjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DownloadObjectURL) WithBasePath ¶
func (o *DownloadObjectURL) WithBasePath(bp string) *DownloadObjectURL
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 GetObjectMetadata ¶
type GetObjectMetadata struct { Context *middleware.Context Handler GetObjectMetadataHandler }
GetObjectMetadata swagger:route GET /buckets/{bucket_name}/objects/metadata Object getObjectMetadata
Gets the metadata of an object
func NewGetObjectMetadata ¶
func NewGetObjectMetadata(ctx *middleware.Context, handler GetObjectMetadataHandler) *GetObjectMetadata
NewGetObjectMetadata creates a new http.Handler for the get object metadata operation
func (*GetObjectMetadata) ServeHTTP ¶
func (o *GetObjectMetadata) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetObjectMetadataDefault ¶
type GetObjectMetadataDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
GetObjectMetadataDefault Generic error response.
swagger:response getObjectMetadataDefault
func NewGetObjectMetadataDefault ¶
func NewGetObjectMetadataDefault(code int) *GetObjectMetadataDefault
NewGetObjectMetadataDefault creates GetObjectMetadataDefault with default headers values
func (*GetObjectMetadataDefault) SetPayload ¶
func (o *GetObjectMetadataDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the get object metadata default response
func (*GetObjectMetadataDefault) SetStatusCode ¶
func (o *GetObjectMetadataDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get object metadata default response
func (*GetObjectMetadataDefault) WithPayload ¶
func (o *GetObjectMetadataDefault) WithPayload(payload *models.APIError) *GetObjectMetadataDefault
WithPayload adds the payload to the get object metadata default response
func (*GetObjectMetadataDefault) WithStatusCode ¶
func (o *GetObjectMetadataDefault) WithStatusCode(code int) *GetObjectMetadataDefault
WithStatusCode adds the status to the get object metadata default response
func (*GetObjectMetadataDefault) WriteResponse ¶
func (o *GetObjectMetadataDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetObjectMetadataHandler ¶
type GetObjectMetadataHandler interface {
Handle(GetObjectMetadataParams, *models.Principal) middleware.Responder
}
GetObjectMetadataHandler interface for that can handle valid get object metadata params
type GetObjectMetadataHandlerFunc ¶
type GetObjectMetadataHandlerFunc func(GetObjectMetadataParams, *models.Principal) middleware.Responder
GetObjectMetadataHandlerFunc turns a function with the right signature into a get object metadata handler
func (GetObjectMetadataHandlerFunc) Handle ¶
func (fn GetObjectMetadataHandlerFunc) Handle(params GetObjectMetadataParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetObjectMetadataOK ¶
GetObjectMetadataOK A successful response.
swagger:response getObjectMetadataOK
func NewGetObjectMetadataOK ¶
func NewGetObjectMetadataOK() *GetObjectMetadataOK
NewGetObjectMetadataOK creates GetObjectMetadataOK with default headers values
func (*GetObjectMetadataOK) SetPayload ¶
func (o *GetObjectMetadataOK) SetPayload(payload *models.Metadata)
SetPayload sets the payload to the get object metadata o k response
func (*GetObjectMetadataOK) WithPayload ¶
func (o *GetObjectMetadataOK) WithPayload(payload *models.Metadata) *GetObjectMetadataOK
WithPayload adds the payload to the get object metadata o k response
func (*GetObjectMetadataOK) WriteResponse ¶
func (o *GetObjectMetadataOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetObjectMetadataParams ¶
type GetObjectMetadataParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* Required: true In: query */ Prefix string }
GetObjectMetadataParams contains all the bound params for the get object metadata operation typically these are obtained from a http.Request
swagger:parameters GetObjectMetadata
func NewGetObjectMetadataParams ¶
func NewGetObjectMetadataParams() GetObjectMetadataParams
NewGetObjectMetadataParams creates a new GetObjectMetadataParams object
There are no default values defined in the spec.
func (*GetObjectMetadataParams) BindRequest ¶
func (o *GetObjectMetadataParams) 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 NewGetObjectMetadataParams() beforehand.
type GetObjectMetadataURL ¶
type GetObjectMetadataURL struct { BucketName string Prefix string // contains filtered or unexported fields }
GetObjectMetadataURL generates an URL for the get object metadata operation
func (*GetObjectMetadataURL) Build ¶
func (o *GetObjectMetadataURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetObjectMetadataURL) BuildFull ¶
func (o *GetObjectMetadataURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetObjectMetadataURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetObjectMetadataURL) SetBasePath ¶
func (o *GetObjectMetadataURL) 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 (*GetObjectMetadataURL) String ¶
func (o *GetObjectMetadataURL) String() string
String returns the string representation of the path with query string
func (*GetObjectMetadataURL) StringFull ¶
func (o *GetObjectMetadataURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetObjectMetadataURL) WithBasePath ¶
func (o *GetObjectMetadataURL) WithBasePath(bp string) *GetObjectMetadataURL
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 ListObjects ¶
type ListObjects struct { Context *middleware.Context Handler ListObjectsHandler }
ListObjects swagger:route GET /buckets/{bucket_name}/objects Object listObjects
List Objects
func NewListObjects ¶
func NewListObjects(ctx *middleware.Context, handler ListObjectsHandler) *ListObjects
NewListObjects creates a new http.Handler for the list objects operation
func (*ListObjects) ServeHTTP ¶
func (o *ListObjects) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListObjectsDefault ¶
type ListObjectsDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
ListObjectsDefault Generic error response.
swagger:response listObjectsDefault
func NewListObjectsDefault ¶
func NewListObjectsDefault(code int) *ListObjectsDefault
NewListObjectsDefault creates ListObjectsDefault with default headers values
func (*ListObjectsDefault) SetPayload ¶
func (o *ListObjectsDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the list objects default response
func (*ListObjectsDefault) SetStatusCode ¶
func (o *ListObjectsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list objects default response
func (*ListObjectsDefault) WithPayload ¶
func (o *ListObjectsDefault) WithPayload(payload *models.APIError) *ListObjectsDefault
WithPayload adds the payload to the list objects default response
func (*ListObjectsDefault) WithStatusCode ¶
func (o *ListObjectsDefault) WithStatusCode(code int) *ListObjectsDefault
WithStatusCode adds the status to the list objects default response
func (*ListObjectsDefault) WriteResponse ¶
func (o *ListObjectsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListObjectsHandler ¶
type ListObjectsHandler interface {
Handle(ListObjectsParams, *models.Principal) middleware.Responder
}
ListObjectsHandler interface for that can handle valid list objects params
type ListObjectsHandlerFunc ¶
type ListObjectsHandlerFunc func(ListObjectsParams, *models.Principal) middleware.Responder
ListObjectsHandlerFunc turns a function with the right signature into a list objects handler
func (ListObjectsHandlerFunc) Handle ¶
func (fn ListObjectsHandlerFunc) Handle(params ListObjectsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ListObjectsOK ¶
type ListObjectsOK struct { /* In: Body */ Payload *models.ListObjectsResponse `json:"body,omitempty"` }
ListObjectsOK A successful response.
swagger:response listObjectsOK
func NewListObjectsOK ¶
func NewListObjectsOK() *ListObjectsOK
NewListObjectsOK creates ListObjectsOK with default headers values
func (*ListObjectsOK) SetPayload ¶
func (o *ListObjectsOK) SetPayload(payload *models.ListObjectsResponse)
SetPayload sets the payload to the list objects o k response
func (*ListObjectsOK) WithPayload ¶
func (o *ListObjectsOK) WithPayload(payload *models.ListObjectsResponse) *ListObjectsOK
WithPayload adds the payload to the list objects o k response
func (*ListObjectsOK) WriteResponse ¶
func (o *ListObjectsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListObjectsParams ¶
type ListObjectsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* In: query */ Limit *int32 /* In: query */ Prefix *string /* In: query */ Recursive *bool /* In: query */ WithMetadata *bool /* In: query */ WithVersions *bool }
ListObjectsParams contains all the bound params for the list objects operation typically these are obtained from a http.Request
swagger:parameters ListObjects
func NewListObjectsParams ¶
func NewListObjectsParams() ListObjectsParams
NewListObjectsParams creates a new ListObjectsParams object
There are no default values defined in the spec.
func (*ListObjectsParams) BindRequest ¶
func (o *ListObjectsParams) 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 NewListObjectsParams() beforehand.
type ListObjectsURL ¶
type ListObjectsURL struct { BucketName string Limit *int32 Prefix *string Recursive *bool WithMetadata *bool WithVersions *bool // contains filtered or unexported fields }
ListObjectsURL generates an URL for the list objects operation
func (*ListObjectsURL) Build ¶
func (o *ListObjectsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListObjectsURL) BuildFull ¶
func (o *ListObjectsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListObjectsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListObjectsURL) SetBasePath ¶
func (o *ListObjectsURL) 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 (*ListObjectsURL) String ¶
func (o *ListObjectsURL) String() string
String returns the string representation of the path with query string
func (*ListObjectsURL) StringFull ¶
func (o *ListObjectsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListObjectsURL) WithBasePath ¶
func (o *ListObjectsURL) WithBasePath(bp string) *ListObjectsURL
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 PostBucketsBucketNameObjectsUpload ¶
type PostBucketsBucketNameObjectsUpload struct { Context *middleware.Context Handler PostBucketsBucketNameObjectsUploadHandler }
PostBucketsBucketNameObjectsUpload swagger:route POST /buckets/{bucket_name}/objects/upload Object postBucketsBucketNameObjectsUpload
Uploads an Object.
func NewPostBucketsBucketNameObjectsUpload ¶
func NewPostBucketsBucketNameObjectsUpload(ctx *middleware.Context, handler PostBucketsBucketNameObjectsUploadHandler) *PostBucketsBucketNameObjectsUpload
NewPostBucketsBucketNameObjectsUpload creates a new http.Handler for the post buckets bucket name objects upload operation
func (*PostBucketsBucketNameObjectsUpload) ServeHTTP ¶
func (o *PostBucketsBucketNameObjectsUpload) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostBucketsBucketNameObjectsUploadDefault ¶
type PostBucketsBucketNameObjectsUploadDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
PostBucketsBucketNameObjectsUploadDefault Generic error response.
swagger:response postBucketsBucketNameObjectsUploadDefault
func NewPostBucketsBucketNameObjectsUploadDefault ¶
func NewPostBucketsBucketNameObjectsUploadDefault(code int) *PostBucketsBucketNameObjectsUploadDefault
NewPostBucketsBucketNameObjectsUploadDefault creates PostBucketsBucketNameObjectsUploadDefault with default headers values
func (*PostBucketsBucketNameObjectsUploadDefault) SetPayload ¶
func (o *PostBucketsBucketNameObjectsUploadDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the post buckets bucket name objects upload default response
func (*PostBucketsBucketNameObjectsUploadDefault) SetStatusCode ¶
func (o *PostBucketsBucketNameObjectsUploadDefault) SetStatusCode(code int)
SetStatusCode sets the status to the post buckets bucket name objects upload default response
func (*PostBucketsBucketNameObjectsUploadDefault) WithPayload ¶
func (o *PostBucketsBucketNameObjectsUploadDefault) WithPayload(payload *models.APIError) *PostBucketsBucketNameObjectsUploadDefault
WithPayload adds the payload to the post buckets bucket name objects upload default response
func (*PostBucketsBucketNameObjectsUploadDefault) WithStatusCode ¶
func (o *PostBucketsBucketNameObjectsUploadDefault) WithStatusCode(code int) *PostBucketsBucketNameObjectsUploadDefault
WithStatusCode adds the status to the post buckets bucket name objects upload default response
func (*PostBucketsBucketNameObjectsUploadDefault) WriteResponse ¶
func (o *PostBucketsBucketNameObjectsUploadDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostBucketsBucketNameObjectsUploadHandler ¶
type PostBucketsBucketNameObjectsUploadHandler interface {
Handle(PostBucketsBucketNameObjectsUploadParams, *models.Principal) middleware.Responder
}
PostBucketsBucketNameObjectsUploadHandler interface for that can handle valid post buckets bucket name objects upload params
type PostBucketsBucketNameObjectsUploadHandlerFunc ¶
type PostBucketsBucketNameObjectsUploadHandlerFunc func(PostBucketsBucketNameObjectsUploadParams, *models.Principal) middleware.Responder
PostBucketsBucketNameObjectsUploadHandlerFunc turns a function with the right signature into a post buckets bucket name objects upload handler
func (PostBucketsBucketNameObjectsUploadHandlerFunc) Handle ¶
func (fn PostBucketsBucketNameObjectsUploadHandlerFunc) Handle(params PostBucketsBucketNameObjectsUploadParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PostBucketsBucketNameObjectsUploadOK ¶
type PostBucketsBucketNameObjectsUploadOK struct { }
PostBucketsBucketNameObjectsUploadOK A successful response.
swagger:response postBucketsBucketNameObjectsUploadOK
func NewPostBucketsBucketNameObjectsUploadOK ¶
func NewPostBucketsBucketNameObjectsUploadOK() *PostBucketsBucketNameObjectsUploadOK
NewPostBucketsBucketNameObjectsUploadOK creates PostBucketsBucketNameObjectsUploadOK with default headers values
func (*PostBucketsBucketNameObjectsUploadOK) WriteResponse ¶
func (o *PostBucketsBucketNameObjectsUploadOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostBucketsBucketNameObjectsUploadParams ¶
type PostBucketsBucketNameObjectsUploadParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* In: query */ Prefix *string }
PostBucketsBucketNameObjectsUploadParams contains all the bound params for the post buckets bucket name objects upload operation typically these are obtained from a http.Request
swagger:parameters PostBucketsBucketNameObjectsUpload
func NewPostBucketsBucketNameObjectsUploadParams ¶
func NewPostBucketsBucketNameObjectsUploadParams() PostBucketsBucketNameObjectsUploadParams
NewPostBucketsBucketNameObjectsUploadParams creates a new PostBucketsBucketNameObjectsUploadParams object
There are no default values defined in the spec.
func (*PostBucketsBucketNameObjectsUploadParams) BindRequest ¶
func (o *PostBucketsBucketNameObjectsUploadParams) 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 NewPostBucketsBucketNameObjectsUploadParams() beforehand.
type PostBucketsBucketNameObjectsUploadURL ¶
type PostBucketsBucketNameObjectsUploadURL struct { BucketName string Prefix *string // contains filtered or unexported fields }
PostBucketsBucketNameObjectsUploadURL generates an URL for the post buckets bucket name objects upload operation
func (*PostBucketsBucketNameObjectsUploadURL) Build ¶
func (o *PostBucketsBucketNameObjectsUploadURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostBucketsBucketNameObjectsUploadURL) BuildFull ¶
func (o *PostBucketsBucketNameObjectsUploadURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostBucketsBucketNameObjectsUploadURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostBucketsBucketNameObjectsUploadURL) SetBasePath ¶
func (o *PostBucketsBucketNameObjectsUploadURL) 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 (*PostBucketsBucketNameObjectsUploadURL) String ¶
func (o *PostBucketsBucketNameObjectsUploadURL) String() string
String returns the string representation of the path with query string
func (*PostBucketsBucketNameObjectsUploadURL) StringFull ¶
func (o *PostBucketsBucketNameObjectsUploadURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostBucketsBucketNameObjectsUploadURL) WithBasePath ¶
func (o *PostBucketsBucketNameObjectsUploadURL) WithBasePath(bp string) *PostBucketsBucketNameObjectsUploadURL
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 PutObjectLegalHold ¶
type PutObjectLegalHold struct { Context *middleware.Context Handler PutObjectLegalHoldHandler }
PutObjectLegalHold swagger:route PUT /buckets/{bucket_name}/objects/legalhold Object putObjectLegalHold
Put Object's legalhold status
func NewPutObjectLegalHold ¶
func NewPutObjectLegalHold(ctx *middleware.Context, handler PutObjectLegalHoldHandler) *PutObjectLegalHold
NewPutObjectLegalHold creates a new http.Handler for the put object legal hold operation
func (*PutObjectLegalHold) ServeHTTP ¶
func (o *PutObjectLegalHold) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutObjectLegalHoldDefault ¶
type PutObjectLegalHoldDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
PutObjectLegalHoldDefault Generic error response.
swagger:response putObjectLegalHoldDefault
func NewPutObjectLegalHoldDefault ¶
func NewPutObjectLegalHoldDefault(code int) *PutObjectLegalHoldDefault
NewPutObjectLegalHoldDefault creates PutObjectLegalHoldDefault with default headers values
func (*PutObjectLegalHoldDefault) SetPayload ¶
func (o *PutObjectLegalHoldDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the put object legal hold default response
func (*PutObjectLegalHoldDefault) SetStatusCode ¶
func (o *PutObjectLegalHoldDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put object legal hold default response
func (*PutObjectLegalHoldDefault) WithPayload ¶
func (o *PutObjectLegalHoldDefault) WithPayload(payload *models.APIError) *PutObjectLegalHoldDefault
WithPayload adds the payload to the put object legal hold default response
func (*PutObjectLegalHoldDefault) WithStatusCode ¶
func (o *PutObjectLegalHoldDefault) WithStatusCode(code int) *PutObjectLegalHoldDefault
WithStatusCode adds the status to the put object legal hold default response
func (*PutObjectLegalHoldDefault) WriteResponse ¶
func (o *PutObjectLegalHoldDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectLegalHoldHandler ¶
type PutObjectLegalHoldHandler interface {
Handle(PutObjectLegalHoldParams, *models.Principal) middleware.Responder
}
PutObjectLegalHoldHandler interface for that can handle valid put object legal hold params
type PutObjectLegalHoldHandlerFunc ¶
type PutObjectLegalHoldHandlerFunc func(PutObjectLegalHoldParams, *models.Principal) middleware.Responder
PutObjectLegalHoldHandlerFunc turns a function with the right signature into a put object legal hold handler
func (PutObjectLegalHoldHandlerFunc) Handle ¶
func (fn PutObjectLegalHoldHandlerFunc) Handle(params PutObjectLegalHoldParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PutObjectLegalHoldOK ¶
type PutObjectLegalHoldOK struct { }
PutObjectLegalHoldOK A successful response.
swagger:response putObjectLegalHoldOK
func NewPutObjectLegalHoldOK ¶
func NewPutObjectLegalHoldOK() *PutObjectLegalHoldOK
NewPutObjectLegalHoldOK creates PutObjectLegalHoldOK with default headers values
func (*PutObjectLegalHoldOK) WriteResponse ¶
func (o *PutObjectLegalHoldOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectLegalHoldParams ¶
type PutObjectLegalHoldParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.PutObjectLegalHoldRequest /* Required: true In: path */ BucketName string /* Required: true In: query */ Prefix string /* Required: true In: query */ VersionID string }
PutObjectLegalHoldParams contains all the bound params for the put object legal hold operation typically these are obtained from a http.Request
swagger:parameters PutObjectLegalHold
func NewPutObjectLegalHoldParams ¶
func NewPutObjectLegalHoldParams() PutObjectLegalHoldParams
NewPutObjectLegalHoldParams creates a new PutObjectLegalHoldParams object
There are no default values defined in the spec.
func (*PutObjectLegalHoldParams) BindRequest ¶
func (o *PutObjectLegalHoldParams) 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 NewPutObjectLegalHoldParams() beforehand.
type PutObjectLegalHoldURL ¶
type PutObjectLegalHoldURL struct { BucketName string Prefix string VersionID string // contains filtered or unexported fields }
PutObjectLegalHoldURL generates an URL for the put object legal hold operation
func (*PutObjectLegalHoldURL) Build ¶
func (o *PutObjectLegalHoldURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutObjectLegalHoldURL) BuildFull ¶
func (o *PutObjectLegalHoldURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutObjectLegalHoldURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutObjectLegalHoldURL) SetBasePath ¶
func (o *PutObjectLegalHoldURL) 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 (*PutObjectLegalHoldURL) String ¶
func (o *PutObjectLegalHoldURL) String() string
String returns the string representation of the path with query string
func (*PutObjectLegalHoldURL) StringFull ¶
func (o *PutObjectLegalHoldURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutObjectLegalHoldURL) WithBasePath ¶
func (o *PutObjectLegalHoldURL) WithBasePath(bp string) *PutObjectLegalHoldURL
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 PutObjectRestore ¶
type PutObjectRestore struct { Context *middleware.Context Handler PutObjectRestoreHandler }
PutObjectRestore swagger:route PUT /buckets/{bucket_name}/objects/restore Object putObjectRestore
Restore Object to a selected version
func NewPutObjectRestore ¶
func NewPutObjectRestore(ctx *middleware.Context, handler PutObjectRestoreHandler) *PutObjectRestore
NewPutObjectRestore creates a new http.Handler for the put object restore operation
func (*PutObjectRestore) ServeHTTP ¶
func (o *PutObjectRestore) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutObjectRestoreDefault ¶
type PutObjectRestoreDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
PutObjectRestoreDefault Generic error response.
swagger:response putObjectRestoreDefault
func NewPutObjectRestoreDefault ¶
func NewPutObjectRestoreDefault(code int) *PutObjectRestoreDefault
NewPutObjectRestoreDefault creates PutObjectRestoreDefault with default headers values
func (*PutObjectRestoreDefault) SetPayload ¶
func (o *PutObjectRestoreDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the put object restore default response
func (*PutObjectRestoreDefault) SetStatusCode ¶
func (o *PutObjectRestoreDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put object restore default response
func (*PutObjectRestoreDefault) WithPayload ¶
func (o *PutObjectRestoreDefault) WithPayload(payload *models.APIError) *PutObjectRestoreDefault
WithPayload adds the payload to the put object restore default response
func (*PutObjectRestoreDefault) WithStatusCode ¶
func (o *PutObjectRestoreDefault) WithStatusCode(code int) *PutObjectRestoreDefault
WithStatusCode adds the status to the put object restore default response
func (*PutObjectRestoreDefault) WriteResponse ¶
func (o *PutObjectRestoreDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectRestoreHandler ¶
type PutObjectRestoreHandler interface {
Handle(PutObjectRestoreParams, *models.Principal) middleware.Responder
}
PutObjectRestoreHandler interface for that can handle valid put object restore params
type PutObjectRestoreHandlerFunc ¶
type PutObjectRestoreHandlerFunc func(PutObjectRestoreParams, *models.Principal) middleware.Responder
PutObjectRestoreHandlerFunc turns a function with the right signature into a put object restore handler
func (PutObjectRestoreHandlerFunc) Handle ¶
func (fn PutObjectRestoreHandlerFunc) Handle(params PutObjectRestoreParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PutObjectRestoreOK ¶
type PutObjectRestoreOK struct { }
PutObjectRestoreOK A successful response.
swagger:response putObjectRestoreOK
func NewPutObjectRestoreOK ¶
func NewPutObjectRestoreOK() *PutObjectRestoreOK
NewPutObjectRestoreOK creates PutObjectRestoreOK with default headers values
func (*PutObjectRestoreOK) WriteResponse ¶
func (o *PutObjectRestoreOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectRestoreParams ¶
type PutObjectRestoreParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* Required: true In: query */ Prefix string /* Required: true In: query */ VersionID string }
PutObjectRestoreParams contains all the bound params for the put object restore operation typically these are obtained from a http.Request
swagger:parameters PutObjectRestore
func NewPutObjectRestoreParams ¶
func NewPutObjectRestoreParams() PutObjectRestoreParams
NewPutObjectRestoreParams creates a new PutObjectRestoreParams object
There are no default values defined in the spec.
func (*PutObjectRestoreParams) BindRequest ¶
func (o *PutObjectRestoreParams) 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 NewPutObjectRestoreParams() beforehand.
type PutObjectRestoreURL ¶
type PutObjectRestoreURL struct { BucketName string Prefix string VersionID string // contains filtered or unexported fields }
PutObjectRestoreURL generates an URL for the put object restore operation
func (*PutObjectRestoreURL) Build ¶
func (o *PutObjectRestoreURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutObjectRestoreURL) BuildFull ¶
func (o *PutObjectRestoreURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutObjectRestoreURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutObjectRestoreURL) SetBasePath ¶
func (o *PutObjectRestoreURL) 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 (*PutObjectRestoreURL) String ¶
func (o *PutObjectRestoreURL) String() string
String returns the string representation of the path with query string
func (*PutObjectRestoreURL) StringFull ¶
func (o *PutObjectRestoreURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutObjectRestoreURL) WithBasePath ¶
func (o *PutObjectRestoreURL) WithBasePath(bp string) *PutObjectRestoreURL
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 PutObjectRetention ¶
type PutObjectRetention struct { Context *middleware.Context Handler PutObjectRetentionHandler }
PutObjectRetention swagger:route PUT /buckets/{bucket_name}/objects/retention Object putObjectRetention
Put Object's retention status
func NewPutObjectRetention ¶
func NewPutObjectRetention(ctx *middleware.Context, handler PutObjectRetentionHandler) *PutObjectRetention
NewPutObjectRetention creates a new http.Handler for the put object retention operation
func (*PutObjectRetention) ServeHTTP ¶
func (o *PutObjectRetention) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutObjectRetentionDefault ¶
type PutObjectRetentionDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
PutObjectRetentionDefault Generic error response.
swagger:response putObjectRetentionDefault
func NewPutObjectRetentionDefault ¶
func NewPutObjectRetentionDefault(code int) *PutObjectRetentionDefault
NewPutObjectRetentionDefault creates PutObjectRetentionDefault with default headers values
func (*PutObjectRetentionDefault) SetPayload ¶
func (o *PutObjectRetentionDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the put object retention default response
func (*PutObjectRetentionDefault) SetStatusCode ¶
func (o *PutObjectRetentionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put object retention default response
func (*PutObjectRetentionDefault) WithPayload ¶
func (o *PutObjectRetentionDefault) WithPayload(payload *models.APIError) *PutObjectRetentionDefault
WithPayload adds the payload to the put object retention default response
func (*PutObjectRetentionDefault) WithStatusCode ¶
func (o *PutObjectRetentionDefault) WithStatusCode(code int) *PutObjectRetentionDefault
WithStatusCode adds the status to the put object retention default response
func (*PutObjectRetentionDefault) WriteResponse ¶
func (o *PutObjectRetentionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectRetentionHandler ¶
type PutObjectRetentionHandler interface {
Handle(PutObjectRetentionParams, *models.Principal) middleware.Responder
}
PutObjectRetentionHandler interface for that can handle valid put object retention params
type PutObjectRetentionHandlerFunc ¶
type PutObjectRetentionHandlerFunc func(PutObjectRetentionParams, *models.Principal) middleware.Responder
PutObjectRetentionHandlerFunc turns a function with the right signature into a put object retention handler
func (PutObjectRetentionHandlerFunc) Handle ¶
func (fn PutObjectRetentionHandlerFunc) Handle(params PutObjectRetentionParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PutObjectRetentionOK ¶
type PutObjectRetentionOK struct { }
PutObjectRetentionOK A successful response.
swagger:response putObjectRetentionOK
func NewPutObjectRetentionOK ¶
func NewPutObjectRetentionOK() *PutObjectRetentionOK
NewPutObjectRetentionOK creates PutObjectRetentionOK with default headers values
func (*PutObjectRetentionOK) WriteResponse ¶
func (o *PutObjectRetentionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectRetentionParams ¶
type PutObjectRetentionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.PutObjectRetentionRequest /* Required: true In: path */ BucketName string /* Required: true In: query */ Prefix string /* Required: true In: query */ VersionID string }
PutObjectRetentionParams contains all the bound params for the put object retention operation typically these are obtained from a http.Request
swagger:parameters PutObjectRetention
func NewPutObjectRetentionParams ¶
func NewPutObjectRetentionParams() PutObjectRetentionParams
NewPutObjectRetentionParams creates a new PutObjectRetentionParams object
There are no default values defined in the spec.
func (*PutObjectRetentionParams) BindRequest ¶
func (o *PutObjectRetentionParams) 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 NewPutObjectRetentionParams() beforehand.
type PutObjectRetentionURL ¶
type PutObjectRetentionURL struct { BucketName string Prefix string VersionID string // contains filtered or unexported fields }
PutObjectRetentionURL generates an URL for the put object retention operation
func (*PutObjectRetentionURL) Build ¶
func (o *PutObjectRetentionURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutObjectRetentionURL) BuildFull ¶
func (o *PutObjectRetentionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutObjectRetentionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutObjectRetentionURL) SetBasePath ¶
func (o *PutObjectRetentionURL) 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 (*PutObjectRetentionURL) String ¶
func (o *PutObjectRetentionURL) String() string
String returns the string representation of the path with query string
func (*PutObjectRetentionURL) StringFull ¶
func (o *PutObjectRetentionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutObjectRetentionURL) WithBasePath ¶
func (o *PutObjectRetentionURL) WithBasePath(bp string) *PutObjectRetentionURL
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 PutObjectTags ¶
type PutObjectTags struct { Context *middleware.Context Handler PutObjectTagsHandler }
PutObjectTags swagger:route PUT /buckets/{bucket_name}/objects/tags Object putObjectTags
Put Object's tags
func NewPutObjectTags ¶
func NewPutObjectTags(ctx *middleware.Context, handler PutObjectTagsHandler) *PutObjectTags
NewPutObjectTags creates a new http.Handler for the put object tags operation
func (*PutObjectTags) ServeHTTP ¶
func (o *PutObjectTags) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutObjectTagsDefault ¶
type PutObjectTagsDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
PutObjectTagsDefault Generic error response.
swagger:response putObjectTagsDefault
func NewPutObjectTagsDefault ¶
func NewPutObjectTagsDefault(code int) *PutObjectTagsDefault
NewPutObjectTagsDefault creates PutObjectTagsDefault with default headers values
func (*PutObjectTagsDefault) SetPayload ¶
func (o *PutObjectTagsDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the put object tags default response
func (*PutObjectTagsDefault) SetStatusCode ¶
func (o *PutObjectTagsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put object tags default response
func (*PutObjectTagsDefault) WithPayload ¶
func (o *PutObjectTagsDefault) WithPayload(payload *models.APIError) *PutObjectTagsDefault
WithPayload adds the payload to the put object tags default response
func (*PutObjectTagsDefault) WithStatusCode ¶
func (o *PutObjectTagsDefault) WithStatusCode(code int) *PutObjectTagsDefault
WithStatusCode adds the status to the put object tags default response
func (*PutObjectTagsDefault) WriteResponse ¶
func (o *PutObjectTagsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectTagsHandler ¶
type PutObjectTagsHandler interface {
Handle(PutObjectTagsParams, *models.Principal) middleware.Responder
}
PutObjectTagsHandler interface for that can handle valid put object tags params
type PutObjectTagsHandlerFunc ¶
type PutObjectTagsHandlerFunc func(PutObjectTagsParams, *models.Principal) middleware.Responder
PutObjectTagsHandlerFunc turns a function with the right signature into a put object tags handler
func (PutObjectTagsHandlerFunc) Handle ¶
func (fn PutObjectTagsHandlerFunc) Handle(params PutObjectTagsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PutObjectTagsOK ¶
type PutObjectTagsOK struct { }
PutObjectTagsOK A successful response.
swagger:response putObjectTagsOK
func NewPutObjectTagsOK ¶
func NewPutObjectTagsOK() *PutObjectTagsOK
NewPutObjectTagsOK creates PutObjectTagsOK with default headers values
func (*PutObjectTagsOK) WriteResponse ¶
func (o *PutObjectTagsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectTagsParams ¶
type PutObjectTagsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.PutObjectTagsRequest /* Required: true In: path */ BucketName string /* Required: true In: query */ Prefix string /* Required: true In: query */ VersionID string }
PutObjectTagsParams contains all the bound params for the put object tags operation typically these are obtained from a http.Request
swagger:parameters PutObjectTags
func NewPutObjectTagsParams ¶
func NewPutObjectTagsParams() PutObjectTagsParams
NewPutObjectTagsParams creates a new PutObjectTagsParams object
There are no default values defined in the spec.
func (*PutObjectTagsParams) BindRequest ¶
func (o *PutObjectTagsParams) 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 NewPutObjectTagsParams() beforehand.
type PutObjectTagsURL ¶
type PutObjectTagsURL struct { BucketName string Prefix string VersionID string // contains filtered or unexported fields }
PutObjectTagsURL generates an URL for the put object tags operation
func (*PutObjectTagsURL) Build ¶
func (o *PutObjectTagsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutObjectTagsURL) BuildFull ¶
func (o *PutObjectTagsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutObjectTagsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutObjectTagsURL) SetBasePath ¶
func (o *PutObjectTagsURL) 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 (*PutObjectTagsURL) String ¶
func (o *PutObjectTagsURL) String() string
String returns the string representation of the path with query string
func (*PutObjectTagsURL) StringFull ¶
func (o *PutObjectTagsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutObjectTagsURL) WithBasePath ¶
func (o *PutObjectTagsURL) WithBasePath(bp string) *PutObjectTagsURL
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 ShareObject ¶
type ShareObject struct {}
ShareObject swagger:route GET /buckets/{bucket_name}/objects/share Object shareObject
Shares an Object on a url
func NewShareObject ¶
func NewShareObject(ctx *middleware.Context, handler ShareObjectHandler) *ShareObject
NewShareObject creates a new http.Handler for the share object operation
func (*ShareObject) ServeHTTP ¶
func (o *ShareObject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ShareObjectDefault ¶
type ShareObjectDefault struct { models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }Payload *
ShareObjectDefault Generic error response.
swagger:response shareObjectDefault
func NewShareObjectDefault ¶
func NewShareObjectDefault(code int) *ShareObjectDefault
NewShareObjectDefault creates ShareObjectDefault with default headers values
func (*ShareObjectDefault) SetPayload ¶
func (o *ShareObjectDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the share object default response
func (*ShareObjectDefault) SetStatusCode ¶
func (o *ShareObjectDefault) SetStatusCode(code int)
SetStatusCode sets the status to the share object default response
func (*ShareObjectDefault) WithPayload ¶
func (o *ShareObjectDefault) WithPayload(payload *models.APIError) *ShareObjectDefault
WithPayload adds the payload to the share object default response
func (*ShareObjectDefault) WithStatusCode ¶
func (o *ShareObjectDefault) WithStatusCode(code int) *ShareObjectDefault
WithStatusCode adds the status to the share object default response
func (*ShareObjectDefault) WriteResponse ¶
func (o *ShareObjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShareObjectHandler ¶
type ShareObjectHandler interface {
}ShareObjectHandler interface for that can handle valid share object params
type ShareObjectHandlerFunc ¶
type ShareObjectHandlerFunc func(ShareObjectParams, *models.Principal) middleware.Responder
ShareObjectHandlerFunc turns a function with the right signature into a share object handler
func (ShareObjectHandlerFunc) Handle ¶
func (fn ShareObjectHandlerFunc) Handle(params ShareObjectParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ShareObjectOK ¶
type ShareObjectOK struct { string `json:"body,omitempty"` }Payload
ShareObjectOK A successful response.
swagger:response shareObjectOK
func NewShareObjectOK ¶
func NewShareObjectOK() *ShareObjectOK
NewShareObjectOK creates ShareObjectOK with default headers values
func (*ShareObjectOK) SetPayload ¶
func (o *ShareObjectOK) SetPayload(payload string)
SetPayload sets the payload to the share object o k response
func (*ShareObjectOK) WithPayload ¶
func (o *ShareObjectOK) WithPayload(payload string) *ShareObjectOK
WithPayload adds the payload to the share object o k response
func (*ShareObjectOK) WriteResponse ¶
func (o *ShareObjectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShareObjectParams ¶
type ShareObjectParams struct { http.Request `json:"-"` BucketName string Expires *string Prefix string VersionID string }HTTPRequest *
ShareObjectParams contains all the bound params for the share object operation typically these are obtained from a http.Request
swagger:parameters ShareObject
func NewShareObjectParams ¶
func NewShareObjectParams() ShareObjectParams
NewShareObjectParams creates a new ShareObjectParams object
There are no default values defined in the spec.
func (*ShareObjectParams) BindRequest ¶
func (o *ShareObjectParams) 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 NewShareObjectParams() beforehand.
type ShareObjectURL ¶
type ShareObjectURL struct { // contains filtered or unexported fields }
ShareObjectURL generates an URL for the share object operation
func (*ShareObjectURL) Build ¶
func (o *ShareObjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*ShareObjectURL) BuildFull ¶
func (o *ShareObjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ShareObjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ShareObjectURL) SetBasePath ¶
func (o *ShareObjectURL) 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 (*ShareObjectURL) String ¶
func (o *ShareObjectURL) String() string
String returns the string representation of the path with query string
func (*ShareObjectURL) StringFull ¶
func (o *ShareObjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ShareObjectURL) WithBasePath ¶
func (o *ShareObjectURL) WithBasePath(bp string) *ShareObjectURL
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 ¶
- delete_multiple_objects.go
- delete_multiple_objects_parameters.go
- delete_multiple_objects_responses.go
- delete_multiple_objects_urlbuilder.go
- delete_object.go
- delete_object_parameters.go
- delete_object_responses.go
- delete_object_retention.go
- delete_object_retention_parameters.go
- delete_object_retention_responses.go
- delete_object_retention_urlbuilder.go
- delete_object_urlbuilder.go
- download_multiple_objects.go
- download_multiple_objects_parameters.go
- download_multiple_objects_responses.go
- download_multiple_objects_urlbuilder.go
- download_object.go
- download_object_parameters.go
- download_object_responses.go
- download_object_urlbuilder.go
- get_object_metadata.go
- get_object_metadata_parameters.go
- get_object_metadata_responses.go
- get_object_metadata_urlbuilder.go
- list_objects.go
- list_objects_parameters.go
- list_objects_responses.go
- list_objects_urlbuilder.go
- post_buckets_bucket_name_objects_upload.go
- post_buckets_bucket_name_objects_upload_parameters.go
- post_buckets_bucket_name_objects_upload_responses.go
- post_buckets_bucket_name_objects_upload_urlbuilder.go
- put_object_legal_hold.go
- put_object_legal_hold_parameters.go
- put_object_legal_hold_responses.go
- put_object_legal_hold_urlbuilder.go
- put_object_restore.go
- put_object_restore_parameters.go
- put_object_restore_responses.go
- put_object_restore_urlbuilder.go
- put_object_retention.go
- put_object_retention_parameters.go
- put_object_retention_responses.go
- put_object_retention_urlbuilder.go
- put_object_tags.go
- put_object_tags_parameters.go
- put_object_tags_responses.go
- put_object_tags_urlbuilder.go
- share_object.go
- share_object_parameters.go
- share_object_responses.go
- share_object_urlbuilder.go