bucket

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const AddBucketLifecycleCreatedCode int = 201

AddBucketLifecycleCreatedCode is the HTTP code returned for type AddBucketLifecycleCreated

View Source
const AddMultiBucketLifecycleOKCode int = 200

AddMultiBucketLifecycleOKCode is the HTTP code returned for type AddMultiBucketLifecycleOK

View Source
const AddRemoteBucketCreatedCode int = 201

AddRemoteBucketCreatedCode is the HTTP code returned for type AddRemoteBucketCreated

View Source
const BucketInfoOKCode int = 200

BucketInfoOKCode is the HTTP code returned for type BucketInfoOK

View Source
const BucketSetPolicyOKCode int = 200

BucketSetPolicyOKCode is the HTTP code returned for type BucketSetPolicyOK

View Source
const CreateBucketEventCreatedCode int = 201

CreateBucketEventCreatedCode is the HTTP code returned for type CreateBucketEventCreated

View Source
const DeleteAccessRuleWithBucketOKCode int = 200

DeleteAccessRuleWithBucketOKCode is the HTTP code returned for type DeleteAccessRuleWithBucketOK

View Source
const DeleteAllReplicationRulesNoContentCode int = 204

DeleteAllReplicationRulesNoContentCode is the HTTP code returned for type DeleteAllReplicationRulesNoContent

View Source
const DeleteBucketEventNoContentCode int = 204

DeleteBucketEventNoContentCode is the HTTP code returned for type DeleteBucketEventNoContent

View Source
const DeleteBucketLifecycleRuleNoContentCode int = 204

DeleteBucketLifecycleRuleNoContentCode is the HTTP code returned for type DeleteBucketLifecycleRuleNoContent

View Source
const DeleteBucketNoContentCode int = 204

DeleteBucketNoContentCode is the HTTP code returned for type DeleteBucketNoContent

View Source
const DeleteBucketReplicationRuleNoContentCode int = 204

DeleteBucketReplicationRuleNoContentCode is the HTTP code returned for type DeleteBucketReplicationRuleNoContent

View Source
const DeleteRemoteBucketNoContentCode int = 204

DeleteRemoteBucketNoContentCode is the HTTP code returned for type DeleteRemoteBucketNoContent

View Source
const DeleteSelectedReplicationRulesNoContentCode int = 204

DeleteSelectedReplicationRulesNoContentCode is the HTTP code returned for type DeleteSelectedReplicationRulesNoContent

View Source
const DisableBucketEncryptionOKCode int = 200

DisableBucketEncryptionOKCode is the HTTP code returned for type DisableBucketEncryptionOK

View Source
const EnableBucketEncryptionOKCode int = 200

EnableBucketEncryptionOKCode is the HTTP code returned for type EnableBucketEncryptionOK

View Source
const GetBucketEncryptionInfoOKCode int = 200

GetBucketEncryptionInfoOKCode is the HTTP code returned for type GetBucketEncryptionInfoOK

View Source
const GetBucketLifecycleOKCode int = 200

GetBucketLifecycleOKCode is the HTTP code returned for type GetBucketLifecycleOK

View Source
const GetBucketObjectLockingStatusOKCode int = 200

GetBucketObjectLockingStatusOKCode is the HTTP code returned for type GetBucketObjectLockingStatusOK

View Source
const GetBucketQuotaOKCode int = 200

GetBucketQuotaOKCode is the HTTP code returned for type GetBucketQuotaOK

View Source
const GetBucketReplicationOKCode int = 200

GetBucketReplicationOKCode is the HTTP code returned for type GetBucketReplicationOK

View Source
const GetBucketReplicationRuleOKCode int = 200

GetBucketReplicationRuleOKCode is the HTTP code returned for type GetBucketReplicationRuleOK

View Source
const GetBucketRetentionConfigOKCode int = 200

GetBucketRetentionConfigOKCode is the HTTP code returned for type GetBucketRetentionConfigOK

View Source
const GetBucketRewindOKCode int = 200

GetBucketRewindOKCode is the HTTP code returned for type GetBucketRewindOK

View Source
const GetBucketVersioningOKCode int = 200

GetBucketVersioningOKCode is the HTTP code returned for type GetBucketVersioningOK

View Source
const ListAccessRulesWithBucketOKCode int = 200

ListAccessRulesWithBucketOKCode is the HTTP code returned for type ListAccessRulesWithBucketOK

View Source
const ListBucketEventsOKCode int = 200

ListBucketEventsOKCode is the HTTP code returned for type ListBucketEventsOK

View Source
const ListBucketsOKCode int = 200

ListBucketsOKCode is the HTTP code returned for type ListBucketsOK

View Source
const ListExternalBucketsOKCode int = 200

ListExternalBucketsOKCode is the HTTP code returned for type ListExternalBucketsOK

View Source
const ListPoliciesWithBucketOKCode int = 200

ListPoliciesWithBucketOKCode is the HTTP code returned for type ListPoliciesWithBucketOK

View Source
const ListRemoteBucketsOKCode int = 200

ListRemoteBucketsOKCode is the HTTP code returned for type ListRemoteBucketsOK

View Source
const ListUsersWithAccessToBucketOKCode int = 200

ListUsersWithAccessToBucketOKCode is the HTTP code returned for type ListUsersWithAccessToBucketOK

View Source
const MakeBucketCreatedCode int = 201

MakeBucketCreatedCode is the HTTP code returned for type MakeBucketCreated

View Source
const PutBucketTagsOKCode int = 200

PutBucketTagsOKCode is the HTTP code returned for type PutBucketTagsOK

View Source
const RemoteBucketDetailsOKCode int = 200

RemoteBucketDetailsOKCode is the HTTP code returned for type RemoteBucketDetailsOK

View Source
const SetAccessRuleWithBucketOKCode int = 200

SetAccessRuleWithBucketOKCode is the HTTP code returned for type SetAccessRuleWithBucketOK

View Source
const SetBucketQuotaOKCode int = 200

SetBucketQuotaOKCode is the HTTP code returned for type SetBucketQuotaOK

View Source
const SetBucketRetentionConfigOKCode int = 200

SetBucketRetentionConfigOKCode is the HTTP code returned for type SetBucketRetentionConfigOK

View Source
const SetBucketVersioningCreatedCode int = 201

SetBucketVersioningCreatedCode is the HTTP code returned for type SetBucketVersioningCreated

View Source
const SetMultiBucketReplicationOKCode int = 200

SetMultiBucketReplicationOKCode is the HTTP code returned for type SetMultiBucketReplicationOK

View Source
const UpdateBucketLifecycleOKCode int = 200

UpdateBucketLifecycleOKCode is the HTTP code returned for type UpdateBucketLifecycleOK

View Source
const UpdateMultiBucketReplicationCreatedCode int = 201

UpdateMultiBucketReplicationCreatedCode is the HTTP code returned for type UpdateMultiBucketReplicationCreated

Variables

This section is empty.

Functions

This section is empty.

Types

type AddBucketLifecycle

type AddBucketLifecycle struct {
	Context *middleware.Context
	Handler AddBucketLifecycleHandler
}
AddBucketLifecycle swagger:route POST /buckets/{bucket_name}/lifecycle Bucket addBucketLifecycle

Add Bucket Lifecycle

func NewAddBucketLifecycle

func NewAddBucketLifecycle(ctx *middleware.Context, handler AddBucketLifecycleHandler) *AddBucketLifecycle

NewAddBucketLifecycle creates a new http.Handler for the add bucket lifecycle operation

func (*AddBucketLifecycle) ServeHTTP

func (o *AddBucketLifecycle) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type AddBucketLifecycleCreated

type AddBucketLifecycleCreated struct {
}

AddBucketLifecycleCreated A successful response.

swagger:response addBucketLifecycleCreated

func NewAddBucketLifecycleCreated

func NewAddBucketLifecycleCreated() *AddBucketLifecycleCreated

NewAddBucketLifecycleCreated creates AddBucketLifecycleCreated with default headers values

func (*AddBucketLifecycleCreated) WriteResponse

func (o *AddBucketLifecycleCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddBucketLifecycleDefault

type AddBucketLifecycleDefault struct {

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

AddBucketLifecycleDefault Generic error response.

swagger:response addBucketLifecycleDefault

func NewAddBucketLifecycleDefault

func NewAddBucketLifecycleDefault(code int) *AddBucketLifecycleDefault

NewAddBucketLifecycleDefault creates AddBucketLifecycleDefault with default headers values

func (*AddBucketLifecycleDefault) SetPayload

func (o *AddBucketLifecycleDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the add bucket lifecycle default response

func (*AddBucketLifecycleDefault) SetStatusCode

func (o *AddBucketLifecycleDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add bucket lifecycle default response

func (*AddBucketLifecycleDefault) WithPayload

WithPayload adds the payload to the add bucket lifecycle default response

func (*AddBucketLifecycleDefault) WithStatusCode

func (o *AddBucketLifecycleDefault) WithStatusCode(code int) *AddBucketLifecycleDefault

WithStatusCode adds the status to the add bucket lifecycle default response

func (*AddBucketLifecycleDefault) WriteResponse

func (o *AddBucketLifecycleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddBucketLifecycleHandler

type AddBucketLifecycleHandler interface {
	Handle(AddBucketLifecycleParams, *models.Principal) middleware.Responder
}

AddBucketLifecycleHandler interface for that can handle valid add bucket lifecycle params

type AddBucketLifecycleHandlerFunc

type AddBucketLifecycleHandlerFunc func(AddBucketLifecycleParams, *models.Principal) middleware.Responder

AddBucketLifecycleHandlerFunc turns a function with the right signature into a add bucket lifecycle handler

func (AddBucketLifecycleHandlerFunc) Handle

Handle executing the request and returning a response

type AddBucketLifecycleParams

type AddBucketLifecycleParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.AddBucketLifecycle
	/*
	  Required: true
	  In: path
	*/
	BucketName string
}

AddBucketLifecycleParams contains all the bound params for the add bucket lifecycle operation typically these are obtained from a http.Request

swagger:parameters AddBucketLifecycle

func NewAddBucketLifecycleParams

func NewAddBucketLifecycleParams() AddBucketLifecycleParams

NewAddBucketLifecycleParams creates a new AddBucketLifecycleParams object

There are no default values defined in the spec.

func (*AddBucketLifecycleParams) 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 NewAddBucketLifecycleParams() beforehand.

type AddBucketLifecycleURL

type AddBucketLifecycleURL struct {
	BucketName string
	// contains filtered or unexported fields
}

AddBucketLifecycleURL generates an URL for the add bucket lifecycle operation

func (*AddBucketLifecycleURL) Build

func (o *AddBucketLifecycleURL) Build() (*url.URL, error)

Build a url path and query string

func (*AddBucketLifecycleURL) BuildFull

func (o *AddBucketLifecycleURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*AddBucketLifecycleURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*AddBucketLifecycleURL) SetBasePath

func (o *AddBucketLifecycleURL) 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 (*AddBucketLifecycleURL) String

func (o *AddBucketLifecycleURL) String() string

String returns the string representation of the path with query string

func (*AddBucketLifecycleURL) StringFull

func (o *AddBucketLifecycleURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*AddBucketLifecycleURL) WithBasePath

func (o *AddBucketLifecycleURL) WithBasePath(bp string) *AddBucketLifecycleURL

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 AddMultiBucketLifecycle

type AddMultiBucketLifecycle struct {
	Context *middleware.Context
	Handler AddMultiBucketLifecycleHandler
}
AddMultiBucketLifecycle swagger:route POST /buckets/multi-lifecycle Bucket addMultiBucketLifecycle

Add Multi Bucket Lifecycle

func NewAddMultiBucketLifecycle

func NewAddMultiBucketLifecycle(ctx *middleware.Context, handler AddMultiBucketLifecycleHandler) *AddMultiBucketLifecycle

NewAddMultiBucketLifecycle creates a new http.Handler for the add multi bucket lifecycle operation

func (*AddMultiBucketLifecycle) ServeHTTP

type AddMultiBucketLifecycleDefault

type AddMultiBucketLifecycleDefault struct {

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

AddMultiBucketLifecycleDefault Generic error response.

swagger:response addMultiBucketLifecycleDefault

func NewAddMultiBucketLifecycleDefault

func NewAddMultiBucketLifecycleDefault(code int) *AddMultiBucketLifecycleDefault

NewAddMultiBucketLifecycleDefault creates AddMultiBucketLifecycleDefault with default headers values

func (*AddMultiBucketLifecycleDefault) SetPayload

func (o *AddMultiBucketLifecycleDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the add multi bucket lifecycle default response

func (*AddMultiBucketLifecycleDefault) SetStatusCode

func (o *AddMultiBucketLifecycleDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add multi bucket lifecycle default response

func (*AddMultiBucketLifecycleDefault) WithPayload

WithPayload adds the payload to the add multi bucket lifecycle default response

func (*AddMultiBucketLifecycleDefault) WithStatusCode

WithStatusCode adds the status to the add multi bucket lifecycle default response

func (*AddMultiBucketLifecycleDefault) WriteResponse

func (o *AddMultiBucketLifecycleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddMultiBucketLifecycleHandler

type AddMultiBucketLifecycleHandler interface {
	Handle(AddMultiBucketLifecycleParams, *models.Principal) middleware.Responder
}

AddMultiBucketLifecycleHandler interface for that can handle valid add multi bucket lifecycle params

type AddMultiBucketLifecycleHandlerFunc

type AddMultiBucketLifecycleHandlerFunc func(AddMultiBucketLifecycleParams, *models.Principal) middleware.Responder

AddMultiBucketLifecycleHandlerFunc turns a function with the right signature into a add multi bucket lifecycle handler

func (AddMultiBucketLifecycleHandlerFunc) Handle

Handle executing the request and returning a response

type AddMultiBucketLifecycleOK

type AddMultiBucketLifecycleOK struct {

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

AddMultiBucketLifecycleOK A successful response.

swagger:response addMultiBucketLifecycleOK

func NewAddMultiBucketLifecycleOK

func NewAddMultiBucketLifecycleOK() *AddMultiBucketLifecycleOK

NewAddMultiBucketLifecycleOK creates AddMultiBucketLifecycleOK with default headers values

func (*AddMultiBucketLifecycleOK) SetPayload

func (o *AddMultiBucketLifecycleOK) SetPayload(payload *models.MultiLifecycleResult)

SetPayload sets the payload to the add multi bucket lifecycle o k response

func (*AddMultiBucketLifecycleOK) WithPayload

WithPayload adds the payload to the add multi bucket lifecycle o k response

func (*AddMultiBucketLifecycleOK) WriteResponse

func (o *AddMultiBucketLifecycleOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddMultiBucketLifecycleParams

type AddMultiBucketLifecycleParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.AddMultiBucketLifecycle
}

AddMultiBucketLifecycleParams contains all the bound params for the add multi bucket lifecycle operation typically these are obtained from a http.Request

swagger:parameters AddMultiBucketLifecycle

func NewAddMultiBucketLifecycleParams

func NewAddMultiBucketLifecycleParams() AddMultiBucketLifecycleParams

NewAddMultiBucketLifecycleParams creates a new AddMultiBucketLifecycleParams object

There are no default values defined in the spec.

func (*AddMultiBucketLifecycleParams) 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 NewAddMultiBucketLifecycleParams() beforehand.

type AddMultiBucketLifecycleURL

type AddMultiBucketLifecycleURL struct {
	// contains filtered or unexported fields
}

AddMultiBucketLifecycleURL generates an URL for the add multi bucket lifecycle operation

func (*AddMultiBucketLifecycleURL) Build

func (o *AddMultiBucketLifecycleURL) Build() (*url.URL, error)

Build a url path and query string

func (*AddMultiBucketLifecycleURL) BuildFull

func (o *AddMultiBucketLifecycleURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*AddMultiBucketLifecycleURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*AddMultiBucketLifecycleURL) SetBasePath

func (o *AddMultiBucketLifecycleURL) 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 (*AddMultiBucketLifecycleURL) String

func (o *AddMultiBucketLifecycleURL) String() string

String returns the string representation of the path with query string

func (*AddMultiBucketLifecycleURL) StringFull

func (o *AddMultiBucketLifecycleURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*AddMultiBucketLifecycleURL) 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 AddRemoteBucket

type AddRemoteBucket struct {
	Context *middleware.Context
	Handler AddRemoteBucketHandler
}
AddRemoteBucket swagger:route POST /remote-buckets Bucket addRemoteBucket

Add Remote Bucket

func NewAddRemoteBucket

func NewAddRemoteBucket(ctx *middleware.Context, handler AddRemoteBucketHandler) *AddRemoteBucket

NewAddRemoteBucket creates a new http.Handler for the add remote bucket operation

func (*AddRemoteBucket) ServeHTTP

func (o *AddRemoteBucket) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type AddRemoteBucketCreated

type AddRemoteBucketCreated struct {
}

AddRemoteBucketCreated A successful response.

swagger:response addRemoteBucketCreated

func NewAddRemoteBucketCreated

func NewAddRemoteBucketCreated() *AddRemoteBucketCreated

NewAddRemoteBucketCreated creates AddRemoteBucketCreated with default headers values

func (*AddRemoteBucketCreated) WriteResponse

func (o *AddRemoteBucketCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddRemoteBucketDefault

type AddRemoteBucketDefault struct {

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

AddRemoteBucketDefault Generic error response.

swagger:response addRemoteBucketDefault

func NewAddRemoteBucketDefault

func NewAddRemoteBucketDefault(code int) *AddRemoteBucketDefault

NewAddRemoteBucketDefault creates AddRemoteBucketDefault with default headers values

func (*AddRemoteBucketDefault) SetPayload

func (o *AddRemoteBucketDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the add remote bucket default response

func (*AddRemoteBucketDefault) SetStatusCode

func (o *AddRemoteBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add remote bucket default response

func (*AddRemoteBucketDefault) WithPayload

func (o *AddRemoteBucketDefault) WithPayload(payload *models.Error) *AddRemoteBucketDefault

WithPayload adds the payload to the add remote bucket default response

func (*AddRemoteBucketDefault) WithStatusCode

func (o *AddRemoteBucketDefault) WithStatusCode(code int) *AddRemoteBucketDefault

WithStatusCode adds the status to the add remote bucket default response

func (*AddRemoteBucketDefault) WriteResponse

func (o *AddRemoteBucketDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddRemoteBucketHandler

type AddRemoteBucketHandler interface {
	Handle(AddRemoteBucketParams, *models.Principal) middleware.Responder
}

AddRemoteBucketHandler interface for that can handle valid add remote bucket params

type AddRemoteBucketHandlerFunc

type AddRemoteBucketHandlerFunc func(AddRemoteBucketParams, *models.Principal) middleware.Responder

AddRemoteBucketHandlerFunc turns a function with the right signature into a add remote bucket handler

func (AddRemoteBucketHandlerFunc) Handle

Handle executing the request and returning a response

type AddRemoteBucketParams

type AddRemoteBucketParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.CreateRemoteBucket
}

AddRemoteBucketParams contains all the bound params for the add remote bucket operation typically these are obtained from a http.Request

swagger:parameters AddRemoteBucket

func NewAddRemoteBucketParams

func NewAddRemoteBucketParams() AddRemoteBucketParams

NewAddRemoteBucketParams creates a new AddRemoteBucketParams object

There are no default values defined in the spec.

func (*AddRemoteBucketParams) BindRequest

func (o *AddRemoteBucketParams) 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 NewAddRemoteBucketParams() beforehand.

type AddRemoteBucketURL

type AddRemoteBucketURL struct {
	// contains filtered or unexported fields
}

AddRemoteBucketURL generates an URL for the add remote bucket operation

func (*AddRemoteBucketURL) Build

func (o *AddRemoteBucketURL) Build() (*url.URL, error)

Build a url path and query string

func (*AddRemoteBucketURL) BuildFull

func (o *AddRemoteBucketURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*AddRemoteBucketURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*AddRemoteBucketURL) SetBasePath

func (o *AddRemoteBucketURL) 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 (*AddRemoteBucketURL) String

func (o *AddRemoteBucketURL) String() string

String returns the string representation of the path with query string

func (*AddRemoteBucketURL) StringFull

func (o *AddRemoteBucketURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*AddRemoteBucketURL) WithBasePath

func (o *AddRemoteBucketURL) WithBasePath(bp string) *AddRemoteBucketURL

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 BucketInfo

type BucketInfo struct {
	Context *middleware.Context
	Handler BucketInfoHandler
}
BucketInfo swagger:route GET /buckets/{name} Bucket bucketInfo

Bucket Info

func NewBucketInfo

func NewBucketInfo(ctx *middleware.Context, handler BucketInfoHandler) *BucketInfo

NewBucketInfo creates a new http.Handler for the bucket info operation

func (*BucketInfo) ServeHTTP

func (o *BucketInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type BucketInfoDefault

type BucketInfoDefault struct {

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

BucketInfoDefault Generic error response.

swagger:response bucketInfoDefault

func NewBucketInfoDefault

func NewBucketInfoDefault(code int) *BucketInfoDefault

NewBucketInfoDefault creates BucketInfoDefault with default headers values

func (*BucketInfoDefault) SetPayload

func (o *BucketInfoDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the bucket info default response

func (*BucketInfoDefault) SetStatusCode

func (o *BucketInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the bucket info default response

func (*BucketInfoDefault) WithPayload

func (o *BucketInfoDefault) WithPayload(payload *models.Error) *BucketInfoDefault

WithPayload adds the payload to the bucket info default response

func (*BucketInfoDefault) WithStatusCode

func (o *BucketInfoDefault) WithStatusCode(code int) *BucketInfoDefault

WithStatusCode adds the status to the bucket info default response

func (*BucketInfoDefault) WriteResponse

func (o *BucketInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BucketInfoHandler

type BucketInfoHandler interface {
	Handle(BucketInfoParams, *models.Principal) middleware.Responder
}

BucketInfoHandler interface for that can handle valid bucket info params

type BucketInfoHandlerFunc

type BucketInfoHandlerFunc func(BucketInfoParams, *models.Principal) middleware.Responder

BucketInfoHandlerFunc turns a function with the right signature into a bucket info handler

func (BucketInfoHandlerFunc) Handle

Handle executing the request and returning a response

type BucketInfoOK

type BucketInfoOK struct {

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

BucketInfoOK A successful response.

swagger:response bucketInfoOK

func NewBucketInfoOK

func NewBucketInfoOK() *BucketInfoOK

NewBucketInfoOK creates BucketInfoOK with default headers values

func (*BucketInfoOK) SetPayload

func (o *BucketInfoOK) SetPayload(payload *models.Bucket)

SetPayload sets the payload to the bucket info o k response

func (*BucketInfoOK) WithPayload

func (o *BucketInfoOK) WithPayload(payload *models.Bucket) *BucketInfoOK

WithPayload adds the payload to the bucket info o k response

func (*BucketInfoOK) WriteResponse

func (o *BucketInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BucketInfoParams

type BucketInfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Name string
}

BucketInfoParams contains all the bound params for the bucket info operation typically these are obtained from a http.Request

swagger:parameters BucketInfo

func NewBucketInfoParams

func NewBucketInfoParams() BucketInfoParams

NewBucketInfoParams creates a new BucketInfoParams object

There are no default values defined in the spec.

func (*BucketInfoParams) BindRequest

func (o *BucketInfoParams) 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 NewBucketInfoParams() beforehand.

type BucketInfoURL

type BucketInfoURL struct {
	Name string
	// contains filtered or unexported fields
}

BucketInfoURL generates an URL for the bucket info operation

func (*BucketInfoURL) Build

func (o *BucketInfoURL) Build() (*url.URL, error)

Build a url path and query string

func (*BucketInfoURL) BuildFull

func (o *BucketInfoURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*BucketInfoURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*BucketInfoURL) SetBasePath

func (o *BucketInfoURL) 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 (*BucketInfoURL) String

func (o *BucketInfoURL) String() string

String returns the string representation of the path with query string

func (*BucketInfoURL) StringFull

func (o *BucketInfoURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*BucketInfoURL) WithBasePath

func (o *BucketInfoURL) WithBasePath(bp string) *BucketInfoURL

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 BucketSetPolicy

type BucketSetPolicy struct {
	Context *middleware.Context
	Handler BucketSetPolicyHandler
}
BucketSetPolicy swagger:route PUT /buckets/{name}/set-policy Bucket bucketSetPolicy

Bucket Set Policy

func NewBucketSetPolicy

func NewBucketSetPolicy(ctx *middleware.Context, handler BucketSetPolicyHandler) *BucketSetPolicy

NewBucketSetPolicy creates a new http.Handler for the bucket set policy operation

func (*BucketSetPolicy) ServeHTTP

func (o *BucketSetPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type BucketSetPolicyDefault

type BucketSetPolicyDefault struct {

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

BucketSetPolicyDefault Generic error response.

swagger:response bucketSetPolicyDefault

func NewBucketSetPolicyDefault

func NewBucketSetPolicyDefault(code int) *BucketSetPolicyDefault

NewBucketSetPolicyDefault creates BucketSetPolicyDefault with default headers values

func (*BucketSetPolicyDefault) SetPayload

func (o *BucketSetPolicyDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the bucket set policy default response

func (*BucketSetPolicyDefault) SetStatusCode

func (o *BucketSetPolicyDefault) SetStatusCode(code int)

SetStatusCode sets the status to the bucket set policy default response

func (*BucketSetPolicyDefault) WithPayload

func (o *BucketSetPolicyDefault) WithPayload(payload *models.Error) *BucketSetPolicyDefault

WithPayload adds the payload to the bucket set policy default response

func (*BucketSetPolicyDefault) WithStatusCode

func (o *BucketSetPolicyDefault) WithStatusCode(code int) *BucketSetPolicyDefault

WithStatusCode adds the status to the bucket set policy default response

func (*BucketSetPolicyDefault) WriteResponse

func (o *BucketSetPolicyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BucketSetPolicyHandler

type BucketSetPolicyHandler interface {
	Handle(BucketSetPolicyParams, *models.Principal) middleware.Responder
}

BucketSetPolicyHandler interface for that can handle valid bucket set policy params

type BucketSetPolicyHandlerFunc

type BucketSetPolicyHandlerFunc func(BucketSetPolicyParams, *models.Principal) middleware.Responder

BucketSetPolicyHandlerFunc turns a function with the right signature into a bucket set policy handler

func (BucketSetPolicyHandlerFunc) Handle

Handle executing the request and returning a response

type BucketSetPolicyOK

type BucketSetPolicyOK struct {

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

BucketSetPolicyOK A successful response.

swagger:response bucketSetPolicyOK

func NewBucketSetPolicyOK

func NewBucketSetPolicyOK() *BucketSetPolicyOK

NewBucketSetPolicyOK creates BucketSetPolicyOK with default headers values

func (*BucketSetPolicyOK) SetPayload

func (o *BucketSetPolicyOK) SetPayload(payload *models.Bucket)

SetPayload sets the payload to the bucket set policy o k response

func (*BucketSetPolicyOK) WithPayload

func (o *BucketSetPolicyOK) WithPayload(payload *models.Bucket) *BucketSetPolicyOK

WithPayload adds the payload to the bucket set policy o k response

func (*BucketSetPolicyOK) WriteResponse

func (o *BucketSetPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BucketSetPolicyParams

type BucketSetPolicyParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.SetBucketPolicyRequest
	/*
	  Required: true
	  In: path
	*/
	Name string
}

BucketSetPolicyParams contains all the bound params for the bucket set policy operation typically these are obtained from a http.Request

swagger:parameters BucketSetPolicy

func NewBucketSetPolicyParams

func NewBucketSetPolicyParams() BucketSetPolicyParams

NewBucketSetPolicyParams creates a new BucketSetPolicyParams object

There are no default values defined in the spec.

func (*BucketSetPolicyParams) BindRequest

func (o *BucketSetPolicyParams) 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 NewBucketSetPolicyParams() beforehand.

type BucketSetPolicyURL

type BucketSetPolicyURL struct {
	Name string
	// contains filtered or unexported fields
}

BucketSetPolicyURL generates an URL for the bucket set policy operation

func (*BucketSetPolicyURL) Build

func (o *BucketSetPolicyURL) Build() (*url.URL, error)

Build a url path and query string

func (*BucketSetPolicyURL) BuildFull

func (o *BucketSetPolicyURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*BucketSetPolicyURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*BucketSetPolicyURL) SetBasePath

func (o *BucketSetPolicyURL) 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 (*BucketSetPolicyURL) String

func (o *BucketSetPolicyURL) String() string

String returns the string representation of the path with query string

func (*BucketSetPolicyURL) StringFull

func (o *BucketSetPolicyURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*BucketSetPolicyURL) WithBasePath

func (o *BucketSetPolicyURL) WithBasePath(bp string) *BucketSetPolicyURL

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 CreateBucketEvent

type CreateBucketEvent struct {
	Context *middleware.Context
	Handler CreateBucketEventHandler
}
CreateBucketEvent swagger:route POST /buckets/{bucket_name}/events Bucket createBucketEvent

Create Bucket Event

func NewCreateBucketEvent

func NewCreateBucketEvent(ctx *middleware.Context, handler CreateBucketEventHandler) *CreateBucketEvent

NewCreateBucketEvent creates a new http.Handler for the create bucket event operation

func (*CreateBucketEvent) ServeHTTP

func (o *CreateBucketEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateBucketEventCreated

type CreateBucketEventCreated struct {
}

CreateBucketEventCreated A successful response.

swagger:response createBucketEventCreated

func NewCreateBucketEventCreated

func NewCreateBucketEventCreated() *CreateBucketEventCreated

NewCreateBucketEventCreated creates CreateBucketEventCreated with default headers values

func (*CreateBucketEventCreated) WriteResponse

func (o *CreateBucketEventCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateBucketEventDefault

type CreateBucketEventDefault struct {

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

CreateBucketEventDefault Generic error response.

swagger:response createBucketEventDefault

func NewCreateBucketEventDefault

func NewCreateBucketEventDefault(code int) *CreateBucketEventDefault

NewCreateBucketEventDefault creates CreateBucketEventDefault with default headers values

func (*CreateBucketEventDefault) SetPayload

func (o *CreateBucketEventDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the create bucket event default response

func (*CreateBucketEventDefault) SetStatusCode

func (o *CreateBucketEventDefault) SetStatusCode(code int)

SetStatusCode sets the status to the create bucket event default response

func (*CreateBucketEventDefault) WithPayload

WithPayload adds the payload to the create bucket event default response

func (*CreateBucketEventDefault) WithStatusCode

func (o *CreateBucketEventDefault) WithStatusCode(code int) *CreateBucketEventDefault

WithStatusCode adds the status to the create bucket event default response

func (*CreateBucketEventDefault) WriteResponse

func (o *CreateBucketEventDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateBucketEventHandler

type CreateBucketEventHandler interface {
	Handle(CreateBucketEventParams, *models.Principal) middleware.Responder
}

CreateBucketEventHandler interface for that can handle valid create bucket event params

type CreateBucketEventHandlerFunc

type CreateBucketEventHandlerFunc func(CreateBucketEventParams, *models.Principal) middleware.Responder

CreateBucketEventHandlerFunc turns a function with the right signature into a create bucket event handler

func (CreateBucketEventHandlerFunc) Handle

Handle executing the request and returning a response

type CreateBucketEventParams

type CreateBucketEventParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.BucketEventRequest
	/*
	  Required: true
	  In: path
	*/
	BucketName string
}

CreateBucketEventParams contains all the bound params for the create bucket event operation typically these are obtained from a http.Request

swagger:parameters CreateBucketEvent

func NewCreateBucketEventParams

func NewCreateBucketEventParams() CreateBucketEventParams

NewCreateBucketEventParams creates a new CreateBucketEventParams object

There are no default values defined in the spec.

func (*CreateBucketEventParams) BindRequest

func (o *CreateBucketEventParams) 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 NewCreateBucketEventParams() beforehand.

type CreateBucketEventURL

type CreateBucketEventURL struct {
	BucketName string
	// contains filtered or unexported fields
}

CreateBucketEventURL generates an URL for the create bucket event operation

func (*CreateBucketEventURL) Build

func (o *CreateBucketEventURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateBucketEventURL) BuildFull

func (o *CreateBucketEventURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateBucketEventURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*CreateBucketEventURL) SetBasePath

func (o *CreateBucketEventURL) 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 (*CreateBucketEventURL) String

func (o *CreateBucketEventURL) String() string

String returns the string representation of the path with query string

func (*CreateBucketEventURL) StringFull

func (o *CreateBucketEventURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateBucketEventURL) WithBasePath

func (o *CreateBucketEventURL) WithBasePath(bp string) *CreateBucketEventURL

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 DeleteAccessRuleWithBucket

type DeleteAccessRuleWithBucket struct {
	Context *middleware.Context
	Handler DeleteAccessRuleWithBucketHandler
}
DeleteAccessRuleWithBucket swagger:route DELETE /bucket/{bucket}/access-rules Bucket deleteAccessRuleWithBucket

Delete Access Rule From Given Bucket

func NewDeleteAccessRuleWithBucket

func NewDeleteAccessRuleWithBucket(ctx *middleware.Context, handler DeleteAccessRuleWithBucketHandler) *DeleteAccessRuleWithBucket

NewDeleteAccessRuleWithBucket creates a new http.Handler for the delete access rule with bucket operation

func (*DeleteAccessRuleWithBucket) ServeHTTP

type DeleteAccessRuleWithBucketDefault

type DeleteAccessRuleWithBucketDefault struct {

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

DeleteAccessRuleWithBucketDefault Generic error response.

swagger:response deleteAccessRuleWithBucketDefault

func NewDeleteAccessRuleWithBucketDefault

func NewDeleteAccessRuleWithBucketDefault(code int) *DeleteAccessRuleWithBucketDefault

NewDeleteAccessRuleWithBucketDefault creates DeleteAccessRuleWithBucketDefault with default headers values

func (*DeleteAccessRuleWithBucketDefault) SetPayload

func (o *DeleteAccessRuleWithBucketDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete access rule with bucket default response

func (*DeleteAccessRuleWithBucketDefault) SetStatusCode

func (o *DeleteAccessRuleWithBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete access rule with bucket default response

func (*DeleteAccessRuleWithBucketDefault) WithPayload

WithPayload adds the payload to the delete access rule with bucket default response

func (*DeleteAccessRuleWithBucketDefault) WithStatusCode

WithStatusCode adds the status to the delete access rule with bucket default response

func (*DeleteAccessRuleWithBucketDefault) WriteResponse

func (o *DeleteAccessRuleWithBucketDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteAccessRuleWithBucketHandler

type DeleteAccessRuleWithBucketHandler interface {
	Handle(DeleteAccessRuleWithBucketParams, *models.Principal) middleware.Responder
}

DeleteAccessRuleWithBucketHandler interface for that can handle valid delete access rule with bucket params

type DeleteAccessRuleWithBucketHandlerFunc

type DeleteAccessRuleWithBucketHandlerFunc func(DeleteAccessRuleWithBucketParams, *models.Principal) middleware.Responder

DeleteAccessRuleWithBucketHandlerFunc turns a function with the right signature into a delete access rule with bucket handler

func (DeleteAccessRuleWithBucketHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteAccessRuleWithBucketOK

type DeleteAccessRuleWithBucketOK struct {

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

DeleteAccessRuleWithBucketOK A successful response.

swagger:response deleteAccessRuleWithBucketOK

func NewDeleteAccessRuleWithBucketOK

func NewDeleteAccessRuleWithBucketOK() *DeleteAccessRuleWithBucketOK

NewDeleteAccessRuleWithBucketOK creates DeleteAccessRuleWithBucketOK with default headers values

func (*DeleteAccessRuleWithBucketOK) SetPayload

func (o *DeleteAccessRuleWithBucketOK) SetPayload(payload bool)

SetPayload sets the payload to the delete access rule with bucket o k response

func (*DeleteAccessRuleWithBucketOK) WithPayload

WithPayload adds the payload to the delete access rule with bucket o k response

func (*DeleteAccessRuleWithBucketOK) WriteResponse

func (o *DeleteAccessRuleWithBucketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteAccessRuleWithBucketParams

type DeleteAccessRuleWithBucketParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Bucket string
	/*
	  Required: true
	  In: body
	*/
	Prefix *models.PrefixWrapper
}

DeleteAccessRuleWithBucketParams contains all the bound params for the delete access rule with bucket operation typically these are obtained from a http.Request

swagger:parameters DeleteAccessRuleWithBucket

func NewDeleteAccessRuleWithBucketParams

func NewDeleteAccessRuleWithBucketParams() DeleteAccessRuleWithBucketParams

NewDeleteAccessRuleWithBucketParams creates a new DeleteAccessRuleWithBucketParams object

There are no default values defined in the spec.

func (*DeleteAccessRuleWithBucketParams) 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 NewDeleteAccessRuleWithBucketParams() beforehand.

type DeleteAccessRuleWithBucketURL

type DeleteAccessRuleWithBucketURL struct {
	Bucket string
	// contains filtered or unexported fields
}

DeleteAccessRuleWithBucketURL generates an URL for the delete access rule with bucket operation

func (*DeleteAccessRuleWithBucketURL) Build

func (o *DeleteAccessRuleWithBucketURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteAccessRuleWithBucketURL) BuildFull

func (o *DeleteAccessRuleWithBucketURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteAccessRuleWithBucketURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DeleteAccessRuleWithBucketURL) SetBasePath

func (o *DeleteAccessRuleWithBucketURL) 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 (*DeleteAccessRuleWithBucketURL) String

String returns the string representation of the path with query string

func (*DeleteAccessRuleWithBucketURL) StringFull

func (o *DeleteAccessRuleWithBucketURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteAccessRuleWithBucketURL) 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 DeleteAllReplicationRules

type DeleteAllReplicationRules struct {
	Context *middleware.Context
	Handler DeleteAllReplicationRulesHandler
}
DeleteAllReplicationRules swagger:route DELETE /buckets/{bucket_name}/delete-all-replication-rules Bucket deleteAllReplicationRules

Deletes all replication rules from a bucket

func NewDeleteAllReplicationRules

func NewDeleteAllReplicationRules(ctx *middleware.Context, handler DeleteAllReplicationRulesHandler) *DeleteAllReplicationRules

NewDeleteAllReplicationRules creates a new http.Handler for the delete all replication rules operation

func (*DeleteAllReplicationRules) ServeHTTP

type DeleteAllReplicationRulesDefault

type DeleteAllReplicationRulesDefault struct {

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

DeleteAllReplicationRulesDefault Generic error response.

swagger:response deleteAllReplicationRulesDefault

func NewDeleteAllReplicationRulesDefault

func NewDeleteAllReplicationRulesDefault(code int) *DeleteAllReplicationRulesDefault

NewDeleteAllReplicationRulesDefault creates DeleteAllReplicationRulesDefault with default headers values

func (*DeleteAllReplicationRulesDefault) SetPayload

func (o *DeleteAllReplicationRulesDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete all replication rules default response

func (*DeleteAllReplicationRulesDefault) SetStatusCode

func (o *DeleteAllReplicationRulesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete all replication rules default response

func (*DeleteAllReplicationRulesDefault) WithPayload

WithPayload adds the payload to the delete all replication rules default response

func (*DeleteAllReplicationRulesDefault) WithStatusCode

WithStatusCode adds the status to the delete all replication rules default response

func (*DeleteAllReplicationRulesDefault) WriteResponse

func (o *DeleteAllReplicationRulesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteAllReplicationRulesHandler

type DeleteAllReplicationRulesHandler interface {
	Handle(DeleteAllReplicationRulesParams, *models.Principal) middleware.Responder
}

DeleteAllReplicationRulesHandler interface for that can handle valid delete all replication rules params

type DeleteAllReplicationRulesHandlerFunc

type DeleteAllReplicationRulesHandlerFunc func(DeleteAllReplicationRulesParams, *models.Principal) middleware.Responder

DeleteAllReplicationRulesHandlerFunc turns a function with the right signature into a delete all replication rules handler

func (DeleteAllReplicationRulesHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteAllReplicationRulesNoContent

type DeleteAllReplicationRulesNoContent struct {
}

DeleteAllReplicationRulesNoContent A successful response.

swagger:response deleteAllReplicationRulesNoContent

func NewDeleteAllReplicationRulesNoContent

func NewDeleteAllReplicationRulesNoContent() *DeleteAllReplicationRulesNoContent

NewDeleteAllReplicationRulesNoContent creates DeleteAllReplicationRulesNoContent with default headers values

func (*DeleteAllReplicationRulesNoContent) WriteResponse

WriteResponse to the client

type DeleteAllReplicationRulesParams

type DeleteAllReplicationRulesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	BucketName string
}

DeleteAllReplicationRulesParams contains all the bound params for the delete all replication rules operation typically these are obtained from a http.Request

swagger:parameters DeleteAllReplicationRules

func NewDeleteAllReplicationRulesParams

func NewDeleteAllReplicationRulesParams() DeleteAllReplicationRulesParams

NewDeleteAllReplicationRulesParams creates a new DeleteAllReplicationRulesParams object

There are no default values defined in the spec.

func (*DeleteAllReplicationRulesParams) 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 NewDeleteAllReplicationRulesParams() beforehand.

type DeleteAllReplicationRulesURL

type DeleteAllReplicationRulesURL struct {
	BucketName string
	// contains filtered or unexported fields
}

DeleteAllReplicationRulesURL generates an URL for the delete all replication rules operation

func (*DeleteAllReplicationRulesURL) Build

func (o *DeleteAllReplicationRulesURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteAllReplicationRulesURL) BuildFull

func (o *DeleteAllReplicationRulesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteAllReplicationRulesURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DeleteAllReplicationRulesURL) SetBasePath

func (o *DeleteAllReplicationRulesURL) 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 (*DeleteAllReplicationRulesURL) String

String returns the string representation of the path with query string

func (*DeleteAllReplicationRulesURL) StringFull

func (o *DeleteAllReplicationRulesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteAllReplicationRulesURL) 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 DeleteBucket

type DeleteBucket struct {
	Context *middleware.Context
	Handler DeleteBucketHandler
}
DeleteBucket swagger:route DELETE /buckets/{name} Bucket deleteBucket

Delete Bucket

func NewDeleteBucket

func NewDeleteBucket(ctx *middleware.Context, handler DeleteBucketHandler) *DeleteBucket

NewDeleteBucket creates a new http.Handler for the delete bucket operation

func (*DeleteBucket) ServeHTTP

func (o *DeleteBucket) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteBucketDefault

type DeleteBucketDefault struct {

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

DeleteBucketDefault Generic error response.

swagger:response deleteBucketDefault

func NewDeleteBucketDefault

func NewDeleteBucketDefault(code int) *DeleteBucketDefault

NewDeleteBucketDefault creates DeleteBucketDefault with default headers values

func (*DeleteBucketDefault) SetPayload

func (o *DeleteBucketDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete bucket default response

func (*DeleteBucketDefault) SetStatusCode

func (o *DeleteBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete bucket default response

func (*DeleteBucketDefault) WithPayload

func (o *DeleteBucketDefault) WithPayload(payload *models.Error) *DeleteBucketDefault

WithPayload adds the payload to the delete bucket default response

func (*DeleteBucketDefault) WithStatusCode

func (o *DeleteBucketDefault) WithStatusCode(code int) *DeleteBucketDefault

WithStatusCode adds the status to the delete bucket default response

func (*DeleteBucketDefault) WriteResponse

func (o *DeleteBucketDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteBucketEvent

type DeleteBucketEvent struct {
	Context *middleware.Context
	Handler DeleteBucketEventHandler
}
DeleteBucketEvent swagger:route DELETE /buckets/{bucket_name}/events/{arn} Bucket deleteBucketEvent

Delete Bucket Event

func NewDeleteBucketEvent

func NewDeleteBucketEvent(ctx *middleware.Context, handler DeleteBucketEventHandler) *DeleteBucketEvent

NewDeleteBucketEvent creates a new http.Handler for the delete bucket event operation

func (*DeleteBucketEvent) ServeHTTP

func (o *DeleteBucketEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteBucketEventDefault

type DeleteBucketEventDefault struct {

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

DeleteBucketEventDefault Generic error response.

swagger:response deleteBucketEventDefault

func NewDeleteBucketEventDefault

func NewDeleteBucketEventDefault(code int) *DeleteBucketEventDefault

NewDeleteBucketEventDefault creates DeleteBucketEventDefault with default headers values

func (*DeleteBucketEventDefault) SetPayload

func (o *DeleteBucketEventDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete bucket event default response

func (*DeleteBucketEventDefault) SetStatusCode

func (o *DeleteBucketEventDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete bucket event default response

func (*DeleteBucketEventDefault) WithPayload

WithPayload adds the payload to the delete bucket event default response

func (*DeleteBucketEventDefault) WithStatusCode

func (o *DeleteBucketEventDefault) WithStatusCode(code int) *DeleteBucketEventDefault

WithStatusCode adds the status to the delete bucket event default response

func (*DeleteBucketEventDefault) WriteResponse

func (o *DeleteBucketEventDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteBucketEventHandler

type DeleteBucketEventHandler interface {
	Handle(DeleteBucketEventParams, *models.Principal) middleware.Responder
}

DeleteBucketEventHandler interface for that can handle valid delete bucket event params

type DeleteBucketEventHandlerFunc

type DeleteBucketEventHandlerFunc func(DeleteBucketEventParams, *models.Principal) middleware.Responder

DeleteBucketEventHandlerFunc turns a function with the right signature into a delete bucket event handler

func (DeleteBucketEventHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteBucketEventNoContent

type DeleteBucketEventNoContent struct {
}

DeleteBucketEventNoContent A successful response.

swagger:response deleteBucketEventNoContent

func NewDeleteBucketEventNoContent

func NewDeleteBucketEventNoContent() *DeleteBucketEventNoContent

NewDeleteBucketEventNoContent creates DeleteBucketEventNoContent with default headers values

func (*DeleteBucketEventNoContent) WriteResponse

func (o *DeleteBucketEventNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteBucketEventParams

type DeleteBucketEventParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Arn string
	/*
	  Required: true
	  In: body
	*/
	Body *models.NotificationDeleteRequest
	/*
	  Required: true
	  In: path
	*/
	BucketName string
}

DeleteBucketEventParams contains all the bound params for the delete bucket event operation typically these are obtained from a http.Request

swagger:parameters DeleteBucketEvent

func NewDeleteBucketEventParams

func NewDeleteBucketEventParams() DeleteBucketEventParams

NewDeleteBucketEventParams creates a new DeleteBucketEventParams object

There are no default values defined in the spec.

func (*DeleteBucketEventParams) BindRequest

func (o *DeleteBucketEventParams) 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 NewDeleteBucketEventParams() beforehand.

type DeleteBucketEventURL

type DeleteBucketEventURL struct {
	Arn        string
	BucketName string
	// contains filtered or unexported fields
}

DeleteBucketEventURL generates an URL for the delete bucket event operation

func (*DeleteBucketEventURL) Build

func (o *DeleteBucketEventURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteBucketEventURL) BuildFull

func (o *DeleteBucketEventURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteBucketEventURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DeleteBucketEventURL) SetBasePath

func (o *DeleteBucketEventURL) 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 (*DeleteBucketEventURL) String

func (o *DeleteBucketEventURL) String() string

String returns the string representation of the path with query string

func (*DeleteBucketEventURL) StringFull

func (o *DeleteBucketEventURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteBucketEventURL) WithBasePath

func (o *DeleteBucketEventURL) WithBasePath(bp string) *DeleteBucketEventURL

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 DeleteBucketHandler

type DeleteBucketHandler interface {
	Handle(DeleteBucketParams, *models.Principal) middleware.Responder
}

DeleteBucketHandler interface for that can handle valid delete bucket params

type DeleteBucketHandlerFunc

type DeleteBucketHandlerFunc func(DeleteBucketParams, *models.Principal) middleware.Responder

DeleteBucketHandlerFunc turns a function with the right signature into a delete bucket handler

func (DeleteBucketHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteBucketLifecycleRule

type DeleteBucketLifecycleRule struct {
	Context *middleware.Context
	Handler DeleteBucketLifecycleRuleHandler
}
DeleteBucketLifecycleRule swagger:route DELETE /buckets/{bucket_name}/lifecycle/{lifecycle_id} Bucket deleteBucketLifecycleRule

Delete Lifecycle rule

func NewDeleteBucketLifecycleRule

func NewDeleteBucketLifecycleRule(ctx *middleware.Context, handler DeleteBucketLifecycleRuleHandler) *DeleteBucketLifecycleRule

NewDeleteBucketLifecycleRule creates a new http.Handler for the delete bucket lifecycle rule operation

func (*DeleteBucketLifecycleRule) ServeHTTP

type DeleteBucketLifecycleRuleDefault

type DeleteBucketLifecycleRuleDefault struct {

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

DeleteBucketLifecycleRuleDefault Generic error response.

swagger:response deleteBucketLifecycleRuleDefault

func NewDeleteBucketLifecycleRuleDefault

func NewDeleteBucketLifecycleRuleDefault(code int) *DeleteBucketLifecycleRuleDefault

NewDeleteBucketLifecycleRuleDefault creates DeleteBucketLifecycleRuleDefault with default headers values

func (*DeleteBucketLifecycleRuleDefault) SetPayload

func (o *DeleteBucketLifecycleRuleDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete bucket lifecycle rule default response

func (*DeleteBucketLifecycleRuleDefault) SetStatusCode

func (o *DeleteBucketLifecycleRuleDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete bucket lifecycle rule default response

func (*DeleteBucketLifecycleRuleDefault) WithPayload

WithPayload adds the payload to the delete bucket lifecycle rule default response

func (*DeleteBucketLifecycleRuleDefault) WithStatusCode

WithStatusCode adds the status to the delete bucket lifecycle rule default response

func (*DeleteBucketLifecycleRuleDefault) WriteResponse

func (o *DeleteBucketLifecycleRuleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteBucketLifecycleRuleHandler

type DeleteBucketLifecycleRuleHandler interface {
	Handle(DeleteBucketLifecycleRuleParams, *models.Principal) middleware.Responder
}

DeleteBucketLifecycleRuleHandler interface for that can handle valid delete bucket lifecycle rule params

type DeleteBucketLifecycleRuleHandlerFunc

type DeleteBucketLifecycleRuleHandlerFunc func(DeleteBucketLifecycleRuleParams, *models.Principal) middleware.Responder

DeleteBucketLifecycleRuleHandlerFunc turns a function with the right signature into a delete bucket lifecycle rule handler

func (DeleteBucketLifecycleRuleHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteBucketLifecycleRuleNoContent

type DeleteBucketLifecycleRuleNoContent struct {
}

DeleteBucketLifecycleRuleNoContent A successful response.

swagger:response deleteBucketLifecycleRuleNoContent

func NewDeleteBucketLifecycleRuleNoContent

func NewDeleteBucketLifecycleRuleNoContent() *DeleteBucketLifecycleRuleNoContent

NewDeleteBucketLifecycleRuleNoContent creates DeleteBucketLifecycleRuleNoContent with default headers values

func (*DeleteBucketLifecycleRuleNoContent) WriteResponse

WriteResponse to the client

type DeleteBucketLifecycleRuleParams

type DeleteBucketLifecycleRuleParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	BucketName string
	/*
	  Required: true
	  In: path
	*/
	LifecycleID string
}

DeleteBucketLifecycleRuleParams contains all the bound params for the delete bucket lifecycle rule operation typically these are obtained from a http.Request

swagger:parameters DeleteBucketLifecycleRule

func NewDeleteBucketLifecycleRuleParams

func NewDeleteBucketLifecycleRuleParams() DeleteBucketLifecycleRuleParams

NewDeleteBucketLifecycleRuleParams creates a new DeleteBucketLifecycleRuleParams object

There are no default values defined in the spec.

func (*DeleteBucketLifecycleRuleParams) 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 NewDeleteBucketLifecycleRuleParams() beforehand.

type DeleteBucketLifecycleRuleURL

type DeleteBucketLifecycleRuleURL struct {
	BucketName  string
	LifecycleID string
	// contains filtered or unexported fields
}

DeleteBucketLifecycleRuleURL generates an URL for the delete bucket lifecycle rule operation

func (*DeleteBucketLifecycleRuleURL) Build

func (o *DeleteBucketLifecycleRuleURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteBucketLifecycleRuleURL) BuildFull

func (o *DeleteBucketLifecycleRuleURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteBucketLifecycleRuleURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DeleteBucketLifecycleRuleURL) SetBasePath

func (o *DeleteBucketLifecycleRuleURL) 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 (*DeleteBucketLifecycleRuleURL) String

String returns the string representation of the path with query string

func (*DeleteBucketLifecycleRuleURL) StringFull

func (o *DeleteBucketLifecycleRuleURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteBucketLifecycleRuleURL) 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 DeleteBucketNoContent

type DeleteBucketNoContent struct {
}

DeleteBucketNoContent A successful response.

swagger:response deleteBucketNoContent

func NewDeleteBucketNoContent

func NewDeleteBucketNoContent() *DeleteBucketNoContent

NewDeleteBucketNoContent creates DeleteBucketNoContent with default headers values

func (*DeleteBucketNoContent) WriteResponse

func (o *DeleteBucketNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteBucketParams

type DeleteBucketParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Name string
}

DeleteBucketParams contains all the bound params for the delete bucket operation typically these are obtained from a http.Request

swagger:parameters DeleteBucket

func NewDeleteBucketParams

func NewDeleteBucketParams() DeleteBucketParams

NewDeleteBucketParams creates a new DeleteBucketParams object

There are no default values defined in the spec.

func (*DeleteBucketParams) BindRequest

func (o *DeleteBucketParams) 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 NewDeleteBucketParams() beforehand.

type DeleteBucketReplicationRule

type DeleteBucketReplicationRule struct {
	Context *middleware.Context
	Handler DeleteBucketReplicationRuleHandler
}
DeleteBucketReplicationRule swagger:route DELETE /buckets/{bucket_name}/replication/{rule_id} Bucket deleteBucketReplicationRule

Bucket Replication Rule Delete

func NewDeleteBucketReplicationRule

func NewDeleteBucketReplicationRule(ctx *middleware.Context, handler DeleteBucketReplicationRuleHandler) *DeleteBucketReplicationRule

NewDeleteBucketReplicationRule creates a new http.Handler for the delete bucket replication rule operation

func (*DeleteBucketReplicationRule) ServeHTTP

type DeleteBucketReplicationRuleDefault

type DeleteBucketReplicationRuleDefault struct {

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

DeleteBucketReplicationRuleDefault Generic error response.

swagger:response deleteBucketReplicationRuleDefault

func NewDeleteBucketReplicationRuleDefault

func NewDeleteBucketReplicationRuleDefault(code int) *DeleteBucketReplicationRuleDefault

NewDeleteBucketReplicationRuleDefault creates DeleteBucketReplicationRuleDefault with default headers values

func (*DeleteBucketReplicationRuleDefault) SetPayload

func (o *DeleteBucketReplicationRuleDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete bucket replication rule default response

func (*DeleteBucketReplicationRuleDefault) SetStatusCode

func (o *DeleteBucketReplicationRuleDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete bucket replication rule default response

func (*DeleteBucketReplicationRuleDefault) WithPayload

WithPayload adds the payload to the delete bucket replication rule default response

func (*DeleteBucketReplicationRuleDefault) WithStatusCode

WithStatusCode adds the status to the delete bucket replication rule default response

func (*DeleteBucketReplicationRuleDefault) WriteResponse

WriteResponse to the client

type DeleteBucketReplicationRuleHandler

type DeleteBucketReplicationRuleHandler interface {
	Handle(DeleteBucketReplicationRuleParams, *models.Principal) middleware.Responder
}

DeleteBucketReplicationRuleHandler interface for that can handle valid delete bucket replication rule params

type DeleteBucketReplicationRuleHandlerFunc

type DeleteBucketReplicationRuleHandlerFunc func(DeleteBucketReplicationRuleParams, *models.Principal) middleware.Responder

DeleteBucketReplicationRuleHandlerFunc turns a function with the right signature into a delete bucket replication rule handler

func (DeleteBucketReplicationRuleHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteBucketReplicationRuleNoContent

type DeleteBucketReplicationRuleNoContent struct {
}

DeleteBucketReplicationRuleNoContent A successful response.

swagger:response deleteBucketReplicationRuleNoContent

func NewDeleteBucketReplicationRuleNoContent

func NewDeleteBucketReplicationRuleNoContent() *DeleteBucketReplicationRuleNoContent

NewDeleteBucketReplicationRuleNoContent creates DeleteBucketReplicationRuleNoContent with default headers values

func (*DeleteBucketReplicationRuleNoContent) WriteResponse

WriteResponse to the client

type DeleteBucketReplicationRuleParams

type DeleteBucketReplicationRuleParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	BucketName string
	/*
	  Required: true
	  In: path
	*/
	RuleID string
}

DeleteBucketReplicationRuleParams contains all the bound params for the delete bucket replication rule operation typically these are obtained from a http.Request

swagger:parameters DeleteBucketReplicationRule

func NewDeleteBucketReplicationRuleParams

func NewDeleteBucketReplicationRuleParams() DeleteBucketReplicationRuleParams

NewDeleteBucketReplicationRuleParams creates a new DeleteBucketReplicationRuleParams object

There are no default values defined in the spec.

func (*DeleteBucketReplicationRuleParams) 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 NewDeleteBucketReplicationRuleParams() beforehand.

type DeleteBucketReplicationRuleURL

type DeleteBucketReplicationRuleURL struct {
	BucketName string
	RuleID     string
	// contains filtered or unexported fields
}

DeleteBucketReplicationRuleURL generates an URL for the delete bucket replication rule operation

func (*DeleteBucketReplicationRuleURL) Build

Build a url path and query string

func (*DeleteBucketReplicationRuleURL) BuildFull

func (o *DeleteBucketReplicationRuleURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteBucketReplicationRuleURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DeleteBucketReplicationRuleURL) SetBasePath

func (o *DeleteBucketReplicationRuleURL) 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 (*DeleteBucketReplicationRuleURL) String

String returns the string representation of the path with query string

func (*DeleteBucketReplicationRuleURL) StringFull

func (o *DeleteBucketReplicationRuleURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteBucketReplicationRuleURL) 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 DeleteBucketURL

type DeleteBucketURL struct {
	Name string
	// contains filtered or unexported fields
}

DeleteBucketURL generates an URL for the delete bucket operation

func (*DeleteBucketURL) Build

func (o *DeleteBucketURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteBucketURL) BuildFull

func (o *DeleteBucketURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteBucketURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DeleteBucketURL) SetBasePath

func (o *DeleteBucketURL) 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 (*DeleteBucketURL) String

func (o *DeleteBucketURL) String() string

String returns the string representation of the path with query string

func (*DeleteBucketURL) StringFull

func (o *DeleteBucketURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteBucketURL) WithBasePath

func (o *DeleteBucketURL) WithBasePath(bp string) *DeleteBucketURL

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 DeleteRemoteBucket

type DeleteRemoteBucket struct {
	Context *middleware.Context
	Handler DeleteRemoteBucketHandler
}
DeleteRemoteBucket swagger:route DELETE /remote-buckets/{source-bucket-name}/{arn} Bucket deleteRemoteBucket

Delete Remote Bucket

func NewDeleteRemoteBucket

func NewDeleteRemoteBucket(ctx *middleware.Context, handler DeleteRemoteBucketHandler) *DeleteRemoteBucket

NewDeleteRemoteBucket creates a new http.Handler for the delete remote bucket operation

func (*DeleteRemoteBucket) ServeHTTP

func (o *DeleteRemoteBucket) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteRemoteBucketDefault

type DeleteRemoteBucketDefault struct {

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

DeleteRemoteBucketDefault Generic error response.

swagger:response deleteRemoteBucketDefault

func NewDeleteRemoteBucketDefault

func NewDeleteRemoteBucketDefault(code int) *DeleteRemoteBucketDefault

NewDeleteRemoteBucketDefault creates DeleteRemoteBucketDefault with default headers values

func (*DeleteRemoteBucketDefault) SetPayload

func (o *DeleteRemoteBucketDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete remote bucket default response

func (*DeleteRemoteBucketDefault) SetStatusCode

func (o *DeleteRemoteBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete remote bucket default response

func (*DeleteRemoteBucketDefault) WithPayload

WithPayload adds the payload to the delete remote bucket default response

func (*DeleteRemoteBucketDefault) WithStatusCode

func (o *DeleteRemoteBucketDefault) WithStatusCode(code int) *DeleteRemoteBucketDefault

WithStatusCode adds the status to the delete remote bucket default response

func (*DeleteRemoteBucketDefault) WriteResponse

func (o *DeleteRemoteBucketDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteRemoteBucketHandler

type DeleteRemoteBucketHandler interface {
	Handle(DeleteRemoteBucketParams, *models.Principal) middleware.Responder
}

DeleteRemoteBucketHandler interface for that can handle valid delete remote bucket params

type DeleteRemoteBucketHandlerFunc

type DeleteRemoteBucketHandlerFunc func(DeleteRemoteBucketParams, *models.Principal) middleware.Responder

DeleteRemoteBucketHandlerFunc turns a function with the right signature into a delete remote bucket handler

func (DeleteRemoteBucketHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteRemoteBucketNoContent

type DeleteRemoteBucketNoContent struct {
}

DeleteRemoteBucketNoContent A successful response.

swagger:response deleteRemoteBucketNoContent

func NewDeleteRemoteBucketNoContent

func NewDeleteRemoteBucketNoContent() *DeleteRemoteBucketNoContent

NewDeleteRemoteBucketNoContent creates DeleteRemoteBucketNoContent with default headers values

func (*DeleteRemoteBucketNoContent) WriteResponse

func (o *DeleteRemoteBucketNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteRemoteBucketParams

type DeleteRemoteBucketParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Arn string
	/*
	  Required: true
	  In: path
	*/
	SourceBucketName string
}

DeleteRemoteBucketParams contains all the bound params for the delete remote bucket operation typically these are obtained from a http.Request

swagger:parameters DeleteRemoteBucket

func NewDeleteRemoteBucketParams

func NewDeleteRemoteBucketParams() DeleteRemoteBucketParams

NewDeleteRemoteBucketParams creates a new DeleteRemoteBucketParams object

There are no default values defined in the spec.

func (*DeleteRemoteBucketParams) 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 NewDeleteRemoteBucketParams() beforehand.

type DeleteRemoteBucketURL

type DeleteRemoteBucketURL struct {
	Arn              string
	SourceBucketName string
	// contains filtered or unexported fields
}

DeleteRemoteBucketURL generates an URL for the delete remote bucket operation

func (*DeleteRemoteBucketURL) Build

func (o *DeleteRemoteBucketURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteRemoteBucketURL) BuildFull

func (o *DeleteRemoteBucketURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteRemoteBucketURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DeleteRemoteBucketURL) SetBasePath

func (o *DeleteRemoteBucketURL) 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 (*DeleteRemoteBucketURL) String

func (o *DeleteRemoteBucketURL) String() string

String returns the string representation of the path with query string

func (*DeleteRemoteBucketURL) StringFull

func (o *DeleteRemoteBucketURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteRemoteBucketURL) WithBasePath

func (o *DeleteRemoteBucketURL) WithBasePath(bp string) *DeleteRemoteBucketURL

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 DeleteSelectedReplicationRules

type DeleteSelectedReplicationRules struct {
	Context *middleware.Context
	Handler DeleteSelectedReplicationRulesHandler
}
DeleteSelectedReplicationRules swagger:route DELETE /buckets/{bucket_name}/delete-selected-replication-rules Bucket deleteSelectedReplicationRules

Deletes selected replication rules from a bucket

func NewDeleteSelectedReplicationRules

func NewDeleteSelectedReplicationRules(ctx *middleware.Context, handler DeleteSelectedReplicationRulesHandler) *DeleteSelectedReplicationRules

NewDeleteSelectedReplicationRules creates a new http.Handler for the delete selected replication rules operation

func (*DeleteSelectedReplicationRules) ServeHTTP

type DeleteSelectedReplicationRulesDefault

type DeleteSelectedReplicationRulesDefault struct {

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

DeleteSelectedReplicationRulesDefault Generic error response.

swagger:response deleteSelectedReplicationRulesDefault

func NewDeleteSelectedReplicationRulesDefault

func NewDeleteSelectedReplicationRulesDefault(code int) *DeleteSelectedReplicationRulesDefault

NewDeleteSelectedReplicationRulesDefault creates DeleteSelectedReplicationRulesDefault with default headers values

func (*DeleteSelectedReplicationRulesDefault) SetPayload

func (o *DeleteSelectedReplicationRulesDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete selected replication rules default response

func (*DeleteSelectedReplicationRulesDefault) SetStatusCode

func (o *DeleteSelectedReplicationRulesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete selected replication rules default response

func (*DeleteSelectedReplicationRulesDefault) WithPayload

WithPayload adds the payload to the delete selected replication rules default response

func (*DeleteSelectedReplicationRulesDefault) WithStatusCode

WithStatusCode adds the status to the delete selected replication rules default response

func (*DeleteSelectedReplicationRulesDefault) WriteResponse

WriteResponse to the client

type DeleteSelectedReplicationRulesHandler

type DeleteSelectedReplicationRulesHandler interface {
	Handle(DeleteSelectedReplicationRulesParams, *models.Principal) middleware.Responder
}

DeleteSelectedReplicationRulesHandler interface for that can handle valid delete selected replication rules params

type DeleteSelectedReplicationRulesHandlerFunc

type DeleteSelectedReplicationRulesHandlerFunc func(DeleteSelectedReplicationRulesParams, *models.Principal) middleware.Responder

DeleteSelectedReplicationRulesHandlerFunc turns a function with the right signature into a delete selected replication rules handler

func (DeleteSelectedReplicationRulesHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteSelectedReplicationRulesNoContent

type DeleteSelectedReplicationRulesNoContent struct {
}

DeleteSelectedReplicationRulesNoContent A successful response.

swagger:response deleteSelectedReplicationRulesNoContent

func NewDeleteSelectedReplicationRulesNoContent

func NewDeleteSelectedReplicationRulesNoContent() *DeleteSelectedReplicationRulesNoContent

NewDeleteSelectedReplicationRulesNoContent creates DeleteSelectedReplicationRulesNoContent with default headers values

func (*DeleteSelectedReplicationRulesNoContent) WriteResponse

WriteResponse to the client

type DeleteSelectedReplicationRulesParams

type DeleteSelectedReplicationRulesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	BucketName string
	/*
	  Required: true
	  In: body
	*/
	Rules *models.BucketReplicationRuleList
}

DeleteSelectedReplicationRulesParams contains all the bound params for the delete selected replication rules operation typically these are obtained from a http.Request

swagger:parameters DeleteSelectedReplicationRules

func NewDeleteSelectedReplicationRulesParams

func NewDeleteSelectedReplicationRulesParams() DeleteSelectedReplicationRulesParams

NewDeleteSelectedReplicationRulesParams creates a new DeleteSelectedReplicationRulesParams object

There are no default values defined in the spec.

func (*DeleteSelectedReplicationRulesParams) 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 NewDeleteSelectedReplicationRulesParams() beforehand.

type DeleteSelectedReplicationRulesURL

type DeleteSelectedReplicationRulesURL struct {
	BucketName string
	// contains filtered or unexported fields
}

DeleteSelectedReplicationRulesURL generates an URL for the delete selected replication rules operation

func (*DeleteSelectedReplicationRulesURL) Build

Build a url path and query string

func (*DeleteSelectedReplicationRulesURL) BuildFull

func (o *DeleteSelectedReplicationRulesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteSelectedReplicationRulesURL) Must

Must is a helper function to panic when the url builder returns an error

func (*DeleteSelectedReplicationRulesURL) SetBasePath

func (o *DeleteSelectedReplicationRulesURL) 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 (*DeleteSelectedReplicationRulesURL) String

String returns the string representation of the path with query string

func (*DeleteSelectedReplicationRulesURL) StringFull

func (o *DeleteSelectedReplicationRulesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteSelectedReplicationRulesURL) 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 DisableBucketEncryption

type DisableBucketEncryption struct {
	Context *middleware.Context
	Handler DisableBucketEncryptionHandler
}
DisableBucketEncryption swagger:route POST /buckets/{bucket_name}/encryption/disable Bucket disableBucketEncryption

Disable bucket encryption.

func NewDisableBucketEncryption

func NewDisableBucketEncryption(ctx *middleware.Context, handler DisableBucketEncryptionHandler) *DisableBucketEncryption

NewDisableBucketEncryption creates a new http.Handler for the disable bucket encryption operation

func (*DisableBucketEncryption) ServeHTTP

type DisableBucketEncryptionDefault

type DisableBucketEncryptionDefault struct {

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

DisableBucketEncryptionDefault Generic error response.

swagger:response disableBucketEncryptionDefault

func NewDisableBucketEncryptionDefault

func NewDisableBucketEncryptionDefault(code int) *DisableBucketEncryptionDefault

NewDisableBucketEncryptionDefault creates DisableBucketEncryptionDefault with default headers values

func (*DisableBucketEncryptionDefault) SetPayload

func (o *DisableBucketEncryptionDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the disable bucket encryption default response

func (*DisableBucketEncryptionDefault) SetStatusCode

func (o *DisableBucketEncryptionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the disable bucket encryption default response

func (*DisableBucketEncryptionDefault) WithPayload

WithPayload adds the payload to the disable bucket encryption default response

func (*DisableBucketEncryptionDefault) WithStatusCode

WithStatusCode adds the status to the disable bucket encryption default response

func (*DisableBucketEncryptionDefault) WriteResponse

func (o *DisableBucketEncryptionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DisableBucketEncryptionHandler

type DisableBucketEncryptionHandler interface {
	Handle(DisableBucketEncryptionParams, *models.Principal) middleware.Responder
}

DisableBucketEncryptionHandler interface for that can handle valid disable bucket encryption params

type DisableBucketEncryptionHandlerFunc

type DisableBucketEncryptionHandlerFunc func(DisableBucketEncryptionParams, *models.Principal) middleware.Responder

DisableBucketEncryptionHandlerFunc turns a function with the right signature into a disable bucket encryption handler

func (DisableBucketEncryptionHandlerFunc) Handle

Handle executing the request and returning a response

type DisableBucketEncryptionOK

type DisableBucketEncryptionOK struct {
}

DisableBucketEncryptionOK A successful response.

swagger:response disableBucketEncryptionOK

func NewDisableBucketEncryptionOK

func NewDisableBucketEncryptionOK() *DisableBucketEncryptionOK

NewDisableBucketEncryptionOK creates DisableBucketEncryptionOK with default headers values

func (*DisableBucketEncryptionOK) WriteResponse

func (o *DisableBucketEncryptionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DisableBucketEncryptionParams

type DisableBucketEncryptionParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	BucketName string
}

DisableBucketEncryptionParams contains all the bound params for the disable bucket encryption operation typically these are obtained from a http.Request

swagger:parameters DisableBucketEncryption

func NewDisableBucketEncryptionParams

func NewDisableBucketEncryptionParams() DisableBucketEncryptionParams

NewDisableBucketEncryptionParams creates a new DisableBucketEncryptionParams object

There are no default values defined in the spec.

func (*DisableBucketEncryptionParams) 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 NewDisableBucketEncryptionParams() beforehand.

type DisableBucketEncryptionURL

type DisableBucketEncryptionURL struct {
	BucketName string
	// contains filtered or unexported fields
}

DisableBucketEncryptionURL generates an URL for the disable bucket encryption operation

func (*DisableBucketEncryptionURL) Build

func (o *DisableBucketEncryptionURL) Build() (*url.URL, error)

Build a url path and query string

func (*DisableBucketEncryptionURL) BuildFull

func (o *DisableBucketEncryptionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DisableBucketEncryptionURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DisableBucketEncryptionURL) SetBasePath

func (o *DisableBucketEncryptionURL) 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 (*DisableBucketEncryptionURL) String

func (o *DisableBucketEncryptionURL) String() string

String returns the string representation of the path with query string

func (*DisableBucketEncryptionURL) StringFull

func (o *DisableBucketEncryptionURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DisableBucketEncryptionURL) 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 EnableBucketEncryption

type EnableBucketEncryption struct {
	Context *middleware.Context
	Handler EnableBucketEncryptionHandler
}
EnableBucketEncryption swagger:route POST /buckets/{bucket_name}/encryption/enable Bucket enableBucketEncryption

Enable bucket encryption.

func NewEnableBucketEncryption

func NewEnableBucketEncryption(ctx *middleware.Context, handler EnableBucketEncryptionHandler) *EnableBucketEncryption

NewEnableBucketEncryption creates a new http.Handler for the enable bucket encryption operation

func (*EnableBucketEncryption) ServeHTTP

func (o *EnableBucketEncryption) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type EnableBucketEncryptionDefault

type EnableBucketEncryptionDefault struct {

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

EnableBucketEncryptionDefault Generic error response.

swagger:response enableBucketEncryptionDefault

func NewEnableBucketEncryptionDefault

func NewEnableBucketEncryptionDefault(code int) *EnableBucketEncryptionDefault

NewEnableBucketEncryptionDefault creates EnableBucketEncryptionDefault with default headers values

func (*EnableBucketEncryptionDefault) SetPayload

func (o *EnableBucketEncryptionDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the enable bucket encryption default response

func (*EnableBucketEncryptionDefault) SetStatusCode

func (o *EnableBucketEncryptionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the enable bucket encryption default response

func (*EnableBucketEncryptionDefault) WithPayload

WithPayload adds the payload to the enable bucket encryption default response

func (*EnableBucketEncryptionDefault) WithStatusCode

WithStatusCode adds the status to the enable bucket encryption default response

func (*EnableBucketEncryptionDefault) WriteResponse

func (o *EnableBucketEncryptionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnableBucketEncryptionHandler

type EnableBucketEncryptionHandler interface {
	Handle(EnableBucketEncryptionParams, *models.Principal) middleware.Responder
}

EnableBucketEncryptionHandler interface for that can handle valid enable bucket encryption params

type EnableBucketEncryptionHandlerFunc

type EnableBucketEncryptionHandlerFunc func(EnableBucketEncryptionParams, *models.Principal) middleware.Responder

EnableBucketEncryptionHandlerFunc turns a function with the right signature into a enable bucket encryption handler

func (EnableBucketEncryptionHandlerFunc) Handle

Handle executing the request and returning a response

type EnableBucketEncryptionOK

type EnableBucketEncryptionOK struct {
}

EnableBucketEncryptionOK A successful response.

swagger:response enableBucketEncryptionOK

func NewEnableBucketEncryptionOK

func NewEnableBucketEncryptionOK() *EnableBucketEncryptionOK

NewEnableBucketEncryptionOK creates EnableBucketEncryptionOK with default headers values

func (*EnableBucketEncryptionOK) WriteResponse

func (o *EnableBucketEncryptionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnableBucketEncryptionParams

type EnableBucketEncryptionParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.BucketEncryptionRequest
	/*
	  Required: true
	  In: path
	*/
	BucketName string
}

EnableBucketEncryptionParams contains all the bound params for the enable bucket encryption operation typically these are obtained from a http.Request

swagger:parameters EnableBucketEncryption

func NewEnableBucketEncryptionParams

func NewEnableBucketEncryptionParams() EnableBucketEncryptionParams

NewEnableBucketEncryptionParams creates a new EnableBucketEncryptionParams object

There are no default values defined in the spec.

func (*EnableBucketEncryptionParams) 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 NewEnableBucketEncryptionParams() beforehand.

type EnableBucketEncryptionURL

type EnableBucketEncryptionURL struct {
	BucketName string
	// contains filtered or unexported fields
}

EnableBucketEncryptionURL generates an URL for the enable bucket encryption operation

func (*EnableBucketEncryptionURL) Build

func (o *EnableBucketEncryptionURL) Build() (*url.URL, error)

Build a url path and query string

func (*EnableBucketEncryptionURL) BuildFull

func (o *EnableBucketEncryptionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*EnableBucketEncryptionURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*EnableBucketEncryptionURL) SetBasePath

func (o *EnableBucketEncryptionURL) 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 (*EnableBucketEncryptionURL) String

func (o *EnableBucketEncryptionURL) String() string

String returns the string representation of the path with query string

func (*EnableBucketEncryptionURL) StringFull

func (o *EnableBucketEncryptionURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*EnableBucketEncryptionURL) 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 GetBucketEncryptionInfo

type GetBucketEncryptionInfo struct {
	Context *middleware.Context
	Handler GetBucketEncryptionInfoHandler
}
GetBucketEncryptionInfo swagger:route GET /buckets/{bucket_name}/encryption/info Bucket getBucketEncryptionInfo

Get bucket encryption information.

func NewGetBucketEncryptionInfo

func NewGetBucketEncryptionInfo(ctx *middleware.Context, handler GetBucketEncryptionInfoHandler) *GetBucketEncryptionInfo

NewGetBucketEncryptionInfo creates a new http.Handler for the get bucket encryption info operation

func (*GetBucketEncryptionInfo) ServeHTTP

type GetBucketEncryptionInfoDefault

type GetBucketEncryptionInfoDefault struct {

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

GetBucketEncryptionInfoDefault Generic error response.

swagger:response getBucketEncryptionInfoDefault

func NewGetBucketEncryptionInfoDefault

func NewGetBucketEncryptionInfoDefault(code int) *GetBucketEncryptionInfoDefault

NewGetBucketEncryptionInfoDefault creates GetBucketEncryptionInfoDefault with default headers values

func (*GetBucketEncryptionInfoDefault) SetPayload

func (o *GetBucketEncryptionInfoDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get bucket encryption info default response

func (*GetBucketEncryptionInfoDefault) SetStatusCode

func (o *GetBucketEncryptionInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get bucket encryption info default response

func (*GetBucketEncryptionInfoDefault) WithPayload

WithPayload adds the payload to the get bucket encryption info default response

func (*GetBucketEncryptionInfoDefault) WithStatusCode

WithStatusCode adds the status to the get bucket encryption info default response

func (*GetBucketEncryptionInfoDefault) WriteResponse

func (o *GetBucketEncryptionInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketEncryptionInfoHandler

type GetBucketEncryptionInfoHandler interface {
	Handle(GetBucketEncryptionInfoParams, *models.Principal) middleware.Responder
}

GetBucketEncryptionInfoHandler interface for that can handle valid get bucket encryption info params

type GetBucketEncryptionInfoHandlerFunc

type GetBucketEncryptionInfoHandlerFunc func(GetBucketEncryptionInfoParams, *models.Principal) middleware.Responder

GetBucketEncryptionInfoHandlerFunc turns a function with the right signature into a get bucket encryption info handler

func (GetBucketEncryptionInfoHandlerFunc) Handle

Handle executing the request and returning a response

type GetBucketEncryptionInfoOK

type GetBucketEncryptionInfoOK struct {

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

GetBucketEncryptionInfoOK A successful response.

swagger:response getBucketEncryptionInfoOK

func NewGetBucketEncryptionInfoOK

func NewGetBucketEncryptionInfoOK() *GetBucketEncryptionInfoOK

NewGetBucketEncryptionInfoOK creates GetBucketEncryptionInfoOK with default headers values

func (*GetBucketEncryptionInfoOK) SetPayload

func (o *GetBucketEncryptionInfoOK) SetPayload(payload *models.BucketEncryptionInfo)

SetPayload sets the payload to the get bucket encryption info o k response

func (*GetBucketEncryptionInfoOK) WithPayload

WithPayload adds the payload to the get bucket encryption info o k response

func (*GetBucketEncryptionInfoOK) WriteResponse

func (o *GetBucketEncryptionInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketEncryptionInfoParams

type GetBucketEncryptionInfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	BucketName string
}

GetBucketEncryptionInfoParams contains all the bound params for the get bucket encryption info operation typically these are obtained from a http.Request

swagger:parameters GetBucketEncryptionInfo

func NewGetBucketEncryptionInfoParams

func NewGetBucketEncryptionInfoParams() GetBucketEncryptionInfoParams

NewGetBucketEncryptionInfoParams creates a new GetBucketEncryptionInfoParams object

There are no default values defined in the spec.

func (*GetBucketEncryptionInfoParams) 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 NewGetBucketEncryptionInfoParams() beforehand.

type GetBucketEncryptionInfoURL

type GetBucketEncryptionInfoURL struct {
	BucketName string
	// contains filtered or unexported fields
}

GetBucketEncryptionInfoURL generates an URL for the get bucket encryption info operation

func (*GetBucketEncryptionInfoURL) Build

func (o *GetBucketEncryptionInfoURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetBucketEncryptionInfoURL) BuildFull

func (o *GetBucketEncryptionInfoURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetBucketEncryptionInfoURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetBucketEncryptionInfoURL) SetBasePath

func (o *GetBucketEncryptionInfoURL) 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 (*GetBucketEncryptionInfoURL) String

func (o *GetBucketEncryptionInfoURL) String() string

String returns the string representation of the path with query string

func (*GetBucketEncryptionInfoURL) StringFull

func (o *GetBucketEncryptionInfoURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetBucketEncryptionInfoURL) 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 GetBucketLifecycle

type GetBucketLifecycle struct {
	Context *middleware.Context
	Handler GetBucketLifecycleHandler
}
GetBucketLifecycle swagger:route GET /buckets/{bucket_name}/lifecycle Bucket getBucketLifecycle

Bucket Lifecycle

func NewGetBucketLifecycle

func NewGetBucketLifecycle(ctx *middleware.Context, handler GetBucketLifecycleHandler) *GetBucketLifecycle

NewGetBucketLifecycle creates a new http.Handler for the get bucket lifecycle operation

func (*GetBucketLifecycle) ServeHTTP

func (o *GetBucketLifecycle) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetBucketLifecycleDefault

type GetBucketLifecycleDefault struct {

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

GetBucketLifecycleDefault Generic error response.

swagger:response getBucketLifecycleDefault

func NewGetBucketLifecycleDefault

func NewGetBucketLifecycleDefault(code int) *GetBucketLifecycleDefault

NewGetBucketLifecycleDefault creates GetBucketLifecycleDefault with default headers values

func (*GetBucketLifecycleDefault) SetPayload

func (o *GetBucketLifecycleDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get bucket lifecycle default response

func (*GetBucketLifecycleDefault) SetStatusCode

func (o *GetBucketLifecycleDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get bucket lifecycle default response

func (*GetBucketLifecycleDefault) WithPayload

WithPayload adds the payload to the get bucket lifecycle default response

func (*GetBucketLifecycleDefault) WithStatusCode

func (o *GetBucketLifecycleDefault) WithStatusCode(code int) *GetBucketLifecycleDefault

WithStatusCode adds the status to the get bucket lifecycle default response

func (*GetBucketLifecycleDefault) WriteResponse

func (o *GetBucketLifecycleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketLifecycleHandler

type GetBucketLifecycleHandler interface {
	Handle(GetBucketLifecycleParams, *models.Principal) middleware.Responder
}

GetBucketLifecycleHandler interface for that can handle valid get bucket lifecycle params

type GetBucketLifecycleHandlerFunc

type GetBucketLifecycleHandlerFunc func(GetBucketLifecycleParams, *models.Principal) middleware.Responder

GetBucketLifecycleHandlerFunc turns a function with the right signature into a get bucket lifecycle handler

func (GetBucketLifecycleHandlerFunc) Handle

Handle executing the request and returning a response

type GetBucketLifecycleOK

type GetBucketLifecycleOK struct {

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

GetBucketLifecycleOK A successful response.

swagger:response getBucketLifecycleOK

func NewGetBucketLifecycleOK

func NewGetBucketLifecycleOK() *GetBucketLifecycleOK

NewGetBucketLifecycleOK creates GetBucketLifecycleOK with default headers values

func (*GetBucketLifecycleOK) SetPayload

func (o *GetBucketLifecycleOK) SetPayload(payload *models.BucketLifecycleResponse)

SetPayload sets the payload to the get bucket lifecycle o k response

func (*GetBucketLifecycleOK) WithPayload

WithPayload adds the payload to the get bucket lifecycle o k response

func (*GetBucketLifecycleOK) WriteResponse

func (o *GetBucketLifecycleOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketLifecycleParams

type GetBucketLifecycleParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	BucketName string
}

GetBucketLifecycleParams contains all the bound params for the get bucket lifecycle operation typically these are obtained from a http.Request

swagger:parameters GetBucketLifecycle

func NewGetBucketLifecycleParams

func NewGetBucketLifecycleParams() GetBucketLifecycleParams

NewGetBucketLifecycleParams creates a new GetBucketLifecycleParams object

There are no default values defined in the spec.

func (*GetBucketLifecycleParams) 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 NewGetBucketLifecycleParams() beforehand.

type GetBucketLifecycleURL

type GetBucketLifecycleURL struct {
	BucketName string
	// contains filtered or unexported fields
}

GetBucketLifecycleURL generates an URL for the get bucket lifecycle operation

func (*GetBucketLifecycleURL) Build

func (o *GetBucketLifecycleURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetBucketLifecycleURL) BuildFull

func (o *GetBucketLifecycleURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetBucketLifecycleURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetBucketLifecycleURL) SetBasePath

func (o *GetBucketLifecycleURL) 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 (*GetBucketLifecycleURL) String

func (o *GetBucketLifecycleURL) String() string

String returns the string representation of the path with query string

func (*GetBucketLifecycleURL) StringFull

func (o *GetBucketLifecycleURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetBucketLifecycleURL) WithBasePath

func (o *GetBucketLifecycleURL) WithBasePath(bp string) *GetBucketLifecycleURL

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 GetBucketObjectLockingStatus

type GetBucketObjectLockingStatus struct {
	Context *middleware.Context
	Handler GetBucketObjectLockingStatusHandler
}
GetBucketObjectLockingStatus swagger:route GET /buckets/{bucket_name}/object-locking Bucket getBucketObjectLockingStatus

Returns the status of object locking support on the bucket

func NewGetBucketObjectLockingStatus

func NewGetBucketObjectLockingStatus(ctx *middleware.Context, handler GetBucketObjectLockingStatusHandler) *GetBucketObjectLockingStatus

NewGetBucketObjectLockingStatus creates a new http.Handler for the get bucket object locking status operation

func (*GetBucketObjectLockingStatus) ServeHTTP

type GetBucketObjectLockingStatusDefault

type GetBucketObjectLockingStatusDefault struct {

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

GetBucketObjectLockingStatusDefault Generic error response.

swagger:response getBucketObjectLockingStatusDefault

func NewGetBucketObjectLockingStatusDefault

func NewGetBucketObjectLockingStatusDefault(code int) *GetBucketObjectLockingStatusDefault

NewGetBucketObjectLockingStatusDefault creates GetBucketObjectLockingStatusDefault with default headers values

func (*GetBucketObjectLockingStatusDefault) SetPayload

func (o *GetBucketObjectLockingStatusDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get bucket object locking status default response

func (*GetBucketObjectLockingStatusDefault) SetStatusCode

func (o *GetBucketObjectLockingStatusDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get bucket object locking status default response

func (*GetBucketObjectLockingStatusDefault) WithPayload

WithPayload adds the payload to the get bucket object locking status default response

func (*GetBucketObjectLockingStatusDefault) WithStatusCode

WithStatusCode adds the status to the get bucket object locking status default response

func (*GetBucketObjectLockingStatusDefault) WriteResponse

WriteResponse to the client

type GetBucketObjectLockingStatusHandler

type GetBucketObjectLockingStatusHandler interface {
	Handle(GetBucketObjectLockingStatusParams, *models.Principal) middleware.Responder
}

GetBucketObjectLockingStatusHandler interface for that can handle valid get bucket object locking status params

type GetBucketObjectLockingStatusHandlerFunc

type GetBucketObjectLockingStatusHandlerFunc func(GetBucketObjectLockingStatusParams, *models.Principal) middleware.Responder

GetBucketObjectLockingStatusHandlerFunc turns a function with the right signature into a get bucket object locking status handler

func (GetBucketObjectLockingStatusHandlerFunc) Handle

Handle executing the request and returning a response

type GetBucketObjectLockingStatusOK

type GetBucketObjectLockingStatusOK struct {

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

GetBucketObjectLockingStatusOK A successful response.

swagger:response getBucketObjectLockingStatusOK

func NewGetBucketObjectLockingStatusOK

func NewGetBucketObjectLockingStatusOK() *GetBucketObjectLockingStatusOK

NewGetBucketObjectLockingStatusOK creates GetBucketObjectLockingStatusOK with default headers values

func (*GetBucketObjectLockingStatusOK) SetPayload

SetPayload sets the payload to the get bucket object locking status o k response

func (*GetBucketObjectLockingStatusOK) WithPayload

WithPayload adds the payload to the get bucket object locking status o k response

func (*GetBucketObjectLockingStatusOK) WriteResponse

func (o *GetBucketObjectLockingStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketObjectLockingStatusParams

type GetBucketObjectLockingStatusParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	BucketName string
}

GetBucketObjectLockingStatusParams contains all the bound params for the get bucket object locking status operation typically these are obtained from a http.Request

swagger:parameters GetBucketObjectLockingStatus

func NewGetBucketObjectLockingStatusParams

func NewGetBucketObjectLockingStatusParams() GetBucketObjectLockingStatusParams

NewGetBucketObjectLockingStatusParams creates a new GetBucketObjectLockingStatusParams object

There are no default values defined in the spec.

func (*GetBucketObjectLockingStatusParams) 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 NewGetBucketObjectLockingStatusParams() beforehand.

type GetBucketObjectLockingStatusURL

type GetBucketObjectLockingStatusURL struct {
	BucketName string
	// contains filtered or unexported fields
}

GetBucketObjectLockingStatusURL generates an URL for the get bucket object locking status operation

func (*GetBucketObjectLockingStatusURL) Build

Build a url path and query string

func (*GetBucketObjectLockingStatusURL) BuildFull

func (o *GetBucketObjectLockingStatusURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetBucketObjectLockingStatusURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetBucketObjectLockingStatusURL) SetBasePath

func (o *GetBucketObjectLockingStatusURL) 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 (*GetBucketObjectLockingStatusURL) String

String returns the string representation of the path with query string

func (*GetBucketObjectLockingStatusURL) StringFull

func (o *GetBucketObjectLockingStatusURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetBucketObjectLockingStatusURL) 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 GetBucketQuota

type GetBucketQuota struct {
	Context *middleware.Context
	Handler GetBucketQuotaHandler
}
GetBucketQuota swagger:route GET /buckets/{name}/quota Bucket getBucketQuota

Get Bucket Quota

func NewGetBucketQuota

func NewGetBucketQuota(ctx *middleware.Context, handler GetBucketQuotaHandler) *GetBucketQuota

NewGetBucketQuota creates a new http.Handler for the get bucket quota operation

func (*GetBucketQuota) ServeHTTP

func (o *GetBucketQuota) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetBucketQuotaDefault

type GetBucketQuotaDefault struct {

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

GetBucketQuotaDefault Generic error response.

swagger:response getBucketQuotaDefault

func NewGetBucketQuotaDefault

func NewGetBucketQuotaDefault(code int) *GetBucketQuotaDefault

NewGetBucketQuotaDefault creates GetBucketQuotaDefault with default headers values

func (*GetBucketQuotaDefault) SetPayload

func (o *GetBucketQuotaDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get bucket quota default response

func (*GetBucketQuotaDefault) SetStatusCode

func (o *GetBucketQuotaDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get bucket quota default response

func (*GetBucketQuotaDefault) WithPayload

func (o *GetBucketQuotaDefault) WithPayload(payload *models.Error) *GetBucketQuotaDefault

WithPayload adds the payload to the get bucket quota default response

func (*GetBucketQuotaDefault) WithStatusCode

func (o *GetBucketQuotaDefault) WithStatusCode(code int) *GetBucketQuotaDefault

WithStatusCode adds the status to the get bucket quota default response

func (*GetBucketQuotaDefault) WriteResponse

func (o *GetBucketQuotaDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketQuotaHandler

type GetBucketQuotaHandler interface {
	Handle(GetBucketQuotaParams, *models.Principal) middleware.Responder
}

GetBucketQuotaHandler interface for that can handle valid get bucket quota params

type GetBucketQuotaHandlerFunc

type GetBucketQuotaHandlerFunc func(GetBucketQuotaParams, *models.Principal) middleware.Responder

GetBucketQuotaHandlerFunc turns a function with the right signature into a get bucket quota handler

func (GetBucketQuotaHandlerFunc) Handle

Handle executing the request and returning a response

type GetBucketQuotaOK

type GetBucketQuotaOK struct {

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

GetBucketQuotaOK A successful response.

swagger:response getBucketQuotaOK

func NewGetBucketQuotaOK

func NewGetBucketQuotaOK() *GetBucketQuotaOK

NewGetBucketQuotaOK creates GetBucketQuotaOK with default headers values

func (*GetBucketQuotaOK) SetPayload

func (o *GetBucketQuotaOK) SetPayload(payload *models.BucketQuota)

SetPayload sets the payload to the get bucket quota o k response

func (*GetBucketQuotaOK) WithPayload

func (o *GetBucketQuotaOK) WithPayload(payload *models.BucketQuota) *GetBucketQuotaOK

WithPayload adds the payload to the get bucket quota o k response

func (*GetBucketQuotaOK) WriteResponse

func (o *GetBucketQuotaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketQuotaParams

type GetBucketQuotaParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Name string
}

GetBucketQuotaParams contains all the bound params for the get bucket quota operation typically these are obtained from a http.Request

swagger:parameters GetBucketQuota

func NewGetBucketQuotaParams

func NewGetBucketQuotaParams() GetBucketQuotaParams

NewGetBucketQuotaParams creates a new GetBucketQuotaParams object

There are no default values defined in the spec.

func (*GetBucketQuotaParams) BindRequest

func (o *GetBucketQuotaParams) 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 NewGetBucketQuotaParams() beforehand.

type GetBucketQuotaURL

type GetBucketQuotaURL struct {
	Name string
	// contains filtered or unexported fields
}

GetBucketQuotaURL generates an URL for the get bucket quota operation

func (*GetBucketQuotaURL) Build

func (o *GetBucketQuotaURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetBucketQuotaURL) BuildFull

func (o *GetBucketQuotaURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetBucketQuotaURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetBucketQuotaURL) SetBasePath

func (o *GetBucketQuotaURL) 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 (*GetBucketQuotaURL) String

func (o *GetBucketQuotaURL) String() string

String returns the string representation of the path with query string

func (*GetBucketQuotaURL) StringFull

func (o *GetBucketQuotaURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetBucketQuotaURL) WithBasePath

func (o *GetBucketQuotaURL) WithBasePath(bp string) *GetBucketQuotaURL

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 GetBucketReplication

type GetBucketReplication struct {
	Context *middleware.Context
	Handler GetBucketReplicationHandler
}
GetBucketReplication swagger:route GET /buckets/{bucket_name}/replication Bucket getBucketReplication

Bucket Replication

func NewGetBucketReplication

func NewGetBucketReplication(ctx *middleware.Context, handler GetBucketReplicationHandler) *GetBucketReplication

NewGetBucketReplication creates a new http.Handler for the get bucket replication operation

func (*GetBucketReplication) ServeHTTP

func (o *GetBucketReplication) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetBucketReplicationDefault

type GetBucketReplicationDefault struct {

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

GetBucketReplicationDefault Generic error response.

swagger:response getBucketReplicationDefault

func NewGetBucketReplicationDefault

func NewGetBucketReplicationDefault(code int) *GetBucketReplicationDefault

NewGetBucketReplicationDefault creates GetBucketReplicationDefault with default headers values

func (*GetBucketReplicationDefault) SetPayload

func (o *GetBucketReplicationDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get bucket replication default response

func (*GetBucketReplicationDefault) SetStatusCode

func (o *GetBucketReplicationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get bucket replication default response

func (*GetBucketReplicationDefault) WithPayload

WithPayload adds the payload to the get bucket replication default response

func (*GetBucketReplicationDefault) WithStatusCode

WithStatusCode adds the status to the get bucket replication default response

func (*GetBucketReplicationDefault) WriteResponse

func (o *GetBucketReplicationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketReplicationHandler

type GetBucketReplicationHandler interface {
	Handle(GetBucketReplicationParams, *models.Principal) middleware.Responder
}

GetBucketReplicationHandler interface for that can handle valid get bucket replication params

type GetBucketReplicationHandlerFunc

type GetBucketReplicationHandlerFunc func(GetBucketReplicationParams, *models.Principal) middleware.Responder

GetBucketReplicationHandlerFunc turns a function with the right signature into a get bucket replication handler

func (GetBucketReplicationHandlerFunc) Handle

Handle executing the request and returning a response

type GetBucketReplicationOK

type GetBucketReplicationOK struct {

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

GetBucketReplicationOK A successful response.

swagger:response getBucketReplicationOK

func NewGetBucketReplicationOK

func NewGetBucketReplicationOK() *GetBucketReplicationOK

NewGetBucketReplicationOK creates GetBucketReplicationOK with default headers values

func (*GetBucketReplicationOK) SetPayload

SetPayload sets the payload to the get bucket replication o k response

func (*GetBucketReplicationOK) WithPayload

WithPayload adds the payload to the get bucket replication o k response

func (*GetBucketReplicationOK) WriteResponse

func (o *GetBucketReplicationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketReplicationParams

type GetBucketReplicationParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	BucketName string
}

GetBucketReplicationParams contains all the bound params for the get bucket replication operation typically these are obtained from a http.Request

swagger:parameters GetBucketReplication

func NewGetBucketReplicationParams

func NewGetBucketReplicationParams() GetBucketReplicationParams

NewGetBucketReplicationParams creates a new GetBucketReplicationParams object

There are no default values defined in the spec.

func (*GetBucketReplicationParams) 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 NewGetBucketReplicationParams() beforehand.

type GetBucketReplicationRule

type GetBucketReplicationRule struct {
	Context *middleware.Context
	Handler GetBucketReplicationRuleHandler
}
GetBucketReplicationRule swagger:route GET /buckets/{bucket_name}/replication/{rule_id} Bucket getBucketReplicationRule

Bucket Replication

func NewGetBucketReplicationRule

func NewGetBucketReplicationRule(ctx *middleware.Context, handler GetBucketReplicationRuleHandler) *GetBucketReplicationRule

NewGetBucketReplicationRule creates a new http.Handler for the get bucket replication rule operation

func (*GetBucketReplicationRule) ServeHTTP

type GetBucketReplicationRuleDefault

type GetBucketReplicationRuleDefault struct {

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

GetBucketReplicationRuleDefault Generic error response.

swagger:response getBucketReplicationRuleDefault

func NewGetBucketReplicationRuleDefault

func NewGetBucketReplicationRuleDefault(code int) *GetBucketReplicationRuleDefault

NewGetBucketReplicationRuleDefault creates GetBucketReplicationRuleDefault with default headers values

func (*GetBucketReplicationRuleDefault) SetPayload

func (o *GetBucketReplicationRuleDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get bucket replication rule default response

func (*GetBucketReplicationRuleDefault) SetStatusCode

func (o *GetBucketReplicationRuleDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get bucket replication rule default response

func (*GetBucketReplicationRuleDefault) WithPayload

WithPayload adds the payload to the get bucket replication rule default response

func (*GetBucketReplicationRuleDefault) WithStatusCode

WithStatusCode adds the status to the get bucket replication rule default response

func (*GetBucketReplicationRuleDefault) WriteResponse

func (o *GetBucketReplicationRuleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketReplicationRuleHandler

type GetBucketReplicationRuleHandler interface {
	Handle(GetBucketReplicationRuleParams, *models.Principal) middleware.Responder
}

GetBucketReplicationRuleHandler interface for that can handle valid get bucket replication rule params

type GetBucketReplicationRuleHandlerFunc

type GetBucketReplicationRuleHandlerFunc func(GetBucketReplicationRuleParams, *models.Principal) middleware.Responder

GetBucketReplicationRuleHandlerFunc turns a function with the right signature into a get bucket replication rule handler

func (GetBucketReplicationRuleHandlerFunc) Handle

Handle executing the request and returning a response

type GetBucketReplicationRuleOK

type GetBucketReplicationRuleOK struct {

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

GetBucketReplicationRuleOK A successful response.

swagger:response getBucketReplicationRuleOK

func NewGetBucketReplicationRuleOK

func NewGetBucketReplicationRuleOK() *GetBucketReplicationRuleOK

NewGetBucketReplicationRuleOK creates GetBucketReplicationRuleOK with default headers values

func (*GetBucketReplicationRuleOK) SetPayload

SetPayload sets the payload to the get bucket replication rule o k response

func (*GetBucketReplicationRuleOK) WithPayload

WithPayload adds the payload to the get bucket replication rule o k response

func (*GetBucketReplicationRuleOK) WriteResponse

func (o *GetBucketReplicationRuleOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketReplicationRuleParams

type GetBucketReplicationRuleParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	BucketName string
	/*
	  Required: true
	  In: path
	*/
	RuleID string
}

GetBucketReplicationRuleParams contains all the bound params for the get bucket replication rule operation typically these are obtained from a http.Request

swagger:parameters GetBucketReplicationRule

func NewGetBucketReplicationRuleParams

func NewGetBucketReplicationRuleParams() GetBucketReplicationRuleParams

NewGetBucketReplicationRuleParams creates a new GetBucketReplicationRuleParams object

There are no default values defined in the spec.

func (*GetBucketReplicationRuleParams) 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 NewGetBucketReplicationRuleParams() beforehand.

type GetBucketReplicationRuleURL

type GetBucketReplicationRuleURL struct {
	BucketName string
	RuleID     string
	// contains filtered or unexported fields
}

GetBucketReplicationRuleURL generates an URL for the get bucket replication rule operation

func (*GetBucketReplicationRuleURL) Build

func (o *GetBucketReplicationRuleURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetBucketReplicationRuleURL) BuildFull

func (o *GetBucketReplicationRuleURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetBucketReplicationRuleURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetBucketReplicationRuleURL) SetBasePath

func (o *GetBucketReplicationRuleURL) 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 (*GetBucketReplicationRuleURL) String

func (o *GetBucketReplicationRuleURL) String() string

String returns the string representation of the path with query string

func (*GetBucketReplicationRuleURL) StringFull

func (o *GetBucketReplicationRuleURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetBucketReplicationRuleURL) 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 GetBucketReplicationURL

type GetBucketReplicationURL struct {
	BucketName string
	// contains filtered or unexported fields
}

GetBucketReplicationURL generates an URL for the get bucket replication operation

func (*GetBucketReplicationURL) Build

func (o *GetBucketReplicationURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetBucketReplicationURL) BuildFull

func (o *GetBucketReplicationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetBucketReplicationURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetBucketReplicationURL) SetBasePath

func (o *GetBucketReplicationURL) 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 (*GetBucketReplicationURL) String

func (o *GetBucketReplicationURL) String() string

String returns the string representation of the path with query string

func (*GetBucketReplicationURL) StringFull

func (o *GetBucketReplicationURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetBucketReplicationURL) 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 GetBucketRetentionConfig

type GetBucketRetentionConfig struct {
	Context *middleware.Context
	Handler GetBucketRetentionConfigHandler
}
GetBucketRetentionConfig swagger:route GET /buckets/{bucket_name}/retention Bucket getBucketRetentionConfig

Get Bucket's retention config

func NewGetBucketRetentionConfig

func NewGetBucketRetentionConfig(ctx *middleware.Context, handler GetBucketRetentionConfigHandler) *GetBucketRetentionConfig

NewGetBucketRetentionConfig creates a new http.Handler for the get bucket retention config operation

func (*GetBucketRetentionConfig) ServeHTTP

type GetBucketRetentionConfigDefault

type GetBucketRetentionConfigDefault struct {

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

GetBucketRetentionConfigDefault Generic error response.

swagger:response getBucketRetentionConfigDefault

func NewGetBucketRetentionConfigDefault

func NewGetBucketRetentionConfigDefault(code int) *GetBucketRetentionConfigDefault

NewGetBucketRetentionConfigDefault creates GetBucketRetentionConfigDefault with default headers values

func (*GetBucketRetentionConfigDefault) SetPayload

func (o *GetBucketRetentionConfigDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get bucket retention config default response

func (*GetBucketRetentionConfigDefault) SetStatusCode

func (o *GetBucketRetentionConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get bucket retention config default response

func (*GetBucketRetentionConfigDefault) WithPayload

WithPayload adds the payload to the get bucket retention config default response

func (*GetBucketRetentionConfigDefault) WithStatusCode

WithStatusCode adds the status to the get bucket retention config default response

func (*GetBucketRetentionConfigDefault) WriteResponse

func (o *GetBucketRetentionConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketRetentionConfigHandler

type GetBucketRetentionConfigHandler interface {
	Handle(GetBucketRetentionConfigParams, *models.Principal) middleware.Responder
}

GetBucketRetentionConfigHandler interface for that can handle valid get bucket retention config params

type GetBucketRetentionConfigHandlerFunc

type GetBucketRetentionConfigHandlerFunc func(GetBucketRetentionConfigParams, *models.Principal) middleware.Responder

GetBucketRetentionConfigHandlerFunc turns a function with the right signature into a get bucket retention config handler

func (GetBucketRetentionConfigHandlerFunc) Handle

Handle executing the request and returning a response

type GetBucketRetentionConfigOK

type GetBucketRetentionConfigOK struct {

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

GetBucketRetentionConfigOK A successful response.

swagger:response getBucketRetentionConfigOK

func NewGetBucketRetentionConfigOK

func NewGetBucketRetentionConfigOK() *GetBucketRetentionConfigOK

NewGetBucketRetentionConfigOK creates GetBucketRetentionConfigOK with default headers values

func (*GetBucketRetentionConfigOK) SetPayload

SetPayload sets the payload to the get bucket retention config o k response

func (*GetBucketRetentionConfigOK) WithPayload

WithPayload adds the payload to the get bucket retention config o k response

func (*GetBucketRetentionConfigOK) WriteResponse

func (o *GetBucketRetentionConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketRetentionConfigParams

type GetBucketRetentionConfigParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	BucketName string
}

GetBucketRetentionConfigParams contains all the bound params for the get bucket retention config operation typically these are obtained from a http.Request

swagger:parameters GetBucketRetentionConfig

func NewGetBucketRetentionConfigParams

func NewGetBucketRetentionConfigParams() GetBucketRetentionConfigParams

NewGetBucketRetentionConfigParams creates a new GetBucketRetentionConfigParams object

There are no default values defined in the spec.

func (*GetBucketRetentionConfigParams) 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 NewGetBucketRetentionConfigParams() beforehand.

type GetBucketRetentionConfigURL

type GetBucketRetentionConfigURL struct {
	BucketName string
	// contains filtered or unexported fields
}

GetBucketRetentionConfigURL generates an URL for the get bucket retention config operation

func (*GetBucketRetentionConfigURL) Build

func (o *GetBucketRetentionConfigURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetBucketRetentionConfigURL) BuildFull

func (o *GetBucketRetentionConfigURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetBucketRetentionConfigURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetBucketRetentionConfigURL) SetBasePath

func (o *GetBucketRetentionConfigURL) 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 (*GetBucketRetentionConfigURL) String

func (o *GetBucketRetentionConfigURL) String() string

String returns the string representation of the path with query string

func (*GetBucketRetentionConfigURL) StringFull

func (o *GetBucketRetentionConfigURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetBucketRetentionConfigURL) 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 GetBucketRewind

type GetBucketRewind struct {
	Context *middleware.Context
	Handler GetBucketRewindHandler
}
GetBucketRewind swagger:route GET /buckets/{bucket_name}/rewind/{date} Bucket getBucketRewind

Get objects in a bucket for a rewind date

func NewGetBucketRewind

func NewGetBucketRewind(ctx *middleware.Context, handler GetBucketRewindHandler) *GetBucketRewind

NewGetBucketRewind creates a new http.Handler for the get bucket rewind operation

func (*GetBucketRewind) ServeHTTP

func (o *GetBucketRewind) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetBucketRewindDefault

type GetBucketRewindDefault struct {

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

GetBucketRewindDefault Generic error response.

swagger:response getBucketRewindDefault

func NewGetBucketRewindDefault

func NewGetBucketRewindDefault(code int) *GetBucketRewindDefault

NewGetBucketRewindDefault creates GetBucketRewindDefault with default headers values

func (*GetBucketRewindDefault) SetPayload

func (o *GetBucketRewindDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get bucket rewind default response

func (*GetBucketRewindDefault) SetStatusCode

func (o *GetBucketRewindDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get bucket rewind default response

func (*GetBucketRewindDefault) WithPayload

func (o *GetBucketRewindDefault) WithPayload(payload *models.Error) *GetBucketRewindDefault

WithPayload adds the payload to the get bucket rewind default response

func (*GetBucketRewindDefault) WithStatusCode

func (o *GetBucketRewindDefault) WithStatusCode(code int) *GetBucketRewindDefault

WithStatusCode adds the status to the get bucket rewind default response

func (*GetBucketRewindDefault) WriteResponse

func (o *GetBucketRewindDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketRewindHandler

type GetBucketRewindHandler interface {
	Handle(GetBucketRewindParams, *models.Principal) middleware.Responder
}

GetBucketRewindHandler interface for that can handle valid get bucket rewind params

type GetBucketRewindHandlerFunc

type GetBucketRewindHandlerFunc func(GetBucketRewindParams, *models.Principal) middleware.Responder

GetBucketRewindHandlerFunc turns a function with the right signature into a get bucket rewind handler

func (GetBucketRewindHandlerFunc) Handle

Handle executing the request and returning a response

type GetBucketRewindOK

type GetBucketRewindOK struct {

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

GetBucketRewindOK A successful response.

swagger:response getBucketRewindOK

func NewGetBucketRewindOK

func NewGetBucketRewindOK() *GetBucketRewindOK

NewGetBucketRewindOK creates GetBucketRewindOK with default headers values

func (*GetBucketRewindOK) SetPayload

func (o *GetBucketRewindOK) SetPayload(payload *models.RewindResponse)

SetPayload sets the payload to the get bucket rewind o k response

func (*GetBucketRewindOK) WithPayload

func (o *GetBucketRewindOK) WithPayload(payload *models.RewindResponse) *GetBucketRewindOK

WithPayload adds the payload to the get bucket rewind o k response

func (*GetBucketRewindOK) WriteResponse

func (o *GetBucketRewindOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketRewindParams

type GetBucketRewindParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

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

GetBucketRewindParams contains all the bound params for the get bucket rewind operation typically these are obtained from a http.Request

swagger:parameters GetBucketRewind

func NewGetBucketRewindParams

func NewGetBucketRewindParams() GetBucketRewindParams

NewGetBucketRewindParams creates a new GetBucketRewindParams object

There are no default values defined in the spec.

func (*GetBucketRewindParams) BindRequest

func (o *GetBucketRewindParams) 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 NewGetBucketRewindParams() beforehand.

type GetBucketRewindURL

type GetBucketRewindURL struct {
	BucketName string
	Date       string

	Prefix *string
	// contains filtered or unexported fields
}

GetBucketRewindURL generates an URL for the get bucket rewind operation

func (*GetBucketRewindURL) Build

func (o *GetBucketRewindURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetBucketRewindURL) BuildFull

func (o *GetBucketRewindURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetBucketRewindURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetBucketRewindURL) SetBasePath

func (o *GetBucketRewindURL) 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 (*GetBucketRewindURL) String

func (o *GetBucketRewindURL) String() string

String returns the string representation of the path with query string

func (*GetBucketRewindURL) StringFull

func (o *GetBucketRewindURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetBucketRewindURL) WithBasePath

func (o *GetBucketRewindURL) WithBasePath(bp string) *GetBucketRewindURL

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 GetBucketVersioning

type GetBucketVersioning struct {
	Context *middleware.Context
	Handler GetBucketVersioningHandler
}
GetBucketVersioning swagger:route GET /buckets/{bucket_name}/versioning Bucket getBucketVersioning

Bucket Versioning

func NewGetBucketVersioning

func NewGetBucketVersioning(ctx *middleware.Context, handler GetBucketVersioningHandler) *GetBucketVersioning

NewGetBucketVersioning creates a new http.Handler for the get bucket versioning operation

func (*GetBucketVersioning) ServeHTTP

func (o *GetBucketVersioning) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetBucketVersioningDefault

type GetBucketVersioningDefault struct {

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

GetBucketVersioningDefault Generic error response.

swagger:response getBucketVersioningDefault

func NewGetBucketVersioningDefault

func NewGetBucketVersioningDefault(code int) *GetBucketVersioningDefault

NewGetBucketVersioningDefault creates GetBucketVersioningDefault with default headers values

func (*GetBucketVersioningDefault) SetPayload

func (o *GetBucketVersioningDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get bucket versioning default response

func (*GetBucketVersioningDefault) SetStatusCode

func (o *GetBucketVersioningDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get bucket versioning default response

func (*GetBucketVersioningDefault) WithPayload

WithPayload adds the payload to the get bucket versioning default response

func (*GetBucketVersioningDefault) WithStatusCode

WithStatusCode adds the status to the get bucket versioning default response

func (*GetBucketVersioningDefault) WriteResponse

func (o *GetBucketVersioningDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketVersioningHandler

type GetBucketVersioningHandler interface {
	Handle(GetBucketVersioningParams, *models.Principal) middleware.Responder
}

GetBucketVersioningHandler interface for that can handle valid get bucket versioning params

type GetBucketVersioningHandlerFunc

type GetBucketVersioningHandlerFunc func(GetBucketVersioningParams, *models.Principal) middleware.Responder

GetBucketVersioningHandlerFunc turns a function with the right signature into a get bucket versioning handler

func (GetBucketVersioningHandlerFunc) Handle

Handle executing the request and returning a response

type GetBucketVersioningOK

type GetBucketVersioningOK struct {

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

GetBucketVersioningOK A successful response.

swagger:response getBucketVersioningOK

func NewGetBucketVersioningOK

func NewGetBucketVersioningOK() *GetBucketVersioningOK

NewGetBucketVersioningOK creates GetBucketVersioningOK with default headers values

func (*GetBucketVersioningOK) SetPayload

func (o *GetBucketVersioningOK) SetPayload(payload *models.BucketVersioningResponse)

SetPayload sets the payload to the get bucket versioning o k response

func (*GetBucketVersioningOK) WithPayload

WithPayload adds the payload to the get bucket versioning o k response

func (*GetBucketVersioningOK) WriteResponse

func (o *GetBucketVersioningOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBucketVersioningParams

type GetBucketVersioningParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	BucketName string
}

GetBucketVersioningParams contains all the bound params for the get bucket versioning operation typically these are obtained from a http.Request

swagger:parameters GetBucketVersioning

func NewGetBucketVersioningParams

func NewGetBucketVersioningParams() GetBucketVersioningParams

NewGetBucketVersioningParams creates a new GetBucketVersioningParams object

There are no default values defined in the spec.

func (*GetBucketVersioningParams) 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 NewGetBucketVersioningParams() beforehand.

type GetBucketVersioningURL

type GetBucketVersioningURL struct {
	BucketName string
	// contains filtered or unexported fields
}

GetBucketVersioningURL generates an URL for the get bucket versioning operation

func (*GetBucketVersioningURL) Build

func (o *GetBucketVersioningURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetBucketVersioningURL) BuildFull

func (o *GetBucketVersioningURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetBucketVersioningURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetBucketVersioningURL) SetBasePath

func (o *GetBucketVersioningURL) 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 (*GetBucketVersioningURL) String

func (o *GetBucketVersioningURL) String() string

String returns the string representation of the path with query string

func (*GetBucketVersioningURL) StringFull

func (o *GetBucketVersioningURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetBucketVersioningURL) 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 ListAccessRulesWithBucket

type ListAccessRulesWithBucket struct {
	Context *middleware.Context
	Handler ListAccessRulesWithBucketHandler
}
ListAccessRulesWithBucket swagger:route GET /bucket/{bucket}/access-rules Bucket listAccessRulesWithBucket

List Access Rules With Given Bucket

func NewListAccessRulesWithBucket

func NewListAccessRulesWithBucket(ctx *middleware.Context, handler ListAccessRulesWithBucketHandler) *ListAccessRulesWithBucket

NewListAccessRulesWithBucket creates a new http.Handler for the list access rules with bucket operation

func (*ListAccessRulesWithBucket) ServeHTTP

type ListAccessRulesWithBucketDefault

type ListAccessRulesWithBucketDefault struct {

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

ListAccessRulesWithBucketDefault Generic error response.

swagger:response listAccessRulesWithBucketDefault

func NewListAccessRulesWithBucketDefault

func NewListAccessRulesWithBucketDefault(code int) *ListAccessRulesWithBucketDefault

NewListAccessRulesWithBucketDefault creates ListAccessRulesWithBucketDefault with default headers values

func (*ListAccessRulesWithBucketDefault) SetPayload

func (o *ListAccessRulesWithBucketDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the list access rules with bucket default response

func (*ListAccessRulesWithBucketDefault) SetStatusCode

func (o *ListAccessRulesWithBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list access rules with bucket default response

func (*ListAccessRulesWithBucketDefault) WithPayload

WithPayload adds the payload to the list access rules with bucket default response

func (*ListAccessRulesWithBucketDefault) WithStatusCode

WithStatusCode adds the status to the list access rules with bucket default response

func (*ListAccessRulesWithBucketDefault) WriteResponse

func (o *ListAccessRulesWithBucketDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListAccessRulesWithBucketHandler

type ListAccessRulesWithBucketHandler interface {
	Handle(ListAccessRulesWithBucketParams, *models.Principal) middleware.Responder
}

ListAccessRulesWithBucketHandler interface for that can handle valid list access rules with bucket params

type ListAccessRulesWithBucketHandlerFunc

type ListAccessRulesWithBucketHandlerFunc func(ListAccessRulesWithBucketParams, *models.Principal) middleware.Responder

ListAccessRulesWithBucketHandlerFunc turns a function with the right signature into a list access rules with bucket handler

func (ListAccessRulesWithBucketHandlerFunc) Handle

Handle executing the request and returning a response

type ListAccessRulesWithBucketOK

type ListAccessRulesWithBucketOK struct {

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

ListAccessRulesWithBucketOK A successful response.

swagger:response listAccessRulesWithBucketOK

func NewListAccessRulesWithBucketOK

func NewListAccessRulesWithBucketOK() *ListAccessRulesWithBucketOK

NewListAccessRulesWithBucketOK creates ListAccessRulesWithBucketOK with default headers values

func (*ListAccessRulesWithBucketOK) SetPayload

SetPayload sets the payload to the list access rules with bucket o k response

func (*ListAccessRulesWithBucketOK) WithPayload

WithPayload adds the payload to the list access rules with bucket o k response

func (*ListAccessRulesWithBucketOK) WriteResponse

func (o *ListAccessRulesWithBucketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListAccessRulesWithBucketParams

type ListAccessRulesWithBucketParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Bucket string
	/*
	  In: query
	*/
	Limit *int32
	/*
	  In: query
	*/
	Offset *int32
}

ListAccessRulesWithBucketParams contains all the bound params for the list access rules with bucket operation typically these are obtained from a http.Request

swagger:parameters ListAccessRulesWithBucket

func NewListAccessRulesWithBucketParams

func NewListAccessRulesWithBucketParams() ListAccessRulesWithBucketParams

NewListAccessRulesWithBucketParams creates a new ListAccessRulesWithBucketParams object

There are no default values defined in the spec.

func (*ListAccessRulesWithBucketParams) 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 NewListAccessRulesWithBucketParams() beforehand.

type ListAccessRulesWithBucketURL

type ListAccessRulesWithBucketURL struct {
	Bucket string

	Limit  *int32
	Offset *int32
	// contains filtered or unexported fields
}

ListAccessRulesWithBucketURL generates an URL for the list access rules with bucket operation

func (*ListAccessRulesWithBucketURL) Build

func (o *ListAccessRulesWithBucketURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListAccessRulesWithBucketURL) BuildFull

func (o *ListAccessRulesWithBucketURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListAccessRulesWithBucketURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*ListAccessRulesWithBucketURL) SetBasePath

func (o *ListAccessRulesWithBucketURL) 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 (*ListAccessRulesWithBucketURL) String

String returns the string representation of the path with query string

func (*ListAccessRulesWithBucketURL) StringFull

func (o *ListAccessRulesWithBucketURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListAccessRulesWithBucketURL) 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 ListBucketEvents

type ListBucketEvents struct {
	Context *middleware.Context
	Handler ListBucketEventsHandler
}
ListBucketEvents swagger:route GET /buckets/{bucket_name}/events Bucket listBucketEvents

List Bucket Events

func NewListBucketEvents

func NewListBucketEvents(ctx *middleware.Context, handler ListBucketEventsHandler) *ListBucketEvents

NewListBucketEvents creates a new http.Handler for the list bucket events operation

func (*ListBucketEvents) ServeHTTP

func (o *ListBucketEvents) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListBucketEventsDefault

type ListBucketEventsDefault struct {

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

ListBucketEventsDefault Generic error response.

swagger:response listBucketEventsDefault

func NewListBucketEventsDefault

func NewListBucketEventsDefault(code int) *ListBucketEventsDefault

NewListBucketEventsDefault creates ListBucketEventsDefault with default headers values

func (*ListBucketEventsDefault) SetPayload

func (o *ListBucketEventsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the list bucket events default response

func (*ListBucketEventsDefault) SetStatusCode

func (o *ListBucketEventsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list bucket events default response

func (*ListBucketEventsDefault) WithPayload

func (o *ListBucketEventsDefault) WithPayload(payload *models.Error) *ListBucketEventsDefault

WithPayload adds the payload to the list bucket events default response

func (*ListBucketEventsDefault) WithStatusCode

func (o *ListBucketEventsDefault) WithStatusCode(code int) *ListBucketEventsDefault

WithStatusCode adds the status to the list bucket events default response

func (*ListBucketEventsDefault) WriteResponse

func (o *ListBucketEventsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListBucketEventsHandler

type ListBucketEventsHandler interface {
	Handle(ListBucketEventsParams, *models.Principal) middleware.Responder
}

ListBucketEventsHandler interface for that can handle valid list bucket events params

type ListBucketEventsHandlerFunc

type ListBucketEventsHandlerFunc func(ListBucketEventsParams, *models.Principal) middleware.Responder

ListBucketEventsHandlerFunc turns a function with the right signature into a list bucket events handler

func (ListBucketEventsHandlerFunc) Handle

Handle executing the request and returning a response

type ListBucketEventsOK

type ListBucketEventsOK struct {

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

ListBucketEventsOK A successful response.

swagger:response listBucketEventsOK

func NewListBucketEventsOK

func NewListBucketEventsOK() *ListBucketEventsOK

NewListBucketEventsOK creates ListBucketEventsOK with default headers values

func (*ListBucketEventsOK) SetPayload

func (o *ListBucketEventsOK) SetPayload(payload *models.ListBucketEventsResponse)

SetPayload sets the payload to the list bucket events o k response

func (*ListBucketEventsOK) WithPayload

WithPayload adds the payload to the list bucket events o k response

func (*ListBucketEventsOK) WriteResponse

func (o *ListBucketEventsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListBucketEventsParams

type ListBucketEventsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	BucketName string
	/*
	  In: query
	*/
	Limit *int32
	/*
	  In: query
	*/
	Offset *int32
}

ListBucketEventsParams contains all the bound params for the list bucket events operation typically these are obtained from a http.Request

swagger:parameters ListBucketEvents

func NewListBucketEventsParams

func NewListBucketEventsParams() ListBucketEventsParams

NewListBucketEventsParams creates a new ListBucketEventsParams object

There are no default values defined in the spec.

func (*ListBucketEventsParams) BindRequest

func (o *ListBucketEventsParams) 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 NewListBucketEventsParams() beforehand.

type ListBucketEventsURL

type ListBucketEventsURL struct {
	BucketName string

	Limit  *int32
	Offset *int32
	// contains filtered or unexported fields
}

ListBucketEventsURL generates an URL for the list bucket events operation

func (*ListBucketEventsURL) Build

func (o *ListBucketEventsURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListBucketEventsURL) BuildFull

func (o *ListBucketEventsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListBucketEventsURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*ListBucketEventsURL) SetBasePath

func (o *ListBucketEventsURL) 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 (*ListBucketEventsURL) String

func (o *ListBucketEventsURL) String() string

String returns the string representation of the path with query string

func (*ListBucketEventsURL) StringFull

func (o *ListBucketEventsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListBucketEventsURL) WithBasePath

func (o *ListBucketEventsURL) WithBasePath(bp string) *ListBucketEventsURL

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 ListBuckets

type ListBuckets struct {
	Context *middleware.Context
	Handler ListBucketsHandler
}
ListBuckets swagger:route GET /buckets Bucket listBuckets

List Buckets

func NewListBuckets

func NewListBuckets(ctx *middleware.Context, handler ListBucketsHandler) *ListBuckets

NewListBuckets creates a new http.Handler for the list buckets operation

func (*ListBuckets) ServeHTTP

func (o *ListBuckets) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListBucketsDefault

type ListBucketsDefault struct {

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

ListBucketsDefault Generic error response.

swagger:response listBucketsDefault

func NewListBucketsDefault

func NewListBucketsDefault(code int) *ListBucketsDefault

NewListBucketsDefault creates ListBucketsDefault with default headers values

func (*ListBucketsDefault) SetPayload

func (o *ListBucketsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the list buckets default response

func (*ListBucketsDefault) SetStatusCode

func (o *ListBucketsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list buckets default response

func (*ListBucketsDefault) WithPayload

func (o *ListBucketsDefault) WithPayload(payload *models.Error) *ListBucketsDefault

WithPayload adds the payload to the list buckets default response

func (*ListBucketsDefault) WithStatusCode

func (o *ListBucketsDefault) WithStatusCode(code int) *ListBucketsDefault

WithStatusCode adds the status to the list buckets default response

func (*ListBucketsDefault) WriteResponse

func (o *ListBucketsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListBucketsHandler

type ListBucketsHandler interface {
	Handle(ListBucketsParams, *models.Principal) middleware.Responder
}

ListBucketsHandler interface for that can handle valid list buckets params

type ListBucketsHandlerFunc

type ListBucketsHandlerFunc func(ListBucketsParams, *models.Principal) middleware.Responder

ListBucketsHandlerFunc turns a function with the right signature into a list buckets handler

func (ListBucketsHandlerFunc) Handle

Handle executing the request and returning a response

type ListBucketsOK

type ListBucketsOK struct {

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

ListBucketsOK A successful response.

swagger:response listBucketsOK

func NewListBucketsOK

func NewListBucketsOK() *ListBucketsOK

NewListBucketsOK creates ListBucketsOK with default headers values

func (*ListBucketsOK) SetPayload

func (o *ListBucketsOK) SetPayload(payload *models.ListBucketsResponse)

SetPayload sets the payload to the list buckets o k response

func (*ListBucketsOK) WithPayload

func (o *ListBucketsOK) WithPayload(payload *models.ListBucketsResponse) *ListBucketsOK

WithPayload adds the payload to the list buckets o k response

func (*ListBucketsOK) WriteResponse

func (o *ListBucketsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListBucketsParams

type ListBucketsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

ListBucketsParams contains all the bound params for the list buckets operation typically these are obtained from a http.Request

swagger:parameters ListBuckets

func NewListBucketsParams

func NewListBucketsParams() ListBucketsParams

NewListBucketsParams creates a new ListBucketsParams object

There are no default values defined in the spec.

func (*ListBucketsParams) BindRequest

func (o *ListBucketsParams) 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 NewListBucketsParams() beforehand.

type ListBucketsURL

type ListBucketsURL struct {
	// contains filtered or unexported fields
}

ListBucketsURL generates an URL for the list buckets operation

func (*ListBucketsURL) Build

func (o *ListBucketsURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListBucketsURL) BuildFull

func (o *ListBucketsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListBucketsURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*ListBucketsURL) SetBasePath

func (o *ListBucketsURL) 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 (*ListBucketsURL) String

func (o *ListBucketsURL) String() string

String returns the string representation of the path with query string

func (*ListBucketsURL) StringFull

func (o *ListBucketsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListBucketsURL) WithBasePath

func (o *ListBucketsURL) WithBasePath(bp string) *ListBucketsURL

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 ListExternalBuckets

type ListExternalBuckets struct {
	Context *middleware.Context
	Handler ListExternalBucketsHandler
}
ListExternalBuckets swagger:route POST /list-external-buckets Bucket listExternalBuckets

Lists an External list of buckets using custom credentials

func NewListExternalBuckets

func NewListExternalBuckets(ctx *middleware.Context, handler ListExternalBucketsHandler) *ListExternalBuckets

NewListExternalBuckets creates a new http.Handler for the list external buckets operation

func (*ListExternalBuckets) ServeHTTP

func (o *ListExternalBuckets) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListExternalBucketsDefault

type ListExternalBucketsDefault struct {

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

ListExternalBucketsDefault Generic error response.

swagger:response listExternalBucketsDefault

func NewListExternalBucketsDefault

func NewListExternalBucketsDefault(code int) *ListExternalBucketsDefault

NewListExternalBucketsDefault creates ListExternalBucketsDefault with default headers values

func (*ListExternalBucketsDefault) SetPayload

func (o *ListExternalBucketsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the list external buckets default response

func (*ListExternalBucketsDefault) SetStatusCode

func (o *ListExternalBucketsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list external buckets default response

func (*ListExternalBucketsDefault) WithPayload

WithPayload adds the payload to the list external buckets default response

func (*ListExternalBucketsDefault) WithStatusCode

WithStatusCode adds the status to the list external buckets default response

func (*ListExternalBucketsDefault) WriteResponse

func (o *ListExternalBucketsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListExternalBucketsHandler

type ListExternalBucketsHandler interface {
	Handle(ListExternalBucketsParams, *models.Principal) middleware.Responder
}

ListExternalBucketsHandler interface for that can handle valid list external buckets params

type ListExternalBucketsHandlerFunc

type ListExternalBucketsHandlerFunc func(ListExternalBucketsParams, *models.Principal) middleware.Responder

ListExternalBucketsHandlerFunc turns a function with the right signature into a list external buckets handler

func (ListExternalBucketsHandlerFunc) Handle

Handle executing the request and returning a response

type ListExternalBucketsOK

type ListExternalBucketsOK struct {

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

ListExternalBucketsOK A successful response.

swagger:response listExternalBucketsOK

func NewListExternalBucketsOK

func NewListExternalBucketsOK() *ListExternalBucketsOK

NewListExternalBucketsOK creates ListExternalBucketsOK with default headers values

func (*ListExternalBucketsOK) SetPayload

func (o *ListExternalBucketsOK) SetPayload(payload *models.ListBucketsResponse)

SetPayload sets the payload to the list external buckets o k response

func (*ListExternalBucketsOK) WithPayload

WithPayload adds the payload to the list external buckets o k response

func (*ListExternalBucketsOK) WriteResponse

func (o *ListExternalBucketsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListExternalBucketsParams

type ListExternalBucketsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.ListExternalBucketsParams
}

ListExternalBucketsParams contains all the bound params for the list external buckets operation typically these are obtained from a http.Request

swagger:parameters ListExternalBuckets

func NewListExternalBucketsParams

func NewListExternalBucketsParams() ListExternalBucketsParams

NewListExternalBucketsParams creates a new ListExternalBucketsParams object

There are no default values defined in the spec.

func (*ListExternalBucketsParams) 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 NewListExternalBucketsParams() beforehand.

type ListExternalBucketsURL

type ListExternalBucketsURL struct {
	// contains filtered or unexported fields
}

ListExternalBucketsURL generates an URL for the list external buckets operation

func (*ListExternalBucketsURL) Build

func (o *ListExternalBucketsURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListExternalBucketsURL) BuildFull

func (o *ListExternalBucketsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListExternalBucketsURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*ListExternalBucketsURL) SetBasePath

func (o *ListExternalBucketsURL) 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 (*ListExternalBucketsURL) String

func (o *ListExternalBucketsURL) String() string

String returns the string representation of the path with query string

func (*ListExternalBucketsURL) StringFull

func (o *ListExternalBucketsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListExternalBucketsURL) 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 ListPoliciesWithBucket

type ListPoliciesWithBucket struct {
	Context *middleware.Context
	Handler ListPoliciesWithBucketHandler
}
ListPoliciesWithBucket swagger:route GET /bucket-policy/{bucket} Bucket listPoliciesWithBucket

List Policies With Given Bucket

func NewListPoliciesWithBucket

func NewListPoliciesWithBucket(ctx *middleware.Context, handler ListPoliciesWithBucketHandler) *ListPoliciesWithBucket

NewListPoliciesWithBucket creates a new http.Handler for the list policies with bucket operation

func (*ListPoliciesWithBucket) ServeHTTP

func (o *ListPoliciesWithBucket) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListPoliciesWithBucketDefault

type ListPoliciesWithBucketDefault struct {

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

ListPoliciesWithBucketDefault Generic error response.

swagger:response listPoliciesWithBucketDefault

func NewListPoliciesWithBucketDefault

func NewListPoliciesWithBucketDefault(code int) *ListPoliciesWithBucketDefault

NewListPoliciesWithBucketDefault creates ListPoliciesWithBucketDefault with default headers values

func (*ListPoliciesWithBucketDefault) SetPayload

func (o *ListPoliciesWithBucketDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the list policies with bucket default response

func (*ListPoliciesWithBucketDefault) SetStatusCode

func (o *ListPoliciesWithBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list policies with bucket default response

func (*ListPoliciesWithBucketDefault) WithPayload

WithPayload adds the payload to the list policies with bucket default response

func (*ListPoliciesWithBucketDefault) WithStatusCode

WithStatusCode adds the status to the list policies with bucket default response

func (*ListPoliciesWithBucketDefault) WriteResponse

func (o *ListPoliciesWithBucketDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListPoliciesWithBucketHandler

type ListPoliciesWithBucketHandler interface {
	Handle(ListPoliciesWithBucketParams, *models.Principal) middleware.Responder
}

ListPoliciesWithBucketHandler interface for that can handle valid list policies with bucket params

type ListPoliciesWithBucketHandlerFunc

type ListPoliciesWithBucketHandlerFunc func(ListPoliciesWithBucketParams, *models.Principal) middleware.Responder

ListPoliciesWithBucketHandlerFunc turns a function with the right signature into a list policies with bucket handler

func (ListPoliciesWithBucketHandlerFunc) Handle

Handle executing the request and returning a response

type ListPoliciesWithBucketOK

type ListPoliciesWithBucketOK struct {

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

ListPoliciesWithBucketOK A successful response.

swagger:response listPoliciesWithBucketOK

func NewListPoliciesWithBucketOK

func NewListPoliciesWithBucketOK() *ListPoliciesWithBucketOK

NewListPoliciesWithBucketOK creates ListPoliciesWithBucketOK with default headers values

func (*ListPoliciesWithBucketOK) SetPayload

func (o *ListPoliciesWithBucketOK) SetPayload(payload *models.ListPoliciesResponse)

SetPayload sets the payload to the list policies with bucket o k response

func (*ListPoliciesWithBucketOK) WithPayload

WithPayload adds the payload to the list policies with bucket o k response

func (*ListPoliciesWithBucketOK) WriteResponse

func (o *ListPoliciesWithBucketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListPoliciesWithBucketParams

type ListPoliciesWithBucketParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Bucket string
	/*
	  In: query
	*/
	Limit *int32
	/*
	  In: query
	*/
	Offset *int32
}

ListPoliciesWithBucketParams contains all the bound params for the list policies with bucket operation typically these are obtained from a http.Request

swagger:parameters ListPoliciesWithBucket

func NewListPoliciesWithBucketParams

func NewListPoliciesWithBucketParams() ListPoliciesWithBucketParams

NewListPoliciesWithBucketParams creates a new ListPoliciesWithBucketParams object

There are no default values defined in the spec.

func (*ListPoliciesWithBucketParams) 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 NewListPoliciesWithBucketParams() beforehand.

type ListPoliciesWithBucketURL

type ListPoliciesWithBucketURL struct {
	Bucket string

	Limit  *int32
	Offset *int32
	// contains filtered or unexported fields
}

ListPoliciesWithBucketURL generates an URL for the list policies with bucket operation

func (*ListPoliciesWithBucketURL) Build

func (o *ListPoliciesWithBucketURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListPoliciesWithBucketURL) BuildFull

func (o *ListPoliciesWithBucketURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListPoliciesWithBucketURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*ListPoliciesWithBucketURL) SetBasePath

func (o *ListPoliciesWithBucketURL) 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 (*ListPoliciesWithBucketURL) String

func (o *ListPoliciesWithBucketURL) String() string

String returns the string representation of the path with query string

func (*ListPoliciesWithBucketURL) StringFull

func (o *ListPoliciesWithBucketURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListPoliciesWithBucketURL) 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 ListRemoteBuckets

type ListRemoteBuckets struct {
	Context *middleware.Context
	Handler ListRemoteBucketsHandler
}
ListRemoteBuckets swagger:route GET /remote-buckets Bucket listRemoteBuckets

List Remote Buckets

func NewListRemoteBuckets

func NewListRemoteBuckets(ctx *middleware.Context, handler ListRemoteBucketsHandler) *ListRemoteBuckets

NewListRemoteBuckets creates a new http.Handler for the list remote buckets operation

func (*ListRemoteBuckets) ServeHTTP

func (o *ListRemoteBuckets) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListRemoteBucketsDefault

type ListRemoteBucketsDefault struct {

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

ListRemoteBucketsDefault Generic error response.

swagger:response listRemoteBucketsDefault

func NewListRemoteBucketsDefault

func NewListRemoteBucketsDefault(code int) *ListRemoteBucketsDefault

NewListRemoteBucketsDefault creates ListRemoteBucketsDefault with default headers values

func (*ListRemoteBucketsDefault) SetPayload

func (o *ListRemoteBucketsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the list remote buckets default response

func (*ListRemoteBucketsDefault) SetStatusCode

func (o *ListRemoteBucketsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list remote buckets default response

func (*ListRemoteBucketsDefault) WithPayload

WithPayload adds the payload to the list remote buckets default response

func (*ListRemoteBucketsDefault) WithStatusCode

func (o *ListRemoteBucketsDefault) WithStatusCode(code int) *ListRemoteBucketsDefault

WithStatusCode adds the status to the list remote buckets default response

func (*ListRemoteBucketsDefault) WriteResponse

func (o *ListRemoteBucketsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListRemoteBucketsHandler

type ListRemoteBucketsHandler interface {
	Handle(ListRemoteBucketsParams, *models.Principal) middleware.Responder
}

ListRemoteBucketsHandler interface for that can handle valid list remote buckets params

type ListRemoteBucketsHandlerFunc

type ListRemoteBucketsHandlerFunc func(ListRemoteBucketsParams, *models.Principal) middleware.Responder

ListRemoteBucketsHandlerFunc turns a function with the right signature into a list remote buckets handler

func (ListRemoteBucketsHandlerFunc) Handle

Handle executing the request and returning a response

type ListRemoteBucketsOK

type ListRemoteBucketsOK struct {

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

ListRemoteBucketsOK A successful response.

swagger:response listRemoteBucketsOK

func NewListRemoteBucketsOK

func NewListRemoteBucketsOK() *ListRemoteBucketsOK

NewListRemoteBucketsOK creates ListRemoteBucketsOK with default headers values

func (*ListRemoteBucketsOK) SetPayload

func (o *ListRemoteBucketsOK) SetPayload(payload *models.ListRemoteBucketsResponse)

SetPayload sets the payload to the list remote buckets o k response

func (*ListRemoteBucketsOK) WithPayload

WithPayload adds the payload to the list remote buckets o k response

func (*ListRemoteBucketsOK) WriteResponse

func (o *ListRemoteBucketsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListRemoteBucketsParams

type ListRemoteBucketsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

ListRemoteBucketsParams contains all the bound params for the list remote buckets operation typically these are obtained from a http.Request

swagger:parameters ListRemoteBuckets

func NewListRemoteBucketsParams

func NewListRemoteBucketsParams() ListRemoteBucketsParams

NewListRemoteBucketsParams creates a new ListRemoteBucketsParams object

There are no default values defined in the spec.

func (*ListRemoteBucketsParams) BindRequest

func (o *ListRemoteBucketsParams) 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 NewListRemoteBucketsParams() beforehand.

type ListRemoteBucketsURL

type ListRemoteBucketsURL struct {
	// contains filtered or unexported fields
}

ListRemoteBucketsURL generates an URL for the list remote buckets operation

func (*ListRemoteBucketsURL) Build

func (o *ListRemoteBucketsURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListRemoteBucketsURL) BuildFull

func (o *ListRemoteBucketsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListRemoteBucketsURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*ListRemoteBucketsURL) SetBasePath

func (o *ListRemoteBucketsURL) 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 (*ListRemoteBucketsURL) String

func (o *ListRemoteBucketsURL) String() string

String returns the string representation of the path with query string

func (*ListRemoteBucketsURL) StringFull

func (o *ListRemoteBucketsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListRemoteBucketsURL) WithBasePath

func (o *ListRemoteBucketsURL) WithBasePath(bp string) *ListRemoteBucketsURL

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 ListUsersWithAccessToBucket

type ListUsersWithAccessToBucket struct {
	Context *middleware.Context
	Handler ListUsersWithAccessToBucketHandler
}
ListUsersWithAccessToBucket swagger:route GET /bucket-users/{bucket} Bucket listUsersWithAccessToBucket

List Users With Access to a Given Bucket

func NewListUsersWithAccessToBucket

func NewListUsersWithAccessToBucket(ctx *middleware.Context, handler ListUsersWithAccessToBucketHandler) *ListUsersWithAccessToBucket

NewListUsersWithAccessToBucket creates a new http.Handler for the list users with access to bucket operation

func (*ListUsersWithAccessToBucket) ServeHTTP

type ListUsersWithAccessToBucketDefault

type ListUsersWithAccessToBucketDefault struct {

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

ListUsersWithAccessToBucketDefault Generic error response.

swagger:response listUsersWithAccessToBucketDefault

func NewListUsersWithAccessToBucketDefault

func NewListUsersWithAccessToBucketDefault(code int) *ListUsersWithAccessToBucketDefault

NewListUsersWithAccessToBucketDefault creates ListUsersWithAccessToBucketDefault with default headers values

func (*ListUsersWithAccessToBucketDefault) SetPayload

func (o *ListUsersWithAccessToBucketDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the list users with access to bucket default response

func (*ListUsersWithAccessToBucketDefault) SetStatusCode

func (o *ListUsersWithAccessToBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list users with access to bucket default response

func (*ListUsersWithAccessToBucketDefault) WithPayload

WithPayload adds the payload to the list users with access to bucket default response

func (*ListUsersWithAccessToBucketDefault) WithStatusCode

WithStatusCode adds the status to the list users with access to bucket default response

func (*ListUsersWithAccessToBucketDefault) WriteResponse

WriteResponse to the client

type ListUsersWithAccessToBucketHandler

type ListUsersWithAccessToBucketHandler interface {
	Handle(ListUsersWithAccessToBucketParams, *models.Principal) middleware.Responder
}

ListUsersWithAccessToBucketHandler interface for that can handle valid list users with access to bucket params

type ListUsersWithAccessToBucketHandlerFunc

type ListUsersWithAccessToBucketHandlerFunc func(ListUsersWithAccessToBucketParams, *models.Principal) middleware.Responder

ListUsersWithAccessToBucketHandlerFunc turns a function with the right signature into a list users with access to bucket handler

func (ListUsersWithAccessToBucketHandlerFunc) Handle

Handle executing the request and returning a response

type ListUsersWithAccessToBucketOK

type ListUsersWithAccessToBucketOK struct {

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

ListUsersWithAccessToBucketOK A successful response.

swagger:response listUsersWithAccessToBucketOK

func NewListUsersWithAccessToBucketOK

func NewListUsersWithAccessToBucketOK() *ListUsersWithAccessToBucketOK

NewListUsersWithAccessToBucketOK creates ListUsersWithAccessToBucketOK with default headers values

func (*ListUsersWithAccessToBucketOK) SetPayload

func (o *ListUsersWithAccessToBucketOK) SetPayload(payload []string)

SetPayload sets the payload to the list users with access to bucket o k response

func (*ListUsersWithAccessToBucketOK) WithPayload

WithPayload adds the payload to the list users with access to bucket o k response

func (*ListUsersWithAccessToBucketOK) WriteResponse

func (o *ListUsersWithAccessToBucketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListUsersWithAccessToBucketParams

type ListUsersWithAccessToBucketParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Bucket string
	/*
	  In: query
	*/
	Limit *int32
	/*
	  In: query
	*/
	Offset *int32
}

ListUsersWithAccessToBucketParams contains all the bound params for the list users with access to bucket operation typically these are obtained from a http.Request

swagger:parameters ListUsersWithAccessToBucket

func NewListUsersWithAccessToBucketParams

func NewListUsersWithAccessToBucketParams() ListUsersWithAccessToBucketParams

NewListUsersWithAccessToBucketParams creates a new ListUsersWithAccessToBucketParams object

There are no default values defined in the spec.

func (*ListUsersWithAccessToBucketParams) 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 NewListUsersWithAccessToBucketParams() beforehand.

type ListUsersWithAccessToBucketURL

type ListUsersWithAccessToBucketURL struct {
	Bucket string

	Limit  *int32
	Offset *int32
	// contains filtered or unexported fields
}

ListUsersWithAccessToBucketURL generates an URL for the list users with access to bucket operation

func (*ListUsersWithAccessToBucketURL) Build

Build a url path and query string

func (*ListUsersWithAccessToBucketURL) BuildFull

func (o *ListUsersWithAccessToBucketURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListUsersWithAccessToBucketURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*ListUsersWithAccessToBucketURL) SetBasePath

func (o *ListUsersWithAccessToBucketURL) 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 (*ListUsersWithAccessToBucketURL) String

String returns the string representation of the path with query string

func (*ListUsersWithAccessToBucketURL) StringFull

func (o *ListUsersWithAccessToBucketURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListUsersWithAccessToBucketURL) 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 MakeBucket

type MakeBucket struct {
	Context *middleware.Context
	Handler MakeBucketHandler
}
MakeBucket swagger:route POST /buckets Bucket makeBucket

Make bucket

func NewMakeBucket

func NewMakeBucket(ctx *middleware.Context, handler MakeBucketHandler) *MakeBucket

NewMakeBucket creates a new http.Handler for the make bucket operation

func (*MakeBucket) ServeHTTP

func (o *MakeBucket) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type MakeBucketCreated

type MakeBucketCreated struct {
}

MakeBucketCreated A successful response.

swagger:response makeBucketCreated

func NewMakeBucketCreated

func NewMakeBucketCreated() *MakeBucketCreated

NewMakeBucketCreated creates MakeBucketCreated with default headers values

func (*MakeBucketCreated) WriteResponse

func (o *MakeBucketCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type MakeBucketDefault

type MakeBucketDefault struct {

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

MakeBucketDefault Generic error response.

swagger:response makeBucketDefault

func NewMakeBucketDefault

func NewMakeBucketDefault(code int) *MakeBucketDefault

NewMakeBucketDefault creates MakeBucketDefault with default headers values

func (*MakeBucketDefault) SetPayload

func (o *MakeBucketDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the make bucket default response

func (*MakeBucketDefault) SetStatusCode

func (o *MakeBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the make bucket default response

func (*MakeBucketDefault) WithPayload

func (o *MakeBucketDefault) WithPayload(payload *models.Error) *MakeBucketDefault

WithPayload adds the payload to the make bucket default response

func (*MakeBucketDefault) WithStatusCode

func (o *MakeBucketDefault) WithStatusCode(code int) *MakeBucketDefault

WithStatusCode adds the status to the make bucket default response

func (*MakeBucketDefault) WriteResponse

func (o *MakeBucketDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type MakeBucketHandler

type MakeBucketHandler interface {
	Handle(MakeBucketParams, *models.Principal) middleware.Responder
}

MakeBucketHandler interface for that can handle valid make bucket params

type MakeBucketHandlerFunc

type MakeBucketHandlerFunc func(MakeBucketParams, *models.Principal) middleware.Responder

MakeBucketHandlerFunc turns a function with the right signature into a make bucket handler

func (MakeBucketHandlerFunc) Handle

Handle executing the request and returning a response

type MakeBucketParams

type MakeBucketParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.MakeBucketRequest
}

MakeBucketParams contains all the bound params for the make bucket operation typically these are obtained from a http.Request

swagger:parameters MakeBucket

func NewMakeBucketParams

func NewMakeBucketParams() MakeBucketParams

NewMakeBucketParams creates a new MakeBucketParams object

There are no default values defined in the spec.

func (*MakeBucketParams) BindRequest

func (o *MakeBucketParams) 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 NewMakeBucketParams() beforehand.

type MakeBucketURL

type MakeBucketURL struct {
	// contains filtered or unexported fields
}

MakeBucketURL generates an URL for the make bucket operation

func (*MakeBucketURL) Build

func (o *MakeBucketURL) Build() (*url.URL, error)

Build a url path and query string

func (*MakeBucketURL) BuildFull

func (o *MakeBucketURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*MakeBucketURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*MakeBucketURL) SetBasePath

func (o *MakeBucketURL) 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 (*MakeBucketURL) String

func (o *MakeBucketURL) String() string

String returns the string representation of the path with query string

func (*MakeBucketURL) StringFull

func (o *MakeBucketURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*MakeBucketURL) WithBasePath

func (o *MakeBucketURL) WithBasePath(bp string) *MakeBucketURL

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 PutBucketTags

type PutBucketTags struct {
	Context *middleware.Context
	Handler PutBucketTagsHandler
}
PutBucketTags swagger:route PUT /buckets/{bucket_name}/tags Bucket putBucketTags

Put Bucket's tags

func NewPutBucketTags

func NewPutBucketTags(ctx *middleware.Context, handler PutBucketTagsHandler) *PutBucketTags

NewPutBucketTags creates a new http.Handler for the put bucket tags operation

func (*PutBucketTags) ServeHTTP

func (o *PutBucketTags) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PutBucketTagsDefault

type PutBucketTagsDefault struct {

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

PutBucketTagsDefault Generic error response.

swagger:response putBucketTagsDefault

func NewPutBucketTagsDefault

func NewPutBucketTagsDefault(code int) *PutBucketTagsDefault

NewPutBucketTagsDefault creates PutBucketTagsDefault with default headers values

func (*PutBucketTagsDefault) SetPayload

func (o *PutBucketTagsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the put bucket tags default response

func (*PutBucketTagsDefault) SetStatusCode

func (o *PutBucketTagsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the put bucket tags default response

func (*PutBucketTagsDefault) WithPayload

func (o *PutBucketTagsDefault) WithPayload(payload *models.Error) *PutBucketTagsDefault

WithPayload adds the payload to the put bucket tags default response

func (*PutBucketTagsDefault) WithStatusCode

func (o *PutBucketTagsDefault) WithStatusCode(code int) *PutBucketTagsDefault

WithStatusCode adds the status to the put bucket tags default response

func (*PutBucketTagsDefault) WriteResponse

func (o *PutBucketTagsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutBucketTagsHandler

type PutBucketTagsHandler interface {
	Handle(PutBucketTagsParams, *models.Principal) middleware.Responder
}

PutBucketTagsHandler interface for that can handle valid put bucket tags params

type PutBucketTagsHandlerFunc

type PutBucketTagsHandlerFunc func(PutBucketTagsParams, *models.Principal) middleware.Responder

PutBucketTagsHandlerFunc turns a function with the right signature into a put bucket tags handler

func (PutBucketTagsHandlerFunc) Handle

Handle executing the request and returning a response

type PutBucketTagsOK

type PutBucketTagsOK struct {
}

PutBucketTagsOK A successful response.

swagger:response putBucketTagsOK

func NewPutBucketTagsOK

func NewPutBucketTagsOK() *PutBucketTagsOK

NewPutBucketTagsOK creates PutBucketTagsOK with default headers values

func (*PutBucketTagsOK) WriteResponse

func (o *PutBucketTagsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutBucketTagsParams

type PutBucketTagsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.PutBucketTagsRequest
	/*
	  Required: true
	  In: path
	*/
	BucketName string
}

PutBucketTagsParams contains all the bound params for the put bucket tags operation typically these are obtained from a http.Request

swagger:parameters PutBucketTags

func NewPutBucketTagsParams

func NewPutBucketTagsParams() PutBucketTagsParams

NewPutBucketTagsParams creates a new PutBucketTagsParams object

There are no default values defined in the spec.

func (*PutBucketTagsParams) BindRequest

func (o *PutBucketTagsParams) 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 NewPutBucketTagsParams() beforehand.

type PutBucketTagsURL

type PutBucketTagsURL struct {
	BucketName string
	// contains filtered or unexported fields
}

PutBucketTagsURL generates an URL for the put bucket tags operation

func (*PutBucketTagsURL) Build

func (o *PutBucketTagsURL) Build() (*url.URL, error)

Build a url path and query string

func (*PutBucketTagsURL) BuildFull

func (o *PutBucketTagsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PutBucketTagsURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*PutBucketTagsURL) SetBasePath

func (o *PutBucketTagsURL) 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 (*PutBucketTagsURL) String

func (o *PutBucketTagsURL) String() string

String returns the string representation of the path with query string

func (*PutBucketTagsURL) StringFull

func (o *PutBucketTagsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PutBucketTagsURL) WithBasePath

func (o *PutBucketTagsURL) WithBasePath(bp string) *PutBucketTagsURL

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 RemoteBucketDetails

type RemoteBucketDetails struct {
	Context *middleware.Context
	Handler RemoteBucketDetailsHandler
}
RemoteBucketDetails swagger:route GET /remote-buckets/{name} Bucket remoteBucketDetails

Remote Bucket Details

func NewRemoteBucketDetails

func NewRemoteBucketDetails(ctx *middleware.Context, handler RemoteBucketDetailsHandler) *RemoteBucketDetails

NewRemoteBucketDetails creates a new http.Handler for the remote bucket details operation

func (*RemoteBucketDetails) ServeHTTP

func (o *RemoteBucketDetails) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type RemoteBucketDetailsDefault

type RemoteBucketDetailsDefault struct {

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

RemoteBucketDetailsDefault Generic error response.

swagger:response remoteBucketDetailsDefault

func NewRemoteBucketDetailsDefault

func NewRemoteBucketDetailsDefault(code int) *RemoteBucketDetailsDefault

NewRemoteBucketDetailsDefault creates RemoteBucketDetailsDefault with default headers values

func (*RemoteBucketDetailsDefault) SetPayload

func (o *RemoteBucketDetailsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the remote bucket details default response

func (*RemoteBucketDetailsDefault) SetStatusCode

func (o *RemoteBucketDetailsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the remote bucket details default response

func (*RemoteBucketDetailsDefault) WithPayload

WithPayload adds the payload to the remote bucket details default response

func (*RemoteBucketDetailsDefault) WithStatusCode

WithStatusCode adds the status to the remote bucket details default response

func (*RemoteBucketDetailsDefault) WriteResponse

func (o *RemoteBucketDetailsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RemoteBucketDetailsHandler

type RemoteBucketDetailsHandler interface {
	Handle(RemoteBucketDetailsParams, *models.Principal) middleware.Responder
}

RemoteBucketDetailsHandler interface for that can handle valid remote bucket details params

type RemoteBucketDetailsHandlerFunc

type RemoteBucketDetailsHandlerFunc func(RemoteBucketDetailsParams, *models.Principal) middleware.Responder

RemoteBucketDetailsHandlerFunc turns a function with the right signature into a remote bucket details handler

func (RemoteBucketDetailsHandlerFunc) Handle

Handle executing the request and returning a response

type RemoteBucketDetailsOK

type RemoteBucketDetailsOK struct {

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

RemoteBucketDetailsOK A successful response.

swagger:response remoteBucketDetailsOK

func NewRemoteBucketDetailsOK

func NewRemoteBucketDetailsOK() *RemoteBucketDetailsOK

NewRemoteBucketDetailsOK creates RemoteBucketDetailsOK with default headers values

func (*RemoteBucketDetailsOK) SetPayload

func (o *RemoteBucketDetailsOK) SetPayload(payload *models.RemoteBucket)

SetPayload sets the payload to the remote bucket details o k response

func (*RemoteBucketDetailsOK) WithPayload

WithPayload adds the payload to the remote bucket details o k response

func (*RemoteBucketDetailsOK) WriteResponse

func (o *RemoteBucketDetailsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RemoteBucketDetailsParams

type RemoteBucketDetailsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Name string
}

RemoteBucketDetailsParams contains all the bound params for the remote bucket details operation typically these are obtained from a http.Request

swagger:parameters RemoteBucketDetails

func NewRemoteBucketDetailsParams

func NewRemoteBucketDetailsParams() RemoteBucketDetailsParams

NewRemoteBucketDetailsParams creates a new RemoteBucketDetailsParams object

There are no default values defined in the spec.

func (*RemoteBucketDetailsParams) 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 NewRemoteBucketDetailsParams() beforehand.

type RemoteBucketDetailsURL

type RemoteBucketDetailsURL struct {
	Name string
	// contains filtered or unexported fields
}

RemoteBucketDetailsURL generates an URL for the remote bucket details operation

func (*RemoteBucketDetailsURL) Build

func (o *RemoteBucketDetailsURL) Build() (*url.URL, error)

Build a url path and query string

func (*RemoteBucketDetailsURL) BuildFull

func (o *RemoteBucketDetailsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*RemoteBucketDetailsURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*RemoteBucketDetailsURL) SetBasePath

func (o *RemoteBucketDetailsURL) 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 (*RemoteBucketDetailsURL) String

func (o *RemoteBucketDetailsURL) String() string

String returns the string representation of the path with query string

func (*RemoteBucketDetailsURL) StringFull

func (o *RemoteBucketDetailsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*RemoteBucketDetailsURL) 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 SetAccessRuleWithBucket

type SetAccessRuleWithBucket struct {
	Context *middleware.Context
	Handler SetAccessRuleWithBucketHandler
}
SetAccessRuleWithBucket swagger:route PUT /bucket/{bucket}/access-rules Bucket setAccessRuleWithBucket

Add Access Rule To Given Bucket

func NewSetAccessRuleWithBucket

func NewSetAccessRuleWithBucket(ctx *middleware.Context, handler SetAccessRuleWithBucketHandler) *SetAccessRuleWithBucket

NewSetAccessRuleWithBucket creates a new http.Handler for the set access rule with bucket operation

func (*SetAccessRuleWithBucket) ServeHTTP

type SetAccessRuleWithBucketDefault

type SetAccessRuleWithBucketDefault struct {

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

SetAccessRuleWithBucketDefault Generic error response.

swagger:response setAccessRuleWithBucketDefault

func NewSetAccessRuleWithBucketDefault

func NewSetAccessRuleWithBucketDefault(code int) *SetAccessRuleWithBucketDefault

NewSetAccessRuleWithBucketDefault creates SetAccessRuleWithBucketDefault with default headers values

func (*SetAccessRuleWithBucketDefault) SetPayload

func (o *SetAccessRuleWithBucketDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the set access rule with bucket default response

func (*SetAccessRuleWithBucketDefault) SetStatusCode

func (o *SetAccessRuleWithBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set access rule with bucket default response

func (*SetAccessRuleWithBucketDefault) WithPayload

WithPayload adds the payload to the set access rule with bucket default response

func (*SetAccessRuleWithBucketDefault) WithStatusCode

WithStatusCode adds the status to the set access rule with bucket default response

func (*SetAccessRuleWithBucketDefault) WriteResponse

func (o *SetAccessRuleWithBucketDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetAccessRuleWithBucketHandler

type SetAccessRuleWithBucketHandler interface {
	Handle(SetAccessRuleWithBucketParams, *models.Principal) middleware.Responder
}

SetAccessRuleWithBucketHandler interface for that can handle valid set access rule with bucket params

type SetAccessRuleWithBucketHandlerFunc

type SetAccessRuleWithBucketHandlerFunc func(SetAccessRuleWithBucketParams, *models.Principal) middleware.Responder

SetAccessRuleWithBucketHandlerFunc turns a function with the right signature into a set access rule with bucket handler

func (SetAccessRuleWithBucketHandlerFunc) Handle

Handle executing the request and returning a response

type SetAccessRuleWithBucketOK

type SetAccessRuleWithBucketOK struct {

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

SetAccessRuleWithBucketOK A successful response.

swagger:response setAccessRuleWithBucketOK

func NewSetAccessRuleWithBucketOK

func NewSetAccessRuleWithBucketOK() *SetAccessRuleWithBucketOK

NewSetAccessRuleWithBucketOK creates SetAccessRuleWithBucketOK with default headers values

func (*SetAccessRuleWithBucketOK) SetPayload

func (o *SetAccessRuleWithBucketOK) SetPayload(payload bool)

SetPayload sets the payload to the set access rule with bucket o k response

func (*SetAccessRuleWithBucketOK) WithPayload

func (o *SetAccessRuleWithBucketOK) WithPayload(payload bool) *SetAccessRuleWithBucketOK

WithPayload adds the payload to the set access rule with bucket o k response

func (*SetAccessRuleWithBucketOK) WriteResponse

func (o *SetAccessRuleWithBucketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetAccessRuleWithBucketParams

type SetAccessRuleWithBucketParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Bucket string
	/*
	  Required: true
	  In: body
	*/
	Prefixaccess *models.PrefixAccessPair
}

SetAccessRuleWithBucketParams contains all the bound params for the set access rule with bucket operation typically these are obtained from a http.Request

swagger:parameters SetAccessRuleWithBucket

func NewSetAccessRuleWithBucketParams

func NewSetAccessRuleWithBucketParams() SetAccessRuleWithBucketParams

NewSetAccessRuleWithBucketParams creates a new SetAccessRuleWithBucketParams object

There are no default values defined in the spec.

func (*SetAccessRuleWithBucketParams) 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 NewSetAccessRuleWithBucketParams() beforehand.

type SetAccessRuleWithBucketURL

type SetAccessRuleWithBucketURL struct {
	Bucket string
	// contains filtered or unexported fields
}

SetAccessRuleWithBucketURL generates an URL for the set access rule with bucket operation

func (*SetAccessRuleWithBucketURL) Build

func (o *SetAccessRuleWithBucketURL) Build() (*url.URL, error)

Build a url path and query string

func (*SetAccessRuleWithBucketURL) BuildFull

func (o *SetAccessRuleWithBucketURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SetAccessRuleWithBucketURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*SetAccessRuleWithBucketURL) SetBasePath

func (o *SetAccessRuleWithBucketURL) 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 (*SetAccessRuleWithBucketURL) String

func (o *SetAccessRuleWithBucketURL) String() string

String returns the string representation of the path with query string

func (*SetAccessRuleWithBucketURL) StringFull

func (o *SetAccessRuleWithBucketURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SetAccessRuleWithBucketURL) 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 SetBucketQuota

type SetBucketQuota struct {
	Context *middleware.Context
	Handler SetBucketQuotaHandler
}
SetBucketQuota swagger:route PUT /buckets/{name}/quota Bucket setBucketQuota

Bucket Quota

func NewSetBucketQuota

func NewSetBucketQuota(ctx *middleware.Context, handler SetBucketQuotaHandler) *SetBucketQuota

NewSetBucketQuota creates a new http.Handler for the set bucket quota operation

func (*SetBucketQuota) ServeHTTP

func (o *SetBucketQuota) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SetBucketQuotaDefault

type SetBucketQuotaDefault struct {

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

SetBucketQuotaDefault Generic error response.

swagger:response setBucketQuotaDefault

func NewSetBucketQuotaDefault

func NewSetBucketQuotaDefault(code int) *SetBucketQuotaDefault

NewSetBucketQuotaDefault creates SetBucketQuotaDefault with default headers values

func (*SetBucketQuotaDefault) SetPayload

func (o *SetBucketQuotaDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the set bucket quota default response

func (*SetBucketQuotaDefault) SetStatusCode

func (o *SetBucketQuotaDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set bucket quota default response

func (*SetBucketQuotaDefault) WithPayload

func (o *SetBucketQuotaDefault) WithPayload(payload *models.Error) *SetBucketQuotaDefault

WithPayload adds the payload to the set bucket quota default response

func (*SetBucketQuotaDefault) WithStatusCode

func (o *SetBucketQuotaDefault) WithStatusCode(code int) *SetBucketQuotaDefault

WithStatusCode adds the status to the set bucket quota default response

func (*SetBucketQuotaDefault) WriteResponse

func (o *SetBucketQuotaDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetBucketQuotaHandler

type SetBucketQuotaHandler interface {
	Handle(SetBucketQuotaParams, *models.Principal) middleware.Responder
}

SetBucketQuotaHandler interface for that can handle valid set bucket quota params

type SetBucketQuotaHandlerFunc

type SetBucketQuotaHandlerFunc func(SetBucketQuotaParams, *models.Principal) middleware.Responder

SetBucketQuotaHandlerFunc turns a function with the right signature into a set bucket quota handler

func (SetBucketQuotaHandlerFunc) Handle

Handle executing the request and returning a response

type SetBucketQuotaOK

type SetBucketQuotaOK struct {

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

SetBucketQuotaOK A successful response.

swagger:response setBucketQuotaOK

func NewSetBucketQuotaOK

func NewSetBucketQuotaOK() *SetBucketQuotaOK

NewSetBucketQuotaOK creates SetBucketQuotaOK with default headers values

func (*SetBucketQuotaOK) SetPayload

func (o *SetBucketQuotaOK) SetPayload(payload *models.Bucket)

SetPayload sets the payload to the set bucket quota o k response

func (*SetBucketQuotaOK) WithPayload

func (o *SetBucketQuotaOK) WithPayload(payload *models.Bucket) *SetBucketQuotaOK

WithPayload adds the payload to the set bucket quota o k response

func (*SetBucketQuotaOK) WriteResponse

func (o *SetBucketQuotaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetBucketQuotaParams

type SetBucketQuotaParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.SetBucketQuota
	/*
	  Required: true
	  In: path
	*/
	Name string
}

SetBucketQuotaParams contains all the bound params for the set bucket quota operation typically these are obtained from a http.Request

swagger:parameters SetBucketQuota

func NewSetBucketQuotaParams

func NewSetBucketQuotaParams() SetBucketQuotaParams

NewSetBucketQuotaParams creates a new SetBucketQuotaParams object

There are no default values defined in the spec.

func (*SetBucketQuotaParams) BindRequest

func (o *SetBucketQuotaParams) 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 NewSetBucketQuotaParams() beforehand.

type SetBucketQuotaURL

type SetBucketQuotaURL struct {
	Name string
	// contains filtered or unexported fields
}

SetBucketQuotaURL generates an URL for the set bucket quota operation

func (*SetBucketQuotaURL) Build

func (o *SetBucketQuotaURL) Build() (*url.URL, error)

Build a url path and query string

func (*SetBucketQuotaURL) BuildFull

func (o *SetBucketQuotaURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SetBucketQuotaURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*SetBucketQuotaURL) SetBasePath

func (o *SetBucketQuotaURL) 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 (*SetBucketQuotaURL) String

func (o *SetBucketQuotaURL) String() string

String returns the string representation of the path with query string

func (*SetBucketQuotaURL) StringFull

func (o *SetBucketQuotaURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SetBucketQuotaURL) WithBasePath

func (o *SetBucketQuotaURL) WithBasePath(bp string) *SetBucketQuotaURL

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 SetBucketRetentionConfig

type SetBucketRetentionConfig struct {
	Context *middleware.Context
	Handler SetBucketRetentionConfigHandler
}
SetBucketRetentionConfig swagger:route PUT /buckets/{bucket_name}/retention Bucket setBucketRetentionConfig

Set Bucket's retention config

func NewSetBucketRetentionConfig

func NewSetBucketRetentionConfig(ctx *middleware.Context, handler SetBucketRetentionConfigHandler) *SetBucketRetentionConfig

NewSetBucketRetentionConfig creates a new http.Handler for the set bucket retention config operation

func (*SetBucketRetentionConfig) ServeHTTP

type SetBucketRetentionConfigDefault

type SetBucketRetentionConfigDefault struct {

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

SetBucketRetentionConfigDefault Generic error response.

swagger:response setBucketRetentionConfigDefault

func NewSetBucketRetentionConfigDefault

func NewSetBucketRetentionConfigDefault(code int) *SetBucketRetentionConfigDefault

NewSetBucketRetentionConfigDefault creates SetBucketRetentionConfigDefault with default headers values

func (*SetBucketRetentionConfigDefault) SetPayload

func (o *SetBucketRetentionConfigDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the set bucket retention config default response

func (*SetBucketRetentionConfigDefault) SetStatusCode

func (o *SetBucketRetentionConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set bucket retention config default response

func (*SetBucketRetentionConfigDefault) WithPayload

WithPayload adds the payload to the set bucket retention config default response

func (*SetBucketRetentionConfigDefault) WithStatusCode

WithStatusCode adds the status to the set bucket retention config default response

func (*SetBucketRetentionConfigDefault) WriteResponse

func (o *SetBucketRetentionConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetBucketRetentionConfigHandler

type SetBucketRetentionConfigHandler interface {
	Handle(SetBucketRetentionConfigParams, *models.Principal) middleware.Responder
}

SetBucketRetentionConfigHandler interface for that can handle valid set bucket retention config params

type SetBucketRetentionConfigHandlerFunc

type SetBucketRetentionConfigHandlerFunc func(SetBucketRetentionConfigParams, *models.Principal) middleware.Responder

SetBucketRetentionConfigHandlerFunc turns a function with the right signature into a set bucket retention config handler

func (SetBucketRetentionConfigHandlerFunc) Handle

Handle executing the request and returning a response

type SetBucketRetentionConfigOK

type SetBucketRetentionConfigOK struct {
}

SetBucketRetentionConfigOK A successful response.

swagger:response setBucketRetentionConfigOK

func NewSetBucketRetentionConfigOK

func NewSetBucketRetentionConfigOK() *SetBucketRetentionConfigOK

NewSetBucketRetentionConfigOK creates SetBucketRetentionConfigOK with default headers values

func (*SetBucketRetentionConfigOK) WriteResponse

func (o *SetBucketRetentionConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetBucketRetentionConfigParams

type SetBucketRetentionConfigParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.PutBucketRetentionRequest
	/*
	  Required: true
	  In: path
	*/
	BucketName string
}

SetBucketRetentionConfigParams contains all the bound params for the set bucket retention config operation typically these are obtained from a http.Request

swagger:parameters SetBucketRetentionConfig

func NewSetBucketRetentionConfigParams

func NewSetBucketRetentionConfigParams() SetBucketRetentionConfigParams

NewSetBucketRetentionConfigParams creates a new SetBucketRetentionConfigParams object

There are no default values defined in the spec.

func (*SetBucketRetentionConfigParams) 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 NewSetBucketRetentionConfigParams() beforehand.

type SetBucketRetentionConfigURL

type SetBucketRetentionConfigURL struct {
	BucketName string
	// contains filtered or unexported fields
}

SetBucketRetentionConfigURL generates an URL for the set bucket retention config operation

func (*SetBucketRetentionConfigURL) Build

func (o *SetBucketRetentionConfigURL) Build() (*url.URL, error)

Build a url path and query string

func (*SetBucketRetentionConfigURL) BuildFull

func (o *SetBucketRetentionConfigURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SetBucketRetentionConfigURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*SetBucketRetentionConfigURL) SetBasePath

func (o *SetBucketRetentionConfigURL) 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 (*SetBucketRetentionConfigURL) String

func (o *SetBucketRetentionConfigURL) String() string

String returns the string representation of the path with query string

func (*SetBucketRetentionConfigURL) StringFull

func (o *SetBucketRetentionConfigURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SetBucketRetentionConfigURL) 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 SetBucketVersioning

type SetBucketVersioning struct {
	Context *middleware.Context
	Handler SetBucketVersioningHandler
}
SetBucketVersioning swagger:route PUT /buckets/{bucket_name}/versioning Bucket setBucketVersioning

Set Bucket Versioning

func NewSetBucketVersioning

func NewSetBucketVersioning(ctx *middleware.Context, handler SetBucketVersioningHandler) *SetBucketVersioning

NewSetBucketVersioning creates a new http.Handler for the set bucket versioning operation

func (*SetBucketVersioning) ServeHTTP

func (o *SetBucketVersioning) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SetBucketVersioningCreated

type SetBucketVersioningCreated struct {
}

SetBucketVersioningCreated A successful response.

swagger:response setBucketVersioningCreated

func NewSetBucketVersioningCreated

func NewSetBucketVersioningCreated() *SetBucketVersioningCreated

NewSetBucketVersioningCreated creates SetBucketVersioningCreated with default headers values

func (*SetBucketVersioningCreated) WriteResponse

func (o *SetBucketVersioningCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetBucketVersioningDefault

type SetBucketVersioningDefault struct {

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

SetBucketVersioningDefault Generic error response.

swagger:response setBucketVersioningDefault

func NewSetBucketVersioningDefault

func NewSetBucketVersioningDefault(code int) *SetBucketVersioningDefault

NewSetBucketVersioningDefault creates SetBucketVersioningDefault with default headers values

func (*SetBucketVersioningDefault) SetPayload

func (o *SetBucketVersioningDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the set bucket versioning default response

func (*SetBucketVersioningDefault) SetStatusCode

func (o *SetBucketVersioningDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set bucket versioning default response

func (*SetBucketVersioningDefault) WithPayload

WithPayload adds the payload to the set bucket versioning default response

func (*SetBucketVersioningDefault) WithStatusCode

WithStatusCode adds the status to the set bucket versioning default response

func (*SetBucketVersioningDefault) WriteResponse

func (o *SetBucketVersioningDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetBucketVersioningHandler

type SetBucketVersioningHandler interface {
	Handle(SetBucketVersioningParams, *models.Principal) middleware.Responder
}

SetBucketVersioningHandler interface for that can handle valid set bucket versioning params

type SetBucketVersioningHandlerFunc

type SetBucketVersioningHandlerFunc func(SetBucketVersioningParams, *models.Principal) middleware.Responder

SetBucketVersioningHandlerFunc turns a function with the right signature into a set bucket versioning handler

func (SetBucketVersioningHandlerFunc) Handle

Handle executing the request and returning a response

type SetBucketVersioningParams

type SetBucketVersioningParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.SetBucketVersioning
	/*
	  Required: true
	  In: path
	*/
	BucketName string
}

SetBucketVersioningParams contains all the bound params for the set bucket versioning operation typically these are obtained from a http.Request

swagger:parameters SetBucketVersioning

func NewSetBucketVersioningParams

func NewSetBucketVersioningParams() SetBucketVersioningParams

NewSetBucketVersioningParams creates a new SetBucketVersioningParams object

There are no default values defined in the spec.

func (*SetBucketVersioningParams) 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 NewSetBucketVersioningParams() beforehand.

type SetBucketVersioningURL

type SetBucketVersioningURL struct {
	BucketName string
	// contains filtered or unexported fields
}

SetBucketVersioningURL generates an URL for the set bucket versioning operation

func (*SetBucketVersioningURL) Build

func (o *SetBucketVersioningURL) Build() (*url.URL, error)

Build a url path and query string

func (*SetBucketVersioningURL) BuildFull

func (o *SetBucketVersioningURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SetBucketVersioningURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*SetBucketVersioningURL) SetBasePath

func (o *SetBucketVersioningURL) 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 (*SetBucketVersioningURL) String

func (o *SetBucketVersioningURL) String() string

String returns the string representation of the path with query string

func (*SetBucketVersioningURL) StringFull

func (o *SetBucketVersioningURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SetBucketVersioningURL) 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 SetMultiBucketReplication

type SetMultiBucketReplication struct {
	Context *middleware.Context
	Handler SetMultiBucketReplicationHandler
}
SetMultiBucketReplication swagger:route POST /buckets-replication Bucket setMultiBucketReplication

Sets Multi Bucket Replication in multiple Buckets

func NewSetMultiBucketReplication

func NewSetMultiBucketReplication(ctx *middleware.Context, handler SetMultiBucketReplicationHandler) *SetMultiBucketReplication

NewSetMultiBucketReplication creates a new http.Handler for the set multi bucket replication operation

func (*SetMultiBucketReplication) ServeHTTP

type SetMultiBucketReplicationDefault

type SetMultiBucketReplicationDefault struct {

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

SetMultiBucketReplicationDefault Generic error response.

swagger:response setMultiBucketReplicationDefault

func NewSetMultiBucketReplicationDefault

func NewSetMultiBucketReplicationDefault(code int) *SetMultiBucketReplicationDefault

NewSetMultiBucketReplicationDefault creates SetMultiBucketReplicationDefault with default headers values

func (*SetMultiBucketReplicationDefault) SetPayload

func (o *SetMultiBucketReplicationDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the set multi bucket replication default response

func (*SetMultiBucketReplicationDefault) SetStatusCode

func (o *SetMultiBucketReplicationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set multi bucket replication default response

func (*SetMultiBucketReplicationDefault) WithPayload

WithPayload adds the payload to the set multi bucket replication default response

func (*SetMultiBucketReplicationDefault) WithStatusCode

WithStatusCode adds the status to the set multi bucket replication default response

func (*SetMultiBucketReplicationDefault) WriteResponse

func (o *SetMultiBucketReplicationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetMultiBucketReplicationHandler

type SetMultiBucketReplicationHandler interface {
	Handle(SetMultiBucketReplicationParams, *models.Principal) middleware.Responder
}

SetMultiBucketReplicationHandler interface for that can handle valid set multi bucket replication params

type SetMultiBucketReplicationHandlerFunc

type SetMultiBucketReplicationHandlerFunc func(SetMultiBucketReplicationParams, *models.Principal) middleware.Responder

SetMultiBucketReplicationHandlerFunc turns a function with the right signature into a set multi bucket replication handler

func (SetMultiBucketReplicationHandlerFunc) Handle

Handle executing the request and returning a response

type SetMultiBucketReplicationOK

type SetMultiBucketReplicationOK struct {

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

SetMultiBucketReplicationOK A successful response.

swagger:response setMultiBucketReplicationOK

func NewSetMultiBucketReplicationOK

func NewSetMultiBucketReplicationOK() *SetMultiBucketReplicationOK

NewSetMultiBucketReplicationOK creates SetMultiBucketReplicationOK with default headers values

func (*SetMultiBucketReplicationOK) SetPayload

SetPayload sets the payload to the set multi bucket replication o k response

func (*SetMultiBucketReplicationOK) WithPayload

WithPayload adds the payload to the set multi bucket replication o k response

func (*SetMultiBucketReplicationOK) WriteResponse

func (o *SetMultiBucketReplicationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetMultiBucketReplicationParams

type SetMultiBucketReplicationParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.MultiBucketReplication
}

SetMultiBucketReplicationParams contains all the bound params for the set multi bucket replication operation typically these are obtained from a http.Request

swagger:parameters SetMultiBucketReplication

func NewSetMultiBucketReplicationParams

func NewSetMultiBucketReplicationParams() SetMultiBucketReplicationParams

NewSetMultiBucketReplicationParams creates a new SetMultiBucketReplicationParams object

There are no default values defined in the spec.

func (*SetMultiBucketReplicationParams) 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 NewSetMultiBucketReplicationParams() beforehand.

type SetMultiBucketReplicationURL

type SetMultiBucketReplicationURL struct {
	// contains filtered or unexported fields
}

SetMultiBucketReplicationURL generates an URL for the set multi bucket replication operation

func (*SetMultiBucketReplicationURL) Build

func (o *SetMultiBucketReplicationURL) Build() (*url.URL, error)

Build a url path and query string

func (*SetMultiBucketReplicationURL) BuildFull

func (o *SetMultiBucketReplicationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SetMultiBucketReplicationURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*SetMultiBucketReplicationURL) SetBasePath

func (o *SetMultiBucketReplicationURL) 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 (*SetMultiBucketReplicationURL) String

String returns the string representation of the path with query string

func (*SetMultiBucketReplicationURL) StringFull

func (o *SetMultiBucketReplicationURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SetMultiBucketReplicationURL) 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 UpdateBucketLifecycle

type UpdateBucketLifecycle struct {
	Context *middleware.Context
	Handler UpdateBucketLifecycleHandler
}
UpdateBucketLifecycle swagger:route PUT /buckets/{bucket_name}/lifecycle/{lifecycle_id} Bucket updateBucketLifecycle

Update Lifecycle rule

func NewUpdateBucketLifecycle

func NewUpdateBucketLifecycle(ctx *middleware.Context, handler UpdateBucketLifecycleHandler) *UpdateBucketLifecycle

NewUpdateBucketLifecycle creates a new http.Handler for the update bucket lifecycle operation

func (*UpdateBucketLifecycle) ServeHTTP

func (o *UpdateBucketLifecycle) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateBucketLifecycleDefault

type UpdateBucketLifecycleDefault struct {

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

UpdateBucketLifecycleDefault Generic error response.

swagger:response updateBucketLifecycleDefault

func NewUpdateBucketLifecycleDefault

func NewUpdateBucketLifecycleDefault(code int) *UpdateBucketLifecycleDefault

NewUpdateBucketLifecycleDefault creates UpdateBucketLifecycleDefault with default headers values

func (*UpdateBucketLifecycleDefault) SetPayload

func (o *UpdateBucketLifecycleDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the update bucket lifecycle default response

func (*UpdateBucketLifecycleDefault) SetStatusCode

func (o *UpdateBucketLifecycleDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update bucket lifecycle default response

func (*UpdateBucketLifecycleDefault) WithPayload

WithPayload adds the payload to the update bucket lifecycle default response

func (*UpdateBucketLifecycleDefault) WithStatusCode

WithStatusCode adds the status to the update bucket lifecycle default response

func (*UpdateBucketLifecycleDefault) WriteResponse

func (o *UpdateBucketLifecycleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateBucketLifecycleHandler

type UpdateBucketLifecycleHandler interface {
	Handle(UpdateBucketLifecycleParams, *models.Principal) middleware.Responder
}

UpdateBucketLifecycleHandler interface for that can handle valid update bucket lifecycle params

type UpdateBucketLifecycleHandlerFunc

type UpdateBucketLifecycleHandlerFunc func(UpdateBucketLifecycleParams, *models.Principal) middleware.Responder

UpdateBucketLifecycleHandlerFunc turns a function with the right signature into a update bucket lifecycle handler

func (UpdateBucketLifecycleHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateBucketLifecycleOK

type UpdateBucketLifecycleOK struct {
}

UpdateBucketLifecycleOK A successful response.

swagger:response updateBucketLifecycleOK

func NewUpdateBucketLifecycleOK

func NewUpdateBucketLifecycleOK() *UpdateBucketLifecycleOK

NewUpdateBucketLifecycleOK creates UpdateBucketLifecycleOK with default headers values

func (*UpdateBucketLifecycleOK) WriteResponse

func (o *UpdateBucketLifecycleOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateBucketLifecycleParams

type UpdateBucketLifecycleParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.UpdateBucketLifecycle
	/*
	  Required: true
	  In: path
	*/
	BucketName string
	/*
	  Required: true
	  In: path
	*/
	LifecycleID string
}

UpdateBucketLifecycleParams contains all the bound params for the update bucket lifecycle operation typically these are obtained from a http.Request

swagger:parameters UpdateBucketLifecycle

func NewUpdateBucketLifecycleParams

func NewUpdateBucketLifecycleParams() UpdateBucketLifecycleParams

NewUpdateBucketLifecycleParams creates a new UpdateBucketLifecycleParams object

There are no default values defined in the spec.

func (*UpdateBucketLifecycleParams) 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 NewUpdateBucketLifecycleParams() beforehand.

type UpdateBucketLifecycleURL

type UpdateBucketLifecycleURL struct {
	BucketName  string
	LifecycleID string
	// contains filtered or unexported fields
}

UpdateBucketLifecycleURL generates an URL for the update bucket lifecycle operation

func (*UpdateBucketLifecycleURL) Build

func (o *UpdateBucketLifecycleURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateBucketLifecycleURL) BuildFull

func (o *UpdateBucketLifecycleURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateBucketLifecycleURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*UpdateBucketLifecycleURL) SetBasePath

func (o *UpdateBucketLifecycleURL) 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 (*UpdateBucketLifecycleURL) String

func (o *UpdateBucketLifecycleURL) String() string

String returns the string representation of the path with query string

func (*UpdateBucketLifecycleURL) StringFull

func (o *UpdateBucketLifecycleURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateBucketLifecycleURL) 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 UpdateMultiBucketReplication

type UpdateMultiBucketReplication struct {
	Context *middleware.Context
	Handler UpdateMultiBucketReplicationHandler
}
UpdateMultiBucketReplication swagger:route PUT /buckets/{bucket_name}/replication/{rule_id} Bucket updateMultiBucketReplication

Update Replication rule

func NewUpdateMultiBucketReplication

func NewUpdateMultiBucketReplication(ctx *middleware.Context, handler UpdateMultiBucketReplicationHandler) *UpdateMultiBucketReplication

NewUpdateMultiBucketReplication creates a new http.Handler for the update multi bucket replication operation

func (*UpdateMultiBucketReplication) ServeHTTP

type UpdateMultiBucketReplicationCreated

type UpdateMultiBucketReplicationCreated struct {
}

UpdateMultiBucketReplicationCreated A successful response.

swagger:response updateMultiBucketReplicationCreated

func NewUpdateMultiBucketReplicationCreated

func NewUpdateMultiBucketReplicationCreated() *UpdateMultiBucketReplicationCreated

NewUpdateMultiBucketReplicationCreated creates UpdateMultiBucketReplicationCreated with default headers values

func (*UpdateMultiBucketReplicationCreated) WriteResponse

WriteResponse to the client

type UpdateMultiBucketReplicationDefault

type UpdateMultiBucketReplicationDefault struct {

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

UpdateMultiBucketReplicationDefault Generic error response.

swagger:response updateMultiBucketReplicationDefault

func NewUpdateMultiBucketReplicationDefault

func NewUpdateMultiBucketReplicationDefault(code int) *UpdateMultiBucketReplicationDefault

NewUpdateMultiBucketReplicationDefault creates UpdateMultiBucketReplicationDefault with default headers values

func (*UpdateMultiBucketReplicationDefault) SetPayload

func (o *UpdateMultiBucketReplicationDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the update multi bucket replication default response

func (*UpdateMultiBucketReplicationDefault) SetStatusCode

func (o *UpdateMultiBucketReplicationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update multi bucket replication default response

func (*UpdateMultiBucketReplicationDefault) WithPayload

WithPayload adds the payload to the update multi bucket replication default response

func (*UpdateMultiBucketReplicationDefault) WithStatusCode

WithStatusCode adds the status to the update multi bucket replication default response

func (*UpdateMultiBucketReplicationDefault) WriteResponse

WriteResponse to the client

type UpdateMultiBucketReplicationHandler

type UpdateMultiBucketReplicationHandler interface {
	Handle(UpdateMultiBucketReplicationParams, *models.Principal) middleware.Responder
}

UpdateMultiBucketReplicationHandler interface for that can handle valid update multi bucket replication params

type UpdateMultiBucketReplicationHandlerFunc

type UpdateMultiBucketReplicationHandlerFunc func(UpdateMultiBucketReplicationParams, *models.Principal) middleware.Responder

UpdateMultiBucketReplicationHandlerFunc turns a function with the right signature into a update multi bucket replication handler

func (UpdateMultiBucketReplicationHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateMultiBucketReplicationParams

type UpdateMultiBucketReplicationParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.MultiBucketReplicationEdit
	/*
	  Required: true
	  In: path
	*/
	BucketName string
	/*
	  Required: true
	  In: path
	*/
	RuleID string
}

UpdateMultiBucketReplicationParams contains all the bound params for the update multi bucket replication operation typically these are obtained from a http.Request

swagger:parameters UpdateMultiBucketReplication

func NewUpdateMultiBucketReplicationParams

func NewUpdateMultiBucketReplicationParams() UpdateMultiBucketReplicationParams

NewUpdateMultiBucketReplicationParams creates a new UpdateMultiBucketReplicationParams object

There are no default values defined in the spec.

func (*UpdateMultiBucketReplicationParams) 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 NewUpdateMultiBucketReplicationParams() beforehand.

type UpdateMultiBucketReplicationURL

type UpdateMultiBucketReplicationURL struct {
	BucketName string
	RuleID     string
	// contains filtered or unexported fields
}

UpdateMultiBucketReplicationURL generates an URL for the update multi bucket replication operation

func (*UpdateMultiBucketReplicationURL) Build

Build a url path and query string

func (*UpdateMultiBucketReplicationURL) BuildFull

func (o *UpdateMultiBucketReplicationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateMultiBucketReplicationURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*UpdateMultiBucketReplicationURL) SetBasePath

func (o *UpdateMultiBucketReplicationURL) 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 (*UpdateMultiBucketReplicationURL) String

String returns the string representation of the path with query string

func (*UpdateMultiBucketReplicationURL) StringFull

func (o *UpdateMultiBucketReplicationURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateMultiBucketReplicationURL) 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

Source Files

Jump to

Keyboard shortcuts

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