user_api

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const AccountChangePasswordCreatedCode int = 201

AccountChangePasswordCreatedCode is the HTTP code returned for type AccountChangePasswordCreated

View Source
const AddBucketLifecycleCreatedCode int = 201

AddBucketLifecycleCreatedCode is the HTTP code returned for type AddBucketLifecycleCreated

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 CreateServiceAccountCreatedCode int = 201

CreateServiceAccountCreatedCode is the HTTP code returned for type CreateServiceAccountCreated

View Source
const DeleteBucketEventNoContentCode int = 204

DeleteBucketEventNoContentCode is the HTTP code returned for type DeleteBucketEventNoContent

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 DeleteMultipleObjectsOKCode int = 200

DeleteMultipleObjectsOKCode is the HTTP code returned for type DeleteMultipleObjectsOK

View Source
const DeleteObjectOKCode int = 200

DeleteObjectOKCode is the HTTP code returned for type DeleteObjectOK

View Source
const DeleteObjectRetentionOKCode int = 200

DeleteObjectRetentionOKCode is the HTTP code returned for type DeleteObjectRetentionOK

View Source
const DeleteRemoteBucketNoContentCode int = 204

DeleteRemoteBucketNoContentCode is the HTTP code returned for type DeleteRemoteBucketNoContent

View Source
const DeleteServiceAccountNoContentCode int = 204

DeleteServiceAccountNoContentCode is the HTTP code returned for type DeleteServiceAccountNoContent

View Source
const DisableBucketEncryptionOKCode int = 200

DisableBucketEncryptionOKCode is the HTTP code returned for type DisableBucketEncryptionOK

View Source
const DownloadObjectOKCode int = 200

DownloadObjectOKCode is the HTTP code returned for type DownloadObjectOK

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 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 HasPermissionToCreatedCode int = 201

HasPermissionToCreatedCode is the HTTP code returned for type HasPermissionToCreated

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 ListObjectsOKCode int = 200

ListObjectsOKCode is the HTTP code returned for type ListObjectsOK

View Source
const ListRemoteBucketsOKCode int = 200

ListRemoteBucketsOKCode is the HTTP code returned for type ListRemoteBucketsOK

View Source
const ListUserServiceAccountsOKCode int = 200

ListUserServiceAccountsOKCode is the HTTP code returned for type ListUserServiceAccountsOK

View Source
const LogSearchOKCode int = 200

LogSearchOKCode is the HTTP code returned for type LogSearchOK

View Source
const LoginCreatedCode int = 201

LoginCreatedCode is the HTTP code returned for type LoginCreated

View Source
const LoginDetailOKCode int = 200

LoginDetailOKCode is the HTTP code returned for type LoginDetailOK

View Source
const LoginOauth2AuthCreatedCode int = 201

LoginOauth2AuthCreatedCode is the HTTP code returned for type LoginOauth2AuthCreated

View Source
const LoginOperatorCreatedCode int = 201

LoginOperatorCreatedCode is the HTTP code returned for type LoginOperatorCreated

View Source
const LogoutOKCode int = 200

LogoutOKCode is the HTTP code returned for type LogoutOK

View Source
const MakeBucketCreatedCode int = 201

MakeBucketCreatedCode is the HTTP code returned for type MakeBucketCreated

View Source
const PostBucketsBucketNameObjectsUploadOKCode int = 200

PostBucketsBucketNameObjectsUploadOKCode is the HTTP code returned for type PostBucketsBucketNameObjectsUploadOK

View Source
const PutObjectLegalHoldOKCode int = 200

PutObjectLegalHoldOKCode is the HTTP code returned for type PutObjectLegalHoldOK

View Source
const PutObjectRetentionOKCode int = 200

PutObjectRetentionOKCode is the HTTP code returned for type PutObjectRetentionOK

View Source
const PutObjectTagsOKCode int = 200

PutObjectTagsOKCode is the HTTP code returned for type PutObjectTagsOK

View Source
const RemoteBucketDetailsOKCode int = 200

RemoteBucketDetailsOKCode is the HTTP code returned for type RemoteBucketDetailsOK

View Source
const SessionCheckOKCode int = 200

SessionCheckOKCode is the HTTP code returned for type SessionCheckOK

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 ShareObjectOKCode int = 200

ShareObjectOKCode is the HTTP code returned for type ShareObjectOK

View Source
const UpdateBucketLifecycleOKCode int = 200

UpdateBucketLifecycleOKCode is the HTTP code returned for type UpdateBucketLifecycleOK

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountChangePassword added in v0.5.0

type AccountChangePassword struct {
	Context *middleware.Context
	Handler AccountChangePasswordHandler
}
AccountChangePassword swagger:route POST /account/change-password UserAPI accountChangePassword

Change password of currently logged in user.

func NewAccountChangePassword added in v0.5.0

func NewAccountChangePassword(ctx *middleware.Context, handler AccountChangePasswordHandler) *AccountChangePassword

NewAccountChangePassword creates a new http.Handler for the account change password operation

func (*AccountChangePassword) ServeHTTP added in v0.5.0

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

type AccountChangePasswordCreated added in v0.5.0

type AccountChangePasswordCreated struct {

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

AccountChangePasswordCreated A successful login.

swagger:response accountChangePasswordCreated

func NewAccountChangePasswordCreated added in v0.5.0

func NewAccountChangePasswordCreated() *AccountChangePasswordCreated

NewAccountChangePasswordCreated creates AccountChangePasswordCreated with default headers values

func (*AccountChangePasswordCreated) SetPayload added in v0.5.0

func (o *AccountChangePasswordCreated) SetPayload(payload *models.LoginResponse)

SetPayload sets the payload to the account change password created response

func (*AccountChangePasswordCreated) WithPayload added in v0.5.0

WithPayload adds the payload to the account change password created response

func (*AccountChangePasswordCreated) WriteResponse added in v0.5.0

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

WriteResponse to the client

type AccountChangePasswordDefault added in v0.5.0

type AccountChangePasswordDefault struct {

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

AccountChangePasswordDefault Generic error response.

swagger:response accountChangePasswordDefault

func NewAccountChangePasswordDefault added in v0.5.0

func NewAccountChangePasswordDefault(code int) *AccountChangePasswordDefault

NewAccountChangePasswordDefault creates AccountChangePasswordDefault with default headers values

func (*AccountChangePasswordDefault) SetPayload added in v0.5.0

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

SetPayload sets the payload to the account change password default response

func (*AccountChangePasswordDefault) SetStatusCode added in v0.5.0

func (o *AccountChangePasswordDefault) SetStatusCode(code int)

SetStatusCode sets the status to the account change password default response

func (*AccountChangePasswordDefault) WithPayload added in v0.5.0

WithPayload adds the payload to the account change password default response

func (*AccountChangePasswordDefault) WithStatusCode added in v0.5.0

WithStatusCode adds the status to the account change password default response

func (*AccountChangePasswordDefault) WriteResponse added in v0.5.0

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

WriteResponse to the client

type AccountChangePasswordHandler added in v0.5.0

type AccountChangePasswordHandler interface {
	Handle(AccountChangePasswordParams, *models.Principal) middleware.Responder
}

AccountChangePasswordHandler interface for that can handle valid account change password params

type AccountChangePasswordHandlerFunc added in v0.5.0

type AccountChangePasswordHandlerFunc func(AccountChangePasswordParams, *models.Principal) middleware.Responder

AccountChangePasswordHandlerFunc turns a function with the right signature into a account change password handler

func (AccountChangePasswordHandlerFunc) Handle added in v0.5.0

Handle executing the request and returning a response

type AccountChangePasswordParams added in v0.5.0

type AccountChangePasswordParams struct {

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

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

AccountChangePasswordParams contains all the bound params for the account change password operation typically these are obtained from a http.Request

swagger:parameters AccountChangePassword

func NewAccountChangePasswordParams added in v0.5.0

func NewAccountChangePasswordParams() AccountChangePasswordParams

NewAccountChangePasswordParams creates a new AccountChangePasswordParams object

There are no default values defined in the spec.

func (*AccountChangePasswordParams) BindRequest added in v0.5.0

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 NewAccountChangePasswordParams() beforehand.

type AccountChangePasswordURL added in v0.5.0

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

AccountChangePasswordURL generates an URL for the account change password operation

func (*AccountChangePasswordURL) Build added in v0.5.0

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

Build a url path and query string

func (*AccountChangePasswordURL) BuildFull added in v0.5.0

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

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

func (*AccountChangePasswordURL) Must added in v0.5.0

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

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

func (*AccountChangePasswordURL) SetBasePath added in v0.5.0

func (o *AccountChangePasswordURL) 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 (*AccountChangePasswordURL) String added in v0.5.0

func (o *AccountChangePasswordURL) String() string

String returns the string representation of the path with query string

func (*AccountChangePasswordURL) StringFull added in v0.5.0

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

StringFull returns the string representation of a complete url

func (*AccountChangePasswordURL) WithBasePath added in v0.5.0

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 AddBucketLifecycle added in v0.7.0

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

Add Bucket Lifecycle

func NewAddBucketLifecycle added in v0.7.0

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

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

func (*AddBucketLifecycle) ServeHTTP added in v0.7.0

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

type AddBucketLifecycleCreated added in v0.7.0

type AddBucketLifecycleCreated struct {
}

AddBucketLifecycleCreated A successful response.

swagger:response addBucketLifecycleCreated

func NewAddBucketLifecycleCreated added in v0.7.0

func NewAddBucketLifecycleCreated() *AddBucketLifecycleCreated

NewAddBucketLifecycleCreated creates AddBucketLifecycleCreated with default headers values

func (*AddBucketLifecycleCreated) WriteResponse added in v0.7.0

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

WriteResponse to the client

type AddBucketLifecycleDefault added in v0.7.0

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 added in v0.7.0

func NewAddBucketLifecycleDefault(code int) *AddBucketLifecycleDefault

NewAddBucketLifecycleDefault creates AddBucketLifecycleDefault with default headers values

func (*AddBucketLifecycleDefault) SetPayload added in v0.7.0

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

SetPayload sets the payload to the add bucket lifecycle default response

func (*AddBucketLifecycleDefault) SetStatusCode added in v0.7.0

func (o *AddBucketLifecycleDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add bucket lifecycle default response

func (*AddBucketLifecycleDefault) WithPayload added in v0.7.0

WithPayload adds the payload to the add bucket lifecycle default response

func (*AddBucketLifecycleDefault) WithStatusCode added in v0.7.0

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

WithStatusCode adds the status to the add bucket lifecycle default response

func (*AddBucketLifecycleDefault) WriteResponse added in v0.7.0

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

WriteResponse to the client

type AddBucketLifecycleHandler added in v0.7.0

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

AddBucketLifecycleHandler interface for that can handle valid add bucket lifecycle params

type AddBucketLifecycleHandlerFunc added in v0.7.0

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 added in v0.7.0

Handle executing the request and returning a response

type AddBucketLifecycleParams added in v0.7.0

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 added in v0.7.0

func NewAddBucketLifecycleParams() AddBucketLifecycleParams

NewAddBucketLifecycleParams creates a new AddBucketLifecycleParams object

There are no default values defined in the spec.

func (*AddBucketLifecycleParams) BindRequest added in v0.7.0

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 added in v0.7.0

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

AddBucketLifecycleURL generates an URL for the add bucket lifecycle operation

func (*AddBucketLifecycleURL) Build added in v0.7.0

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

Build a url path and query string

func (*AddBucketLifecycleURL) BuildFull added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

func (o *AddBucketLifecycleURL) String() string

String returns the string representation of the path with query string

func (*AddBucketLifecycleURL) StringFull added in v0.7.0

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

StringFull returns the string representation of a complete url

func (*AddBucketLifecycleURL) WithBasePath added in v0.7.0

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 AddRemoteBucket added in v0.4.0

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

Add Remote Bucket

func NewAddRemoteBucket added in v0.4.0

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

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

func (*AddRemoteBucket) ServeHTTP added in v0.4.0

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

type AddRemoteBucketCreated added in v0.4.0

type AddRemoteBucketCreated struct {
}

AddRemoteBucketCreated A successful response.

swagger:response addRemoteBucketCreated

func NewAddRemoteBucketCreated added in v0.4.0

func NewAddRemoteBucketCreated() *AddRemoteBucketCreated

NewAddRemoteBucketCreated creates AddRemoteBucketCreated with default headers values

func (*AddRemoteBucketCreated) WriteResponse added in v0.4.0

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

WriteResponse to the client

type AddRemoteBucketDefault added in v0.4.0

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 added in v0.4.0

func NewAddRemoteBucketDefault(code int) *AddRemoteBucketDefault

NewAddRemoteBucketDefault creates AddRemoteBucketDefault with default headers values

func (*AddRemoteBucketDefault) SetPayload added in v0.4.0

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

SetPayload sets the payload to the add remote bucket default response

func (*AddRemoteBucketDefault) SetStatusCode added in v0.4.0

func (o *AddRemoteBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add remote bucket default response

func (*AddRemoteBucketDefault) WithPayload added in v0.4.0

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

WithPayload adds the payload to the add remote bucket default response

func (*AddRemoteBucketDefault) WithStatusCode added in v0.4.0

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

WithStatusCode adds the status to the add remote bucket default response

func (*AddRemoteBucketDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type AddRemoteBucketHandler added in v0.4.0

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

AddRemoteBucketHandler interface for that can handle valid add remote bucket params

type AddRemoteBucketHandlerFunc added in v0.4.0

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 added in v0.4.0

Handle executing the request and returning a response

type AddRemoteBucketParams added in v0.4.0

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 added in v0.4.0

func NewAddRemoteBucketParams() AddRemoteBucketParams

NewAddRemoteBucketParams creates a new AddRemoteBucketParams object

There are no default values defined in the spec.

func (*AddRemoteBucketParams) BindRequest added in v0.4.0

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 added in v0.4.0

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

AddRemoteBucketURL generates an URL for the add remote bucket operation

func (*AddRemoteBucketURL) Build added in v0.4.0

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

Build a url path and query string

func (*AddRemoteBucketURL) BuildFull added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (o *AddRemoteBucketURL) String() string

String returns the string representation of the path with query string

func (*AddRemoteBucketURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*AddRemoteBucketURL) WithBasePath added in v0.4.0

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} UserAPI 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 UserAPI 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 UserAPI 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 CreateServiceAccount

type CreateServiceAccount struct {
	Context *middleware.Context
	Handler CreateServiceAccountHandler
}
CreateServiceAccount swagger:route POST /service-accounts UserAPI createServiceAccount

Create Service Account

func NewCreateServiceAccount

func NewCreateServiceAccount(ctx *middleware.Context, handler CreateServiceAccountHandler) *CreateServiceAccount

NewCreateServiceAccount creates a new http.Handler for the create service account operation

func (*CreateServiceAccount) ServeHTTP

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

type CreateServiceAccountCreated

type CreateServiceAccountCreated struct {

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

CreateServiceAccountCreated A successful response.

swagger:response createServiceAccountCreated

func NewCreateServiceAccountCreated

func NewCreateServiceAccountCreated() *CreateServiceAccountCreated

NewCreateServiceAccountCreated creates CreateServiceAccountCreated with default headers values

func (*CreateServiceAccountCreated) SetPayload

func (o *CreateServiceAccountCreated) SetPayload(payload *models.ServiceAccountCreds)

SetPayload sets the payload to the create service account created response

func (*CreateServiceAccountCreated) WithPayload

WithPayload adds the payload to the create service account created response

func (*CreateServiceAccountCreated) WriteResponse

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

WriteResponse to the client

type CreateServiceAccountDefault

type CreateServiceAccountDefault struct {

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

CreateServiceAccountDefault Generic error response.

swagger:response createServiceAccountDefault

func NewCreateServiceAccountDefault

func NewCreateServiceAccountDefault(code int) *CreateServiceAccountDefault

NewCreateServiceAccountDefault creates CreateServiceAccountDefault with default headers values

func (*CreateServiceAccountDefault) SetPayload

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

SetPayload sets the payload to the create service account default response

func (*CreateServiceAccountDefault) SetStatusCode

func (o *CreateServiceAccountDefault) SetStatusCode(code int)

SetStatusCode sets the status to the create service account default response

func (*CreateServiceAccountDefault) WithPayload

WithPayload adds the payload to the create service account default response

func (*CreateServiceAccountDefault) WithStatusCode

WithStatusCode adds the status to the create service account default response

func (*CreateServiceAccountDefault) WriteResponse

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

WriteResponse to the client

type CreateServiceAccountHandler

type CreateServiceAccountHandler interface {
	Handle(CreateServiceAccountParams, *models.Principal) middleware.Responder
}

CreateServiceAccountHandler interface for that can handle valid create service account params

type CreateServiceAccountHandlerFunc

type CreateServiceAccountHandlerFunc func(CreateServiceAccountParams, *models.Principal) middleware.Responder

CreateServiceAccountHandlerFunc turns a function with the right signature into a create service account handler

func (CreateServiceAccountHandlerFunc) Handle

Handle executing the request and returning a response

type CreateServiceAccountParams

type CreateServiceAccountParams struct {

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

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

CreateServiceAccountParams contains all the bound params for the create service account operation typically these are obtained from a http.Request

swagger:parameters CreateServiceAccount

func NewCreateServiceAccountParams

func NewCreateServiceAccountParams() CreateServiceAccountParams

NewCreateServiceAccountParams creates a new CreateServiceAccountParams object

There are no default values defined in the spec.

func (*CreateServiceAccountParams) 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 NewCreateServiceAccountParams() beforehand.

type CreateServiceAccountURL

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

CreateServiceAccountURL generates an URL for the create service account operation

func (*CreateServiceAccountURL) Build

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

Build a url path and query string

func (*CreateServiceAccountURL) BuildFull

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

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

func (*CreateServiceAccountURL) Must

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

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

func (*CreateServiceAccountURL) SetBasePath

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

func (o *CreateServiceAccountURL) String() string

String returns the string representation of the path with query string

func (*CreateServiceAccountURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateServiceAccountURL) 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} UserAPI 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} UserAPI 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 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 added in v0.6.7

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

Bucket Replication Rule Delete

func NewDeleteBucketReplicationRule added in v0.6.7

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

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

func (*DeleteBucketReplicationRule) ServeHTTP added in v0.6.7

type DeleteBucketReplicationRuleDefault added in v0.6.7

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 added in v0.6.7

func NewDeleteBucketReplicationRuleDefault(code int) *DeleteBucketReplicationRuleDefault

NewDeleteBucketReplicationRuleDefault creates DeleteBucketReplicationRuleDefault with default headers values

func (*DeleteBucketReplicationRuleDefault) SetPayload added in v0.6.7

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

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

func (*DeleteBucketReplicationRuleDefault) SetStatusCode added in v0.6.7

func (o *DeleteBucketReplicationRuleDefault) SetStatusCode(code int)

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

func (*DeleteBucketReplicationRuleDefault) WithPayload added in v0.6.7

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

func (*DeleteBucketReplicationRuleDefault) WithStatusCode added in v0.6.7

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

func (*DeleteBucketReplicationRuleDefault) WriteResponse added in v0.6.7

WriteResponse to the client

type DeleteBucketReplicationRuleHandler added in v0.6.7

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

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

type DeleteBucketReplicationRuleHandlerFunc added in v0.6.7

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 added in v0.6.7

Handle executing the request and returning a response

type DeleteBucketReplicationRuleNoContent added in v0.6.7

type DeleteBucketReplicationRuleNoContent struct {
}

DeleteBucketReplicationRuleNoContent A successful response.

swagger:response deleteBucketReplicationRuleNoContent

func NewDeleteBucketReplicationRuleNoContent added in v0.6.7

func NewDeleteBucketReplicationRuleNoContent() *DeleteBucketReplicationRuleNoContent

NewDeleteBucketReplicationRuleNoContent creates DeleteBucketReplicationRuleNoContent with default headers values

func (*DeleteBucketReplicationRuleNoContent) WriteResponse added in v0.6.7

WriteResponse to the client

type DeleteBucketReplicationRuleParams added in v0.6.7

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 added in v0.6.7

func NewDeleteBucketReplicationRuleParams() DeleteBucketReplicationRuleParams

NewDeleteBucketReplicationRuleParams creates a new DeleteBucketReplicationRuleParams object

There are no default values defined in the spec.

func (*DeleteBucketReplicationRuleParams) BindRequest added in v0.6.7

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 added in v0.6.7

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 added in v0.6.7

Build a url path and query string

func (*DeleteBucketReplicationRuleURL) BuildFull added in v0.6.7

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 added in v0.6.7

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 added in v0.6.7

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 added in v0.6.7

String returns the string representation of the path with query string

func (*DeleteBucketReplicationRuleURL) StringFull added in v0.6.7

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

StringFull returns the string representation of a complete url

func (*DeleteBucketReplicationRuleURL) WithBasePath added in v0.6.7

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 DeleteMultipleObjects added in v0.8.0

type DeleteMultipleObjects struct {
	Context *middleware.Context
	Handler DeleteMultipleObjectsHandler
}
DeleteMultipleObjects swagger:route POST /buckets/{bucket_name}/delete-objects UserAPI deleteMultipleObjects

Delete Multiple Objects

func NewDeleteMultipleObjects added in v0.8.0

func NewDeleteMultipleObjects(ctx *middleware.Context, handler DeleteMultipleObjectsHandler) *DeleteMultipleObjects

NewDeleteMultipleObjects creates a new http.Handler for the delete multiple objects operation

func (*DeleteMultipleObjects) ServeHTTP added in v0.8.0

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

type DeleteMultipleObjectsDefault added in v0.8.0

type DeleteMultipleObjectsDefault struct {

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

DeleteMultipleObjectsDefault Generic error response.

swagger:response deleteMultipleObjectsDefault

func NewDeleteMultipleObjectsDefault added in v0.8.0

func NewDeleteMultipleObjectsDefault(code int) *DeleteMultipleObjectsDefault

NewDeleteMultipleObjectsDefault creates DeleteMultipleObjectsDefault with default headers values

func (*DeleteMultipleObjectsDefault) SetPayload added in v0.8.0

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

SetPayload sets the payload to the delete multiple objects default response

func (*DeleteMultipleObjectsDefault) SetStatusCode added in v0.8.0

func (o *DeleteMultipleObjectsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete multiple objects default response

func (*DeleteMultipleObjectsDefault) WithPayload added in v0.8.0

WithPayload adds the payload to the delete multiple objects default response

func (*DeleteMultipleObjectsDefault) WithStatusCode added in v0.8.0

WithStatusCode adds the status to the delete multiple objects default response

func (*DeleteMultipleObjectsDefault) WriteResponse added in v0.8.0

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

WriteResponse to the client

type DeleteMultipleObjectsHandler added in v0.8.0

type DeleteMultipleObjectsHandler interface {
	Handle(DeleteMultipleObjectsParams, *models.Principal) middleware.Responder
}

DeleteMultipleObjectsHandler interface for that can handle valid delete multiple objects params

type DeleteMultipleObjectsHandlerFunc added in v0.8.0

type DeleteMultipleObjectsHandlerFunc func(DeleteMultipleObjectsParams, *models.Principal) middleware.Responder

DeleteMultipleObjectsHandlerFunc turns a function with the right signature into a delete multiple objects handler

func (DeleteMultipleObjectsHandlerFunc) Handle added in v0.8.0

Handle executing the request and returning a response

type DeleteMultipleObjectsOK added in v0.8.0

type DeleteMultipleObjectsOK struct {
}

DeleteMultipleObjectsOK A successful response.

swagger:response deleteMultipleObjectsOK

func NewDeleteMultipleObjectsOK added in v0.8.0

func NewDeleteMultipleObjectsOK() *DeleteMultipleObjectsOK

NewDeleteMultipleObjectsOK creates DeleteMultipleObjectsOK with default headers values

func (*DeleteMultipleObjectsOK) WriteResponse added in v0.8.0

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

WriteResponse to the client

type DeleteMultipleObjectsParams added in v0.8.0

type DeleteMultipleObjectsParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	BucketName string
	/*
	  Required: true
	  In: body
	*/
	Files []*models.DeleteFile
}

DeleteMultipleObjectsParams contains all the bound params for the delete multiple objects operation typically these are obtained from a http.Request

swagger:parameters DeleteMultipleObjects

func NewDeleteMultipleObjectsParams added in v0.8.0

func NewDeleteMultipleObjectsParams() DeleteMultipleObjectsParams

NewDeleteMultipleObjectsParams creates a new DeleteMultipleObjectsParams object

There are no default values defined in the spec.

func (*DeleteMultipleObjectsParams) BindRequest added in v0.8.0

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteMultipleObjectsParams() beforehand.

type DeleteMultipleObjectsURL added in v0.8.0

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

DeleteMultipleObjectsURL generates an URL for the delete multiple objects operation

func (*DeleteMultipleObjectsURL) Build added in v0.8.0

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

Build a url path and query string

func (*DeleteMultipleObjectsURL) BuildFull added in v0.8.0

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

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

func (*DeleteMultipleObjectsURL) Must added in v0.8.0

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

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

func (*DeleteMultipleObjectsURL) SetBasePath added in v0.8.0

func (o *DeleteMultipleObjectsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteMultipleObjectsURL) String added in v0.8.0

func (o *DeleteMultipleObjectsURL) String() string

String returns the string representation of the path with query string

func (*DeleteMultipleObjectsURL) StringFull added in v0.8.0

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

StringFull returns the string representation of a complete url

func (*DeleteMultipleObjectsURL) WithBasePath added in v0.8.0

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteObject added in v0.4.0

type DeleteObject struct {
	Context *middleware.Context
	Handler DeleteObjectHandler
}
DeleteObject swagger:route DELETE /buckets/{bucket_name}/objects UserAPI deleteObject

Delete Object

func NewDeleteObject added in v0.4.0

func NewDeleteObject(ctx *middleware.Context, handler DeleteObjectHandler) *DeleteObject

NewDeleteObject creates a new http.Handler for the delete object operation

func (*DeleteObject) ServeHTTP added in v0.4.0

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

type DeleteObjectDefault added in v0.4.0

type DeleteObjectDefault struct {

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

DeleteObjectDefault Generic error response.

swagger:response deleteObjectDefault

func NewDeleteObjectDefault added in v0.4.0

func NewDeleteObjectDefault(code int) *DeleteObjectDefault

NewDeleteObjectDefault creates DeleteObjectDefault with default headers values

func (*DeleteObjectDefault) SetPayload added in v0.4.0

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

SetPayload sets the payload to the delete object default response

func (*DeleteObjectDefault) SetStatusCode added in v0.4.0

func (o *DeleteObjectDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete object default response

func (*DeleteObjectDefault) WithPayload added in v0.4.0

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

WithPayload adds the payload to the delete object default response

func (*DeleteObjectDefault) WithStatusCode added in v0.4.0

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

WithStatusCode adds the status to the delete object default response

func (*DeleteObjectDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type DeleteObjectHandler added in v0.4.0

type DeleteObjectHandler interface {
	Handle(DeleteObjectParams, *models.Principal) middleware.Responder
}

DeleteObjectHandler interface for that can handle valid delete object params

type DeleteObjectHandlerFunc added in v0.4.0

type DeleteObjectHandlerFunc func(DeleteObjectParams, *models.Principal) middleware.Responder

DeleteObjectHandlerFunc turns a function with the right signature into a delete object handler

func (DeleteObjectHandlerFunc) Handle added in v0.4.0

Handle executing the request and returning a response

type DeleteObjectOK added in v0.4.0

type DeleteObjectOK struct {
}

DeleteObjectOK A successful response.

swagger:response deleteObjectOK

func NewDeleteObjectOK added in v0.4.0

func NewDeleteObjectOK() *DeleteObjectOK

NewDeleteObjectOK creates DeleteObjectOK with default headers values

func (*DeleteObjectOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type DeleteObjectParams added in v0.4.0

type DeleteObjectParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	BucketName string
	/*
	  Required: true
	  In: query
	*/
	Path string
	/*
	  In: query
	*/
	Recursive *bool
	/*
	  In: query
	*/
	VersionID *string
}

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

swagger:parameters DeleteObject

func NewDeleteObjectParams added in v0.4.0

func NewDeleteObjectParams() DeleteObjectParams

NewDeleteObjectParams creates a new DeleteObjectParams object

There are no default values defined in the spec.

func (*DeleteObjectParams) BindRequest added in v0.4.0

func (o *DeleteObjectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteObjectParams() beforehand.

type DeleteObjectRetention added in v0.5.0

type DeleteObjectRetention struct {
	Context *middleware.Context
	Handler DeleteObjectRetentionHandler
}
DeleteObjectRetention swagger:route DELETE /buckets/{bucket_name}/objects/retention UserAPI deleteObjectRetention

Delete Object retention from an object

func NewDeleteObjectRetention added in v0.5.0

func NewDeleteObjectRetention(ctx *middleware.Context, handler DeleteObjectRetentionHandler) *DeleteObjectRetention

NewDeleteObjectRetention creates a new http.Handler for the delete object retention operation

func (*DeleteObjectRetention) ServeHTTP added in v0.5.0

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

type DeleteObjectRetentionDefault added in v0.5.0

type DeleteObjectRetentionDefault struct {

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

DeleteObjectRetentionDefault Generic error response.

swagger:response deleteObjectRetentionDefault

func NewDeleteObjectRetentionDefault added in v0.5.0

func NewDeleteObjectRetentionDefault(code int) *DeleteObjectRetentionDefault

NewDeleteObjectRetentionDefault creates DeleteObjectRetentionDefault with default headers values

func (*DeleteObjectRetentionDefault) SetPayload added in v0.5.0

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

SetPayload sets the payload to the delete object retention default response

func (*DeleteObjectRetentionDefault) SetStatusCode added in v0.5.0

func (o *DeleteObjectRetentionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete object retention default response

func (*DeleteObjectRetentionDefault) WithPayload added in v0.5.0

WithPayload adds the payload to the delete object retention default response

func (*DeleteObjectRetentionDefault) WithStatusCode added in v0.5.0

WithStatusCode adds the status to the delete object retention default response

func (*DeleteObjectRetentionDefault) WriteResponse added in v0.5.0

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

WriteResponse to the client

type DeleteObjectRetentionHandler added in v0.5.0

type DeleteObjectRetentionHandler interface {
	Handle(DeleteObjectRetentionParams, *models.Principal) middleware.Responder
}

DeleteObjectRetentionHandler interface for that can handle valid delete object retention params

type DeleteObjectRetentionHandlerFunc added in v0.5.0

type DeleteObjectRetentionHandlerFunc func(DeleteObjectRetentionParams, *models.Principal) middleware.Responder

DeleteObjectRetentionHandlerFunc turns a function with the right signature into a delete object retention handler

func (DeleteObjectRetentionHandlerFunc) Handle added in v0.5.0

Handle executing the request and returning a response

type DeleteObjectRetentionOK added in v0.5.0

type DeleteObjectRetentionOK struct {
}

DeleteObjectRetentionOK A successful response.

swagger:response deleteObjectRetentionOK

func NewDeleteObjectRetentionOK added in v0.5.0

func NewDeleteObjectRetentionOK() *DeleteObjectRetentionOK

NewDeleteObjectRetentionOK creates DeleteObjectRetentionOK with default headers values

func (*DeleteObjectRetentionOK) WriteResponse added in v0.5.0

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

WriteResponse to the client

type DeleteObjectRetentionParams added in v0.5.0

type DeleteObjectRetentionParams struct {

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

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

DeleteObjectRetentionParams contains all the bound params for the delete object retention operation typically these are obtained from a http.Request

swagger:parameters DeleteObjectRetention

func NewDeleteObjectRetentionParams added in v0.5.0

func NewDeleteObjectRetentionParams() DeleteObjectRetentionParams

NewDeleteObjectRetentionParams creates a new DeleteObjectRetentionParams object

There are no default values defined in the spec.

func (*DeleteObjectRetentionParams) BindRequest added in v0.5.0

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteObjectRetentionParams() beforehand.

type DeleteObjectRetentionURL added in v0.5.0

type DeleteObjectRetentionURL struct {
	BucketName string

	Prefix    string
	VersionID string
	// contains filtered or unexported fields
}

DeleteObjectRetentionURL generates an URL for the delete object retention operation

func (*DeleteObjectRetentionURL) Build added in v0.5.0

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

Build a url path and query string

func (*DeleteObjectRetentionURL) BuildFull added in v0.5.0

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

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

func (*DeleteObjectRetentionURL) Must added in v0.5.0

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

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

func (*DeleteObjectRetentionURL) SetBasePath added in v0.5.0

func (o *DeleteObjectRetentionURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteObjectRetentionURL) String added in v0.5.0

func (o *DeleteObjectRetentionURL) String() string

String returns the string representation of the path with query string

func (*DeleteObjectRetentionURL) StringFull added in v0.5.0

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

StringFull returns the string representation of a complete url

func (*DeleteObjectRetentionURL) WithBasePath added in v0.5.0

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteObjectURL added in v0.4.0

type DeleteObjectURL struct {
	BucketName string

	Path      string
	Recursive *bool
	VersionID *string
	// contains filtered or unexported fields
}

DeleteObjectURL generates an URL for the delete object operation

func (*DeleteObjectURL) Build added in v0.4.0

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

Build a url path and query string

func (*DeleteObjectURL) BuildFull added in v0.4.0

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

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

func (*DeleteObjectURL) Must added in v0.4.0

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

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

func (*DeleteObjectURL) SetBasePath added in v0.4.0

func (o *DeleteObjectURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteObjectURL) String added in v0.4.0

func (o *DeleteObjectURL) String() string

String returns the string representation of the path with query string

func (*DeleteObjectURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*DeleteObjectURL) WithBasePath added in v0.4.0

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

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteRemoteBucket added in v0.4.0

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

Delete Remote Bucket

func NewDeleteRemoteBucket added in v0.4.0

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

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

func (*DeleteRemoteBucket) ServeHTTP added in v0.4.0

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

type DeleteRemoteBucketDefault added in v0.4.0

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 added in v0.4.0

func NewDeleteRemoteBucketDefault(code int) *DeleteRemoteBucketDefault

NewDeleteRemoteBucketDefault creates DeleteRemoteBucketDefault with default headers values

func (*DeleteRemoteBucketDefault) SetPayload added in v0.4.0

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

SetPayload sets the payload to the delete remote bucket default response

func (*DeleteRemoteBucketDefault) SetStatusCode added in v0.4.0

func (o *DeleteRemoteBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete remote bucket default response

func (*DeleteRemoteBucketDefault) WithPayload added in v0.4.0

WithPayload adds the payload to the delete remote bucket default response

func (*DeleteRemoteBucketDefault) WithStatusCode added in v0.4.0

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

WithStatusCode adds the status to the delete remote bucket default response

func (*DeleteRemoteBucketDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type DeleteRemoteBucketHandler added in v0.4.0

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

DeleteRemoteBucketHandler interface for that can handle valid delete remote bucket params

type DeleteRemoteBucketHandlerFunc added in v0.4.0

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 added in v0.4.0

Handle executing the request and returning a response

type DeleteRemoteBucketNoContent added in v0.4.0

type DeleteRemoteBucketNoContent struct {
}

DeleteRemoteBucketNoContent A successful response.

swagger:response deleteRemoteBucketNoContent

func NewDeleteRemoteBucketNoContent added in v0.4.0

func NewDeleteRemoteBucketNoContent() *DeleteRemoteBucketNoContent

NewDeleteRemoteBucketNoContent creates DeleteRemoteBucketNoContent with default headers values

func (*DeleteRemoteBucketNoContent) WriteResponse added in v0.4.0

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

WriteResponse to the client

type DeleteRemoteBucketParams added in v0.4.0

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 added in v0.4.0

func NewDeleteRemoteBucketParams() DeleteRemoteBucketParams

NewDeleteRemoteBucketParams creates a new DeleteRemoteBucketParams object

There are no default values defined in the spec.

func (*DeleteRemoteBucketParams) BindRequest added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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

Build a url path and query string

func (*DeleteRemoteBucketURL) BuildFull added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (o *DeleteRemoteBucketURL) String() string

String returns the string representation of the path with query string

func (*DeleteRemoteBucketURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*DeleteRemoteBucketURL) WithBasePath added in v0.4.0

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 DeleteServiceAccount

type DeleteServiceAccount struct {
	Context *middleware.Context
	Handler DeleteServiceAccountHandler
}
DeleteServiceAccount swagger:route DELETE /service-accounts/{access_key} UserAPI deleteServiceAccount

Delete Service Account

func NewDeleteServiceAccount

func NewDeleteServiceAccount(ctx *middleware.Context, handler DeleteServiceAccountHandler) *DeleteServiceAccount

NewDeleteServiceAccount creates a new http.Handler for the delete service account operation

func (*DeleteServiceAccount) ServeHTTP

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

type DeleteServiceAccountDefault

type DeleteServiceAccountDefault struct {

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

DeleteServiceAccountDefault Generic error response.

swagger:response deleteServiceAccountDefault

func NewDeleteServiceAccountDefault

func NewDeleteServiceAccountDefault(code int) *DeleteServiceAccountDefault

NewDeleteServiceAccountDefault creates DeleteServiceAccountDefault with default headers values

func (*DeleteServiceAccountDefault) SetPayload

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

SetPayload sets the payload to the delete service account default response

func (*DeleteServiceAccountDefault) SetStatusCode

func (o *DeleteServiceAccountDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete service account default response

func (*DeleteServiceAccountDefault) WithPayload

WithPayload adds the payload to the delete service account default response

func (*DeleteServiceAccountDefault) WithStatusCode

WithStatusCode adds the status to the delete service account default response

func (*DeleteServiceAccountDefault) WriteResponse

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

WriteResponse to the client

type DeleteServiceAccountHandler

type DeleteServiceAccountHandler interface {
	Handle(DeleteServiceAccountParams, *models.Principal) middleware.Responder
}

DeleteServiceAccountHandler interface for that can handle valid delete service account params

type DeleteServiceAccountHandlerFunc

type DeleteServiceAccountHandlerFunc func(DeleteServiceAccountParams, *models.Principal) middleware.Responder

DeleteServiceAccountHandlerFunc turns a function with the right signature into a delete service account handler

func (DeleteServiceAccountHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteServiceAccountNoContent

type DeleteServiceAccountNoContent struct {
}

DeleteServiceAccountNoContent A successful response.

swagger:response deleteServiceAccountNoContent

func NewDeleteServiceAccountNoContent

func NewDeleteServiceAccountNoContent() *DeleteServiceAccountNoContent

NewDeleteServiceAccountNoContent creates DeleteServiceAccountNoContent with default headers values

func (*DeleteServiceAccountNoContent) WriteResponse

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

WriteResponse to the client

type DeleteServiceAccountParams

type DeleteServiceAccountParams struct {

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

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

DeleteServiceAccountParams contains all the bound params for the delete service account operation typically these are obtained from a http.Request

swagger:parameters DeleteServiceAccount

func NewDeleteServiceAccountParams

func NewDeleteServiceAccountParams() DeleteServiceAccountParams

NewDeleteServiceAccountParams creates a new DeleteServiceAccountParams object

There are no default values defined in the spec.

func (*DeleteServiceAccountParams) 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 NewDeleteServiceAccountParams() beforehand.

type DeleteServiceAccountURL

type DeleteServiceAccountURL struct {
	AccessKey string
	// contains filtered or unexported fields
}

DeleteServiceAccountURL generates an URL for the delete service account operation

func (*DeleteServiceAccountURL) Build

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

Build a url path and query string

func (*DeleteServiceAccountURL) BuildFull

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

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

func (*DeleteServiceAccountURL) Must

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

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

func (*DeleteServiceAccountURL) SetBasePath

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

func (o *DeleteServiceAccountURL) String() string

String returns the string representation of the path with query string

func (*DeleteServiceAccountURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteServiceAccountURL) 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 added in v0.4.4

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

Disable bucket encryption.

func NewDisableBucketEncryption added in v0.4.4

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

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

func (*DisableBucketEncryption) ServeHTTP added in v0.4.4

type DisableBucketEncryptionDefault added in v0.4.4

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 added in v0.4.4

func NewDisableBucketEncryptionDefault(code int) *DisableBucketEncryptionDefault

NewDisableBucketEncryptionDefault creates DisableBucketEncryptionDefault with default headers values

func (*DisableBucketEncryptionDefault) SetPayload added in v0.4.4

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

SetPayload sets the payload to the disable bucket encryption default response

func (*DisableBucketEncryptionDefault) SetStatusCode added in v0.4.4

func (o *DisableBucketEncryptionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the disable bucket encryption default response

func (*DisableBucketEncryptionDefault) WithPayload added in v0.4.4

WithPayload adds the payload to the disable bucket encryption default response

func (*DisableBucketEncryptionDefault) WithStatusCode added in v0.4.4

WithStatusCode adds the status to the disable bucket encryption default response

func (*DisableBucketEncryptionDefault) WriteResponse added in v0.4.4

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

WriteResponse to the client

type DisableBucketEncryptionHandler added in v0.4.4

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

DisableBucketEncryptionHandler interface for that can handle valid disable bucket encryption params

type DisableBucketEncryptionHandlerFunc added in v0.4.4

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 added in v0.4.4

Handle executing the request and returning a response

type DisableBucketEncryptionOK added in v0.4.4

type DisableBucketEncryptionOK struct {
}

DisableBucketEncryptionOK A successful response.

swagger:response disableBucketEncryptionOK

func NewDisableBucketEncryptionOK added in v0.4.4

func NewDisableBucketEncryptionOK() *DisableBucketEncryptionOK

NewDisableBucketEncryptionOK creates DisableBucketEncryptionOK with default headers values

func (*DisableBucketEncryptionOK) WriteResponse added in v0.4.4

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

WriteResponse to the client

type DisableBucketEncryptionParams added in v0.4.4

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 added in v0.4.4

func NewDisableBucketEncryptionParams() DisableBucketEncryptionParams

NewDisableBucketEncryptionParams creates a new DisableBucketEncryptionParams object

There are no default values defined in the spec.

func (*DisableBucketEncryptionParams) BindRequest added in v0.4.4

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 added in v0.4.4

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

DisableBucketEncryptionURL generates an URL for the disable bucket encryption operation

func (*DisableBucketEncryptionURL) Build added in v0.4.4

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

Build a url path and query string

func (*DisableBucketEncryptionURL) BuildFull added in v0.4.4

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 added in v0.4.4

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 added in v0.4.4

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 added in v0.4.4

func (o *DisableBucketEncryptionURL) String() string

String returns the string representation of the path with query string

func (*DisableBucketEncryptionURL) StringFull added in v0.4.4

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

StringFull returns the string representation of a complete url

func (*DisableBucketEncryptionURL) WithBasePath added in v0.4.4

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DownloadObject added in v0.4.1

type DownloadObject struct {
	Context *middleware.Context
	Handler DownloadObjectHandler
}
DownloadObject swagger:route GET /buckets/{bucket_name}/objects/download UserAPI downloadObject

Download Object

func NewDownloadObject added in v0.4.1

func NewDownloadObject(ctx *middleware.Context, handler DownloadObjectHandler) *DownloadObject

NewDownloadObject creates a new http.Handler for the download object operation

func (*DownloadObject) ServeHTTP added in v0.4.1

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

type DownloadObjectDefault added in v0.4.1

type DownloadObjectDefault struct {

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

DownloadObjectDefault Generic error response.

swagger:response downloadObjectDefault

func NewDownloadObjectDefault added in v0.4.1

func NewDownloadObjectDefault(code int) *DownloadObjectDefault

NewDownloadObjectDefault creates DownloadObjectDefault with default headers values

func (*DownloadObjectDefault) SetPayload added in v0.4.1

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

SetPayload sets the payload to the download object default response

func (*DownloadObjectDefault) SetStatusCode added in v0.4.1

func (o *DownloadObjectDefault) SetStatusCode(code int)

SetStatusCode sets the status to the download object default response

func (*DownloadObjectDefault) WithPayload added in v0.4.1

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

WithPayload adds the payload to the download object default response

func (*DownloadObjectDefault) WithStatusCode added in v0.4.1

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

WithStatusCode adds the status to the download object default response

func (*DownloadObjectDefault) WriteResponse added in v0.4.1

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

WriteResponse to the client

type DownloadObjectHandler added in v0.4.1

type DownloadObjectHandler interface {
	Handle(DownloadObjectParams, *models.Principal) middleware.Responder
}

DownloadObjectHandler interface for that can handle valid download object params

type DownloadObjectHandlerFunc added in v0.4.1

type DownloadObjectHandlerFunc func(DownloadObjectParams, *models.Principal) middleware.Responder

DownloadObjectHandlerFunc turns a function with the right signature into a download object handler

func (DownloadObjectHandlerFunc) Handle added in v0.4.1

Handle executing the request and returning a response

type DownloadObjectOK added in v0.4.1

type DownloadObjectOK struct {

	/*
	  In: Body
	*/
	Payload io.ReadCloser `json:"body,omitempty"`
}

DownloadObjectOK A successful response.

swagger:response downloadObjectOK

func NewDownloadObjectOK added in v0.4.1

func NewDownloadObjectOK() *DownloadObjectOK

NewDownloadObjectOK creates DownloadObjectOK with default headers values

func (*DownloadObjectOK) SetPayload added in v0.4.1

func (o *DownloadObjectOK) SetPayload(payload io.ReadCloser)

SetPayload sets the payload to the download object o k response

func (*DownloadObjectOK) WithPayload added in v0.4.1

func (o *DownloadObjectOK) WithPayload(payload io.ReadCloser) *DownloadObjectOK

WithPayload adds the payload to the download object o k response

func (*DownloadObjectOK) WriteResponse added in v0.4.1

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

WriteResponse to the client

type DownloadObjectParams added in v0.4.1

type DownloadObjectParams struct {

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

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

DownloadObjectParams contains all the bound params for the download object operation typically these are obtained from a http.Request

swagger:parameters Download Object

func NewDownloadObjectParams added in v0.4.1

func NewDownloadObjectParams() DownloadObjectParams

NewDownloadObjectParams creates a new DownloadObjectParams object

There are no default values defined in the spec.

func (*DownloadObjectParams) BindRequest added in v0.4.1

func (o *DownloadObjectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDownloadObjectParams() beforehand.

type DownloadObjectURL added in v0.4.1

type DownloadObjectURL struct {
	BucketName string

	Prefix    string
	VersionID *string
	// contains filtered or unexported fields
}

DownloadObjectURL generates an URL for the download object operation

func (*DownloadObjectURL) Build added in v0.4.1

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

Build a url path and query string

func (*DownloadObjectURL) BuildFull added in v0.4.1

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

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

func (*DownloadObjectURL) Must added in v0.4.1

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

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

func (*DownloadObjectURL) SetBasePath added in v0.4.1

func (o *DownloadObjectURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DownloadObjectURL) String added in v0.4.1

func (o *DownloadObjectURL) String() string

String returns the string representation of the path with query string

func (*DownloadObjectURL) StringFull added in v0.4.1

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

StringFull returns the string representation of a complete url

func (*DownloadObjectURL) WithBasePath added in v0.4.1

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

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type EnableBucketEncryption added in v0.4.4

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

Enable bucket encryption.

func NewEnableBucketEncryption added in v0.4.4

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

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

func (*EnableBucketEncryption) ServeHTTP added in v0.4.4

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

type EnableBucketEncryptionDefault added in v0.4.4

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 added in v0.4.4

func NewEnableBucketEncryptionDefault(code int) *EnableBucketEncryptionDefault

NewEnableBucketEncryptionDefault creates EnableBucketEncryptionDefault with default headers values

func (*EnableBucketEncryptionDefault) SetPayload added in v0.4.4

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

SetPayload sets the payload to the enable bucket encryption default response

func (*EnableBucketEncryptionDefault) SetStatusCode added in v0.4.4

func (o *EnableBucketEncryptionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the enable bucket encryption default response

func (*EnableBucketEncryptionDefault) WithPayload added in v0.4.4

WithPayload adds the payload to the enable bucket encryption default response

func (*EnableBucketEncryptionDefault) WithStatusCode added in v0.4.4

WithStatusCode adds the status to the enable bucket encryption default response

func (*EnableBucketEncryptionDefault) WriteResponse added in v0.4.4

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

WriteResponse to the client

type EnableBucketEncryptionHandler added in v0.4.4

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

EnableBucketEncryptionHandler interface for that can handle valid enable bucket encryption params

type EnableBucketEncryptionHandlerFunc added in v0.4.4

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 added in v0.4.4

Handle executing the request and returning a response

type EnableBucketEncryptionOK added in v0.4.4

type EnableBucketEncryptionOK struct {
}

EnableBucketEncryptionOK A successful response.

swagger:response enableBucketEncryptionOK

func NewEnableBucketEncryptionOK added in v0.4.4

func NewEnableBucketEncryptionOK() *EnableBucketEncryptionOK

NewEnableBucketEncryptionOK creates EnableBucketEncryptionOK with default headers values

func (*EnableBucketEncryptionOK) WriteResponse added in v0.4.4

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

WriteResponse to the client

type EnableBucketEncryptionParams added in v0.4.4

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 added in v0.4.4

func NewEnableBucketEncryptionParams() EnableBucketEncryptionParams

NewEnableBucketEncryptionParams creates a new EnableBucketEncryptionParams object

There are no default values defined in the spec.

func (*EnableBucketEncryptionParams) BindRequest added in v0.4.4

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 added in v0.4.4

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

EnableBucketEncryptionURL generates an URL for the enable bucket encryption operation

func (*EnableBucketEncryptionURL) Build added in v0.4.4

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

Build a url path and query string

func (*EnableBucketEncryptionURL) BuildFull added in v0.4.4

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 added in v0.4.4

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 added in v0.4.4

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 added in v0.4.4

func (o *EnableBucketEncryptionURL) String() string

String returns the string representation of the path with query string

func (*EnableBucketEncryptionURL) StringFull added in v0.4.4

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

StringFull returns the string representation of a complete url

func (*EnableBucketEncryptionURL) WithBasePath added in v0.4.4

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 added in v0.4.4

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

Get bucket encryption information.

func NewGetBucketEncryptionInfo added in v0.4.4

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

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

func (*GetBucketEncryptionInfo) ServeHTTP added in v0.4.4

type GetBucketEncryptionInfoDefault added in v0.4.4

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 added in v0.4.4

func NewGetBucketEncryptionInfoDefault(code int) *GetBucketEncryptionInfoDefault

NewGetBucketEncryptionInfoDefault creates GetBucketEncryptionInfoDefault with default headers values

func (*GetBucketEncryptionInfoDefault) SetPayload added in v0.4.4

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

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

func (*GetBucketEncryptionInfoDefault) SetStatusCode added in v0.4.4

func (o *GetBucketEncryptionInfoDefault) SetStatusCode(code int)

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

func (*GetBucketEncryptionInfoDefault) WithPayload added in v0.4.4

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

func (*GetBucketEncryptionInfoDefault) WithStatusCode added in v0.4.4

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

func (*GetBucketEncryptionInfoDefault) WriteResponse added in v0.4.4

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

WriteResponse to the client

type GetBucketEncryptionInfoHandler added in v0.4.4

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

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

type GetBucketEncryptionInfoHandlerFunc added in v0.4.4

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 added in v0.4.4

Handle executing the request and returning a response

type GetBucketEncryptionInfoOK added in v0.4.4

type GetBucketEncryptionInfoOK struct {

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

GetBucketEncryptionInfoOK A successful response.

swagger:response getBucketEncryptionInfoOK

func NewGetBucketEncryptionInfoOK added in v0.4.4

func NewGetBucketEncryptionInfoOK() *GetBucketEncryptionInfoOK

NewGetBucketEncryptionInfoOK creates GetBucketEncryptionInfoOK with default headers values

func (*GetBucketEncryptionInfoOK) SetPayload added in v0.4.4

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

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

func (*GetBucketEncryptionInfoOK) WithPayload added in v0.4.4

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

func (*GetBucketEncryptionInfoOK) WriteResponse added in v0.4.4

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

WriteResponse to the client

type GetBucketEncryptionInfoParams added in v0.4.4

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 added in v0.4.4

func NewGetBucketEncryptionInfoParams() GetBucketEncryptionInfoParams

NewGetBucketEncryptionInfoParams creates a new GetBucketEncryptionInfoParams object

There are no default values defined in the spec.

func (*GetBucketEncryptionInfoParams) BindRequest added in v0.4.4

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 added in v0.4.4

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

GetBucketEncryptionInfoURL generates an URL for the get bucket encryption info operation

func (*GetBucketEncryptionInfoURL) Build added in v0.4.4

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

Build a url path and query string

func (*GetBucketEncryptionInfoURL) BuildFull added in v0.4.4

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 added in v0.4.4

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 added in v0.4.4

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 added in v0.4.4

func (o *GetBucketEncryptionInfoURL) String() string

String returns the string representation of the path with query string

func (*GetBucketEncryptionInfoURL) StringFull added in v0.4.4

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

StringFull returns the string representation of a complete url

func (*GetBucketEncryptionInfoURL) WithBasePath added in v0.4.4

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 added in v0.7.0

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

Bucket Lifecycle

func NewGetBucketLifecycle added in v0.7.0

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

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

func (*GetBucketLifecycle) ServeHTTP added in v0.7.0

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

type GetBucketLifecycleDefault added in v0.7.0

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 added in v0.7.0

func NewGetBucketLifecycleDefault(code int) *GetBucketLifecycleDefault

NewGetBucketLifecycleDefault creates GetBucketLifecycleDefault with default headers values

func (*GetBucketLifecycleDefault) SetPayload added in v0.7.0

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

SetPayload sets the payload to the get bucket lifecycle default response

func (*GetBucketLifecycleDefault) SetStatusCode added in v0.7.0

func (o *GetBucketLifecycleDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get bucket lifecycle default response

func (*GetBucketLifecycleDefault) WithPayload added in v0.7.0

WithPayload adds the payload to the get bucket lifecycle default response

func (*GetBucketLifecycleDefault) WithStatusCode added in v0.7.0

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

WithStatusCode adds the status to the get bucket lifecycle default response

func (*GetBucketLifecycleDefault) WriteResponse added in v0.7.0

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

WriteResponse to the client

type GetBucketLifecycleHandler added in v0.7.0

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

GetBucketLifecycleHandler interface for that can handle valid get bucket lifecycle params

type GetBucketLifecycleHandlerFunc added in v0.7.0

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 added in v0.7.0

Handle executing the request and returning a response

type GetBucketLifecycleOK added in v0.7.0

type GetBucketLifecycleOK struct {

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

GetBucketLifecycleOK A successful response.

swagger:response getBucketLifecycleOK

func NewGetBucketLifecycleOK added in v0.7.0

func NewGetBucketLifecycleOK() *GetBucketLifecycleOK

NewGetBucketLifecycleOK creates GetBucketLifecycleOK with default headers values

func (*GetBucketLifecycleOK) SetPayload added in v0.7.0

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

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

func (*GetBucketLifecycleOK) WithPayload added in v0.7.0

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

func (*GetBucketLifecycleOK) WriteResponse added in v0.7.0

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

WriteResponse to the client

type GetBucketLifecycleParams added in v0.7.0

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 added in v0.7.0

func NewGetBucketLifecycleParams() GetBucketLifecycleParams

NewGetBucketLifecycleParams creates a new GetBucketLifecycleParams object

There are no default values defined in the spec.

func (*GetBucketLifecycleParams) BindRequest added in v0.7.0

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 added in v0.7.0

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

GetBucketLifecycleURL generates an URL for the get bucket lifecycle operation

func (*GetBucketLifecycleURL) Build added in v0.7.0

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

Build a url path and query string

func (*GetBucketLifecycleURL) BuildFull added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

func (o *GetBucketLifecycleURL) String() string

String returns the string representation of the path with query string

func (*GetBucketLifecycleURL) StringFull added in v0.7.0

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

StringFull returns the string representation of a complete url

func (*GetBucketLifecycleURL) WithBasePath added in v0.7.0

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 added in v0.6.4

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

Returns the status of object locking support on the bucket

func NewGetBucketObjectLockingStatus added in v0.6.4

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 added in v0.6.4

type GetBucketObjectLockingStatusDefault added in v0.6.4

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 added in v0.6.4

func NewGetBucketObjectLockingStatusDefault(code int) *GetBucketObjectLockingStatusDefault

NewGetBucketObjectLockingStatusDefault creates GetBucketObjectLockingStatusDefault with default headers values

func (*GetBucketObjectLockingStatusDefault) SetPayload added in v0.6.4

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

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

func (*GetBucketObjectLockingStatusDefault) SetStatusCode added in v0.6.4

func (o *GetBucketObjectLockingStatusDefault) SetStatusCode(code int)

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

func (*GetBucketObjectLockingStatusDefault) WithPayload added in v0.6.4

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

func (*GetBucketObjectLockingStatusDefault) WithStatusCode added in v0.6.4

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

func (*GetBucketObjectLockingStatusDefault) WriteResponse added in v0.6.4

WriteResponse to the client

type GetBucketObjectLockingStatusHandler added in v0.6.4

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

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

type GetBucketObjectLockingStatusHandlerFunc added in v0.6.4

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 added in v0.6.4

Handle executing the request and returning a response

type GetBucketObjectLockingStatusOK added in v0.6.4

type GetBucketObjectLockingStatusOK struct {

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

GetBucketObjectLockingStatusOK A successful response.

swagger:response getBucketObjectLockingStatusOK

func NewGetBucketObjectLockingStatusOK added in v0.6.4

func NewGetBucketObjectLockingStatusOK() *GetBucketObjectLockingStatusOK

NewGetBucketObjectLockingStatusOK creates GetBucketObjectLockingStatusOK with default headers values

func (*GetBucketObjectLockingStatusOK) SetPayload added in v0.6.4

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

func (*GetBucketObjectLockingStatusOK) WithPayload added in v0.6.4

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

func (*GetBucketObjectLockingStatusOK) WriteResponse added in v0.6.4

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

WriteResponse to the client

type GetBucketObjectLockingStatusParams added in v0.6.4

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 added in v0.6.4

func NewGetBucketObjectLockingStatusParams() GetBucketObjectLockingStatusParams

NewGetBucketObjectLockingStatusParams creates a new GetBucketObjectLockingStatusParams object

There are no default values defined in the spec.

func (*GetBucketObjectLockingStatusParams) BindRequest added in v0.6.4

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 added in v0.6.4

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 added in v0.6.4

Build a url path and query string

func (*GetBucketObjectLockingStatusURL) BuildFull added in v0.6.4

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 added in v0.6.4

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 added in v0.6.4

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 added in v0.6.4

String returns the string representation of the path with query string

func (*GetBucketObjectLockingStatusURL) StringFull added in v0.6.4

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

StringFull returns the string representation of a complete url

func (*GetBucketObjectLockingStatusURL) WithBasePath added in v0.6.4

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 added in v0.4.0

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

Get Bucket Quota

func NewGetBucketQuota added in v0.4.0

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

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

func (*GetBucketQuota) ServeHTTP added in v0.4.0

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

type GetBucketQuotaDefault added in v0.4.0

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 added in v0.4.0

func NewGetBucketQuotaDefault(code int) *GetBucketQuotaDefault

NewGetBucketQuotaDefault creates GetBucketQuotaDefault with default headers values

func (*GetBucketQuotaDefault) SetPayload added in v0.4.0

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

SetPayload sets the payload to the get bucket quota default response

func (*GetBucketQuotaDefault) SetStatusCode added in v0.4.0

func (o *GetBucketQuotaDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get bucket quota default response

func (*GetBucketQuotaDefault) WithPayload added in v0.4.0

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

WithPayload adds the payload to the get bucket quota default response

func (*GetBucketQuotaDefault) WithStatusCode added in v0.4.0

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

WithStatusCode adds the status to the get bucket quota default response

func (*GetBucketQuotaDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type GetBucketQuotaHandler added in v0.4.0

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

GetBucketQuotaHandler interface for that can handle valid get bucket quota params

type GetBucketQuotaHandlerFunc added in v0.4.0

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 added in v0.4.0

Handle executing the request and returning a response

type GetBucketQuotaOK added in v0.4.0

type GetBucketQuotaOK struct {

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

GetBucketQuotaOK A successful response.

swagger:response getBucketQuotaOK

func NewGetBucketQuotaOK added in v0.4.0

func NewGetBucketQuotaOK() *GetBucketQuotaOK

NewGetBucketQuotaOK creates GetBucketQuotaOK with default headers values

func (*GetBucketQuotaOK) SetPayload added in v0.4.0

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

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

func (*GetBucketQuotaOK) WithPayload added in v0.4.0

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

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

func (*GetBucketQuotaOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type GetBucketQuotaParams added in v0.4.0

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 added in v0.4.0

func NewGetBucketQuotaParams() GetBucketQuotaParams

NewGetBucketQuotaParams creates a new GetBucketQuotaParams object

There are no default values defined in the spec.

func (*GetBucketQuotaParams) BindRequest added in v0.4.0

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 added in v0.4.0

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

GetBucketQuotaURL generates an URL for the get bucket quota operation

func (*GetBucketQuotaURL) Build added in v0.4.0

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

Build a url path and query string

func (*GetBucketQuotaURL) BuildFull added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (o *GetBucketQuotaURL) String() string

String returns the string representation of the path with query string

func (*GetBucketQuotaURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*GetBucketQuotaURL) WithBasePath added in v0.4.0

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 added in v0.4.0

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

Bucket Replication

func NewGetBucketReplication added in v0.4.0

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

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

func (*GetBucketReplication) ServeHTTP added in v0.4.0

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

type GetBucketReplicationDefault added in v0.4.0

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 added in v0.4.0

func NewGetBucketReplicationDefault(code int) *GetBucketReplicationDefault

NewGetBucketReplicationDefault creates GetBucketReplicationDefault with default headers values

func (*GetBucketReplicationDefault) SetPayload added in v0.4.0

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

SetPayload sets the payload to the get bucket replication default response

func (*GetBucketReplicationDefault) SetStatusCode added in v0.4.0

func (o *GetBucketReplicationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get bucket replication default response

func (*GetBucketReplicationDefault) WithPayload added in v0.4.0

WithPayload adds the payload to the get bucket replication default response

func (*GetBucketReplicationDefault) WithStatusCode added in v0.4.0

WithStatusCode adds the status to the get bucket replication default response

func (*GetBucketReplicationDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type GetBucketReplicationHandler added in v0.4.0

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

GetBucketReplicationHandler interface for that can handle valid get bucket replication params

type GetBucketReplicationHandlerFunc added in v0.4.0

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 added in v0.4.0

Handle executing the request and returning a response

type GetBucketReplicationOK added in v0.4.0

type GetBucketReplicationOK struct {

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

GetBucketReplicationOK A successful response.

swagger:response getBucketReplicationOK

func NewGetBucketReplicationOK added in v0.4.0

func NewGetBucketReplicationOK() *GetBucketReplicationOK

NewGetBucketReplicationOK creates GetBucketReplicationOK with default headers values

func (*GetBucketReplicationOK) SetPayload added in v0.4.0

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

func (*GetBucketReplicationOK) WithPayload added in v0.4.0

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

func (*GetBucketReplicationOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type GetBucketReplicationParams added in v0.4.0

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 added in v0.4.0

func NewGetBucketReplicationParams() GetBucketReplicationParams

NewGetBucketReplicationParams creates a new GetBucketReplicationParams object

There are no default values defined in the spec.

func (*GetBucketReplicationParams) BindRequest added in v0.4.0

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 GetBucketReplicationURL added in v0.4.0

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

GetBucketReplicationURL generates an URL for the get bucket replication operation

func (*GetBucketReplicationURL) Build added in v0.4.0

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

Build a url path and query string

func (*GetBucketReplicationURL) BuildFull added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (o *GetBucketReplicationURL) String() string

String returns the string representation of the path with query string

func (*GetBucketReplicationURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*GetBucketReplicationURL) WithBasePath added in v0.4.0

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 added in v0.5.0

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

Get Bucket's retention config

func NewGetBucketRetentionConfig added in v0.5.0

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

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

func (*GetBucketRetentionConfig) ServeHTTP added in v0.5.0

type GetBucketRetentionConfigDefault added in v0.5.0

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 added in v0.5.0

func NewGetBucketRetentionConfigDefault(code int) *GetBucketRetentionConfigDefault

NewGetBucketRetentionConfigDefault creates GetBucketRetentionConfigDefault with default headers values

func (*GetBucketRetentionConfigDefault) SetPayload added in v0.5.0

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

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

func (*GetBucketRetentionConfigDefault) SetStatusCode added in v0.5.0

func (o *GetBucketRetentionConfigDefault) SetStatusCode(code int)

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

func (*GetBucketRetentionConfigDefault) WithPayload added in v0.5.0

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

func (*GetBucketRetentionConfigDefault) WithStatusCode added in v0.5.0

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

func (*GetBucketRetentionConfigDefault) WriteResponse added in v0.5.0

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

WriteResponse to the client

type GetBucketRetentionConfigHandler added in v0.5.0

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

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

type GetBucketRetentionConfigHandlerFunc added in v0.5.0

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 added in v0.5.0

Handle executing the request and returning a response

type GetBucketRetentionConfigOK added in v0.5.0

type GetBucketRetentionConfigOK struct {

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

GetBucketRetentionConfigOK A successful response.

swagger:response getBucketRetentionConfigOK

func NewGetBucketRetentionConfigOK added in v0.5.0

func NewGetBucketRetentionConfigOK() *GetBucketRetentionConfigOK

NewGetBucketRetentionConfigOK creates GetBucketRetentionConfigOK with default headers values

func (*GetBucketRetentionConfigOK) SetPayload added in v0.5.0

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

func (*GetBucketRetentionConfigOK) WithPayload added in v0.5.0

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

func (*GetBucketRetentionConfigOK) WriteResponse added in v0.5.0

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

WriteResponse to the client

type GetBucketRetentionConfigParams added in v0.5.0

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 added in v0.5.0

func NewGetBucketRetentionConfigParams() GetBucketRetentionConfigParams

NewGetBucketRetentionConfigParams creates a new GetBucketRetentionConfigParams object

There are no default values defined in the spec.

func (*GetBucketRetentionConfigParams) BindRequest added in v0.5.0

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 added in v0.5.0

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

GetBucketRetentionConfigURL generates an URL for the get bucket retention config operation

func (*GetBucketRetentionConfigURL) Build added in v0.5.0

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

Build a url path and query string

func (*GetBucketRetentionConfigURL) BuildFull added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

func (o *GetBucketRetentionConfigURL) String() string

String returns the string representation of the path with query string

func (*GetBucketRetentionConfigURL) StringFull added in v0.5.0

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

StringFull returns the string representation of a complete url

func (*GetBucketRetentionConfigURL) WithBasePath added in v0.5.0

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 added in v0.7.5

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

Get objects in a bucket for a rewind date

func NewGetBucketRewind added in v0.7.5

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

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

func (*GetBucketRewind) ServeHTTP added in v0.7.5

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

type GetBucketRewindDefault added in v0.7.5

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 added in v0.7.5

func NewGetBucketRewindDefault(code int) *GetBucketRewindDefault

NewGetBucketRewindDefault creates GetBucketRewindDefault with default headers values

func (*GetBucketRewindDefault) SetPayload added in v0.7.5

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

SetPayload sets the payload to the get bucket rewind default response

func (*GetBucketRewindDefault) SetStatusCode added in v0.7.5

func (o *GetBucketRewindDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get bucket rewind default response

func (*GetBucketRewindDefault) WithPayload added in v0.7.5

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

WithPayload adds the payload to the get bucket rewind default response

func (*GetBucketRewindDefault) WithStatusCode added in v0.7.5

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

WithStatusCode adds the status to the get bucket rewind default response

func (*GetBucketRewindDefault) WriteResponse added in v0.7.5

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

WriteResponse to the client

type GetBucketRewindHandler added in v0.7.5

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

GetBucketRewindHandler interface for that can handle valid get bucket rewind params

type GetBucketRewindHandlerFunc added in v0.7.5

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 added in v0.7.5

Handle executing the request and returning a response

type GetBucketRewindOK added in v0.7.5

type GetBucketRewindOK struct {

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

GetBucketRewindOK A successful response.

swagger:response getBucketRewindOK

func NewGetBucketRewindOK added in v0.7.5

func NewGetBucketRewindOK() *GetBucketRewindOK

NewGetBucketRewindOK creates GetBucketRewindOK with default headers values

func (*GetBucketRewindOK) SetPayload added in v0.7.5

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

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

func (*GetBucketRewindOK) WithPayload added in v0.7.5

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

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

func (*GetBucketRewindOK) WriteResponse added in v0.7.5

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

WriteResponse to the client

type GetBucketRewindParams added in v0.7.5

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 added in v0.7.5

func NewGetBucketRewindParams() GetBucketRewindParams

NewGetBucketRewindParams creates a new GetBucketRewindParams object

There are no default values defined in the spec.

func (*GetBucketRewindParams) BindRequest added in v0.7.5

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 added in v0.7.5

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 added in v0.7.5

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

Build a url path and query string

func (*GetBucketRewindURL) BuildFull added in v0.7.5

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 added in v0.7.5

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 added in v0.7.5

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 added in v0.7.5

func (o *GetBucketRewindURL) String() string

String returns the string representation of the path with query string

func (*GetBucketRewindURL) StringFull added in v0.7.5

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

StringFull returns the string representation of a complete url

func (*GetBucketRewindURL) WithBasePath added in v0.7.5

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 added in v0.4.0

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

Bucket Versioning

func NewGetBucketVersioning added in v0.4.0

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

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

func (*GetBucketVersioning) ServeHTTP added in v0.4.0

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

type GetBucketVersioningDefault added in v0.4.0

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 added in v0.4.0

func NewGetBucketVersioningDefault(code int) *GetBucketVersioningDefault

NewGetBucketVersioningDefault creates GetBucketVersioningDefault with default headers values

func (*GetBucketVersioningDefault) SetPayload added in v0.4.0

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

SetPayload sets the payload to the get bucket versioning default response

func (*GetBucketVersioningDefault) SetStatusCode added in v0.4.0

func (o *GetBucketVersioningDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get bucket versioning default response

func (*GetBucketVersioningDefault) WithPayload added in v0.4.0

WithPayload adds the payload to the get bucket versioning default response

func (*GetBucketVersioningDefault) WithStatusCode added in v0.4.0

WithStatusCode adds the status to the get bucket versioning default response

func (*GetBucketVersioningDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type GetBucketVersioningHandler added in v0.4.0

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

GetBucketVersioningHandler interface for that can handle valid get bucket versioning params

type GetBucketVersioningHandlerFunc added in v0.4.0

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 added in v0.4.0

Handle executing the request and returning a response

type GetBucketVersioningOK added in v0.4.0

type GetBucketVersioningOK struct {

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

GetBucketVersioningOK A successful response.

swagger:response getBucketVersioningOK

func NewGetBucketVersioningOK added in v0.4.0

func NewGetBucketVersioningOK() *GetBucketVersioningOK

NewGetBucketVersioningOK creates GetBucketVersioningOK with default headers values

func (*GetBucketVersioningOK) SetPayload added in v0.4.0

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

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

func (*GetBucketVersioningOK) WithPayload added in v0.4.0

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

func (*GetBucketVersioningOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type GetBucketVersioningParams added in v0.4.0

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 added in v0.4.0

func NewGetBucketVersioningParams() GetBucketVersioningParams

NewGetBucketVersioningParams creates a new GetBucketVersioningParams object

There are no default values defined in the spec.

func (*GetBucketVersioningParams) BindRequest added in v0.4.0

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 added in v0.4.0

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

GetBucketVersioningURL generates an URL for the get bucket versioning operation

func (*GetBucketVersioningURL) Build added in v0.4.0

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

Build a url path and query string

func (*GetBucketVersioningURL) BuildFull added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (o *GetBucketVersioningURL) String() string

String returns the string representation of the path with query string

func (*GetBucketVersioningURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*GetBucketVersioningURL) WithBasePath added in v0.4.0

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 HasPermissionTo added in v0.6.5

type HasPermissionTo struct {
	Context *middleware.Context
	Handler HasPermissionToHandler
}
HasPermissionTo swagger:route POST /has-permission UserAPI hasPermissionTo

Checks whether the user can perform a series of actions

func NewHasPermissionTo added in v0.6.5

func NewHasPermissionTo(ctx *middleware.Context, handler HasPermissionToHandler) *HasPermissionTo

NewHasPermissionTo creates a new http.Handler for the has permission to operation

func (*HasPermissionTo) ServeHTTP added in v0.6.5

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

type HasPermissionToCreated added in v0.6.5

type HasPermissionToCreated struct {

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

HasPermissionToCreated A successful response.

swagger:response hasPermissionToCreated

func NewHasPermissionToCreated added in v0.6.5

func NewHasPermissionToCreated() *HasPermissionToCreated

NewHasPermissionToCreated creates HasPermissionToCreated with default headers values

func (*HasPermissionToCreated) SetPayload added in v0.6.5

func (o *HasPermissionToCreated) SetPayload(payload *models.HasPermissionResponse)

SetPayload sets the payload to the has permission to created response

func (*HasPermissionToCreated) WithPayload added in v0.6.5

WithPayload adds the payload to the has permission to created response

func (*HasPermissionToCreated) WriteResponse added in v0.6.5

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

WriteResponse to the client

type HasPermissionToDefault added in v0.6.5

type HasPermissionToDefault struct {

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

HasPermissionToDefault Generic error response.

swagger:response hasPermissionToDefault

func NewHasPermissionToDefault added in v0.6.5

func NewHasPermissionToDefault(code int) *HasPermissionToDefault

NewHasPermissionToDefault creates HasPermissionToDefault with default headers values

func (*HasPermissionToDefault) SetPayload added in v0.6.5

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

SetPayload sets the payload to the has permission to default response

func (*HasPermissionToDefault) SetStatusCode added in v0.6.5

func (o *HasPermissionToDefault) SetStatusCode(code int)

SetStatusCode sets the status to the has permission to default response

func (*HasPermissionToDefault) WithPayload added in v0.6.5

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

WithPayload adds the payload to the has permission to default response

func (*HasPermissionToDefault) WithStatusCode added in v0.6.5

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

WithStatusCode adds the status to the has permission to default response

func (*HasPermissionToDefault) WriteResponse added in v0.6.5

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

WriteResponse to the client

type HasPermissionToHandler added in v0.6.5

type HasPermissionToHandler interface {
	Handle(HasPermissionToParams, *models.Principal) middleware.Responder
}

HasPermissionToHandler interface for that can handle valid has permission to params

type HasPermissionToHandlerFunc added in v0.6.5

type HasPermissionToHandlerFunc func(HasPermissionToParams, *models.Principal) middleware.Responder

HasPermissionToHandlerFunc turns a function with the right signature into a has permission to handler

func (HasPermissionToHandlerFunc) Handle added in v0.6.5

Handle executing the request and returning a response

type HasPermissionToParams added in v0.6.5

type HasPermissionToParams struct {

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

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

HasPermissionToParams contains all the bound params for the has permission to operation typically these are obtained from a http.Request

swagger:parameters HasPermissionTo

func NewHasPermissionToParams added in v0.6.5

func NewHasPermissionToParams() HasPermissionToParams

NewHasPermissionToParams creates a new HasPermissionToParams object

There are no default values defined in the spec.

func (*HasPermissionToParams) BindRequest added in v0.6.5

func (o *HasPermissionToParams) 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 NewHasPermissionToParams() beforehand.

type HasPermissionToURL added in v0.6.5

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

HasPermissionToURL generates an URL for the has permission to operation

func (*HasPermissionToURL) Build added in v0.6.5

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

Build a url path and query string

func (*HasPermissionToURL) BuildFull added in v0.6.5

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

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

func (*HasPermissionToURL) Must added in v0.6.5

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

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

func (*HasPermissionToURL) SetBasePath added in v0.6.5

func (o *HasPermissionToURL) 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 (*HasPermissionToURL) String added in v0.6.5

func (o *HasPermissionToURL) String() string

String returns the string representation of the path with query string

func (*HasPermissionToURL) StringFull added in v0.6.5

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

StringFull returns the string representation of a complete url

func (*HasPermissionToURL) WithBasePath added in v0.6.5

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

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 UserAPI 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 UserAPI 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:"-"`

	/*
	  In: query
	*/
	Limit *int32
	/*
	  In: query
	*/
	Offset *int32
	/*
	  In: query
	*/
	SortBy *string
}

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 {
	Limit  *int32
	Offset *int32
	SortBy *string
	// 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 added in v0.6.7

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

Lists an External list of buckets using custom credentials

func NewListExternalBuckets added in v0.6.7

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

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

func (*ListExternalBuckets) ServeHTTP added in v0.6.7

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

type ListExternalBucketsDefault added in v0.6.7

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 added in v0.6.7

func NewListExternalBucketsDefault(code int) *ListExternalBucketsDefault

NewListExternalBucketsDefault creates ListExternalBucketsDefault with default headers values

func (*ListExternalBucketsDefault) SetPayload added in v0.6.7

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

SetPayload sets the payload to the list external buckets default response

func (*ListExternalBucketsDefault) SetStatusCode added in v0.6.7

func (o *ListExternalBucketsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list external buckets default response

func (*ListExternalBucketsDefault) WithPayload added in v0.6.7

WithPayload adds the payload to the list external buckets default response

func (*ListExternalBucketsDefault) WithStatusCode added in v0.6.7

WithStatusCode adds the status to the list external buckets default response

func (*ListExternalBucketsDefault) WriteResponse added in v0.6.7

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

WriteResponse to the client

type ListExternalBucketsHandler added in v0.6.7

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

ListExternalBucketsHandler interface for that can handle valid list external buckets params

type ListExternalBucketsHandlerFunc added in v0.6.7

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 added in v0.6.7

Handle executing the request and returning a response

type ListExternalBucketsOK added in v0.6.7

type ListExternalBucketsOK struct {

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

ListExternalBucketsOK A successful response.

swagger:response listExternalBucketsOK

func NewListExternalBucketsOK added in v0.6.7

func NewListExternalBucketsOK() *ListExternalBucketsOK

NewListExternalBucketsOK creates ListExternalBucketsOK with default headers values

func (*ListExternalBucketsOK) SetPayload added in v0.6.7

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

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

func (*ListExternalBucketsOK) WithPayload added in v0.6.7

WithPayload adds the payload to the list external buckets o k response

func (*ListExternalBucketsOK) WriteResponse added in v0.6.7

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

WriteResponse to the client

type ListExternalBucketsParams added in v0.6.7

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 added in v0.6.7

func NewListExternalBucketsParams() ListExternalBucketsParams

NewListExternalBucketsParams creates a new ListExternalBucketsParams object

There are no default values defined in the spec.

func (*ListExternalBucketsParams) BindRequest added in v0.6.7

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 added in v0.6.7

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

ListExternalBucketsURL generates an URL for the list external buckets operation

func (*ListExternalBucketsURL) Build added in v0.6.7

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

Build a url path and query string

func (*ListExternalBucketsURL) BuildFull added in v0.6.7

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 added in v0.6.7

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 added in v0.6.7

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 added in v0.6.7

func (o *ListExternalBucketsURL) String() string

String returns the string representation of the path with query string

func (*ListExternalBucketsURL) StringFull added in v0.6.7

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

StringFull returns the string representation of a complete url

func (*ListExternalBucketsURL) WithBasePath added in v0.6.7

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListObjects added in v0.4.0

type ListObjects struct {
	Context *middleware.Context
	Handler ListObjectsHandler
}
ListObjects swagger:route GET /buckets/{bucket_name}/objects UserAPI listObjects

List Objects

func NewListObjects added in v0.4.0

func NewListObjects(ctx *middleware.Context, handler ListObjectsHandler) *ListObjects

NewListObjects creates a new http.Handler for the list objects operation

func (*ListObjects) ServeHTTP added in v0.4.0

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

type ListObjectsDefault added in v0.4.0

type ListObjectsDefault struct {

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

ListObjectsDefault Generic error response.

swagger:response listObjectsDefault

func NewListObjectsDefault added in v0.4.0

func NewListObjectsDefault(code int) *ListObjectsDefault

NewListObjectsDefault creates ListObjectsDefault with default headers values

func (*ListObjectsDefault) SetPayload added in v0.4.0

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

SetPayload sets the payload to the list objects default response

func (*ListObjectsDefault) SetStatusCode added in v0.4.0

func (o *ListObjectsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list objects default response

func (*ListObjectsDefault) WithPayload added in v0.4.0

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

WithPayload adds the payload to the list objects default response

func (*ListObjectsDefault) WithStatusCode added in v0.4.0

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

WithStatusCode adds the status to the list objects default response

func (*ListObjectsDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type ListObjectsHandler added in v0.4.0

type ListObjectsHandler interface {
	Handle(ListObjectsParams, *models.Principal) middleware.Responder
}

ListObjectsHandler interface for that can handle valid list objects params

type ListObjectsHandlerFunc added in v0.4.0

type ListObjectsHandlerFunc func(ListObjectsParams, *models.Principal) middleware.Responder

ListObjectsHandlerFunc turns a function with the right signature into a list objects handler

func (ListObjectsHandlerFunc) Handle added in v0.4.0

Handle executing the request and returning a response

type ListObjectsOK added in v0.4.0

type ListObjectsOK struct {

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

ListObjectsOK A successful response.

swagger:response listObjectsOK

func NewListObjectsOK added in v0.4.0

func NewListObjectsOK() *ListObjectsOK

NewListObjectsOK creates ListObjectsOK with default headers values

func (*ListObjectsOK) SetPayload added in v0.4.0

func (o *ListObjectsOK) SetPayload(payload *models.ListObjectsResponse)

SetPayload sets the payload to the list objects o k response

func (*ListObjectsOK) WithPayload added in v0.4.0

func (o *ListObjectsOK) WithPayload(payload *models.ListObjectsResponse) *ListObjectsOK

WithPayload adds the payload to the list objects o k response

func (*ListObjectsOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type ListObjectsParams added in v0.4.0

type ListObjectsParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	BucketName string
	/*
	  In: query
	*/
	Prefix *string
	/*
	  In: query
	*/
	Recursive *bool
	/*
	  In: query
	*/
	WithVersions *bool
}

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

swagger:parameters ListObjects

func NewListObjectsParams added in v0.4.0

func NewListObjectsParams() ListObjectsParams

NewListObjectsParams creates a new ListObjectsParams object

There are no default values defined in the spec.

func (*ListObjectsParams) BindRequest added in v0.4.0

func (o *ListObjectsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListObjectsParams() beforehand.

type ListObjectsURL added in v0.4.0

type ListObjectsURL struct {
	BucketName string

	Prefix       *string
	Recursive    *bool
	WithVersions *bool
	// contains filtered or unexported fields
}

ListObjectsURL generates an URL for the list objects operation

func (*ListObjectsURL) Build added in v0.4.0

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

Build a url path and query string

func (*ListObjectsURL) BuildFull added in v0.4.0

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

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

func (*ListObjectsURL) Must added in v0.4.0

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

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

func (*ListObjectsURL) SetBasePath added in v0.4.0

func (o *ListObjectsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListObjectsURL) String added in v0.4.0

func (o *ListObjectsURL) String() string

String returns the string representation of the path with query string

func (*ListObjectsURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*ListObjectsURL) WithBasePath added in v0.4.0

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

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListRemoteBuckets added in v0.4.0

type ListRemoteBuckets struct {
	Context *middleware.Context
	Handler ListRemoteBucketsHandler
}
ListRemoteBuckets swagger:route GET /remote-buckets UserAPI listRemoteBuckets

List Remote Buckets

func NewListRemoteBuckets added in v0.4.0

func NewListRemoteBuckets(ctx *middleware.Context, handler ListRemoteBucketsHandler) *ListRemoteBuckets

NewListRemoteBuckets creates a new http.Handler for the list remote buckets operation

func (*ListRemoteBuckets) ServeHTTP added in v0.4.0

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

type ListRemoteBucketsDefault added in v0.4.0

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 added in v0.4.0

func NewListRemoteBucketsDefault(code int) *ListRemoteBucketsDefault

NewListRemoteBucketsDefault creates ListRemoteBucketsDefault with default headers values

func (*ListRemoteBucketsDefault) SetPayload added in v0.4.0

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

SetPayload sets the payload to the list remote buckets default response

func (*ListRemoteBucketsDefault) SetStatusCode added in v0.4.0

func (o *ListRemoteBucketsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list remote buckets default response

func (*ListRemoteBucketsDefault) WithPayload added in v0.4.0

WithPayload adds the payload to the list remote buckets default response

func (*ListRemoteBucketsDefault) WithStatusCode added in v0.4.0

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

WithStatusCode adds the status to the list remote buckets default response

func (*ListRemoteBucketsDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type ListRemoteBucketsHandler added in v0.4.0

type ListRemoteBucketsHandler interface {
	Handle(ListRemoteBucketsParams, *models.Principal) middleware.Responder
}

ListRemoteBucketsHandler interface for that can handle valid list remote buckets params

type ListRemoteBucketsHandlerFunc added in v0.4.0

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 added in v0.4.0

Handle executing the request and returning a response

type ListRemoteBucketsOK added in v0.4.0

type ListRemoteBucketsOK struct {

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

ListRemoteBucketsOK A successful response.

swagger:response listRemoteBucketsOK

func NewListRemoteBucketsOK added in v0.4.0

func NewListRemoteBucketsOK() *ListRemoteBucketsOK

NewListRemoteBucketsOK creates ListRemoteBucketsOK with default headers values

func (*ListRemoteBucketsOK) SetPayload added in v0.4.0

func (o *ListRemoteBucketsOK) SetPayload(payload *models.ListRemoteBucketsResponse)

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

func (*ListRemoteBucketsOK) WithPayload added in v0.4.0

WithPayload adds the payload to the list remote buckets o k response

func (*ListRemoteBucketsOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type ListRemoteBucketsParams added in v0.4.0

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 added in v0.4.0

func NewListRemoteBucketsParams() ListRemoteBucketsParams

NewListRemoteBucketsParams creates a new ListRemoteBucketsParams object

There are no default values defined in the spec.

func (*ListRemoteBucketsParams) BindRequest added in v0.4.0

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 added in v0.4.0

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

ListRemoteBucketsURL generates an URL for the list remote buckets operation

func (*ListRemoteBucketsURL) Build added in v0.4.0

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

Build a url path and query string

func (*ListRemoteBucketsURL) BuildFull added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (o *ListRemoteBucketsURL) String() string

String returns the string representation of the path with query string

func (*ListRemoteBucketsURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*ListRemoteBucketsURL) WithBasePath added in v0.4.0

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 ListUserServiceAccounts

type ListUserServiceAccounts struct {
	Context *middleware.Context
	Handler ListUserServiceAccountsHandler
}
ListUserServiceAccounts swagger:route GET /service-accounts UserAPI listUserServiceAccounts

List User's Service Accounts

func NewListUserServiceAccounts

func NewListUserServiceAccounts(ctx *middleware.Context, handler ListUserServiceAccountsHandler) *ListUserServiceAccounts

NewListUserServiceAccounts creates a new http.Handler for the list user service accounts operation

func (*ListUserServiceAccounts) ServeHTTP

type ListUserServiceAccountsDefault

type ListUserServiceAccountsDefault struct {

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

ListUserServiceAccountsDefault Generic error response.

swagger:response listUserServiceAccountsDefault

func NewListUserServiceAccountsDefault

func NewListUserServiceAccountsDefault(code int) *ListUserServiceAccountsDefault

NewListUserServiceAccountsDefault creates ListUserServiceAccountsDefault with default headers values

func (*ListUserServiceAccountsDefault) SetPayload

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

SetPayload sets the payload to the list user service accounts default response

func (*ListUserServiceAccountsDefault) SetStatusCode

func (o *ListUserServiceAccountsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list user service accounts default response

func (*ListUserServiceAccountsDefault) WithPayload

WithPayload adds the payload to the list user service accounts default response

func (*ListUserServiceAccountsDefault) WithStatusCode

WithStatusCode adds the status to the list user service accounts default response

func (*ListUserServiceAccountsDefault) WriteResponse

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

WriteResponse to the client

type ListUserServiceAccountsHandler

type ListUserServiceAccountsHandler interface {
	Handle(ListUserServiceAccountsParams, *models.Principal) middleware.Responder
}

ListUserServiceAccountsHandler interface for that can handle valid list user service accounts params

type ListUserServiceAccountsHandlerFunc

type ListUserServiceAccountsHandlerFunc func(ListUserServiceAccountsParams, *models.Principal) middleware.Responder

ListUserServiceAccountsHandlerFunc turns a function with the right signature into a list user service accounts handler

func (ListUserServiceAccountsHandlerFunc) Handle

Handle executing the request and returning a response

type ListUserServiceAccountsOK

type ListUserServiceAccountsOK struct {

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

ListUserServiceAccountsOK A successful response.

swagger:response listUserServiceAccountsOK

func NewListUserServiceAccountsOK

func NewListUserServiceAccountsOK() *ListUserServiceAccountsOK

NewListUserServiceAccountsOK creates ListUserServiceAccountsOK with default headers values

func (*ListUserServiceAccountsOK) SetPayload

func (o *ListUserServiceAccountsOK) SetPayload(payload models.ServiceAccounts)

SetPayload sets the payload to the list user service accounts o k response

func (*ListUserServiceAccountsOK) WithPayload

WithPayload adds the payload to the list user service accounts o k response

func (*ListUserServiceAccountsOK) WriteResponse

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

WriteResponse to the client

type ListUserServiceAccountsParams

type ListUserServiceAccountsParams struct {

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

	/*
	  In: query
	*/
	Limit *int32
	/*
	  In: query
	*/
	Offset *int32
}

ListUserServiceAccountsParams contains all the bound params for the list user service accounts operation typically these are obtained from a http.Request

swagger:parameters ListUserServiceAccounts

func NewListUserServiceAccountsParams

func NewListUserServiceAccountsParams() ListUserServiceAccountsParams

NewListUserServiceAccountsParams creates a new ListUserServiceAccountsParams object

There are no default values defined in the spec.

func (*ListUserServiceAccountsParams) 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 NewListUserServiceAccountsParams() beforehand.

type ListUserServiceAccountsURL

type ListUserServiceAccountsURL struct {
	Limit  *int32
	Offset *int32
	// contains filtered or unexported fields
}

ListUserServiceAccountsURL generates an URL for the list user service accounts operation

func (*ListUserServiceAccountsURL) Build

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

Build a url path and query string

func (*ListUserServiceAccountsURL) BuildFull

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

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

func (*ListUserServiceAccountsURL) Must

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

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

func (*ListUserServiceAccountsURL) SetBasePath

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

func (o *ListUserServiceAccountsURL) String() string

String returns the string representation of the path with query string

func (*ListUserServiceAccountsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListUserServiceAccountsURL) 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 LogSearch added in v0.5.0

type LogSearch struct {
	Context *middleware.Context
	Handler LogSearchHandler
}
LogSearch swagger:route GET /logs/search UserAPI logSearch

Search the logs

func NewLogSearch added in v0.5.0

func NewLogSearch(ctx *middleware.Context, handler LogSearchHandler) *LogSearch

NewLogSearch creates a new http.Handler for the log search operation

func (*LogSearch) ServeHTTP added in v0.5.0

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

type LogSearchDefault added in v0.5.0

type LogSearchDefault struct {

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

LogSearchDefault Generic error response.

swagger:response logSearchDefault

func NewLogSearchDefault added in v0.5.0

func NewLogSearchDefault(code int) *LogSearchDefault

NewLogSearchDefault creates LogSearchDefault with default headers values

func (*LogSearchDefault) SetPayload added in v0.5.0

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

SetPayload sets the payload to the log search default response

func (*LogSearchDefault) SetStatusCode added in v0.5.0

func (o *LogSearchDefault) SetStatusCode(code int)

SetStatusCode sets the status to the log search default response

func (*LogSearchDefault) WithPayload added in v0.5.0

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

WithPayload adds the payload to the log search default response

func (*LogSearchDefault) WithStatusCode added in v0.5.0

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

WithStatusCode adds the status to the log search default response

func (*LogSearchDefault) WriteResponse added in v0.5.0

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

WriteResponse to the client

type LogSearchHandler added in v0.5.0

type LogSearchHandler interface {
	Handle(LogSearchParams, *models.Principal) middleware.Responder
}

LogSearchHandler interface for that can handle valid log search params

type LogSearchHandlerFunc added in v0.5.0

type LogSearchHandlerFunc func(LogSearchParams, *models.Principal) middleware.Responder

LogSearchHandlerFunc turns a function with the right signature into a log search handler

func (LogSearchHandlerFunc) Handle added in v0.5.0

Handle executing the request and returning a response

type LogSearchOK added in v0.5.0

type LogSearchOK struct {

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

LogSearchOK A successful response.

swagger:response logSearchOK

func NewLogSearchOK added in v0.5.0

func NewLogSearchOK() *LogSearchOK

NewLogSearchOK creates LogSearchOK with default headers values

func (*LogSearchOK) SetPayload added in v0.5.0

func (o *LogSearchOK) SetPayload(payload *models.LogSearchResponse)

SetPayload sets the payload to the log search o k response

func (*LogSearchOK) WithPayload added in v0.5.0

func (o *LogSearchOK) WithPayload(payload *models.LogSearchResponse) *LogSearchOK

WithPayload adds the payload to the log search o k response

func (*LogSearchOK) WriteResponse added in v0.5.0

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

WriteResponse to the client

type LogSearchParams added in v0.5.0

type LogSearchParams struct {

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

	/*Filter Parameters
	  In: query
	  Collection Format: multi
	*/
	Fp []string
	/*
	  In: query
	  Default: "timeDesc"
	*/
	Order *string
	/*
	  In: query
	  Default: 0
	*/
	PageNo *int32
	/*
	  In: query
	  Default: 10
	*/
	PageSize *int32
	/*
	  In: query
	*/
	TimeStart *string
}

LogSearchParams contains all the bound params for the log search operation typically these are obtained from a http.Request

swagger:parameters LogSearch

func NewLogSearchParams added in v0.5.0

func NewLogSearchParams() LogSearchParams

NewLogSearchParams creates a new LogSearchParams object with the default values initialized.

func (*LogSearchParams) BindRequest added in v0.5.0

func (o *LogSearchParams) 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 NewLogSearchParams() beforehand.

type LogSearchURL added in v0.5.0

type LogSearchURL struct {
	Fp        []string
	Order     *string
	PageNo    *int32
	PageSize  *int32
	TimeStart *string
	// contains filtered or unexported fields
}

LogSearchURL generates an URL for the log search operation

func (*LogSearchURL) Build added in v0.5.0

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

Build a url path and query string

func (*LogSearchURL) BuildFull added in v0.5.0

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

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

func (*LogSearchURL) Must added in v0.5.0

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

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

func (*LogSearchURL) SetBasePath added in v0.5.0

func (o *LogSearchURL) 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 (*LogSearchURL) String added in v0.5.0

func (o *LogSearchURL) String() string

String returns the string representation of the path with query string

func (*LogSearchURL) StringFull added in v0.5.0

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

StringFull returns the string representation of a complete url

func (*LogSearchURL) WithBasePath added in v0.5.0

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

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 Login

type Login struct {
	Context *middleware.Context
	Handler LoginHandler
}
Login swagger:route POST /login UserAPI login

Login to Console

func NewLogin

func NewLogin(ctx *middleware.Context, handler LoginHandler) *Login

NewLogin creates a new http.Handler for the login operation

func (*Login) ServeHTTP

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

type LoginCreated

type LoginCreated struct {

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

LoginCreated A successful login.

swagger:response loginCreated

func NewLoginCreated

func NewLoginCreated() *LoginCreated

NewLoginCreated creates LoginCreated with default headers values

func (*LoginCreated) SetPayload

func (o *LoginCreated) SetPayload(payload *models.LoginResponse)

SetPayload sets the payload to the login created response

func (*LoginCreated) WithPayload

func (o *LoginCreated) WithPayload(payload *models.LoginResponse) *LoginCreated

WithPayload adds the payload to the login created response

func (*LoginCreated) WriteResponse

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

WriteResponse to the client

type LoginDefault

type LoginDefault struct {

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

LoginDefault Generic error response.

swagger:response loginDefault

func NewLoginDefault

func NewLoginDefault(code int) *LoginDefault

NewLoginDefault creates LoginDefault with default headers values

func (*LoginDefault) SetPayload

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

SetPayload sets the payload to the login default response

func (*LoginDefault) SetStatusCode

func (o *LoginDefault) SetStatusCode(code int)

SetStatusCode sets the status to the login default response

func (*LoginDefault) WithPayload

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

WithPayload adds the payload to the login default response

func (*LoginDefault) WithStatusCode

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

WithStatusCode adds the status to the login default response

func (*LoginDefault) WriteResponse

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

WriteResponse to the client

type LoginDetail

type LoginDetail struct {
	Context *middleware.Context
	Handler LoginDetailHandler
}
LoginDetail swagger:route GET /login UserAPI loginDetail

Returns login strategy, form or sso.

func NewLoginDetail

func NewLoginDetail(ctx *middleware.Context, handler LoginDetailHandler) *LoginDetail

NewLoginDetail creates a new http.Handler for the login detail operation

func (*LoginDetail) ServeHTTP

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

type LoginDetailDefault

type LoginDetailDefault struct {

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

LoginDetailDefault Generic error response.

swagger:response loginDetailDefault

func NewLoginDetailDefault

func NewLoginDetailDefault(code int) *LoginDetailDefault

NewLoginDetailDefault creates LoginDetailDefault with default headers values

func (*LoginDetailDefault) SetPayload

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

SetPayload sets the payload to the login detail default response

func (*LoginDetailDefault) SetStatusCode

func (o *LoginDetailDefault) SetStatusCode(code int)

SetStatusCode sets the status to the login detail default response

func (*LoginDetailDefault) WithPayload

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

WithPayload adds the payload to the login detail default response

func (*LoginDetailDefault) WithStatusCode

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

WithStatusCode adds the status to the login detail default response

func (*LoginDetailDefault) WriteResponse

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

WriteResponse to the client

type LoginDetailHandler

type LoginDetailHandler interface {
	Handle(LoginDetailParams) middleware.Responder
}

LoginDetailHandler interface for that can handle valid login detail params

type LoginDetailHandlerFunc

type LoginDetailHandlerFunc func(LoginDetailParams) middleware.Responder

LoginDetailHandlerFunc turns a function with the right signature into a login detail handler

func (LoginDetailHandlerFunc) Handle

Handle executing the request and returning a response

type LoginDetailOK

type LoginDetailOK struct {

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

LoginDetailOK A successful response.

swagger:response loginDetailOK

func NewLoginDetailOK

func NewLoginDetailOK() *LoginDetailOK

NewLoginDetailOK creates LoginDetailOK with default headers values

func (*LoginDetailOK) SetPayload

func (o *LoginDetailOK) SetPayload(payload *models.LoginDetails)

SetPayload sets the payload to the login detail o k response

func (*LoginDetailOK) WithPayload

func (o *LoginDetailOK) WithPayload(payload *models.LoginDetails) *LoginDetailOK

WithPayload adds the payload to the login detail o k response

func (*LoginDetailOK) WriteResponse

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

WriteResponse to the client

type LoginDetailParams

type LoginDetailParams struct {

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

LoginDetailParams contains all the bound params for the login detail operation typically these are obtained from a http.Request

swagger:parameters LoginDetail

func NewLoginDetailParams

func NewLoginDetailParams() LoginDetailParams

NewLoginDetailParams creates a new LoginDetailParams object

There are no default values defined in the spec.

func (*LoginDetailParams) BindRequest

func (o *LoginDetailParams) 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 NewLoginDetailParams() beforehand.

type LoginDetailURL

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

LoginDetailURL generates an URL for the login detail operation

func (*LoginDetailURL) Build

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

Build a url path and query string

func (*LoginDetailURL) BuildFull

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

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

func (*LoginDetailURL) Must

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

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

func (*LoginDetailURL) SetBasePath

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

func (o *LoginDetailURL) String() string

String returns the string representation of the path with query string

func (*LoginDetailURL) StringFull

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

StringFull returns the string representation of a complete url

func (*LoginDetailURL) WithBasePath

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

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 LoginHandler

type LoginHandler interface {
	Handle(LoginParams) middleware.Responder
}

LoginHandler interface for that can handle valid login params

type LoginHandlerFunc

type LoginHandlerFunc func(LoginParams) middleware.Responder

LoginHandlerFunc turns a function with the right signature into a login handler

func (LoginHandlerFunc) Handle

Handle executing the request and returning a response

type LoginOauth2Auth

type LoginOauth2Auth struct {
	Context *middleware.Context
	Handler LoginOauth2AuthHandler
}
LoginOauth2Auth swagger:route POST /login/oauth2/auth UserAPI loginOauth2Auth

Identity Provider oauth2 callback endpoint.

func NewLoginOauth2Auth

func NewLoginOauth2Auth(ctx *middleware.Context, handler LoginOauth2AuthHandler) *LoginOauth2Auth

NewLoginOauth2Auth creates a new http.Handler for the login oauth2 auth operation

func (*LoginOauth2Auth) ServeHTTP

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

type LoginOauth2AuthCreated

type LoginOauth2AuthCreated struct {

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

LoginOauth2AuthCreated A successful login.

swagger:response loginOauth2AuthCreated

func NewLoginOauth2AuthCreated

func NewLoginOauth2AuthCreated() *LoginOauth2AuthCreated

NewLoginOauth2AuthCreated creates LoginOauth2AuthCreated with default headers values

func (*LoginOauth2AuthCreated) SetPayload

func (o *LoginOauth2AuthCreated) SetPayload(payload *models.LoginResponse)

SetPayload sets the payload to the login oauth2 auth created response

func (*LoginOauth2AuthCreated) WithPayload

WithPayload adds the payload to the login oauth2 auth created response

func (*LoginOauth2AuthCreated) WriteResponse

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

WriteResponse to the client

type LoginOauth2AuthDefault

type LoginOauth2AuthDefault struct {

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

LoginOauth2AuthDefault Generic error response.

swagger:response loginOauth2AuthDefault

func NewLoginOauth2AuthDefault

func NewLoginOauth2AuthDefault(code int) *LoginOauth2AuthDefault

NewLoginOauth2AuthDefault creates LoginOauth2AuthDefault with default headers values

func (*LoginOauth2AuthDefault) SetPayload

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

SetPayload sets the payload to the login oauth2 auth default response

func (*LoginOauth2AuthDefault) SetStatusCode

func (o *LoginOauth2AuthDefault) SetStatusCode(code int)

SetStatusCode sets the status to the login oauth2 auth default response

func (*LoginOauth2AuthDefault) WithPayload

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

WithPayload adds the payload to the login oauth2 auth default response

func (*LoginOauth2AuthDefault) WithStatusCode

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

WithStatusCode adds the status to the login oauth2 auth default response

func (*LoginOauth2AuthDefault) WriteResponse

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

WriteResponse to the client

type LoginOauth2AuthHandler

type LoginOauth2AuthHandler interface {
	Handle(LoginOauth2AuthParams) middleware.Responder
}

LoginOauth2AuthHandler interface for that can handle valid login oauth2 auth params

type LoginOauth2AuthHandlerFunc

type LoginOauth2AuthHandlerFunc func(LoginOauth2AuthParams) middleware.Responder

LoginOauth2AuthHandlerFunc turns a function with the right signature into a login oauth2 auth handler

func (LoginOauth2AuthHandlerFunc) Handle

Handle executing the request and returning a response

type LoginOauth2AuthParams

type LoginOauth2AuthParams struct {

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

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

LoginOauth2AuthParams contains all the bound params for the login oauth2 auth operation typically these are obtained from a http.Request

swagger:parameters LoginOauth2Auth

func NewLoginOauth2AuthParams

func NewLoginOauth2AuthParams() LoginOauth2AuthParams

NewLoginOauth2AuthParams creates a new LoginOauth2AuthParams object

There are no default values defined in the spec.

func (*LoginOauth2AuthParams) BindRequest

func (o *LoginOauth2AuthParams) 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 NewLoginOauth2AuthParams() beforehand.

type LoginOauth2AuthURL

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

LoginOauth2AuthURL generates an URL for the login oauth2 auth operation

func (*LoginOauth2AuthURL) Build

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

Build a url path and query string

func (*LoginOauth2AuthURL) BuildFull

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

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

func (*LoginOauth2AuthURL) Must

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

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

func (*LoginOauth2AuthURL) SetBasePath

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

func (o *LoginOauth2AuthURL) String() string

String returns the string representation of the path with query string

func (*LoginOauth2AuthURL) StringFull

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

StringFull returns the string representation of a complete url

func (*LoginOauth2AuthURL) WithBasePath

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

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 LoginOperator

type LoginOperator struct {
	Context *middleware.Context
	Handler LoginOperatorHandler
}
LoginOperator swagger:route POST /login/operator UserAPI loginOperator

Login to Operator Console.

func NewLoginOperator

func NewLoginOperator(ctx *middleware.Context, handler LoginOperatorHandler) *LoginOperator

NewLoginOperator creates a new http.Handler for the login operator operation

func (*LoginOperator) ServeHTTP

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

type LoginOperatorCreated

type LoginOperatorCreated struct {

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

LoginOperatorCreated A successful login.

swagger:response loginOperatorCreated

func NewLoginOperatorCreated

func NewLoginOperatorCreated() *LoginOperatorCreated

NewLoginOperatorCreated creates LoginOperatorCreated with default headers values

func (*LoginOperatorCreated) SetPayload

func (o *LoginOperatorCreated) SetPayload(payload *models.LoginResponse)

SetPayload sets the payload to the login operator created response

func (*LoginOperatorCreated) WithPayload

WithPayload adds the payload to the login operator created response

func (*LoginOperatorCreated) WriteResponse

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

WriteResponse to the client

type LoginOperatorDefault

type LoginOperatorDefault struct {

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

LoginOperatorDefault Generic error response.

swagger:response loginOperatorDefault

func NewLoginOperatorDefault

func NewLoginOperatorDefault(code int) *LoginOperatorDefault

NewLoginOperatorDefault creates LoginOperatorDefault with default headers values

func (*LoginOperatorDefault) SetPayload

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

SetPayload sets the payload to the login operator default response

func (*LoginOperatorDefault) SetStatusCode

func (o *LoginOperatorDefault) SetStatusCode(code int)

SetStatusCode sets the status to the login operator default response

func (*LoginOperatorDefault) WithPayload

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

WithPayload adds the payload to the login operator default response

func (*LoginOperatorDefault) WithStatusCode

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

WithStatusCode adds the status to the login operator default response

func (*LoginOperatorDefault) WriteResponse

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

WriteResponse to the client

type LoginOperatorHandler

type LoginOperatorHandler interface {
	Handle(LoginOperatorParams) middleware.Responder
}

LoginOperatorHandler interface for that can handle valid login operator params

type LoginOperatorHandlerFunc

type LoginOperatorHandlerFunc func(LoginOperatorParams) middleware.Responder

LoginOperatorHandlerFunc turns a function with the right signature into a login operator handler

func (LoginOperatorHandlerFunc) Handle

Handle executing the request and returning a response

type LoginOperatorParams

type LoginOperatorParams struct {

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

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

LoginOperatorParams contains all the bound params for the login operator operation typically these are obtained from a http.Request

swagger:parameters LoginOperator

func NewLoginOperatorParams

func NewLoginOperatorParams() LoginOperatorParams

NewLoginOperatorParams creates a new LoginOperatorParams object

There are no default values defined in the spec.

func (*LoginOperatorParams) BindRequest

func (o *LoginOperatorParams) 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 NewLoginOperatorParams() beforehand.

type LoginOperatorURL

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

LoginOperatorURL generates an URL for the login operator operation

func (*LoginOperatorURL) Build

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

Build a url path and query string

func (*LoginOperatorURL) BuildFull

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

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

func (*LoginOperatorURL) Must

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

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

func (*LoginOperatorURL) SetBasePath

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

func (o *LoginOperatorURL) String() string

String returns the string representation of the path with query string

func (*LoginOperatorURL) StringFull

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

StringFull returns the string representation of a complete url

func (*LoginOperatorURL) WithBasePath

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

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 LoginParams

type LoginParams struct {

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

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

LoginParams contains all the bound params for the login operation typically these are obtained from a http.Request

swagger:parameters Login

func NewLoginParams

func NewLoginParams() LoginParams

NewLoginParams creates a new LoginParams object

There are no default values defined in the spec.

func (*LoginParams) BindRequest

func (o *LoginParams) 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 NewLoginParams() beforehand.

type LoginURL

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

LoginURL generates an URL for the login operation

func (*LoginURL) Build

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

Build a url path and query string

func (*LoginURL) BuildFull

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

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

func (*LoginURL) Must

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

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

func (*LoginURL) SetBasePath

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

func (o *LoginURL) String() string

String returns the string representation of the path with query string

func (*LoginURL) StringFull

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

StringFull returns the string representation of a complete url

func (*LoginURL) WithBasePath

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

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 Logout

type Logout struct {
	Context *middleware.Context
	Handler LogoutHandler
}
Logout swagger:route POST /logout UserAPI logout

Logout from Console.

func NewLogout

func NewLogout(ctx *middleware.Context, handler LogoutHandler) *Logout

NewLogout creates a new http.Handler for the logout operation

func (*Logout) ServeHTTP

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

type LogoutDefault

type LogoutDefault struct {

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

LogoutDefault Generic error response.

swagger:response logoutDefault

func NewLogoutDefault

func NewLogoutDefault(code int) *LogoutDefault

NewLogoutDefault creates LogoutDefault with default headers values

func (*LogoutDefault) SetPayload

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

SetPayload sets the payload to the logout default response

func (*LogoutDefault) SetStatusCode

func (o *LogoutDefault) SetStatusCode(code int)

SetStatusCode sets the status to the logout default response

func (*LogoutDefault) WithPayload

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

WithPayload adds the payload to the logout default response

func (*LogoutDefault) WithStatusCode

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

WithStatusCode adds the status to the logout default response

func (*LogoutDefault) WriteResponse

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

WriteResponse to the client

type LogoutHandler

type LogoutHandler interface {
	Handle(LogoutParams, *models.Principal) middleware.Responder
}

LogoutHandler interface for that can handle valid logout params

type LogoutHandlerFunc

type LogoutHandlerFunc func(LogoutParams, *models.Principal) middleware.Responder

LogoutHandlerFunc turns a function with the right signature into a logout handler

func (LogoutHandlerFunc) Handle

func (fn LogoutHandlerFunc) Handle(params LogoutParams, principal *models.Principal) middleware.Responder

Handle executing the request and returning a response

type LogoutOK

type LogoutOK struct {
}

LogoutOK A successful response.

swagger:response logoutOK

func NewLogoutOK

func NewLogoutOK() *LogoutOK

NewLogoutOK creates LogoutOK with default headers values

func (*LogoutOK) WriteResponse

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

WriteResponse to the client

type LogoutParams

type LogoutParams struct {

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

LogoutParams contains all the bound params for the logout operation typically these are obtained from a http.Request

swagger:parameters Logout

func NewLogoutParams

func NewLogoutParams() LogoutParams

NewLogoutParams creates a new LogoutParams object

There are no default values defined in the spec.

func (*LogoutParams) BindRequest

func (o *LogoutParams) 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 NewLogoutParams() beforehand.

type LogoutURL

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

LogoutURL generates an URL for the logout operation

func (*LogoutURL) Build

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

Build a url path and query string

func (*LogoutURL) BuildFull

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

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

func (*LogoutURL) Must

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

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

func (*LogoutURL) SetBasePath

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

func (o *LogoutURL) String() string

String returns the string representation of the path with query string

func (*LogoutURL) StringFull

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

StringFull returns the string representation of a complete url

func (*LogoutURL) WithBasePath

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

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 UserAPI 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 PostBucketsBucketNameObjectsUpload added in v0.4.2

type PostBucketsBucketNameObjectsUpload struct {
	Context *middleware.Context
	Handler PostBucketsBucketNameObjectsUploadHandler
}
PostBucketsBucketNameObjectsUpload swagger:route POST /buckets/{bucket_name}/objects/upload UserAPI postBucketsBucketNameObjectsUpload

Uploads an Object.

func NewPostBucketsBucketNameObjectsUpload added in v0.4.2

func NewPostBucketsBucketNameObjectsUpload(ctx *middleware.Context, handler PostBucketsBucketNameObjectsUploadHandler) *PostBucketsBucketNameObjectsUpload

NewPostBucketsBucketNameObjectsUpload creates a new http.Handler for the post buckets bucket name objects upload operation

func (*PostBucketsBucketNameObjectsUpload) ServeHTTP added in v0.4.2

type PostBucketsBucketNameObjectsUploadDefault added in v0.4.2

type PostBucketsBucketNameObjectsUploadDefault struct {

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

PostBucketsBucketNameObjectsUploadDefault Generic error response.

swagger:response postBucketsBucketNameObjectsUploadDefault

func NewPostBucketsBucketNameObjectsUploadDefault added in v0.4.2

func NewPostBucketsBucketNameObjectsUploadDefault(code int) *PostBucketsBucketNameObjectsUploadDefault

NewPostBucketsBucketNameObjectsUploadDefault creates PostBucketsBucketNameObjectsUploadDefault with default headers values

func (*PostBucketsBucketNameObjectsUploadDefault) SetPayload added in v0.4.2

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

SetPayload sets the payload to the post buckets bucket name objects upload default response

func (*PostBucketsBucketNameObjectsUploadDefault) SetStatusCode added in v0.4.2

func (o *PostBucketsBucketNameObjectsUploadDefault) SetStatusCode(code int)

SetStatusCode sets the status to the post buckets bucket name objects upload default response

func (*PostBucketsBucketNameObjectsUploadDefault) WithPayload added in v0.4.2

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

func (*PostBucketsBucketNameObjectsUploadDefault) WithStatusCode added in v0.4.2

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

func (*PostBucketsBucketNameObjectsUploadDefault) WriteResponse added in v0.4.2

WriteResponse to the client

type PostBucketsBucketNameObjectsUploadHandler added in v0.4.2

type PostBucketsBucketNameObjectsUploadHandler interface {
	Handle(PostBucketsBucketNameObjectsUploadParams, *models.Principal) middleware.Responder
}

PostBucketsBucketNameObjectsUploadHandler interface for that can handle valid post buckets bucket name objects upload params

type PostBucketsBucketNameObjectsUploadHandlerFunc added in v0.4.2

type PostBucketsBucketNameObjectsUploadHandlerFunc func(PostBucketsBucketNameObjectsUploadParams, *models.Principal) middleware.Responder

PostBucketsBucketNameObjectsUploadHandlerFunc turns a function with the right signature into a post buckets bucket name objects upload handler

func (PostBucketsBucketNameObjectsUploadHandlerFunc) Handle added in v0.4.2

Handle executing the request and returning a response

type PostBucketsBucketNameObjectsUploadOK added in v0.4.2

type PostBucketsBucketNameObjectsUploadOK struct {
}

PostBucketsBucketNameObjectsUploadOK A successful response.

swagger:response postBucketsBucketNameObjectsUploadOK

func NewPostBucketsBucketNameObjectsUploadOK added in v0.4.2

func NewPostBucketsBucketNameObjectsUploadOK() *PostBucketsBucketNameObjectsUploadOK

NewPostBucketsBucketNameObjectsUploadOK creates PostBucketsBucketNameObjectsUploadOK with default headers values

func (*PostBucketsBucketNameObjectsUploadOK) WriteResponse added in v0.4.2

WriteResponse to the client

type PostBucketsBucketNameObjectsUploadParams added in v0.4.2

type PostBucketsBucketNameObjectsUploadParams struct {

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

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

PostBucketsBucketNameObjectsUploadParams contains all the bound params for the post buckets bucket name objects upload operation typically these are obtained from a http.Request

swagger:parameters PostBucketsBucketNameObjectsUpload

func NewPostBucketsBucketNameObjectsUploadParams added in v0.4.2

func NewPostBucketsBucketNameObjectsUploadParams() PostBucketsBucketNameObjectsUploadParams

NewPostBucketsBucketNameObjectsUploadParams creates a new PostBucketsBucketNameObjectsUploadParams object

There are no default values defined in the spec.

func (*PostBucketsBucketNameObjectsUploadParams) BindRequest added in v0.4.2

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPostBucketsBucketNameObjectsUploadParams() beforehand.

type PostBucketsBucketNameObjectsUploadURL added in v0.4.2

type PostBucketsBucketNameObjectsUploadURL struct {
	BucketName string

	Prefix *string
	// contains filtered or unexported fields
}

PostBucketsBucketNameObjectsUploadURL generates an URL for the post buckets bucket name objects upload operation

func (*PostBucketsBucketNameObjectsUploadURL) Build added in v0.4.2

Build a url path and query string

func (*PostBucketsBucketNameObjectsUploadURL) BuildFull added in v0.4.2

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

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

func (*PostBucketsBucketNameObjectsUploadURL) Must added in v0.4.2

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

func (*PostBucketsBucketNameObjectsUploadURL) SetBasePath added in v0.4.2

func (o *PostBucketsBucketNameObjectsUploadURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PostBucketsBucketNameObjectsUploadURL) String added in v0.4.2

String returns the string representation of the path with query string

func (*PostBucketsBucketNameObjectsUploadURL) StringFull added in v0.4.2

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

StringFull returns the string representation of a complete url

func (*PostBucketsBucketNameObjectsUploadURL) WithBasePath added in v0.4.2

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PutObjectLegalHold added in v0.4.3

type PutObjectLegalHold struct {
	Context *middleware.Context
	Handler PutObjectLegalHoldHandler
}
PutObjectLegalHold swagger:route PUT /buckets/{bucket_name}/objects/legalhold UserAPI putObjectLegalHold

Put Object's legalhold status

func NewPutObjectLegalHold added in v0.4.3

func NewPutObjectLegalHold(ctx *middleware.Context, handler PutObjectLegalHoldHandler) *PutObjectLegalHold

NewPutObjectLegalHold creates a new http.Handler for the put object legal hold operation

func (*PutObjectLegalHold) ServeHTTP added in v0.4.3

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

type PutObjectLegalHoldDefault added in v0.4.3

type PutObjectLegalHoldDefault struct {

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

PutObjectLegalHoldDefault Generic error response.

swagger:response putObjectLegalHoldDefault

func NewPutObjectLegalHoldDefault added in v0.4.3

func NewPutObjectLegalHoldDefault(code int) *PutObjectLegalHoldDefault

NewPutObjectLegalHoldDefault creates PutObjectLegalHoldDefault with default headers values

func (*PutObjectLegalHoldDefault) SetPayload added in v0.4.3

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

SetPayload sets the payload to the put object legal hold default response

func (*PutObjectLegalHoldDefault) SetStatusCode added in v0.4.3

func (o *PutObjectLegalHoldDefault) SetStatusCode(code int)

SetStatusCode sets the status to the put object legal hold default response

func (*PutObjectLegalHoldDefault) WithPayload added in v0.4.3

WithPayload adds the payload to the put object legal hold default response

func (*PutObjectLegalHoldDefault) WithStatusCode added in v0.4.3

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

WithStatusCode adds the status to the put object legal hold default response

func (*PutObjectLegalHoldDefault) WriteResponse added in v0.4.3

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

WriteResponse to the client

type PutObjectLegalHoldHandler added in v0.4.3

type PutObjectLegalHoldHandler interface {
	Handle(PutObjectLegalHoldParams, *models.Principal) middleware.Responder
}

PutObjectLegalHoldHandler interface for that can handle valid put object legal hold params

type PutObjectLegalHoldHandlerFunc added in v0.4.3

type PutObjectLegalHoldHandlerFunc func(PutObjectLegalHoldParams, *models.Principal) middleware.Responder

PutObjectLegalHoldHandlerFunc turns a function with the right signature into a put object legal hold handler

func (PutObjectLegalHoldHandlerFunc) Handle added in v0.4.3

Handle executing the request and returning a response

type PutObjectLegalHoldOK added in v0.4.3

type PutObjectLegalHoldOK struct {
}

PutObjectLegalHoldOK A successful response.

swagger:response putObjectLegalHoldOK

func NewPutObjectLegalHoldOK added in v0.4.3

func NewPutObjectLegalHoldOK() *PutObjectLegalHoldOK

NewPutObjectLegalHoldOK creates PutObjectLegalHoldOK with default headers values

func (*PutObjectLegalHoldOK) WriteResponse added in v0.4.3

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

WriteResponse to the client

type PutObjectLegalHoldParams added in v0.4.3

type PutObjectLegalHoldParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.PutObjectLegalHoldRequest
	/*
	  Required: true
	  In: path
	*/
	BucketName string
	/*
	  Required: true
	  In: query
	*/
	Prefix string
	/*
	  Required: true
	  In: query
	*/
	VersionID string
}

PutObjectLegalHoldParams contains all the bound params for the put object legal hold operation typically these are obtained from a http.Request

swagger:parameters PutObjectLegalHold

func NewPutObjectLegalHoldParams added in v0.4.3

func NewPutObjectLegalHoldParams() PutObjectLegalHoldParams

NewPutObjectLegalHoldParams creates a new PutObjectLegalHoldParams object

There are no default values defined in the spec.

func (*PutObjectLegalHoldParams) BindRequest added in v0.4.3

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPutObjectLegalHoldParams() beforehand.

type PutObjectLegalHoldURL added in v0.4.3

type PutObjectLegalHoldURL struct {
	BucketName string

	Prefix    string
	VersionID string
	// contains filtered or unexported fields
}

PutObjectLegalHoldURL generates an URL for the put object legal hold operation

func (*PutObjectLegalHoldURL) Build added in v0.4.3

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

Build a url path and query string

func (*PutObjectLegalHoldURL) BuildFull added in v0.4.3

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

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

func (*PutObjectLegalHoldURL) Must added in v0.4.3

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

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

func (*PutObjectLegalHoldURL) SetBasePath added in v0.4.3

func (o *PutObjectLegalHoldURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PutObjectLegalHoldURL) String added in v0.4.3

func (o *PutObjectLegalHoldURL) String() string

String returns the string representation of the path with query string

func (*PutObjectLegalHoldURL) StringFull added in v0.4.3

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

StringFull returns the string representation of a complete url

func (*PutObjectLegalHoldURL) WithBasePath added in v0.4.3

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

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PutObjectRetention added in v0.4.4

type PutObjectRetention struct {
	Context *middleware.Context
	Handler PutObjectRetentionHandler
}
PutObjectRetention swagger:route PUT /buckets/{bucket_name}/objects/retention UserAPI putObjectRetention

Put Object's retention status

func NewPutObjectRetention added in v0.4.4

func NewPutObjectRetention(ctx *middleware.Context, handler PutObjectRetentionHandler) *PutObjectRetention

NewPutObjectRetention creates a new http.Handler for the put object retention operation

func (*PutObjectRetention) ServeHTTP added in v0.4.4

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

type PutObjectRetentionDefault added in v0.4.4

type PutObjectRetentionDefault struct {

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

PutObjectRetentionDefault Generic error response.

swagger:response putObjectRetentionDefault

func NewPutObjectRetentionDefault added in v0.4.4

func NewPutObjectRetentionDefault(code int) *PutObjectRetentionDefault

NewPutObjectRetentionDefault creates PutObjectRetentionDefault with default headers values

func (*PutObjectRetentionDefault) SetPayload added in v0.4.4

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

SetPayload sets the payload to the put object retention default response

func (*PutObjectRetentionDefault) SetStatusCode added in v0.4.4

func (o *PutObjectRetentionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the put object retention default response

func (*PutObjectRetentionDefault) WithPayload added in v0.4.4

WithPayload adds the payload to the put object retention default response

func (*PutObjectRetentionDefault) WithStatusCode added in v0.4.4

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

WithStatusCode adds the status to the put object retention default response

func (*PutObjectRetentionDefault) WriteResponse added in v0.4.4

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

WriteResponse to the client

type PutObjectRetentionHandler added in v0.4.4

type PutObjectRetentionHandler interface {
	Handle(PutObjectRetentionParams, *models.Principal) middleware.Responder
}

PutObjectRetentionHandler interface for that can handle valid put object retention params

type PutObjectRetentionHandlerFunc added in v0.4.4

type PutObjectRetentionHandlerFunc func(PutObjectRetentionParams, *models.Principal) middleware.Responder

PutObjectRetentionHandlerFunc turns a function with the right signature into a put object retention handler

func (PutObjectRetentionHandlerFunc) Handle added in v0.4.4

Handle executing the request and returning a response

type PutObjectRetentionOK added in v0.4.4

type PutObjectRetentionOK struct {
}

PutObjectRetentionOK A successful response.

swagger:response putObjectRetentionOK

func NewPutObjectRetentionOK added in v0.4.4

func NewPutObjectRetentionOK() *PutObjectRetentionOK

NewPutObjectRetentionOK creates PutObjectRetentionOK with default headers values

func (*PutObjectRetentionOK) WriteResponse added in v0.4.4

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

WriteResponse to the client

type PutObjectRetentionParams added in v0.4.4

type PutObjectRetentionParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.PutObjectRetentionRequest
	/*
	  Required: true
	  In: path
	*/
	BucketName string
	/*
	  Required: true
	  In: query
	*/
	Prefix string
	/*
	  Required: true
	  In: query
	*/
	VersionID string
}

PutObjectRetentionParams contains all the bound params for the put object retention operation typically these are obtained from a http.Request

swagger:parameters PutObjectRetention

func NewPutObjectRetentionParams added in v0.4.4

func NewPutObjectRetentionParams() PutObjectRetentionParams

NewPutObjectRetentionParams creates a new PutObjectRetentionParams object

There are no default values defined in the spec.

func (*PutObjectRetentionParams) BindRequest added in v0.4.4

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPutObjectRetentionParams() beforehand.

type PutObjectRetentionURL added in v0.4.4

type PutObjectRetentionURL struct {
	BucketName string

	Prefix    string
	VersionID string
	// contains filtered or unexported fields
}

PutObjectRetentionURL generates an URL for the put object retention operation

func (*PutObjectRetentionURL) Build added in v0.4.4

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

Build a url path and query string

func (*PutObjectRetentionURL) BuildFull added in v0.4.4

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

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

func (*PutObjectRetentionURL) Must added in v0.4.4

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

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

func (*PutObjectRetentionURL) SetBasePath added in v0.4.4

func (o *PutObjectRetentionURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PutObjectRetentionURL) String added in v0.4.4

func (o *PutObjectRetentionURL) String() string

String returns the string representation of the path with query string

func (*PutObjectRetentionURL) StringFull added in v0.4.4

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

StringFull returns the string representation of a complete url

func (*PutObjectRetentionURL) WithBasePath added in v0.4.4

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

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PutObjectTags added in v0.4.4

type PutObjectTags struct {
	Context *middleware.Context
	Handler PutObjectTagsHandler
}
PutObjectTags swagger:route PUT /buckets/{bucket_name}/objects/tags UserAPI putObjectTags

Put Object's tags

func NewPutObjectTags added in v0.4.4

func NewPutObjectTags(ctx *middleware.Context, handler PutObjectTagsHandler) *PutObjectTags

NewPutObjectTags creates a new http.Handler for the put object tags operation

func (*PutObjectTags) ServeHTTP added in v0.4.4

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

type PutObjectTagsDefault added in v0.4.4

type PutObjectTagsDefault struct {

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

PutObjectTagsDefault Generic error response.

swagger:response putObjectTagsDefault

func NewPutObjectTagsDefault added in v0.4.4

func NewPutObjectTagsDefault(code int) *PutObjectTagsDefault

NewPutObjectTagsDefault creates PutObjectTagsDefault with default headers values

func (*PutObjectTagsDefault) SetPayload added in v0.4.4

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

SetPayload sets the payload to the put object tags default response

func (*PutObjectTagsDefault) SetStatusCode added in v0.4.4

func (o *PutObjectTagsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the put object tags default response

func (*PutObjectTagsDefault) WithPayload added in v0.4.4

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

WithPayload adds the payload to the put object tags default response

func (*PutObjectTagsDefault) WithStatusCode added in v0.4.4

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

WithStatusCode adds the status to the put object tags default response

func (*PutObjectTagsDefault) WriteResponse added in v0.4.4

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

WriteResponse to the client

type PutObjectTagsHandler added in v0.4.4

type PutObjectTagsHandler interface {
	Handle(PutObjectTagsParams, *models.Principal) middleware.Responder
}

PutObjectTagsHandler interface for that can handle valid put object tags params

type PutObjectTagsHandlerFunc added in v0.4.4

type PutObjectTagsHandlerFunc func(PutObjectTagsParams, *models.Principal) middleware.Responder

PutObjectTagsHandlerFunc turns a function with the right signature into a put object tags handler

func (PutObjectTagsHandlerFunc) Handle added in v0.4.4

Handle executing the request and returning a response

type PutObjectTagsOK added in v0.4.4

type PutObjectTagsOK struct {
}

PutObjectTagsOK A successful response.

swagger:response putObjectTagsOK

func NewPutObjectTagsOK added in v0.4.4

func NewPutObjectTagsOK() *PutObjectTagsOK

NewPutObjectTagsOK creates PutObjectTagsOK with default headers values

func (*PutObjectTagsOK) WriteResponse added in v0.4.4

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

WriteResponse to the client

type PutObjectTagsParams added in v0.4.4

type PutObjectTagsParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.PutObjectTagsRequest
	/*
	  Required: true
	  In: path
	*/
	BucketName string
	/*
	  Required: true
	  In: query
	*/
	Prefix string
	/*
	  Required: true
	  In: query
	*/
	VersionID string
}

PutObjectTagsParams contains all the bound params for the put object tags operation typically these are obtained from a http.Request

swagger:parameters PutObjectTags

func NewPutObjectTagsParams added in v0.4.4

func NewPutObjectTagsParams() PutObjectTagsParams

NewPutObjectTagsParams creates a new PutObjectTagsParams object

There are no default values defined in the spec.

func (*PutObjectTagsParams) BindRequest added in v0.4.4

func (o *PutObjectTagsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPutObjectTagsParams() beforehand.

type PutObjectTagsURL added in v0.4.4

type PutObjectTagsURL struct {
	BucketName string

	Prefix    string
	VersionID string
	// contains filtered or unexported fields
}

PutObjectTagsURL generates an URL for the put object tags operation

func (*PutObjectTagsURL) Build added in v0.4.4

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

Build a url path and query string

func (*PutObjectTagsURL) BuildFull added in v0.4.4

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

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

func (*PutObjectTagsURL) Must added in v0.4.4

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

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

func (*PutObjectTagsURL) SetBasePath added in v0.4.4

func (o *PutObjectTagsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PutObjectTagsURL) String added in v0.4.4

func (o *PutObjectTagsURL) String() string

String returns the string representation of the path with query string

func (*PutObjectTagsURL) StringFull added in v0.4.4

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

StringFull returns the string representation of a complete url

func (*PutObjectTagsURL) WithBasePath added in v0.4.4

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

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type RemoteBucketDetails added in v0.4.0

type RemoteBucketDetails struct {
	Context *middleware.Context
	Handler RemoteBucketDetailsHandler
}
RemoteBucketDetails swagger:route GET /remote-buckets/{name} UserAPI remoteBucketDetails

Remote Bucket Details

func NewRemoteBucketDetails added in v0.4.0

func NewRemoteBucketDetails(ctx *middleware.Context, handler RemoteBucketDetailsHandler) *RemoteBucketDetails

NewRemoteBucketDetails creates a new http.Handler for the remote bucket details operation

func (*RemoteBucketDetails) ServeHTTP added in v0.4.0

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

type RemoteBucketDetailsDefault added in v0.4.0

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 added in v0.4.0

func NewRemoteBucketDetailsDefault(code int) *RemoteBucketDetailsDefault

NewRemoteBucketDetailsDefault creates RemoteBucketDetailsDefault with default headers values

func (*RemoteBucketDetailsDefault) SetPayload added in v0.4.0

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

SetPayload sets the payload to the remote bucket details default response

func (*RemoteBucketDetailsDefault) SetStatusCode added in v0.4.0

func (o *RemoteBucketDetailsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the remote bucket details default response

func (*RemoteBucketDetailsDefault) WithPayload added in v0.4.0

WithPayload adds the payload to the remote bucket details default response

func (*RemoteBucketDetailsDefault) WithStatusCode added in v0.4.0

WithStatusCode adds the status to the remote bucket details default response

func (*RemoteBucketDetailsDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type RemoteBucketDetailsHandler added in v0.4.0

type RemoteBucketDetailsHandler interface {
	Handle(RemoteBucketDetailsParams, *models.Principal) middleware.Responder
}

RemoteBucketDetailsHandler interface for that can handle valid remote bucket details params

type RemoteBucketDetailsHandlerFunc added in v0.4.0

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 added in v0.4.0

Handle executing the request and returning a response

type RemoteBucketDetailsOK added in v0.4.0

type RemoteBucketDetailsOK struct {

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

RemoteBucketDetailsOK A successful response.

swagger:response remoteBucketDetailsOK

func NewRemoteBucketDetailsOK added in v0.4.0

func NewRemoteBucketDetailsOK() *RemoteBucketDetailsOK

NewRemoteBucketDetailsOK creates RemoteBucketDetailsOK with default headers values

func (*RemoteBucketDetailsOK) SetPayload added in v0.4.0

func (o *RemoteBucketDetailsOK) SetPayload(payload *models.RemoteBucket)

SetPayload sets the payload to the remote bucket details o k response

func (*RemoteBucketDetailsOK) WithPayload added in v0.4.0

WithPayload adds the payload to the remote bucket details o k response

func (*RemoteBucketDetailsOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type RemoteBucketDetailsParams added in v0.4.0

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 added in v0.4.0

func NewRemoteBucketDetailsParams() RemoteBucketDetailsParams

NewRemoteBucketDetailsParams creates a new RemoteBucketDetailsParams object

There are no default values defined in the spec.

func (*RemoteBucketDetailsParams) BindRequest added in v0.4.0

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 added in v0.4.0

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

RemoteBucketDetailsURL generates an URL for the remote bucket details operation

func (*RemoteBucketDetailsURL) Build added in v0.4.0

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

Build a url path and query string

func (*RemoteBucketDetailsURL) BuildFull added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (o *RemoteBucketDetailsURL) String() string

String returns the string representation of the path with query string

func (*RemoteBucketDetailsURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*RemoteBucketDetailsURL) WithBasePath added in v0.4.0

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 SessionCheck

type SessionCheck struct {
	Context *middleware.Context
	Handler SessionCheckHandler
}
SessionCheck swagger:route GET /session UserAPI sessionCheck

Endpoint to check if your session is still valid

func NewSessionCheck

func NewSessionCheck(ctx *middleware.Context, handler SessionCheckHandler) *SessionCheck

NewSessionCheck creates a new http.Handler for the session check operation

func (*SessionCheck) ServeHTTP

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

type SessionCheckDefault

type SessionCheckDefault struct {

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

SessionCheckDefault Generic error response.

swagger:response sessionCheckDefault

func NewSessionCheckDefault

func NewSessionCheckDefault(code int) *SessionCheckDefault

NewSessionCheckDefault creates SessionCheckDefault with default headers values

func (*SessionCheckDefault) SetPayload

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

SetPayload sets the payload to the session check default response

func (*SessionCheckDefault) SetStatusCode

func (o *SessionCheckDefault) SetStatusCode(code int)

SetStatusCode sets the status to the session check default response

func (*SessionCheckDefault) WithPayload

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

WithPayload adds the payload to the session check default response

func (*SessionCheckDefault) WithStatusCode

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

WithStatusCode adds the status to the session check default response

func (*SessionCheckDefault) WriteResponse

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

WriteResponse to the client

type SessionCheckHandler

type SessionCheckHandler interface {
	Handle(SessionCheckParams, *models.Principal) middleware.Responder
}

SessionCheckHandler interface for that can handle valid session check params

type SessionCheckHandlerFunc

type SessionCheckHandlerFunc func(SessionCheckParams, *models.Principal) middleware.Responder

SessionCheckHandlerFunc turns a function with the right signature into a session check handler

func (SessionCheckHandlerFunc) Handle

Handle executing the request and returning a response

type SessionCheckOK

type SessionCheckOK struct {

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

SessionCheckOK A successful response.

swagger:response sessionCheckOK

func NewSessionCheckOK

func NewSessionCheckOK() *SessionCheckOK

NewSessionCheckOK creates SessionCheckOK with default headers values

func (*SessionCheckOK) SetPayload

func (o *SessionCheckOK) SetPayload(payload *models.SessionResponse)

SetPayload sets the payload to the session check o k response

func (*SessionCheckOK) WithPayload

func (o *SessionCheckOK) WithPayload(payload *models.SessionResponse) *SessionCheckOK

WithPayload adds the payload to the session check o k response

func (*SessionCheckOK) WriteResponse

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

WriteResponse to the client

type SessionCheckParams

type SessionCheckParams struct {

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

SessionCheckParams contains all the bound params for the session check operation typically these are obtained from a http.Request

swagger:parameters SessionCheck

func NewSessionCheckParams

func NewSessionCheckParams() SessionCheckParams

NewSessionCheckParams creates a new SessionCheckParams object

There are no default values defined in the spec.

func (*SessionCheckParams) BindRequest

func (o *SessionCheckParams) 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 NewSessionCheckParams() beforehand.

type SessionCheckURL

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

SessionCheckURL generates an URL for the session check operation

func (*SessionCheckURL) Build

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

Build a url path and query string

func (*SessionCheckURL) BuildFull

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

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

func (*SessionCheckURL) Must

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

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

func (*SessionCheckURL) SetBasePath

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

func (o *SessionCheckURL) String() string

String returns the string representation of the path with query string

func (*SessionCheckURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SessionCheckURL) WithBasePath

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

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 added in v0.4.0

type SetBucketQuota struct {
	Context *middleware.Context
	Handler SetBucketQuotaHandler
}
SetBucketQuota swagger:route PUT /buckets/{name}/quota UserAPI setBucketQuota

Bucket Quota

func NewSetBucketQuota added in v0.4.0

func NewSetBucketQuota(ctx *middleware.Context, handler SetBucketQuotaHandler) *SetBucketQuota

NewSetBucketQuota creates a new http.Handler for the set bucket quota operation

func (*SetBucketQuota) ServeHTTP added in v0.4.0

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

type SetBucketQuotaDefault added in v0.4.0

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 added in v0.4.0

func NewSetBucketQuotaDefault(code int) *SetBucketQuotaDefault

NewSetBucketQuotaDefault creates SetBucketQuotaDefault with default headers values

func (*SetBucketQuotaDefault) SetPayload added in v0.4.0

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

SetPayload sets the payload to the set bucket quota default response

func (*SetBucketQuotaDefault) SetStatusCode added in v0.4.0

func (o *SetBucketQuotaDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set bucket quota default response

func (*SetBucketQuotaDefault) WithPayload added in v0.4.0

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

WithPayload adds the payload to the set bucket quota default response

func (*SetBucketQuotaDefault) WithStatusCode added in v0.4.0

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

WithStatusCode adds the status to the set bucket quota default response

func (*SetBucketQuotaDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type SetBucketQuotaHandler added in v0.4.0

type SetBucketQuotaHandler interface {
	Handle(SetBucketQuotaParams, *models.Principal) middleware.Responder
}

SetBucketQuotaHandler interface for that can handle valid set bucket quota params

type SetBucketQuotaHandlerFunc added in v0.4.0

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 added in v0.4.0

Handle executing the request and returning a response

type SetBucketQuotaOK added in v0.4.0

type SetBucketQuotaOK struct {

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

SetBucketQuotaOK A successful response.

swagger:response setBucketQuotaOK

func NewSetBucketQuotaOK added in v0.4.0

func NewSetBucketQuotaOK() *SetBucketQuotaOK

NewSetBucketQuotaOK creates SetBucketQuotaOK with default headers values

func (*SetBucketQuotaOK) SetPayload added in v0.4.0

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

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

func (*SetBucketQuotaOK) WithPayload added in v0.4.0

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

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

func (*SetBucketQuotaOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type SetBucketQuotaParams added in v0.4.0

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 added in v0.4.0

func NewSetBucketQuotaParams() SetBucketQuotaParams

NewSetBucketQuotaParams creates a new SetBucketQuotaParams object

There are no default values defined in the spec.

func (*SetBucketQuotaParams) BindRequest added in v0.4.0

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 added in v0.4.0

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

SetBucketQuotaURL generates an URL for the set bucket quota operation

func (*SetBucketQuotaURL) Build added in v0.4.0

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

Build a url path and query string

func (*SetBucketQuotaURL) BuildFull added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (o *SetBucketQuotaURL) String() string

String returns the string representation of the path with query string

func (*SetBucketQuotaURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*SetBucketQuotaURL) WithBasePath added in v0.4.0

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 added in v0.5.0

type SetBucketRetentionConfig struct {
	Context *middleware.Context
	Handler SetBucketRetentionConfigHandler
}
SetBucketRetentionConfig swagger:route PUT /buckets/{bucket_name}/retention UserAPI setBucketRetentionConfig

Set Bucket's retention config

func NewSetBucketRetentionConfig added in v0.5.0

func NewSetBucketRetentionConfig(ctx *middleware.Context, handler SetBucketRetentionConfigHandler) *SetBucketRetentionConfig

NewSetBucketRetentionConfig creates a new http.Handler for the set bucket retention config operation

func (*SetBucketRetentionConfig) ServeHTTP added in v0.5.0

type SetBucketRetentionConfigDefault added in v0.5.0

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 added in v0.5.0

func NewSetBucketRetentionConfigDefault(code int) *SetBucketRetentionConfigDefault

NewSetBucketRetentionConfigDefault creates SetBucketRetentionConfigDefault with default headers values

func (*SetBucketRetentionConfigDefault) SetPayload added in v0.5.0

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

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

func (*SetBucketRetentionConfigDefault) SetStatusCode added in v0.5.0

func (o *SetBucketRetentionConfigDefault) SetStatusCode(code int)

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

func (*SetBucketRetentionConfigDefault) WithPayload added in v0.5.0

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

func (*SetBucketRetentionConfigDefault) WithStatusCode added in v0.5.0

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

func (*SetBucketRetentionConfigDefault) WriteResponse added in v0.5.0

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

WriteResponse to the client

type SetBucketRetentionConfigHandler added in v0.5.0

type SetBucketRetentionConfigHandler interface {
	Handle(SetBucketRetentionConfigParams, *models.Principal) middleware.Responder
}

SetBucketRetentionConfigHandler interface for that can handle valid set bucket retention config params

type SetBucketRetentionConfigHandlerFunc added in v0.5.0

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 added in v0.5.0

Handle executing the request and returning a response

type SetBucketRetentionConfigOK added in v0.5.0

type SetBucketRetentionConfigOK struct {
}

SetBucketRetentionConfigOK A successful response.

swagger:response setBucketRetentionConfigOK

func NewSetBucketRetentionConfigOK added in v0.5.0

func NewSetBucketRetentionConfigOK() *SetBucketRetentionConfigOK

NewSetBucketRetentionConfigOK creates SetBucketRetentionConfigOK with default headers values

func (*SetBucketRetentionConfigOK) WriteResponse added in v0.5.0

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

WriteResponse to the client

type SetBucketRetentionConfigParams added in v0.5.0

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 added in v0.5.0

func NewSetBucketRetentionConfigParams() SetBucketRetentionConfigParams

NewSetBucketRetentionConfigParams creates a new SetBucketRetentionConfigParams object

There are no default values defined in the spec.

func (*SetBucketRetentionConfigParams) BindRequest added in v0.5.0

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 added in v0.5.0

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

SetBucketRetentionConfigURL generates an URL for the set bucket retention config operation

func (*SetBucketRetentionConfigURL) Build added in v0.5.0

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

Build a url path and query string

func (*SetBucketRetentionConfigURL) BuildFull added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

func (o *SetBucketRetentionConfigURL) String() string

String returns the string representation of the path with query string

func (*SetBucketRetentionConfigURL) StringFull added in v0.5.0

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

StringFull returns the string representation of a complete url

func (*SetBucketRetentionConfigURL) WithBasePath added in v0.5.0

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 added in v0.4.0

type SetBucketVersioning struct {
	Context *middleware.Context
	Handler SetBucketVersioningHandler
}
SetBucketVersioning swagger:route PUT /buckets/{bucket_name}/versioning UserAPI setBucketVersioning

Set Bucket Versioning

func NewSetBucketVersioning added in v0.4.0

func NewSetBucketVersioning(ctx *middleware.Context, handler SetBucketVersioningHandler) *SetBucketVersioning

NewSetBucketVersioning creates a new http.Handler for the set bucket versioning operation

func (*SetBucketVersioning) ServeHTTP added in v0.4.0

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

type SetBucketVersioningCreated added in v0.4.0

type SetBucketVersioningCreated struct {
}

SetBucketVersioningCreated A successful response.

swagger:response setBucketVersioningCreated

func NewSetBucketVersioningCreated added in v0.4.0

func NewSetBucketVersioningCreated() *SetBucketVersioningCreated

NewSetBucketVersioningCreated creates SetBucketVersioningCreated with default headers values

func (*SetBucketVersioningCreated) WriteResponse added in v0.4.0

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

WriteResponse to the client

type SetBucketVersioningDefault added in v0.4.0

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 added in v0.4.0

func NewSetBucketVersioningDefault(code int) *SetBucketVersioningDefault

NewSetBucketVersioningDefault creates SetBucketVersioningDefault with default headers values

func (*SetBucketVersioningDefault) SetPayload added in v0.4.0

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

SetPayload sets the payload to the set bucket versioning default response

func (*SetBucketVersioningDefault) SetStatusCode added in v0.4.0

func (o *SetBucketVersioningDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set bucket versioning default response

func (*SetBucketVersioningDefault) WithPayload added in v0.4.0

WithPayload adds the payload to the set bucket versioning default response

func (*SetBucketVersioningDefault) WithStatusCode added in v0.4.0

WithStatusCode adds the status to the set bucket versioning default response

func (*SetBucketVersioningDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type SetBucketVersioningHandler added in v0.4.0

type SetBucketVersioningHandler interface {
	Handle(SetBucketVersioningParams, *models.Principal) middleware.Responder
}

SetBucketVersioningHandler interface for that can handle valid set bucket versioning params

type SetBucketVersioningHandlerFunc added in v0.4.0

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 added in v0.4.0

Handle executing the request and returning a response

type SetBucketVersioningParams added in v0.4.0

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 added in v0.4.0

func NewSetBucketVersioningParams() SetBucketVersioningParams

NewSetBucketVersioningParams creates a new SetBucketVersioningParams object

There are no default values defined in the spec.

func (*SetBucketVersioningParams) BindRequest added in v0.4.0

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 added in v0.4.0

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

SetBucketVersioningURL generates an URL for the set bucket versioning operation

func (*SetBucketVersioningURL) Build added in v0.4.0

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

Build a url path and query string

func (*SetBucketVersioningURL) BuildFull added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (o *SetBucketVersioningURL) String() string

String returns the string representation of the path with query string

func (*SetBucketVersioningURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*SetBucketVersioningURL) WithBasePath added in v0.4.0

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 added in v0.6.7

type SetMultiBucketReplication struct {
	Context *middleware.Context
	Handler SetMultiBucketReplicationHandler
}
SetMultiBucketReplication swagger:route POST /buckets-replication UserAPI setMultiBucketReplication

Sets Multi Bucket Replication in multiple Buckets

func NewSetMultiBucketReplication added in v0.6.7

func NewSetMultiBucketReplication(ctx *middleware.Context, handler SetMultiBucketReplicationHandler) *SetMultiBucketReplication

NewSetMultiBucketReplication creates a new http.Handler for the set multi bucket replication operation

func (*SetMultiBucketReplication) ServeHTTP added in v0.6.7

type SetMultiBucketReplicationDefault added in v0.6.7

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 added in v0.6.7

func NewSetMultiBucketReplicationDefault(code int) *SetMultiBucketReplicationDefault

NewSetMultiBucketReplicationDefault creates SetMultiBucketReplicationDefault with default headers values

func (*SetMultiBucketReplicationDefault) SetPayload added in v0.6.7

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

SetPayload sets the payload to the set multi bucket replication default response

func (*SetMultiBucketReplicationDefault) SetStatusCode added in v0.6.7

func (o *SetMultiBucketReplicationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set multi bucket replication default response

func (*SetMultiBucketReplicationDefault) WithPayload added in v0.6.7

WithPayload adds the payload to the set multi bucket replication default response

func (*SetMultiBucketReplicationDefault) WithStatusCode added in v0.6.7

WithStatusCode adds the status to the set multi bucket replication default response

func (*SetMultiBucketReplicationDefault) WriteResponse added in v0.6.7

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

WriteResponse to the client

type SetMultiBucketReplicationHandler added in v0.6.7

type SetMultiBucketReplicationHandler interface {
	Handle(SetMultiBucketReplicationParams, *models.Principal) middleware.Responder
}

SetMultiBucketReplicationHandler interface for that can handle valid set multi bucket replication params

type SetMultiBucketReplicationHandlerFunc added in v0.6.7

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 added in v0.6.7

Handle executing the request and returning a response

type SetMultiBucketReplicationOK added in v0.6.7

type SetMultiBucketReplicationOK struct {

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

SetMultiBucketReplicationOK A successful response.

swagger:response setMultiBucketReplicationOK

func NewSetMultiBucketReplicationOK added in v0.6.7

func NewSetMultiBucketReplicationOK() *SetMultiBucketReplicationOK

NewSetMultiBucketReplicationOK creates SetMultiBucketReplicationOK with default headers values

func (*SetMultiBucketReplicationOK) SetPayload added in v0.6.7

SetPayload sets the payload to the set multi bucket replication o k response

func (*SetMultiBucketReplicationOK) WithPayload added in v0.6.7

WithPayload adds the payload to the set multi bucket replication o k response

func (*SetMultiBucketReplicationOK) WriteResponse added in v0.6.7

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

WriteResponse to the client

type SetMultiBucketReplicationParams added in v0.6.7

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 added in v0.6.7

func NewSetMultiBucketReplicationParams() SetMultiBucketReplicationParams

NewSetMultiBucketReplicationParams creates a new SetMultiBucketReplicationParams object

There are no default values defined in the spec.

func (*SetMultiBucketReplicationParams) BindRequest added in v0.6.7

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 added in v0.6.7

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

SetMultiBucketReplicationURL generates an URL for the set multi bucket replication operation

func (*SetMultiBucketReplicationURL) Build added in v0.6.7

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

Build a url path and query string

func (*SetMultiBucketReplicationURL) BuildFull added in v0.6.7

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 added in v0.6.7

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 added in v0.6.7

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 added in v0.6.7

String returns the string representation of the path with query string

func (*SetMultiBucketReplicationURL) StringFull added in v0.6.7

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

StringFull returns the string representation of a complete url

func (*SetMultiBucketReplicationURL) WithBasePath added in v0.6.7

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ShareObject added in v0.4.2

type ShareObject struct {
	Context *middleware.Context
	Handler ShareObjectHandler
}
ShareObject swagger:route GET /buckets/{bucket_name}/objects/share UserAPI shareObject

Shares an Object on a url

func NewShareObject added in v0.4.2

func NewShareObject(ctx *middleware.Context, handler ShareObjectHandler) *ShareObject

NewShareObject creates a new http.Handler for the share object operation

func (*ShareObject) ServeHTTP added in v0.4.2

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

type ShareObjectDefault added in v0.4.2

type ShareObjectDefault struct {

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

ShareObjectDefault Generic error response.

swagger:response shareObjectDefault

func NewShareObjectDefault added in v0.4.2

func NewShareObjectDefault(code int) *ShareObjectDefault

NewShareObjectDefault creates ShareObjectDefault with default headers values

func (*ShareObjectDefault) SetPayload added in v0.4.2

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

SetPayload sets the payload to the share object default response

func (*ShareObjectDefault) SetStatusCode added in v0.4.2

func (o *ShareObjectDefault) SetStatusCode(code int)

SetStatusCode sets the status to the share object default response

func (*ShareObjectDefault) WithPayload added in v0.4.2

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

WithPayload adds the payload to the share object default response

func (*ShareObjectDefault) WithStatusCode added in v0.4.2

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

WithStatusCode adds the status to the share object default response

func (*ShareObjectDefault) WriteResponse added in v0.4.2

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

WriteResponse to the client

type ShareObjectHandler added in v0.4.2

type ShareObjectHandler interface {
	Handle(ShareObjectParams, *models.Principal) middleware.Responder
}

ShareObjectHandler interface for that can handle valid share object params

type ShareObjectHandlerFunc added in v0.4.2

type ShareObjectHandlerFunc func(ShareObjectParams, *models.Principal) middleware.Responder

ShareObjectHandlerFunc turns a function with the right signature into a share object handler

func (ShareObjectHandlerFunc) Handle added in v0.4.2

Handle executing the request and returning a response

type ShareObjectOK added in v0.4.2

type ShareObjectOK struct {

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

ShareObjectOK A successful response.

swagger:response shareObjectOK

func NewShareObjectOK added in v0.4.2

func NewShareObjectOK() *ShareObjectOK

NewShareObjectOK creates ShareObjectOK with default headers values

func (*ShareObjectOK) SetPayload added in v0.4.2

func (o *ShareObjectOK) SetPayload(payload string)

SetPayload sets the payload to the share object o k response

func (*ShareObjectOK) WithPayload added in v0.4.2

func (o *ShareObjectOK) WithPayload(payload string) *ShareObjectOK

WithPayload adds the payload to the share object o k response

func (*ShareObjectOK) WriteResponse added in v0.4.2

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

WriteResponse to the client

type ShareObjectParams added in v0.4.2

type ShareObjectParams struct {

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

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

ShareObjectParams contains all the bound params for the share object operation typically these are obtained from a http.Request

swagger:parameters ShareObject

func NewShareObjectParams added in v0.4.2

func NewShareObjectParams() ShareObjectParams

NewShareObjectParams creates a new ShareObjectParams object

There are no default values defined in the spec.

func (*ShareObjectParams) BindRequest added in v0.4.2

func (o *ShareObjectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewShareObjectParams() beforehand.

type ShareObjectURL added in v0.4.2

type ShareObjectURL struct {
	BucketName string

	Expires   *string
	Prefix    string
	VersionID string
	// contains filtered or unexported fields
}

ShareObjectURL generates an URL for the share object operation

func (*ShareObjectURL) Build added in v0.4.2

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

Build a url path and query string

func (*ShareObjectURL) BuildFull added in v0.4.2

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

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

func (*ShareObjectURL) Must added in v0.4.2

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

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

func (*ShareObjectURL) SetBasePath added in v0.4.2

func (o *ShareObjectURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ShareObjectURL) String added in v0.4.2

func (o *ShareObjectURL) String() string

String returns the string representation of the path with query string

func (*ShareObjectURL) StringFull added in v0.4.2

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

StringFull returns the string representation of a complete url

func (*ShareObjectURL) WithBasePath added in v0.4.2

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

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateBucketLifecycle added in v0.7.0

type UpdateBucketLifecycle struct {
	Context *middleware.Context
	Handler UpdateBucketLifecycleHandler
}
UpdateBucketLifecycle swagger:route PUT /buckets/{bucket_name}/lifecycle/{lifecycle_id} UserAPI updateBucketLifecycle

Update Lifecycle rule

func NewUpdateBucketLifecycle added in v0.7.0

func NewUpdateBucketLifecycle(ctx *middleware.Context, handler UpdateBucketLifecycleHandler) *UpdateBucketLifecycle

NewUpdateBucketLifecycle creates a new http.Handler for the update bucket lifecycle operation

func (*UpdateBucketLifecycle) ServeHTTP added in v0.7.0

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

type UpdateBucketLifecycleDefault added in v0.7.0

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 added in v0.7.0

func NewUpdateBucketLifecycleDefault(code int) *UpdateBucketLifecycleDefault

NewUpdateBucketLifecycleDefault creates UpdateBucketLifecycleDefault with default headers values

func (*UpdateBucketLifecycleDefault) SetPayload added in v0.7.0

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

SetPayload sets the payload to the update bucket lifecycle default response

func (*UpdateBucketLifecycleDefault) SetStatusCode added in v0.7.0

func (o *UpdateBucketLifecycleDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update bucket lifecycle default response

func (*UpdateBucketLifecycleDefault) WithPayload added in v0.7.0

WithPayload adds the payload to the update bucket lifecycle default response

func (*UpdateBucketLifecycleDefault) WithStatusCode added in v0.7.0

WithStatusCode adds the status to the update bucket lifecycle default response

func (*UpdateBucketLifecycleDefault) WriteResponse added in v0.7.0

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

WriteResponse to the client

type UpdateBucketLifecycleHandler added in v0.7.0

type UpdateBucketLifecycleHandler interface {
	Handle(UpdateBucketLifecycleParams, *models.Principal) middleware.Responder
}

UpdateBucketLifecycleHandler interface for that can handle valid update bucket lifecycle params

type UpdateBucketLifecycleHandlerFunc added in v0.7.0

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 added in v0.7.0

Handle executing the request and returning a response

type UpdateBucketLifecycleOK added in v0.7.0

type UpdateBucketLifecycleOK struct {
}

UpdateBucketLifecycleOK A successful response.

swagger:response updateBucketLifecycleOK

func NewUpdateBucketLifecycleOK added in v0.7.0

func NewUpdateBucketLifecycleOK() *UpdateBucketLifecycleOK

NewUpdateBucketLifecycleOK creates UpdateBucketLifecycleOK with default headers values

func (*UpdateBucketLifecycleOK) WriteResponse added in v0.7.0

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

WriteResponse to the client

type UpdateBucketLifecycleParams added in v0.7.0

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 added in v0.7.0

func NewUpdateBucketLifecycleParams() UpdateBucketLifecycleParams

NewUpdateBucketLifecycleParams creates a new UpdateBucketLifecycleParams object

There are no default values defined in the spec.

func (*UpdateBucketLifecycleParams) BindRequest added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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

Build a url path and query string

func (*UpdateBucketLifecycleURL) BuildFull added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

func (o *UpdateBucketLifecycleURL) String() string

String returns the string representation of the path with query string

func (*UpdateBucketLifecycleURL) StringFull added in v0.7.0

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

StringFull returns the string representation of a complete url

func (*UpdateBucketLifecycleURL) WithBasePath added in v0.7.0

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