object

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2022 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteMultipleObjectsOKCode int = 200

DeleteMultipleObjectsOKCode is the HTTP code returned for type DeleteMultipleObjectsOK

View Source
const DeleteObjectOKCode int = 200

DeleteObjectOKCode is the HTTP code returned for type DeleteObjectOK

View Source
const DeleteObjectRetentionOKCode int = 200

DeleteObjectRetentionOKCode is the HTTP code returned for type DeleteObjectRetentionOK

View Source
const DownloadObjectOKCode int = 200

DownloadObjectOKCode is the HTTP code returned for type DownloadObjectOK

View Source
const GetObjectMetadataOKCode int = 200

GetObjectMetadataOKCode is the HTTP code returned for type GetObjectMetadataOK

View Source
const ListObjectsOKCode int = 200

ListObjectsOKCode is the HTTP code returned for type ListObjectsOK

View Source
const PostBucketsBucketNameObjectsUploadOKCode int = 200

PostBucketsBucketNameObjectsUploadOKCode is the HTTP code returned for type PostBucketsBucketNameObjectsUploadOK

View Source
const PutObjectLegalHoldOKCode int = 200

PutObjectLegalHoldOKCode is the HTTP code returned for type PutObjectLegalHoldOK

View Source
const PutObjectRestoreOKCode int = 200

PutObjectRestoreOKCode is the HTTP code returned for type PutObjectRestoreOK

View Source
const PutObjectRetentionOKCode int = 200

PutObjectRetentionOKCode is the HTTP code returned for type PutObjectRetentionOK

View Source
const PutObjectTagsOKCode int = 200

PutObjectTagsOKCode is the HTTP code returned for type PutObjectTagsOK

View Source
const ShareObjectOKCode int = 200

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.Error `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.Error)

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

WithPayload adds the payload to the delete multiple objects default response

func (*DeleteMultipleObjectsDefault) WithStatusCode

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

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
	/*
	  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

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
	// 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

func (o *DeleteMultipleObjectsURL) Must(u *url.URL, err error) *url.URL

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

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.Error `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.Error)

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.Error) *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

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
	*/
	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.Error `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.Error)

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

WithPayload adds the payload to the delete object retention default response

func (*DeleteObjectRetentionDefault) WithStatusCode

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

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

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

func (o *DeleteObjectRetentionURL) Must(u *url.URL, err error) *url.URL

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

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
	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

func (o *DeleteObjectURL) Must(u *url.URL, err error) *url.URL

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 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.Error `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.Error)

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.Error) *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

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

func (o *DownloadObjectURL) Must(u *url.URL, err error) *url.URL

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.Error `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.Error)

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

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

Handle executing the request and returning a response

type GetObjectMetadataOK

type GetObjectMetadataOK struct {

	/*
	  In: Body
	*/
	Payload *models.Metadata `json:"body,omitempty"`
}

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

func (o *GetObjectMetadataURL) Must(u *url.URL, err error) *url.URL

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.Error `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.Error)

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.Error) *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

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
	*/
	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

	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

func (o *ListObjectsURL) Must(u *url.URL, err error) *url.URL

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

type PostBucketsBucketNameObjectsUploadDefault

type PostBucketsBucketNameObjectsUploadDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `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.Error)

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

WithPayload adds the payload to the post buckets bucket name objects upload default response

func (*PostBucketsBucketNameObjectsUploadDefault) WithStatusCode

WithStatusCode adds the status to the post buckets bucket name objects upload default response

func (*PostBucketsBucketNameObjectsUploadDefault) WriteResponse

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

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

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

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

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

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

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.Error `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.Error)

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

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

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

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

func (o *PutObjectLegalHoldURL) Must(u *url.URL, err error) *url.URL

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.Error `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.Error)

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.Error) *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

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

func (o *PutObjectRestoreURL) Must(u *url.URL, err error) *url.URL

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.Error `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.Error)

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

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

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

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

func (o *PutObjectRetentionURL) Must(u *url.URL, err error) *url.URL

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.Error `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.Error)

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.Error) *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

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

func (o *PutObjectTagsURL) Must(u *url.URL, err error) *url.URL

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 {
	Context *middleware.Context
	Handler ShareObjectHandler
}
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 {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

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.Error)

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.Error) *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 {
	Handle(ShareObjectParams, *models.Principal) middleware.Responder
}

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

Handle executing the request and returning a response

type ShareObjectOK

type ShareObjectOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

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 Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	BucketName string
	/*
	  In: query
	*/
	Expires *string
	/*
	  Required: true
	  In: query
	*/
	Prefix string
	/*
	  Required: true
	  In: query
	*/
	VersionID string
}

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 {
	BucketName string

	Expires   *string
	Prefix    string
	VersionID string
	// 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

func (o *ShareObjectURL) Must(u *url.URL, err error) *url.URL

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL