Documentation ¶
Index ¶
- Constants
- type AccountChangePassword
- type AccountChangePasswordDefault
- func (o *AccountChangePasswordDefault) SetPayload(payload *models.Error)
- func (o *AccountChangePasswordDefault) SetStatusCode(code int)
- func (o *AccountChangePasswordDefault) WithPayload(payload *models.Error) *AccountChangePasswordDefault
- func (o *AccountChangePasswordDefault) WithStatusCode(code int) *AccountChangePasswordDefault
- func (o *AccountChangePasswordDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AccountChangePasswordHandler
- type AccountChangePasswordHandlerFunc
- type AccountChangePasswordNoContent
- type AccountChangePasswordParams
- type AccountChangePasswordURL
- func (o *AccountChangePasswordURL) Build() (*url.URL, error)
- func (o *AccountChangePasswordURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AccountChangePasswordURL) Must(u *url.URL, err error) *url.URL
- func (o *AccountChangePasswordURL) SetBasePath(bp string)
- func (o *AccountChangePasswordURL) String() string
- func (o *AccountChangePasswordURL) StringFull(scheme, host string) string
- func (o *AccountChangePasswordURL) WithBasePath(bp string) *AccountChangePasswordURL
- type AddBucketLifecycle
- type AddBucketLifecycleCreated
- type AddBucketLifecycleDefault
- func (o *AddBucketLifecycleDefault) SetPayload(payload *models.Error)
- func (o *AddBucketLifecycleDefault) SetStatusCode(code int)
- func (o *AddBucketLifecycleDefault) WithPayload(payload *models.Error) *AddBucketLifecycleDefault
- func (o *AddBucketLifecycleDefault) WithStatusCode(code int) *AddBucketLifecycleDefault
- func (o *AddBucketLifecycleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddBucketLifecycleHandler
- type AddBucketLifecycleHandlerFunc
- type AddBucketLifecycleParams
- type AddBucketLifecycleURL
- func (o *AddBucketLifecycleURL) Build() (*url.URL, error)
- func (o *AddBucketLifecycleURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddBucketLifecycleURL) Must(u *url.URL, err error) *url.URL
- func (o *AddBucketLifecycleURL) SetBasePath(bp string)
- func (o *AddBucketLifecycleURL) String() string
- func (o *AddBucketLifecycleURL) StringFull(scheme, host string) string
- func (o *AddBucketLifecycleURL) WithBasePath(bp string) *AddBucketLifecycleURL
- type AddMultiBucketLifecycle
- type AddMultiBucketLifecycleDefault
- func (o *AddMultiBucketLifecycleDefault) SetPayload(payload *models.Error)
- func (o *AddMultiBucketLifecycleDefault) SetStatusCode(code int)
- func (o *AddMultiBucketLifecycleDefault) WithPayload(payload *models.Error) *AddMultiBucketLifecycleDefault
- func (o *AddMultiBucketLifecycleDefault) WithStatusCode(code int) *AddMultiBucketLifecycleDefault
- func (o *AddMultiBucketLifecycleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddMultiBucketLifecycleHandler
- type AddMultiBucketLifecycleHandlerFunc
- type AddMultiBucketLifecycleOK
- type AddMultiBucketLifecycleParams
- type AddMultiBucketLifecycleURL
- func (o *AddMultiBucketLifecycleURL) Build() (*url.URL, error)
- func (o *AddMultiBucketLifecycleURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddMultiBucketLifecycleURL) Must(u *url.URL, err error) *url.URL
- func (o *AddMultiBucketLifecycleURL) SetBasePath(bp string)
- func (o *AddMultiBucketLifecycleURL) String() string
- func (o *AddMultiBucketLifecycleURL) StringFull(scheme, host string) string
- func (o *AddMultiBucketLifecycleURL) WithBasePath(bp string) *AddMultiBucketLifecycleURL
- type AddRemoteBucket
- type AddRemoteBucketCreated
- type AddRemoteBucketDefault
- func (o *AddRemoteBucketDefault) SetPayload(payload *models.Error)
- func (o *AddRemoteBucketDefault) SetStatusCode(code int)
- func (o *AddRemoteBucketDefault) WithPayload(payload *models.Error) *AddRemoteBucketDefault
- func (o *AddRemoteBucketDefault) WithStatusCode(code int) *AddRemoteBucketDefault
- func (o *AddRemoteBucketDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddRemoteBucketHandler
- type AddRemoteBucketHandlerFunc
- type AddRemoteBucketParams
- type AddRemoteBucketURL
- func (o *AddRemoteBucketURL) Build() (*url.URL, error)
- func (o *AddRemoteBucketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddRemoteBucketURL) Must(u *url.URL, err error) *url.URL
- func (o *AddRemoteBucketURL) SetBasePath(bp string)
- func (o *AddRemoteBucketURL) String() string
- func (o *AddRemoteBucketURL) StringFull(scheme, host string) string
- func (o *AddRemoteBucketURL) WithBasePath(bp string) *AddRemoteBucketURL
- type BucketInfo
- type BucketInfoDefault
- func (o *BucketInfoDefault) SetPayload(payload *models.Error)
- func (o *BucketInfoDefault) SetStatusCode(code int)
- func (o *BucketInfoDefault) WithPayload(payload *models.Error) *BucketInfoDefault
- func (o *BucketInfoDefault) WithStatusCode(code int) *BucketInfoDefault
- func (o *BucketInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BucketInfoHandler
- type BucketInfoHandlerFunc
- type BucketInfoOK
- type BucketInfoParams
- type BucketInfoURL
- func (o *BucketInfoURL) Build() (*url.URL, error)
- func (o *BucketInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *BucketInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *BucketInfoURL) SetBasePath(bp string)
- func (o *BucketInfoURL) String() string
- func (o *BucketInfoURL) StringFull(scheme, host string) string
- func (o *BucketInfoURL) WithBasePath(bp string) *BucketInfoURL
- type BucketSetPolicy
- type BucketSetPolicyDefault
- func (o *BucketSetPolicyDefault) SetPayload(payload *models.Error)
- func (o *BucketSetPolicyDefault) SetStatusCode(code int)
- func (o *BucketSetPolicyDefault) WithPayload(payload *models.Error) *BucketSetPolicyDefault
- func (o *BucketSetPolicyDefault) WithStatusCode(code int) *BucketSetPolicyDefault
- func (o *BucketSetPolicyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BucketSetPolicyHandler
- type BucketSetPolicyHandlerFunc
- type BucketSetPolicyOK
- type BucketSetPolicyParams
- type BucketSetPolicyURL
- func (o *BucketSetPolicyURL) Build() (*url.URL, error)
- func (o *BucketSetPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *BucketSetPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *BucketSetPolicyURL) SetBasePath(bp string)
- func (o *BucketSetPolicyURL) String() string
- func (o *BucketSetPolicyURL) StringFull(scheme, host string) string
- func (o *BucketSetPolicyURL) WithBasePath(bp string) *BucketSetPolicyURL
- type CheckMinIOVersion
- type CheckMinIOVersionDefault
- func (o *CheckMinIOVersionDefault) SetPayload(payload *models.Error)
- func (o *CheckMinIOVersionDefault) SetStatusCode(code int)
- func (o *CheckMinIOVersionDefault) WithPayload(payload *models.Error) *CheckMinIOVersionDefault
- func (o *CheckMinIOVersionDefault) WithStatusCode(code int) *CheckMinIOVersionDefault
- func (o *CheckMinIOVersionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CheckMinIOVersionHandler
- type CheckMinIOVersionHandlerFunc
- type CheckMinIOVersionOK
- type CheckMinIOVersionParams
- type CheckMinIOVersionURL
- func (o *CheckMinIOVersionURL) Build() (*url.URL, error)
- func (o *CheckMinIOVersionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CheckMinIOVersionURL) Must(u *url.URL, err error) *url.URL
- func (o *CheckMinIOVersionURL) SetBasePath(bp string)
- func (o *CheckMinIOVersionURL) String() string
- func (o *CheckMinIOVersionURL) StringFull(scheme, host string) string
- func (o *CheckMinIOVersionURL) WithBasePath(bp string) *CheckMinIOVersionURL
- type CreateBucketEvent
- type CreateBucketEventCreated
- type CreateBucketEventDefault
- func (o *CreateBucketEventDefault) SetPayload(payload *models.Error)
- func (o *CreateBucketEventDefault) SetStatusCode(code int)
- func (o *CreateBucketEventDefault) WithPayload(payload *models.Error) *CreateBucketEventDefault
- func (o *CreateBucketEventDefault) WithStatusCode(code int) *CreateBucketEventDefault
- func (o *CreateBucketEventDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateBucketEventHandler
- type CreateBucketEventHandlerFunc
- type CreateBucketEventParams
- type CreateBucketEventURL
- func (o *CreateBucketEventURL) Build() (*url.URL, error)
- func (o *CreateBucketEventURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateBucketEventURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateBucketEventURL) SetBasePath(bp string)
- func (o *CreateBucketEventURL) String() string
- func (o *CreateBucketEventURL) StringFull(scheme, host string) string
- func (o *CreateBucketEventURL) WithBasePath(bp string) *CreateBucketEventURL
- type CreateServiceAccount
- type CreateServiceAccountCreated
- func (o *CreateServiceAccountCreated) SetPayload(payload *models.ServiceAccountCreds)
- func (o *CreateServiceAccountCreated) WithPayload(payload *models.ServiceAccountCreds) *CreateServiceAccountCreated
- func (o *CreateServiceAccountCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceAccountDefault
- func (o *CreateServiceAccountDefault) SetPayload(payload *models.Error)
- func (o *CreateServiceAccountDefault) SetStatusCode(code int)
- func (o *CreateServiceAccountDefault) WithPayload(payload *models.Error) *CreateServiceAccountDefault
- func (o *CreateServiceAccountDefault) WithStatusCode(code int) *CreateServiceAccountDefault
- func (o *CreateServiceAccountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceAccountHandler
- type CreateServiceAccountHandlerFunc
- type CreateServiceAccountParams
- type CreateServiceAccountURL
- func (o *CreateServiceAccountURL) Build() (*url.URL, error)
- func (o *CreateServiceAccountURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateServiceAccountURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateServiceAccountURL) SetBasePath(bp string)
- func (o *CreateServiceAccountURL) String() string
- func (o *CreateServiceAccountURL) StringFull(scheme, host string) string
- func (o *CreateServiceAccountURL) WithBasePath(bp string) *CreateServiceAccountURL
- type DeleteAllReplicationRules
- type DeleteAllReplicationRulesDefault
- func (o *DeleteAllReplicationRulesDefault) SetPayload(payload *models.Error)
- func (o *DeleteAllReplicationRulesDefault) SetStatusCode(code int)
- func (o *DeleteAllReplicationRulesDefault) WithPayload(payload *models.Error) *DeleteAllReplicationRulesDefault
- func (o *DeleteAllReplicationRulesDefault) WithStatusCode(code int) *DeleteAllReplicationRulesDefault
- func (o *DeleteAllReplicationRulesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteAllReplicationRulesHandler
- type DeleteAllReplicationRulesHandlerFunc
- type DeleteAllReplicationRulesNoContent
- type DeleteAllReplicationRulesParams
- type DeleteAllReplicationRulesURL
- func (o *DeleteAllReplicationRulesURL) Build() (*url.URL, error)
- func (o *DeleteAllReplicationRulesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteAllReplicationRulesURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteAllReplicationRulesURL) SetBasePath(bp string)
- func (o *DeleteAllReplicationRulesURL) String() string
- func (o *DeleteAllReplicationRulesURL) StringFull(scheme, host string) string
- func (o *DeleteAllReplicationRulesURL) WithBasePath(bp string) *DeleteAllReplicationRulesURL
- type DeleteBucket
- type DeleteBucketDefault
- func (o *DeleteBucketDefault) SetPayload(payload *models.Error)
- func (o *DeleteBucketDefault) SetStatusCode(code int)
- func (o *DeleteBucketDefault) WithPayload(payload *models.Error) *DeleteBucketDefault
- func (o *DeleteBucketDefault) WithStatusCode(code int) *DeleteBucketDefault
- func (o *DeleteBucketDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteBucketEvent
- type DeleteBucketEventDefault
- func (o *DeleteBucketEventDefault) SetPayload(payload *models.Error)
- func (o *DeleteBucketEventDefault) SetStatusCode(code int)
- func (o *DeleteBucketEventDefault) WithPayload(payload *models.Error) *DeleteBucketEventDefault
- func (o *DeleteBucketEventDefault) WithStatusCode(code int) *DeleteBucketEventDefault
- func (o *DeleteBucketEventDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteBucketEventHandler
- type DeleteBucketEventHandlerFunc
- type DeleteBucketEventNoContent
- type DeleteBucketEventParams
- type DeleteBucketEventURL
- func (o *DeleteBucketEventURL) Build() (*url.URL, error)
- func (o *DeleteBucketEventURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteBucketEventURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteBucketEventURL) SetBasePath(bp string)
- func (o *DeleteBucketEventURL) String() string
- func (o *DeleteBucketEventURL) StringFull(scheme, host string) string
- func (o *DeleteBucketEventURL) WithBasePath(bp string) *DeleteBucketEventURL
- type DeleteBucketHandler
- type DeleteBucketHandlerFunc
- type DeleteBucketLifecycleRule
- type DeleteBucketLifecycleRuleDefault
- func (o *DeleteBucketLifecycleRuleDefault) SetPayload(payload *models.Error)
- func (o *DeleteBucketLifecycleRuleDefault) SetStatusCode(code int)
- func (o *DeleteBucketLifecycleRuleDefault) WithPayload(payload *models.Error) *DeleteBucketLifecycleRuleDefault
- func (o *DeleteBucketLifecycleRuleDefault) WithStatusCode(code int) *DeleteBucketLifecycleRuleDefault
- func (o *DeleteBucketLifecycleRuleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteBucketLifecycleRuleHandler
- type DeleteBucketLifecycleRuleHandlerFunc
- type DeleteBucketLifecycleRuleNoContent
- type DeleteBucketLifecycleRuleParams
- type DeleteBucketLifecycleRuleURL
- func (o *DeleteBucketLifecycleRuleURL) Build() (*url.URL, error)
- func (o *DeleteBucketLifecycleRuleURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteBucketLifecycleRuleURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteBucketLifecycleRuleURL) SetBasePath(bp string)
- func (o *DeleteBucketLifecycleRuleURL) String() string
- func (o *DeleteBucketLifecycleRuleURL) StringFull(scheme, host string) string
- func (o *DeleteBucketLifecycleRuleURL) WithBasePath(bp string) *DeleteBucketLifecycleRuleURL
- type DeleteBucketNoContent
- type DeleteBucketParams
- type DeleteBucketReplicationRule
- type DeleteBucketReplicationRuleDefault
- func (o *DeleteBucketReplicationRuleDefault) SetPayload(payload *models.Error)
- func (o *DeleteBucketReplicationRuleDefault) SetStatusCode(code int)
- func (o *DeleteBucketReplicationRuleDefault) WithPayload(payload *models.Error) *DeleteBucketReplicationRuleDefault
- func (o *DeleteBucketReplicationRuleDefault) WithStatusCode(code int) *DeleteBucketReplicationRuleDefault
- func (o *DeleteBucketReplicationRuleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteBucketReplicationRuleHandler
- type DeleteBucketReplicationRuleHandlerFunc
- type DeleteBucketReplicationRuleNoContent
- type DeleteBucketReplicationRuleParams
- type DeleteBucketReplicationRuleURL
- func (o *DeleteBucketReplicationRuleURL) Build() (*url.URL, error)
- func (o *DeleteBucketReplicationRuleURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteBucketReplicationRuleURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteBucketReplicationRuleURL) SetBasePath(bp string)
- func (o *DeleteBucketReplicationRuleURL) String() string
- func (o *DeleteBucketReplicationRuleURL) StringFull(scheme, host string) string
- func (o *DeleteBucketReplicationRuleURL) WithBasePath(bp string) *DeleteBucketReplicationRuleURL
- type DeleteBucketURL
- func (o *DeleteBucketURL) Build() (*url.URL, error)
- func (o *DeleteBucketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteBucketURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteBucketURL) SetBasePath(bp string)
- func (o *DeleteBucketURL) String() string
- func (o *DeleteBucketURL) StringFull(scheme, host string) string
- func (o *DeleteBucketURL) WithBasePath(bp string) *DeleteBucketURL
- type DeleteMultipleObjects
- type DeleteMultipleObjectsDefault
- func (o *DeleteMultipleObjectsDefault) SetPayload(payload *models.Error)
- func (o *DeleteMultipleObjectsDefault) SetStatusCode(code int)
- func (o *DeleteMultipleObjectsDefault) WithPayload(payload *models.Error) *DeleteMultipleObjectsDefault
- func (o *DeleteMultipleObjectsDefault) WithStatusCode(code int) *DeleteMultipleObjectsDefault
- func (o *DeleteMultipleObjectsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteMultipleObjectsHandler
- type DeleteMultipleObjectsHandlerFunc
- type DeleteMultipleObjectsOK
- type DeleteMultipleObjectsParams
- type DeleteMultipleObjectsURL
- func (o *DeleteMultipleObjectsURL) Build() (*url.URL, error)
- func (o *DeleteMultipleObjectsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteMultipleObjectsURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteMultipleObjectsURL) SetBasePath(bp string)
- func (o *DeleteMultipleObjectsURL) String() string
- func (o *DeleteMultipleObjectsURL) StringFull(scheme, host string) string
- func (o *DeleteMultipleObjectsURL) WithBasePath(bp string) *DeleteMultipleObjectsURL
- type DeleteMultipleServiceAccounts
- type DeleteMultipleServiceAccountsDefault
- func (o *DeleteMultipleServiceAccountsDefault) SetPayload(payload *models.Error)
- func (o *DeleteMultipleServiceAccountsDefault) SetStatusCode(code int)
- func (o *DeleteMultipleServiceAccountsDefault) WithPayload(payload *models.Error) *DeleteMultipleServiceAccountsDefault
- func (o *DeleteMultipleServiceAccountsDefault) WithStatusCode(code int) *DeleteMultipleServiceAccountsDefault
- func (o *DeleteMultipleServiceAccountsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteMultipleServiceAccountsHandler
- type DeleteMultipleServiceAccountsHandlerFunc
- type DeleteMultipleServiceAccountsNoContent
- type DeleteMultipleServiceAccountsParams
- type DeleteMultipleServiceAccountsURL
- func (o *DeleteMultipleServiceAccountsURL) Build() (*url.URL, error)
- func (o *DeleteMultipleServiceAccountsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteMultipleServiceAccountsURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteMultipleServiceAccountsURL) SetBasePath(bp string)
- func (o *DeleteMultipleServiceAccountsURL) String() string
- func (o *DeleteMultipleServiceAccountsURL) StringFull(scheme, host string) string
- func (o *DeleteMultipleServiceAccountsURL) WithBasePath(bp string) *DeleteMultipleServiceAccountsURL
- type DeleteObject
- type DeleteObjectDefault
- func (o *DeleteObjectDefault) SetPayload(payload *models.Error)
- func (o *DeleteObjectDefault) SetStatusCode(code int)
- func (o *DeleteObjectDefault) WithPayload(payload *models.Error) *DeleteObjectDefault
- func (o *DeleteObjectDefault) WithStatusCode(code int) *DeleteObjectDefault
- func (o *DeleteObjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteObjectHandler
- type DeleteObjectHandlerFunc
- type DeleteObjectOK
- type DeleteObjectParams
- type DeleteObjectRetention
- type DeleteObjectRetentionDefault
- func (o *DeleteObjectRetentionDefault) SetPayload(payload *models.Error)
- func (o *DeleteObjectRetentionDefault) SetStatusCode(code int)
- func (o *DeleteObjectRetentionDefault) WithPayload(payload *models.Error) *DeleteObjectRetentionDefault
- func (o *DeleteObjectRetentionDefault) WithStatusCode(code int) *DeleteObjectRetentionDefault
- func (o *DeleteObjectRetentionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteObjectRetentionHandler
- type DeleteObjectRetentionHandlerFunc
- type DeleteObjectRetentionOK
- type DeleteObjectRetentionParams
- type DeleteObjectRetentionURL
- func (o *DeleteObjectRetentionURL) Build() (*url.URL, error)
- func (o *DeleteObjectRetentionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteObjectRetentionURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteObjectRetentionURL) SetBasePath(bp string)
- func (o *DeleteObjectRetentionURL) String() string
- func (o *DeleteObjectRetentionURL) StringFull(scheme, host string) string
- func (o *DeleteObjectRetentionURL) WithBasePath(bp string) *DeleteObjectRetentionURL
- type DeleteObjectURL
- func (o *DeleteObjectURL) Build() (*url.URL, error)
- func (o *DeleteObjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteObjectURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteObjectURL) SetBasePath(bp string)
- func (o *DeleteObjectURL) String() string
- func (o *DeleteObjectURL) StringFull(scheme, host string) string
- func (o *DeleteObjectURL) WithBasePath(bp string) *DeleteObjectURL
- type DeleteRemoteBucket
- type DeleteRemoteBucketDefault
- func (o *DeleteRemoteBucketDefault) SetPayload(payload *models.Error)
- func (o *DeleteRemoteBucketDefault) SetStatusCode(code int)
- func (o *DeleteRemoteBucketDefault) WithPayload(payload *models.Error) *DeleteRemoteBucketDefault
- func (o *DeleteRemoteBucketDefault) WithStatusCode(code int) *DeleteRemoteBucketDefault
- func (o *DeleteRemoteBucketDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteRemoteBucketHandler
- type DeleteRemoteBucketHandlerFunc
- type DeleteRemoteBucketNoContent
- type DeleteRemoteBucketParams
- type DeleteRemoteBucketURL
- func (o *DeleteRemoteBucketURL) Build() (*url.URL, error)
- func (o *DeleteRemoteBucketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteRemoteBucketURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteRemoteBucketURL) SetBasePath(bp string)
- func (o *DeleteRemoteBucketURL) String() string
- func (o *DeleteRemoteBucketURL) StringFull(scheme, host string) string
- func (o *DeleteRemoteBucketURL) WithBasePath(bp string) *DeleteRemoteBucketURL
- type DeleteSelectedReplicationRules
- type DeleteSelectedReplicationRulesDefault
- func (o *DeleteSelectedReplicationRulesDefault) SetPayload(payload *models.Error)
- func (o *DeleteSelectedReplicationRulesDefault) SetStatusCode(code int)
- func (o *DeleteSelectedReplicationRulesDefault) WithPayload(payload *models.Error) *DeleteSelectedReplicationRulesDefault
- func (o *DeleteSelectedReplicationRulesDefault) WithStatusCode(code int) *DeleteSelectedReplicationRulesDefault
- func (o *DeleteSelectedReplicationRulesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteSelectedReplicationRulesHandler
- type DeleteSelectedReplicationRulesHandlerFunc
- type DeleteSelectedReplicationRulesNoContent
- type DeleteSelectedReplicationRulesParams
- type DeleteSelectedReplicationRulesURL
- func (o *DeleteSelectedReplicationRulesURL) Build() (*url.URL, error)
- func (o *DeleteSelectedReplicationRulesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteSelectedReplicationRulesURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteSelectedReplicationRulesURL) SetBasePath(bp string)
- func (o *DeleteSelectedReplicationRulesURL) String() string
- func (o *DeleteSelectedReplicationRulesURL) StringFull(scheme, host string) string
- func (o *DeleteSelectedReplicationRulesURL) WithBasePath(bp string) *DeleteSelectedReplicationRulesURL
- type DeleteServiceAccount
- type DeleteServiceAccountDefault
- func (o *DeleteServiceAccountDefault) SetPayload(payload *models.Error)
- func (o *DeleteServiceAccountDefault) SetStatusCode(code int)
- func (o *DeleteServiceAccountDefault) WithPayload(payload *models.Error) *DeleteServiceAccountDefault
- func (o *DeleteServiceAccountDefault) WithStatusCode(code int) *DeleteServiceAccountDefault
- func (o *DeleteServiceAccountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteServiceAccountHandler
- type DeleteServiceAccountHandlerFunc
- type DeleteServiceAccountNoContent
- type DeleteServiceAccountParams
- type DeleteServiceAccountURL
- func (o *DeleteServiceAccountURL) Build() (*url.URL, error)
- func (o *DeleteServiceAccountURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteServiceAccountURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteServiceAccountURL) SetBasePath(bp string)
- func (o *DeleteServiceAccountURL) String() string
- func (o *DeleteServiceAccountURL) StringFull(scheme, host string) string
- func (o *DeleteServiceAccountURL) WithBasePath(bp string) *DeleteServiceAccountURL
- type DisableBucketEncryption
- type DisableBucketEncryptionDefault
- func (o *DisableBucketEncryptionDefault) SetPayload(payload *models.Error)
- func (o *DisableBucketEncryptionDefault) SetStatusCode(code int)
- func (o *DisableBucketEncryptionDefault) WithPayload(payload *models.Error) *DisableBucketEncryptionDefault
- func (o *DisableBucketEncryptionDefault) WithStatusCode(code int) *DisableBucketEncryptionDefault
- func (o *DisableBucketEncryptionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DisableBucketEncryptionHandler
- type DisableBucketEncryptionHandlerFunc
- type DisableBucketEncryptionOK
- type DisableBucketEncryptionParams
- type DisableBucketEncryptionURL
- func (o *DisableBucketEncryptionURL) Build() (*url.URL, error)
- func (o *DisableBucketEncryptionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DisableBucketEncryptionURL) Must(u *url.URL, err error) *url.URL
- func (o *DisableBucketEncryptionURL) SetBasePath(bp string)
- func (o *DisableBucketEncryptionURL) String() string
- func (o *DisableBucketEncryptionURL) StringFull(scheme, host string) string
- func (o *DisableBucketEncryptionURL) WithBasePath(bp string) *DisableBucketEncryptionURL
- type DownloadObject
- type DownloadObjectDefault
- func (o *DownloadObjectDefault) SetPayload(payload *models.Error)
- func (o *DownloadObjectDefault) SetStatusCode(code int)
- func (o *DownloadObjectDefault) WithPayload(payload *models.Error) *DownloadObjectDefault
- func (o *DownloadObjectDefault) WithStatusCode(code int) *DownloadObjectDefault
- func (o *DownloadObjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadObjectHandler
- type DownloadObjectHandlerFunc
- type DownloadObjectOK
- type DownloadObjectParams
- type DownloadObjectURL
- func (o *DownloadObjectURL) Build() (*url.URL, error)
- func (o *DownloadObjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DownloadObjectURL) Must(u *url.URL, err error) *url.URL
- func (o *DownloadObjectURL) SetBasePath(bp string)
- func (o *DownloadObjectURL) String() string
- func (o *DownloadObjectURL) StringFull(scheme, host string) string
- func (o *DownloadObjectURL) WithBasePath(bp string) *DownloadObjectURL
- type EnableBucketEncryption
- type EnableBucketEncryptionDefault
- func (o *EnableBucketEncryptionDefault) SetPayload(payload *models.Error)
- func (o *EnableBucketEncryptionDefault) SetStatusCode(code int)
- func (o *EnableBucketEncryptionDefault) WithPayload(payload *models.Error) *EnableBucketEncryptionDefault
- func (o *EnableBucketEncryptionDefault) WithStatusCode(code int) *EnableBucketEncryptionDefault
- func (o *EnableBucketEncryptionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnableBucketEncryptionHandler
- type EnableBucketEncryptionHandlerFunc
- type EnableBucketEncryptionOK
- type EnableBucketEncryptionParams
- type EnableBucketEncryptionURL
- func (o *EnableBucketEncryptionURL) Build() (*url.URL, error)
- func (o *EnableBucketEncryptionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *EnableBucketEncryptionURL) Must(u *url.URL, err error) *url.URL
- func (o *EnableBucketEncryptionURL) SetBasePath(bp string)
- func (o *EnableBucketEncryptionURL) String() string
- func (o *EnableBucketEncryptionURL) StringFull(scheme, host string) string
- func (o *EnableBucketEncryptionURL) WithBasePath(bp string) *EnableBucketEncryptionURL
- type GetBucketEncryptionInfo
- type GetBucketEncryptionInfoDefault
- func (o *GetBucketEncryptionInfoDefault) SetPayload(payload *models.Error)
- func (o *GetBucketEncryptionInfoDefault) SetStatusCode(code int)
- func (o *GetBucketEncryptionInfoDefault) WithPayload(payload *models.Error) *GetBucketEncryptionInfoDefault
- func (o *GetBucketEncryptionInfoDefault) WithStatusCode(code int) *GetBucketEncryptionInfoDefault
- func (o *GetBucketEncryptionInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBucketEncryptionInfoHandler
- type GetBucketEncryptionInfoHandlerFunc
- type GetBucketEncryptionInfoOK
- type GetBucketEncryptionInfoParams
- type GetBucketEncryptionInfoURL
- func (o *GetBucketEncryptionInfoURL) Build() (*url.URL, error)
- func (o *GetBucketEncryptionInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetBucketEncryptionInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *GetBucketEncryptionInfoURL) SetBasePath(bp string)
- func (o *GetBucketEncryptionInfoURL) String() string
- func (o *GetBucketEncryptionInfoURL) StringFull(scheme, host string) string
- func (o *GetBucketEncryptionInfoURL) WithBasePath(bp string) *GetBucketEncryptionInfoURL
- type GetBucketLifecycle
- type GetBucketLifecycleDefault
- func (o *GetBucketLifecycleDefault) SetPayload(payload *models.Error)
- func (o *GetBucketLifecycleDefault) SetStatusCode(code int)
- func (o *GetBucketLifecycleDefault) WithPayload(payload *models.Error) *GetBucketLifecycleDefault
- func (o *GetBucketLifecycleDefault) WithStatusCode(code int) *GetBucketLifecycleDefault
- func (o *GetBucketLifecycleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBucketLifecycleHandler
- type GetBucketLifecycleHandlerFunc
- type GetBucketLifecycleOK
- type GetBucketLifecycleParams
- type GetBucketLifecycleURL
- func (o *GetBucketLifecycleURL) Build() (*url.URL, error)
- func (o *GetBucketLifecycleURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetBucketLifecycleURL) Must(u *url.URL, err error) *url.URL
- func (o *GetBucketLifecycleURL) SetBasePath(bp string)
- func (o *GetBucketLifecycleURL) String() string
- func (o *GetBucketLifecycleURL) StringFull(scheme, host string) string
- func (o *GetBucketLifecycleURL) WithBasePath(bp string) *GetBucketLifecycleURL
- type GetBucketObjectLockingStatus
- type GetBucketObjectLockingStatusDefault
- func (o *GetBucketObjectLockingStatusDefault) SetPayload(payload *models.Error)
- func (o *GetBucketObjectLockingStatusDefault) SetStatusCode(code int)
- func (o *GetBucketObjectLockingStatusDefault) WithPayload(payload *models.Error) *GetBucketObjectLockingStatusDefault
- func (o *GetBucketObjectLockingStatusDefault) WithStatusCode(code int) *GetBucketObjectLockingStatusDefault
- func (o *GetBucketObjectLockingStatusDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBucketObjectLockingStatusHandler
- type GetBucketObjectLockingStatusHandlerFunc
- type GetBucketObjectLockingStatusOK
- func (o *GetBucketObjectLockingStatusOK) SetPayload(payload *models.BucketObLockingResponse)
- func (o *GetBucketObjectLockingStatusOK) WithPayload(payload *models.BucketObLockingResponse) *GetBucketObjectLockingStatusOK
- func (o *GetBucketObjectLockingStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBucketObjectLockingStatusParams
- type GetBucketObjectLockingStatusURL
- func (o *GetBucketObjectLockingStatusURL) Build() (*url.URL, error)
- func (o *GetBucketObjectLockingStatusURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetBucketObjectLockingStatusURL) Must(u *url.URL, err error) *url.URL
- func (o *GetBucketObjectLockingStatusURL) SetBasePath(bp string)
- func (o *GetBucketObjectLockingStatusURL) String() string
- func (o *GetBucketObjectLockingStatusURL) StringFull(scheme, host string) string
- func (o *GetBucketObjectLockingStatusURL) WithBasePath(bp string) *GetBucketObjectLockingStatusURL
- type GetBucketQuota
- type GetBucketQuotaDefault
- func (o *GetBucketQuotaDefault) SetPayload(payload *models.Error)
- func (o *GetBucketQuotaDefault) SetStatusCode(code int)
- func (o *GetBucketQuotaDefault) WithPayload(payload *models.Error) *GetBucketQuotaDefault
- func (o *GetBucketQuotaDefault) WithStatusCode(code int) *GetBucketQuotaDefault
- func (o *GetBucketQuotaDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBucketQuotaHandler
- type GetBucketQuotaHandlerFunc
- type GetBucketQuotaOK
- type GetBucketQuotaParams
- type GetBucketQuotaURL
- func (o *GetBucketQuotaURL) Build() (*url.URL, error)
- func (o *GetBucketQuotaURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetBucketQuotaURL) Must(u *url.URL, err error) *url.URL
- func (o *GetBucketQuotaURL) SetBasePath(bp string)
- func (o *GetBucketQuotaURL) String() string
- func (o *GetBucketQuotaURL) StringFull(scheme, host string) string
- func (o *GetBucketQuotaURL) WithBasePath(bp string) *GetBucketQuotaURL
- type GetBucketReplication
- type GetBucketReplicationDefault
- func (o *GetBucketReplicationDefault) SetPayload(payload *models.Error)
- func (o *GetBucketReplicationDefault) SetStatusCode(code int)
- func (o *GetBucketReplicationDefault) WithPayload(payload *models.Error) *GetBucketReplicationDefault
- func (o *GetBucketReplicationDefault) WithStatusCode(code int) *GetBucketReplicationDefault
- func (o *GetBucketReplicationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBucketReplicationHandler
- type GetBucketReplicationHandlerFunc
- type GetBucketReplicationOK
- type GetBucketReplicationParams
- type GetBucketReplicationRule
- type GetBucketReplicationRuleDefault
- func (o *GetBucketReplicationRuleDefault) SetPayload(payload *models.Error)
- func (o *GetBucketReplicationRuleDefault) SetStatusCode(code int)
- func (o *GetBucketReplicationRuleDefault) WithPayload(payload *models.Error) *GetBucketReplicationRuleDefault
- func (o *GetBucketReplicationRuleDefault) WithStatusCode(code int) *GetBucketReplicationRuleDefault
- func (o *GetBucketReplicationRuleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBucketReplicationRuleHandler
- type GetBucketReplicationRuleHandlerFunc
- type GetBucketReplicationRuleOK
- func (o *GetBucketReplicationRuleOK) SetPayload(payload *models.BucketReplicationRule)
- func (o *GetBucketReplicationRuleOK) WithPayload(payload *models.BucketReplicationRule) *GetBucketReplicationRuleOK
- func (o *GetBucketReplicationRuleOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBucketReplicationRuleParams
- type GetBucketReplicationRuleURL
- func (o *GetBucketReplicationRuleURL) Build() (*url.URL, error)
- func (o *GetBucketReplicationRuleURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetBucketReplicationRuleURL) Must(u *url.URL, err error) *url.URL
- func (o *GetBucketReplicationRuleURL) SetBasePath(bp string)
- func (o *GetBucketReplicationRuleURL) String() string
- func (o *GetBucketReplicationRuleURL) StringFull(scheme, host string) string
- func (o *GetBucketReplicationRuleURL) WithBasePath(bp string) *GetBucketReplicationRuleURL
- type GetBucketReplicationURL
- func (o *GetBucketReplicationURL) Build() (*url.URL, error)
- func (o *GetBucketReplicationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetBucketReplicationURL) Must(u *url.URL, err error) *url.URL
- func (o *GetBucketReplicationURL) SetBasePath(bp string)
- func (o *GetBucketReplicationURL) String() string
- func (o *GetBucketReplicationURL) StringFull(scheme, host string) string
- func (o *GetBucketReplicationURL) WithBasePath(bp string) *GetBucketReplicationURL
- type GetBucketRetentionConfig
- type GetBucketRetentionConfigDefault
- func (o *GetBucketRetentionConfigDefault) SetPayload(payload *models.Error)
- func (o *GetBucketRetentionConfigDefault) SetStatusCode(code int)
- func (o *GetBucketRetentionConfigDefault) WithPayload(payload *models.Error) *GetBucketRetentionConfigDefault
- func (o *GetBucketRetentionConfigDefault) WithStatusCode(code int) *GetBucketRetentionConfigDefault
- func (o *GetBucketRetentionConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBucketRetentionConfigHandler
- type GetBucketRetentionConfigHandlerFunc
- type GetBucketRetentionConfigOK
- func (o *GetBucketRetentionConfigOK) SetPayload(payload *models.GetBucketRetentionConfig)
- func (o *GetBucketRetentionConfigOK) WithPayload(payload *models.GetBucketRetentionConfig) *GetBucketRetentionConfigOK
- func (o *GetBucketRetentionConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBucketRetentionConfigParams
- type GetBucketRetentionConfigURL
- func (o *GetBucketRetentionConfigURL) Build() (*url.URL, error)
- func (o *GetBucketRetentionConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetBucketRetentionConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *GetBucketRetentionConfigURL) SetBasePath(bp string)
- func (o *GetBucketRetentionConfigURL) String() string
- func (o *GetBucketRetentionConfigURL) StringFull(scheme, host string) string
- func (o *GetBucketRetentionConfigURL) WithBasePath(bp string) *GetBucketRetentionConfigURL
- type GetBucketRewind
- type GetBucketRewindDefault
- func (o *GetBucketRewindDefault) SetPayload(payload *models.Error)
- func (o *GetBucketRewindDefault) SetStatusCode(code int)
- func (o *GetBucketRewindDefault) WithPayload(payload *models.Error) *GetBucketRewindDefault
- func (o *GetBucketRewindDefault) WithStatusCode(code int) *GetBucketRewindDefault
- func (o *GetBucketRewindDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBucketRewindHandler
- type GetBucketRewindHandlerFunc
- type GetBucketRewindOK
- type GetBucketRewindParams
- type GetBucketRewindURL
- func (o *GetBucketRewindURL) Build() (*url.URL, error)
- func (o *GetBucketRewindURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetBucketRewindURL) Must(u *url.URL, err error) *url.URL
- func (o *GetBucketRewindURL) SetBasePath(bp string)
- func (o *GetBucketRewindURL) String() string
- func (o *GetBucketRewindURL) StringFull(scheme, host string) string
- func (o *GetBucketRewindURL) WithBasePath(bp string) *GetBucketRewindURL
- type GetBucketVersioning
- type GetBucketVersioningDefault
- func (o *GetBucketVersioningDefault) SetPayload(payload *models.Error)
- func (o *GetBucketVersioningDefault) SetStatusCode(code int)
- func (o *GetBucketVersioningDefault) WithPayload(payload *models.Error) *GetBucketVersioningDefault
- func (o *GetBucketVersioningDefault) WithStatusCode(code int) *GetBucketVersioningDefault
- func (o *GetBucketVersioningDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBucketVersioningHandler
- type GetBucketVersioningHandlerFunc
- type GetBucketVersioningOK
- type GetBucketVersioningParams
- type GetBucketVersioningURL
- func (o *GetBucketVersioningURL) Build() (*url.URL, error)
- func (o *GetBucketVersioningURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetBucketVersioningURL) Must(u *url.URL, err error) *url.URL
- func (o *GetBucketVersioningURL) SetBasePath(bp string)
- func (o *GetBucketVersioningURL) String() string
- func (o *GetBucketVersioningURL) StringFull(scheme, host string) string
- func (o *GetBucketVersioningURL) WithBasePath(bp string) *GetBucketVersioningURL
- type GetObjectMetadata
- type GetObjectMetadataDefault
- func (o *GetObjectMetadataDefault) SetPayload(payload *models.Error)
- func (o *GetObjectMetadataDefault) SetStatusCode(code int)
- func (o *GetObjectMetadataDefault) WithPayload(payload *models.Error) *GetObjectMetadataDefault
- func (o *GetObjectMetadataDefault) WithStatusCode(code int) *GetObjectMetadataDefault
- func (o *GetObjectMetadataDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetObjectMetadataHandler
- type GetObjectMetadataHandlerFunc
- type GetObjectMetadataOK
- type GetObjectMetadataParams
- type GetObjectMetadataURL
- func (o *GetObjectMetadataURL) Build() (*url.URL, error)
- func (o *GetObjectMetadataURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetObjectMetadataURL) Must(u *url.URL, err error) *url.URL
- func (o *GetObjectMetadataURL) SetBasePath(bp string)
- func (o *GetObjectMetadataURL) String() string
- func (o *GetObjectMetadataURL) StringFull(scheme, host string) string
- func (o *GetObjectMetadataURL) WithBasePath(bp string) *GetObjectMetadataURL
- type GetServiceAccountPolicy
- type GetServiceAccountPolicyDefault
- func (o *GetServiceAccountPolicyDefault) SetPayload(payload *models.Error)
- func (o *GetServiceAccountPolicyDefault) SetStatusCode(code int)
- func (o *GetServiceAccountPolicyDefault) WithPayload(payload *models.Error) *GetServiceAccountPolicyDefault
- func (o *GetServiceAccountPolicyDefault) WithStatusCode(code int) *GetServiceAccountPolicyDefault
- func (o *GetServiceAccountPolicyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceAccountPolicyHandler
- type GetServiceAccountPolicyHandlerFunc
- type GetServiceAccountPolicyOK
- type GetServiceAccountPolicyParams
- type GetServiceAccountPolicyURL
- func (o *GetServiceAccountPolicyURL) Build() (*url.URL, error)
- func (o *GetServiceAccountPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServiceAccountPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServiceAccountPolicyURL) SetBasePath(bp string)
- func (o *GetServiceAccountPolicyURL) String() string
- func (o *GetServiceAccountPolicyURL) StringFull(scheme, host string) string
- func (o *GetServiceAccountPolicyURL) WithBasePath(bp string) *GetServiceAccountPolicyURL
- type ListBucketEvents
- type ListBucketEventsDefault
- func (o *ListBucketEventsDefault) SetPayload(payload *models.Error)
- func (o *ListBucketEventsDefault) SetStatusCode(code int)
- func (o *ListBucketEventsDefault) WithPayload(payload *models.Error) *ListBucketEventsDefault
- func (o *ListBucketEventsDefault) WithStatusCode(code int) *ListBucketEventsDefault
- func (o *ListBucketEventsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListBucketEventsHandler
- type ListBucketEventsHandlerFunc
- type ListBucketEventsOK
- type ListBucketEventsParams
- type ListBucketEventsURL
- func (o *ListBucketEventsURL) Build() (*url.URL, error)
- func (o *ListBucketEventsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListBucketEventsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListBucketEventsURL) SetBasePath(bp string)
- func (o *ListBucketEventsURL) String() string
- func (o *ListBucketEventsURL) StringFull(scheme, host string) string
- func (o *ListBucketEventsURL) WithBasePath(bp string) *ListBucketEventsURL
- type ListBuckets
- type ListBucketsDefault
- func (o *ListBucketsDefault) SetPayload(payload *models.Error)
- func (o *ListBucketsDefault) SetStatusCode(code int)
- func (o *ListBucketsDefault) WithPayload(payload *models.Error) *ListBucketsDefault
- func (o *ListBucketsDefault) WithStatusCode(code int) *ListBucketsDefault
- func (o *ListBucketsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListBucketsHandler
- type ListBucketsHandlerFunc
- type ListBucketsOK
- type ListBucketsParams
- type ListBucketsURL
- func (o *ListBucketsURL) Build() (*url.URL, error)
- func (o *ListBucketsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListBucketsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListBucketsURL) SetBasePath(bp string)
- func (o *ListBucketsURL) String() string
- func (o *ListBucketsURL) StringFull(scheme, host string) string
- func (o *ListBucketsURL) WithBasePath(bp string) *ListBucketsURL
- type ListExternalBuckets
- type ListExternalBucketsDefault
- func (o *ListExternalBucketsDefault) SetPayload(payload *models.Error)
- func (o *ListExternalBucketsDefault) SetStatusCode(code int)
- func (o *ListExternalBucketsDefault) WithPayload(payload *models.Error) *ListExternalBucketsDefault
- func (o *ListExternalBucketsDefault) WithStatusCode(code int) *ListExternalBucketsDefault
- func (o *ListExternalBucketsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListExternalBucketsHandler
- type ListExternalBucketsHandlerFunc
- type ListExternalBucketsOK
- type ListExternalBucketsParams
- type ListExternalBucketsURL
- func (o *ListExternalBucketsURL) Build() (*url.URL, error)
- func (o *ListExternalBucketsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListExternalBucketsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListExternalBucketsURL) SetBasePath(bp string)
- func (o *ListExternalBucketsURL) String() string
- func (o *ListExternalBucketsURL) StringFull(scheme, host string) string
- func (o *ListExternalBucketsURL) WithBasePath(bp string) *ListExternalBucketsURL
- type ListObjects
- type ListObjectsDefault
- func (o *ListObjectsDefault) SetPayload(payload *models.Error)
- func (o *ListObjectsDefault) SetStatusCode(code int)
- func (o *ListObjectsDefault) WithPayload(payload *models.Error) *ListObjectsDefault
- func (o *ListObjectsDefault) WithStatusCode(code int) *ListObjectsDefault
- func (o *ListObjectsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListObjectsHandler
- type ListObjectsHandlerFunc
- type ListObjectsOK
- type ListObjectsParams
- type ListObjectsURL
- func (o *ListObjectsURL) Build() (*url.URL, error)
- func (o *ListObjectsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListObjectsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListObjectsURL) SetBasePath(bp string)
- func (o *ListObjectsURL) String() string
- func (o *ListObjectsURL) StringFull(scheme, host string) string
- func (o *ListObjectsURL) WithBasePath(bp string) *ListObjectsURL
- type ListRemoteBuckets
- type ListRemoteBucketsDefault
- func (o *ListRemoteBucketsDefault) SetPayload(payload *models.Error)
- func (o *ListRemoteBucketsDefault) SetStatusCode(code int)
- func (o *ListRemoteBucketsDefault) WithPayload(payload *models.Error) *ListRemoteBucketsDefault
- func (o *ListRemoteBucketsDefault) WithStatusCode(code int) *ListRemoteBucketsDefault
- func (o *ListRemoteBucketsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListRemoteBucketsHandler
- type ListRemoteBucketsHandlerFunc
- type ListRemoteBucketsOK
- type ListRemoteBucketsParams
- type ListRemoteBucketsURL
- func (o *ListRemoteBucketsURL) Build() (*url.URL, error)
- func (o *ListRemoteBucketsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListRemoteBucketsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListRemoteBucketsURL) SetBasePath(bp string)
- func (o *ListRemoteBucketsURL) String() string
- func (o *ListRemoteBucketsURL) StringFull(scheme, host string) string
- func (o *ListRemoteBucketsURL) WithBasePath(bp string) *ListRemoteBucketsURL
- type ListUserServiceAccounts
- type ListUserServiceAccountsDefault
- func (o *ListUserServiceAccountsDefault) SetPayload(payload *models.Error)
- func (o *ListUserServiceAccountsDefault) SetStatusCode(code int)
- func (o *ListUserServiceAccountsDefault) WithPayload(payload *models.Error) *ListUserServiceAccountsDefault
- func (o *ListUserServiceAccountsDefault) WithStatusCode(code int) *ListUserServiceAccountsDefault
- func (o *ListUserServiceAccountsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListUserServiceAccountsHandler
- type ListUserServiceAccountsHandlerFunc
- type ListUserServiceAccountsOK
- type ListUserServiceAccountsParams
- type ListUserServiceAccountsURL
- func (o *ListUserServiceAccountsURL) Build() (*url.URL, error)
- func (o *ListUserServiceAccountsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListUserServiceAccountsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListUserServiceAccountsURL) SetBasePath(bp string)
- func (o *ListUserServiceAccountsURL) String() string
- func (o *ListUserServiceAccountsURL) StringFull(scheme, host string) string
- func (o *ListUserServiceAccountsURL) WithBasePath(bp string) *ListUserServiceAccountsURL
- type LogSearch
- type LogSearchDefault
- func (o *LogSearchDefault) SetPayload(payload *models.Error)
- func (o *LogSearchDefault) SetStatusCode(code int)
- func (o *LogSearchDefault) WithPayload(payload *models.Error) *LogSearchDefault
- func (o *LogSearchDefault) WithStatusCode(code int) *LogSearchDefault
- func (o *LogSearchDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LogSearchHandler
- type LogSearchHandlerFunc
- type LogSearchOK
- type LogSearchParams
- type LogSearchURL
- func (o *LogSearchURL) Build() (*url.URL, error)
- func (o *LogSearchURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *LogSearchURL) Must(u *url.URL, err error) *url.URL
- func (o *LogSearchURL) SetBasePath(bp string)
- func (o *LogSearchURL) String() string
- func (o *LogSearchURL) StringFull(scheme, host string) string
- func (o *LogSearchURL) WithBasePath(bp string) *LogSearchURL
- type Login
- type LoginDefault
- func (o *LoginDefault) SetPayload(payload *models.Error)
- func (o *LoginDefault) SetStatusCode(code int)
- func (o *LoginDefault) WithPayload(payload *models.Error) *LoginDefault
- func (o *LoginDefault) WithStatusCode(code int) *LoginDefault
- func (o *LoginDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LoginDetail
- type LoginDetailDefault
- func (o *LoginDetailDefault) SetPayload(payload *models.Error)
- func (o *LoginDetailDefault) SetStatusCode(code int)
- func (o *LoginDetailDefault) WithPayload(payload *models.Error) *LoginDetailDefault
- func (o *LoginDetailDefault) WithStatusCode(code int) *LoginDetailDefault
- func (o *LoginDetailDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LoginDetailHandler
- type LoginDetailHandlerFunc
- type LoginDetailOK
- type LoginDetailParams
- type LoginDetailURL
- func (o *LoginDetailURL) Build() (*url.URL, error)
- func (o *LoginDetailURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *LoginDetailURL) Must(u *url.URL, err error) *url.URL
- func (o *LoginDetailURL) SetBasePath(bp string)
- func (o *LoginDetailURL) String() string
- func (o *LoginDetailURL) StringFull(scheme, host string) string
- func (o *LoginDetailURL) WithBasePath(bp string) *LoginDetailURL
- type LoginHandler
- type LoginHandlerFunc
- type LoginNoContent
- type LoginOauth2Auth
- type LoginOauth2AuthDefault
- func (o *LoginOauth2AuthDefault) SetPayload(payload *models.Error)
- func (o *LoginOauth2AuthDefault) SetStatusCode(code int)
- func (o *LoginOauth2AuthDefault) WithPayload(payload *models.Error) *LoginOauth2AuthDefault
- func (o *LoginOauth2AuthDefault) WithStatusCode(code int) *LoginOauth2AuthDefault
- func (o *LoginOauth2AuthDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LoginOauth2AuthHandler
- type LoginOauth2AuthHandlerFunc
- type LoginOauth2AuthNoContent
- type LoginOauth2AuthParams
- type LoginOauth2AuthURL
- func (o *LoginOauth2AuthURL) Build() (*url.URL, error)
- func (o *LoginOauth2AuthURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *LoginOauth2AuthURL) Must(u *url.URL, err error) *url.URL
- func (o *LoginOauth2AuthURL) SetBasePath(bp string)
- func (o *LoginOauth2AuthURL) String() string
- func (o *LoginOauth2AuthURL) StringFull(scheme, host string) string
- func (o *LoginOauth2AuthURL) WithBasePath(bp string) *LoginOauth2AuthURL
- type LoginParams
- type LoginURL
- func (o *LoginURL) Build() (*url.URL, error)
- func (o *LoginURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *LoginURL) Must(u *url.URL, err error) *url.URL
- func (o *LoginURL) SetBasePath(bp string)
- func (o *LoginURL) String() string
- func (o *LoginURL) StringFull(scheme, host string) string
- func (o *LoginURL) WithBasePath(bp string) *LoginURL
- type Logout
- type LogoutDefault
- func (o *LogoutDefault) SetPayload(payload *models.Error)
- func (o *LogoutDefault) SetStatusCode(code int)
- func (o *LogoutDefault) WithPayload(payload *models.Error) *LogoutDefault
- func (o *LogoutDefault) WithStatusCode(code int) *LogoutDefault
- func (o *LogoutDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LogoutHandler
- type LogoutHandlerFunc
- type LogoutOK
- type LogoutParams
- type LogoutURL
- func (o *LogoutURL) Build() (*url.URL, error)
- func (o *LogoutURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *LogoutURL) Must(u *url.URL, err error) *url.URL
- func (o *LogoutURL) SetBasePath(bp string)
- func (o *LogoutURL) String() string
- func (o *LogoutURL) StringFull(scheme, host string) string
- func (o *LogoutURL) WithBasePath(bp string) *LogoutURL
- type MakeBucket
- type MakeBucketCreated
- type MakeBucketDefault
- func (o *MakeBucketDefault) SetPayload(payload *models.Error)
- func (o *MakeBucketDefault) SetStatusCode(code int)
- func (o *MakeBucketDefault) WithPayload(payload *models.Error) *MakeBucketDefault
- func (o *MakeBucketDefault) WithStatusCode(code int) *MakeBucketDefault
- func (o *MakeBucketDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type MakeBucketHandler
- type MakeBucketHandlerFunc
- type MakeBucketParams
- type MakeBucketURL
- func (o *MakeBucketURL) Build() (*url.URL, error)
- func (o *MakeBucketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *MakeBucketURL) Must(u *url.URL, err error) *url.URL
- func (o *MakeBucketURL) SetBasePath(bp string)
- func (o *MakeBucketURL) String() string
- func (o *MakeBucketURL) StringFull(scheme, host string) string
- func (o *MakeBucketURL) WithBasePath(bp string) *MakeBucketURL
- type PostBucketsBucketNameObjectsUpload
- type PostBucketsBucketNameObjectsUploadDefault
- func (o *PostBucketsBucketNameObjectsUploadDefault) SetPayload(payload *models.Error)
- func (o *PostBucketsBucketNameObjectsUploadDefault) SetStatusCode(code int)
- func (o *PostBucketsBucketNameObjectsUploadDefault) WithPayload(payload *models.Error) *PostBucketsBucketNameObjectsUploadDefault
- func (o *PostBucketsBucketNameObjectsUploadDefault) WithStatusCode(code int) *PostBucketsBucketNameObjectsUploadDefault
- func (o *PostBucketsBucketNameObjectsUploadDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostBucketsBucketNameObjectsUploadHandler
- type PostBucketsBucketNameObjectsUploadHandlerFunc
- type PostBucketsBucketNameObjectsUploadOK
- type PostBucketsBucketNameObjectsUploadParams
- type PostBucketsBucketNameObjectsUploadURL
- func (o *PostBucketsBucketNameObjectsUploadURL) Build() (*url.URL, error)
- func (o *PostBucketsBucketNameObjectsUploadURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostBucketsBucketNameObjectsUploadURL) Must(u *url.URL, err error) *url.URL
- func (o *PostBucketsBucketNameObjectsUploadURL) SetBasePath(bp string)
- func (o *PostBucketsBucketNameObjectsUploadURL) String() string
- func (o *PostBucketsBucketNameObjectsUploadURL) StringFull(scheme, host string) string
- func (o *PostBucketsBucketNameObjectsUploadURL) WithBasePath(bp string) *PostBucketsBucketNameObjectsUploadURL
- type PutBucketTags
- type PutBucketTagsDefault
- func (o *PutBucketTagsDefault) SetPayload(payload *models.Error)
- func (o *PutBucketTagsDefault) SetStatusCode(code int)
- func (o *PutBucketTagsDefault) WithPayload(payload *models.Error) *PutBucketTagsDefault
- func (o *PutBucketTagsDefault) WithStatusCode(code int) *PutBucketTagsDefault
- func (o *PutBucketTagsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutBucketTagsHandler
- type PutBucketTagsHandlerFunc
- type PutBucketTagsOK
- type PutBucketTagsParams
- type PutBucketTagsURL
- func (o *PutBucketTagsURL) Build() (*url.URL, error)
- func (o *PutBucketTagsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutBucketTagsURL) Must(u *url.URL, err error) *url.URL
- func (o *PutBucketTagsURL) SetBasePath(bp string)
- func (o *PutBucketTagsURL) String() string
- func (o *PutBucketTagsURL) StringFull(scheme, host string) string
- func (o *PutBucketTagsURL) WithBasePath(bp string) *PutBucketTagsURL
- type PutObjectLegalHold
- type PutObjectLegalHoldDefault
- func (o *PutObjectLegalHoldDefault) SetPayload(payload *models.Error)
- func (o *PutObjectLegalHoldDefault) SetStatusCode(code int)
- func (o *PutObjectLegalHoldDefault) WithPayload(payload *models.Error) *PutObjectLegalHoldDefault
- func (o *PutObjectLegalHoldDefault) WithStatusCode(code int) *PutObjectLegalHoldDefault
- func (o *PutObjectLegalHoldDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutObjectLegalHoldHandler
- type PutObjectLegalHoldHandlerFunc
- type PutObjectLegalHoldOK
- type PutObjectLegalHoldParams
- type PutObjectLegalHoldURL
- func (o *PutObjectLegalHoldURL) Build() (*url.URL, error)
- func (o *PutObjectLegalHoldURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutObjectLegalHoldURL) Must(u *url.URL, err error) *url.URL
- func (o *PutObjectLegalHoldURL) SetBasePath(bp string)
- func (o *PutObjectLegalHoldURL) String() string
- func (o *PutObjectLegalHoldURL) StringFull(scheme, host string) string
- func (o *PutObjectLegalHoldURL) WithBasePath(bp string) *PutObjectLegalHoldURL
- type PutObjectRestore
- type PutObjectRestoreDefault
- func (o *PutObjectRestoreDefault) SetPayload(payload *models.Error)
- func (o *PutObjectRestoreDefault) SetStatusCode(code int)
- func (o *PutObjectRestoreDefault) WithPayload(payload *models.Error) *PutObjectRestoreDefault
- func (o *PutObjectRestoreDefault) WithStatusCode(code int) *PutObjectRestoreDefault
- func (o *PutObjectRestoreDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutObjectRestoreHandler
- type PutObjectRestoreHandlerFunc
- type PutObjectRestoreOK
- type PutObjectRestoreParams
- type PutObjectRestoreURL
- func (o *PutObjectRestoreURL) Build() (*url.URL, error)
- func (o *PutObjectRestoreURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutObjectRestoreURL) Must(u *url.URL, err error) *url.URL
- func (o *PutObjectRestoreURL) SetBasePath(bp string)
- func (o *PutObjectRestoreURL) String() string
- func (o *PutObjectRestoreURL) StringFull(scheme, host string) string
- func (o *PutObjectRestoreURL) WithBasePath(bp string) *PutObjectRestoreURL
- type PutObjectRetention
- type PutObjectRetentionDefault
- func (o *PutObjectRetentionDefault) SetPayload(payload *models.Error)
- func (o *PutObjectRetentionDefault) SetStatusCode(code int)
- func (o *PutObjectRetentionDefault) WithPayload(payload *models.Error) *PutObjectRetentionDefault
- func (o *PutObjectRetentionDefault) WithStatusCode(code int) *PutObjectRetentionDefault
- func (o *PutObjectRetentionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutObjectRetentionHandler
- type PutObjectRetentionHandlerFunc
- type PutObjectRetentionOK
- type PutObjectRetentionParams
- type PutObjectRetentionURL
- func (o *PutObjectRetentionURL) Build() (*url.URL, error)
- func (o *PutObjectRetentionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutObjectRetentionURL) Must(u *url.URL, err error) *url.URL
- func (o *PutObjectRetentionURL) SetBasePath(bp string)
- func (o *PutObjectRetentionURL) String() string
- func (o *PutObjectRetentionURL) StringFull(scheme, host string) string
- func (o *PutObjectRetentionURL) WithBasePath(bp string) *PutObjectRetentionURL
- type PutObjectTags
- type PutObjectTagsDefault
- func (o *PutObjectTagsDefault) SetPayload(payload *models.Error)
- func (o *PutObjectTagsDefault) SetStatusCode(code int)
- func (o *PutObjectTagsDefault) WithPayload(payload *models.Error) *PutObjectTagsDefault
- func (o *PutObjectTagsDefault) WithStatusCode(code int) *PutObjectTagsDefault
- func (o *PutObjectTagsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutObjectTagsHandler
- type PutObjectTagsHandlerFunc
- type PutObjectTagsOK
- type PutObjectTagsParams
- type PutObjectTagsURL
- func (o *PutObjectTagsURL) Build() (*url.URL, error)
- func (o *PutObjectTagsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutObjectTagsURL) Must(u *url.URL, err error) *url.URL
- func (o *PutObjectTagsURL) SetBasePath(bp string)
- func (o *PutObjectTagsURL) String() string
- func (o *PutObjectTagsURL) StringFull(scheme, host string) string
- func (o *PutObjectTagsURL) WithBasePath(bp string) *PutObjectTagsURL
- type RemoteBucketDetails
- type RemoteBucketDetailsDefault
- func (o *RemoteBucketDetailsDefault) SetPayload(payload *models.Error)
- func (o *RemoteBucketDetailsDefault) SetStatusCode(code int)
- func (o *RemoteBucketDetailsDefault) WithPayload(payload *models.Error) *RemoteBucketDetailsDefault
- func (o *RemoteBucketDetailsDefault) WithStatusCode(code int) *RemoteBucketDetailsDefault
- func (o *RemoteBucketDetailsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RemoteBucketDetailsHandler
- type RemoteBucketDetailsHandlerFunc
- type RemoteBucketDetailsOK
- type RemoteBucketDetailsParams
- type RemoteBucketDetailsURL
- func (o *RemoteBucketDetailsURL) Build() (*url.URL, error)
- func (o *RemoteBucketDetailsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RemoteBucketDetailsURL) Must(u *url.URL, err error) *url.URL
- func (o *RemoteBucketDetailsURL) SetBasePath(bp string)
- func (o *RemoteBucketDetailsURL) String() string
- func (o *RemoteBucketDetailsURL) StringFull(scheme, host string) string
- func (o *RemoteBucketDetailsURL) WithBasePath(bp string) *RemoteBucketDetailsURL
- type SessionCheck
- type SessionCheckDefault
- func (o *SessionCheckDefault) SetPayload(payload *models.Error)
- func (o *SessionCheckDefault) SetStatusCode(code int)
- func (o *SessionCheckDefault) WithPayload(payload *models.Error) *SessionCheckDefault
- func (o *SessionCheckDefault) WithStatusCode(code int) *SessionCheckDefault
- func (o *SessionCheckDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SessionCheckHandler
- type SessionCheckHandlerFunc
- type SessionCheckOK
- type SessionCheckParams
- type SessionCheckURL
- func (o *SessionCheckURL) Build() (*url.URL, error)
- func (o *SessionCheckURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SessionCheckURL) Must(u *url.URL, err error) *url.URL
- func (o *SessionCheckURL) SetBasePath(bp string)
- func (o *SessionCheckURL) String() string
- func (o *SessionCheckURL) StringFull(scheme, host string) string
- func (o *SessionCheckURL) WithBasePath(bp string) *SessionCheckURL
- type SetBucketQuota
- type SetBucketQuotaDefault
- func (o *SetBucketQuotaDefault) SetPayload(payload *models.Error)
- func (o *SetBucketQuotaDefault) SetStatusCode(code int)
- func (o *SetBucketQuotaDefault) WithPayload(payload *models.Error) *SetBucketQuotaDefault
- func (o *SetBucketQuotaDefault) WithStatusCode(code int) *SetBucketQuotaDefault
- func (o *SetBucketQuotaDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetBucketQuotaHandler
- type SetBucketQuotaHandlerFunc
- type SetBucketQuotaOK
- type SetBucketQuotaParams
- type SetBucketQuotaURL
- func (o *SetBucketQuotaURL) Build() (*url.URL, error)
- func (o *SetBucketQuotaURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SetBucketQuotaURL) Must(u *url.URL, err error) *url.URL
- func (o *SetBucketQuotaURL) SetBasePath(bp string)
- func (o *SetBucketQuotaURL) String() string
- func (o *SetBucketQuotaURL) StringFull(scheme, host string) string
- func (o *SetBucketQuotaURL) WithBasePath(bp string) *SetBucketQuotaURL
- type SetBucketRetentionConfig
- type SetBucketRetentionConfigDefault
- func (o *SetBucketRetentionConfigDefault) SetPayload(payload *models.Error)
- func (o *SetBucketRetentionConfigDefault) SetStatusCode(code int)
- func (o *SetBucketRetentionConfigDefault) WithPayload(payload *models.Error) *SetBucketRetentionConfigDefault
- func (o *SetBucketRetentionConfigDefault) WithStatusCode(code int) *SetBucketRetentionConfigDefault
- func (o *SetBucketRetentionConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetBucketRetentionConfigHandler
- type SetBucketRetentionConfigHandlerFunc
- type SetBucketRetentionConfigOK
- type SetBucketRetentionConfigParams
- type SetBucketRetentionConfigURL
- func (o *SetBucketRetentionConfigURL) Build() (*url.URL, error)
- func (o *SetBucketRetentionConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SetBucketRetentionConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *SetBucketRetentionConfigURL) SetBasePath(bp string)
- func (o *SetBucketRetentionConfigURL) String() string
- func (o *SetBucketRetentionConfigURL) StringFull(scheme, host string) string
- func (o *SetBucketRetentionConfigURL) WithBasePath(bp string) *SetBucketRetentionConfigURL
- type SetBucketVersioning
- type SetBucketVersioningCreated
- type SetBucketVersioningDefault
- func (o *SetBucketVersioningDefault) SetPayload(payload *models.Error)
- func (o *SetBucketVersioningDefault) SetStatusCode(code int)
- func (o *SetBucketVersioningDefault) WithPayload(payload *models.Error) *SetBucketVersioningDefault
- func (o *SetBucketVersioningDefault) WithStatusCode(code int) *SetBucketVersioningDefault
- func (o *SetBucketVersioningDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetBucketVersioningHandler
- type SetBucketVersioningHandlerFunc
- type SetBucketVersioningParams
- type SetBucketVersioningURL
- func (o *SetBucketVersioningURL) Build() (*url.URL, error)
- func (o *SetBucketVersioningURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SetBucketVersioningURL) Must(u *url.URL, err error) *url.URL
- func (o *SetBucketVersioningURL) SetBasePath(bp string)
- func (o *SetBucketVersioningURL) String() string
- func (o *SetBucketVersioningURL) StringFull(scheme, host string) string
- func (o *SetBucketVersioningURL) WithBasePath(bp string) *SetBucketVersioningURL
- type SetMultiBucketReplication
- type SetMultiBucketReplicationDefault
- func (o *SetMultiBucketReplicationDefault) SetPayload(payload *models.Error)
- func (o *SetMultiBucketReplicationDefault) SetStatusCode(code int)
- func (o *SetMultiBucketReplicationDefault) WithPayload(payload *models.Error) *SetMultiBucketReplicationDefault
- func (o *SetMultiBucketReplicationDefault) WithStatusCode(code int) *SetMultiBucketReplicationDefault
- func (o *SetMultiBucketReplicationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetMultiBucketReplicationHandler
- type SetMultiBucketReplicationHandlerFunc
- type SetMultiBucketReplicationOK
- func (o *SetMultiBucketReplicationOK) SetPayload(payload *models.MultiBucketResponseState)
- func (o *SetMultiBucketReplicationOK) WithPayload(payload *models.MultiBucketResponseState) *SetMultiBucketReplicationOK
- func (o *SetMultiBucketReplicationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetMultiBucketReplicationParams
- type SetMultiBucketReplicationURL
- func (o *SetMultiBucketReplicationURL) Build() (*url.URL, error)
- func (o *SetMultiBucketReplicationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SetMultiBucketReplicationURL) Must(u *url.URL, err error) *url.URL
- func (o *SetMultiBucketReplicationURL) SetBasePath(bp string)
- func (o *SetMultiBucketReplicationURL) String() string
- func (o *SetMultiBucketReplicationURL) StringFull(scheme, host string) string
- func (o *SetMultiBucketReplicationURL) WithBasePath(bp string) *SetMultiBucketReplicationURL
- type SetServiceAccountPolicy
- type SetServiceAccountPolicyDefault
- func (o *SetServiceAccountPolicyDefault) SetPayload(payload *models.Error)
- func (o *SetServiceAccountPolicyDefault) SetStatusCode(code int)
- func (o *SetServiceAccountPolicyDefault) WithPayload(payload *models.Error) *SetServiceAccountPolicyDefault
- func (o *SetServiceAccountPolicyDefault) WithStatusCode(code int) *SetServiceAccountPolicyDefault
- func (o *SetServiceAccountPolicyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetServiceAccountPolicyHandler
- type SetServiceAccountPolicyHandlerFunc
- type SetServiceAccountPolicyOK
- type SetServiceAccountPolicyParams
- type SetServiceAccountPolicyURL
- func (o *SetServiceAccountPolicyURL) Build() (*url.URL, error)
- func (o *SetServiceAccountPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SetServiceAccountPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *SetServiceAccountPolicyURL) SetBasePath(bp string)
- func (o *SetServiceAccountPolicyURL) String() string
- func (o *SetServiceAccountPolicyURL) StringFull(scheme, host string) string
- func (o *SetServiceAccountPolicyURL) WithBasePath(bp string) *SetServiceAccountPolicyURL
- type ShareObject
- type ShareObjectDefault
- func (o *ShareObjectDefault) SetPayload(payload *models.Error)
- func (o *ShareObjectDefault) SetStatusCode(code int)
- func (o *ShareObjectDefault) WithPayload(payload *models.Error) *ShareObjectDefault
- func (o *ShareObjectDefault) WithStatusCode(code int) *ShareObjectDefault
- func (o *ShareObjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ShareObjectHandler
- type ShareObjectHandlerFunc
- type ShareObjectOK
- type ShareObjectParams
- type ShareObjectURL
- func (o *ShareObjectURL) Build() (*url.URL, error)
- func (o *ShareObjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ShareObjectURL) Must(u *url.URL, err error) *url.URL
- func (o *ShareObjectURL) SetBasePath(bp string)
- func (o *ShareObjectURL) String() string
- func (o *ShareObjectURL) StringFull(scheme, host string) string
- func (o *ShareObjectURL) WithBasePath(bp string) *ShareObjectURL
- type UpdateBucketLifecycle
- type UpdateBucketLifecycleDefault
- func (o *UpdateBucketLifecycleDefault) SetPayload(payload *models.Error)
- func (o *UpdateBucketLifecycleDefault) SetStatusCode(code int)
- func (o *UpdateBucketLifecycleDefault) WithPayload(payload *models.Error) *UpdateBucketLifecycleDefault
- func (o *UpdateBucketLifecycleDefault) WithStatusCode(code int) *UpdateBucketLifecycleDefault
- func (o *UpdateBucketLifecycleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateBucketLifecycleHandler
- type UpdateBucketLifecycleHandlerFunc
- type UpdateBucketLifecycleOK
- type UpdateBucketLifecycleParams
- type UpdateBucketLifecycleURL
- func (o *UpdateBucketLifecycleURL) Build() (*url.URL, error)
- func (o *UpdateBucketLifecycleURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateBucketLifecycleURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateBucketLifecycleURL) SetBasePath(bp string)
- func (o *UpdateBucketLifecycleURL) String() string
- func (o *UpdateBucketLifecycleURL) StringFull(scheme, host string) string
- func (o *UpdateBucketLifecycleURL) WithBasePath(bp string) *UpdateBucketLifecycleURL
- type UpdateMultiBucketReplication
- type UpdateMultiBucketReplicationCreated
- type UpdateMultiBucketReplicationDefault
- func (o *UpdateMultiBucketReplicationDefault) SetPayload(payload *models.Error)
- func (o *UpdateMultiBucketReplicationDefault) SetStatusCode(code int)
- func (o *UpdateMultiBucketReplicationDefault) WithPayload(payload *models.Error) *UpdateMultiBucketReplicationDefault
- func (o *UpdateMultiBucketReplicationDefault) WithStatusCode(code int) *UpdateMultiBucketReplicationDefault
- func (o *UpdateMultiBucketReplicationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMultiBucketReplicationHandler
- type UpdateMultiBucketReplicationHandlerFunc
- type UpdateMultiBucketReplicationParams
- type UpdateMultiBucketReplicationURL
- func (o *UpdateMultiBucketReplicationURL) Build() (*url.URL, error)
- func (o *UpdateMultiBucketReplicationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateMultiBucketReplicationURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateMultiBucketReplicationURL) SetBasePath(bp string)
- func (o *UpdateMultiBucketReplicationURL) String() string
- func (o *UpdateMultiBucketReplicationURL) StringFull(scheme, host string) string
- func (o *UpdateMultiBucketReplicationURL) WithBasePath(bp string) *UpdateMultiBucketReplicationURL
Constants ¶
const AccountChangePasswordNoContentCode int = 204
AccountChangePasswordNoContentCode is the HTTP code returned for type AccountChangePasswordNoContent
const AddBucketLifecycleCreatedCode int = 201
AddBucketLifecycleCreatedCode is the HTTP code returned for type AddBucketLifecycleCreated
const AddMultiBucketLifecycleOKCode int = 200
AddMultiBucketLifecycleOKCode is the HTTP code returned for type AddMultiBucketLifecycleOK
const AddRemoteBucketCreatedCode int = 201
AddRemoteBucketCreatedCode is the HTTP code returned for type AddRemoteBucketCreated
const BucketInfoOKCode int = 200
BucketInfoOKCode is the HTTP code returned for type BucketInfoOK
const BucketSetPolicyOKCode int = 200
BucketSetPolicyOKCode is the HTTP code returned for type BucketSetPolicyOK
const CheckMinIOVersionOKCode int = 200
CheckMinIOVersionOKCode is the HTTP code returned for type CheckMinIOVersionOK
const CreateBucketEventCreatedCode int = 201
CreateBucketEventCreatedCode is the HTTP code returned for type CreateBucketEventCreated
const CreateServiceAccountCreatedCode int = 201
CreateServiceAccountCreatedCode is the HTTP code returned for type CreateServiceAccountCreated
const DeleteAllReplicationRulesNoContentCode int = 204
DeleteAllReplicationRulesNoContentCode is the HTTP code returned for type DeleteAllReplicationRulesNoContent
const DeleteBucketEventNoContentCode int = 204
DeleteBucketEventNoContentCode is the HTTP code returned for type DeleteBucketEventNoContent
const DeleteBucketLifecycleRuleNoContentCode int = 204
DeleteBucketLifecycleRuleNoContentCode is the HTTP code returned for type DeleteBucketLifecycleRuleNoContent
const DeleteBucketNoContentCode int = 204
DeleteBucketNoContentCode is the HTTP code returned for type DeleteBucketNoContent
const DeleteBucketReplicationRuleNoContentCode int = 204
DeleteBucketReplicationRuleNoContentCode is the HTTP code returned for type DeleteBucketReplicationRuleNoContent
const DeleteMultipleObjectsOKCode int = 200
DeleteMultipleObjectsOKCode is the HTTP code returned for type DeleteMultipleObjectsOK
const DeleteMultipleServiceAccountsNoContentCode int = 204
DeleteMultipleServiceAccountsNoContentCode is the HTTP code returned for type DeleteMultipleServiceAccountsNoContent
const DeleteObjectOKCode int = 200
DeleteObjectOKCode is the HTTP code returned for type DeleteObjectOK
const DeleteObjectRetentionOKCode int = 200
DeleteObjectRetentionOKCode is the HTTP code returned for type DeleteObjectRetentionOK
const DeleteRemoteBucketNoContentCode int = 204
DeleteRemoteBucketNoContentCode is the HTTP code returned for type DeleteRemoteBucketNoContent
const DeleteSelectedReplicationRulesNoContentCode int = 204
DeleteSelectedReplicationRulesNoContentCode is the HTTP code returned for type DeleteSelectedReplicationRulesNoContent
const DeleteServiceAccountNoContentCode int = 204
DeleteServiceAccountNoContentCode is the HTTP code returned for type DeleteServiceAccountNoContent
const DisableBucketEncryptionOKCode int = 200
DisableBucketEncryptionOKCode is the HTTP code returned for type DisableBucketEncryptionOK
const DownloadObjectOKCode int = 200
DownloadObjectOKCode is the HTTP code returned for type DownloadObjectOK
const EnableBucketEncryptionOKCode int = 200
EnableBucketEncryptionOKCode is the HTTP code returned for type EnableBucketEncryptionOK
const GetBucketEncryptionInfoOKCode int = 200
GetBucketEncryptionInfoOKCode is the HTTP code returned for type GetBucketEncryptionInfoOK
const GetBucketLifecycleOKCode int = 200
GetBucketLifecycleOKCode is the HTTP code returned for type GetBucketLifecycleOK
const GetBucketObjectLockingStatusOKCode int = 200
GetBucketObjectLockingStatusOKCode is the HTTP code returned for type GetBucketObjectLockingStatusOK
const GetBucketQuotaOKCode int = 200
GetBucketQuotaOKCode is the HTTP code returned for type GetBucketQuotaOK
const GetBucketReplicationOKCode int = 200
GetBucketReplicationOKCode is the HTTP code returned for type GetBucketReplicationOK
const GetBucketReplicationRuleOKCode int = 200
GetBucketReplicationRuleOKCode is the HTTP code returned for type GetBucketReplicationRuleOK
const GetBucketRetentionConfigOKCode int = 200
GetBucketRetentionConfigOKCode is the HTTP code returned for type GetBucketRetentionConfigOK
const GetBucketRewindOKCode int = 200
GetBucketRewindOKCode is the HTTP code returned for type GetBucketRewindOK
const GetBucketVersioningOKCode int = 200
GetBucketVersioningOKCode is the HTTP code returned for type GetBucketVersioningOK
const GetObjectMetadataOKCode int = 200
GetObjectMetadataOKCode is the HTTP code returned for type GetObjectMetadataOK
const GetServiceAccountPolicyOKCode int = 200
GetServiceAccountPolicyOKCode is the HTTP code returned for type GetServiceAccountPolicyOK
const ListBucketEventsOKCode int = 200
ListBucketEventsOKCode is the HTTP code returned for type ListBucketEventsOK
const ListBucketsOKCode int = 200
ListBucketsOKCode is the HTTP code returned for type ListBucketsOK
const ListExternalBucketsOKCode int = 200
ListExternalBucketsOKCode is the HTTP code returned for type ListExternalBucketsOK
const ListObjectsOKCode int = 200
ListObjectsOKCode is the HTTP code returned for type ListObjectsOK
const ListRemoteBucketsOKCode int = 200
ListRemoteBucketsOKCode is the HTTP code returned for type ListRemoteBucketsOK
const ListUserServiceAccountsOKCode int = 200
ListUserServiceAccountsOKCode is the HTTP code returned for type ListUserServiceAccountsOK
const LogSearchOKCode int = 200
LogSearchOKCode is the HTTP code returned for type LogSearchOK
const LoginDetailOKCode int = 200
LoginDetailOKCode is the HTTP code returned for type LoginDetailOK
const LoginNoContentCode int = 204
LoginNoContentCode is the HTTP code returned for type LoginNoContent
const LoginOauth2AuthNoContentCode int = 204
LoginOauth2AuthNoContentCode is the HTTP code returned for type LoginOauth2AuthNoContent
const LogoutOKCode int = 200
LogoutOKCode is the HTTP code returned for type LogoutOK
const MakeBucketCreatedCode int = 201
MakeBucketCreatedCode is the HTTP code returned for type MakeBucketCreated
const PostBucketsBucketNameObjectsUploadOKCode int = 200
PostBucketsBucketNameObjectsUploadOKCode is the HTTP code returned for type PostBucketsBucketNameObjectsUploadOK
const PutBucketTagsOKCode int = 200
PutBucketTagsOKCode is the HTTP code returned for type PutBucketTagsOK
const PutObjectLegalHoldOKCode int = 200
PutObjectLegalHoldOKCode is the HTTP code returned for type PutObjectLegalHoldOK
const PutObjectRestoreOKCode int = 200
PutObjectRestoreOKCode is the HTTP code returned for type PutObjectRestoreOK
const PutObjectRetentionOKCode int = 200
PutObjectRetentionOKCode is the HTTP code returned for type PutObjectRetentionOK
const PutObjectTagsOKCode int = 200
PutObjectTagsOKCode is the HTTP code returned for type PutObjectTagsOK
const RemoteBucketDetailsOKCode int = 200
RemoteBucketDetailsOKCode is the HTTP code returned for type RemoteBucketDetailsOK
const SessionCheckOKCode int = 200
SessionCheckOKCode is the HTTP code returned for type SessionCheckOK
const SetBucketQuotaOKCode int = 200
SetBucketQuotaOKCode is the HTTP code returned for type SetBucketQuotaOK
const SetBucketRetentionConfigOKCode int = 200
SetBucketRetentionConfigOKCode is the HTTP code returned for type SetBucketRetentionConfigOK
const SetBucketVersioningCreatedCode int = 201
SetBucketVersioningCreatedCode is the HTTP code returned for type SetBucketVersioningCreated
const SetMultiBucketReplicationOKCode int = 200
SetMultiBucketReplicationOKCode is the HTTP code returned for type SetMultiBucketReplicationOK
const SetServiceAccountPolicyOKCode int = 200
SetServiceAccountPolicyOKCode is the HTTP code returned for type SetServiceAccountPolicyOK
ShareObjectOKCode is the HTTP code returned for type ShareObjectOK
const UpdateBucketLifecycleOKCode int = 200
UpdateBucketLifecycleOKCode is the HTTP code returned for type UpdateBucketLifecycleOK
const UpdateMultiBucketReplicationCreatedCode int = 201
UpdateMultiBucketReplicationCreatedCode is the HTTP code returned for type UpdateMultiBucketReplicationCreated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountChangePassword ¶
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 ¶
func NewAccountChangePassword(ctx *middleware.Context, handler AccountChangePasswordHandler) *AccountChangePassword
NewAccountChangePassword creates a new http.Handler for the account change password operation
func (*AccountChangePassword) ServeHTTP ¶
func (o *AccountChangePassword) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type AccountChangePasswordDefault ¶
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 ¶
func NewAccountChangePasswordDefault(code int) *AccountChangePasswordDefault
NewAccountChangePasswordDefault creates AccountChangePasswordDefault with default headers values
func (*AccountChangePasswordDefault) SetPayload ¶
func (o *AccountChangePasswordDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the account change password default response
func (*AccountChangePasswordDefault) SetStatusCode ¶
func (o *AccountChangePasswordDefault) SetStatusCode(code int)
SetStatusCode sets the status to the account change password default response
func (*AccountChangePasswordDefault) WithPayload ¶
func (o *AccountChangePasswordDefault) WithPayload(payload *models.Error) *AccountChangePasswordDefault
WithPayload adds the payload to the account change password default response
func (*AccountChangePasswordDefault) WithStatusCode ¶
func (o *AccountChangePasswordDefault) WithStatusCode(code int) *AccountChangePasswordDefault
WithStatusCode adds the status to the account change password default response
func (*AccountChangePasswordDefault) WriteResponse ¶
func (o *AccountChangePasswordDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AccountChangePasswordHandler ¶
type AccountChangePasswordHandler interface {
Handle(AccountChangePasswordParams, *models.Principal) middleware.Responder
}
AccountChangePasswordHandler interface for that can handle valid account change password params
type AccountChangePasswordHandlerFunc ¶
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 ¶
func (fn AccountChangePasswordHandlerFunc) Handle(params AccountChangePasswordParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type AccountChangePasswordNoContent ¶
type AccountChangePasswordNoContent struct { }
AccountChangePasswordNoContent A successful login.
swagger:response accountChangePasswordNoContent
func NewAccountChangePasswordNoContent ¶
func NewAccountChangePasswordNoContent() *AccountChangePasswordNoContent
NewAccountChangePasswordNoContent creates AccountChangePasswordNoContent with default headers values
func (*AccountChangePasswordNoContent) WriteResponse ¶
func (o *AccountChangePasswordNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AccountChangePasswordParams ¶
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 ¶
func NewAccountChangePasswordParams() AccountChangePasswordParams
NewAccountChangePasswordParams creates a new AccountChangePasswordParams object
There are no default values defined in the spec.
func (*AccountChangePasswordParams) BindRequest ¶
func (o *AccountChangePasswordParams) 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 NewAccountChangePasswordParams() beforehand.
type AccountChangePasswordURL ¶
type AccountChangePasswordURL struct {
// contains filtered or unexported fields
}
AccountChangePasswordURL generates an URL for the account change password operation
func (*AccountChangePasswordURL) Build ¶
func (o *AccountChangePasswordURL) Build() (*url.URL, error)
Build a url path and query string
func (*AccountChangePasswordURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*AccountChangePasswordURL) SetBasePath ¶
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 ¶
func (o *AccountChangePasswordURL) String() string
String returns the string representation of the path with query string
func (*AccountChangePasswordURL) StringFull ¶
func (o *AccountChangePasswordURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AccountChangePasswordURL) WithBasePath ¶
func (o *AccountChangePasswordURL) WithBasePath(bp string) *AccountChangePasswordURL
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 ¶
type AddBucketLifecycle struct { Context *middleware.Context Handler AddBucketLifecycleHandler }
AddBucketLifecycle swagger:route POST /buckets/{bucket_name}/lifecycle UserAPI addBucketLifecycle
Add Bucket Lifecycle
func NewAddBucketLifecycle ¶
func NewAddBucketLifecycle(ctx *middleware.Context, handler AddBucketLifecycleHandler) *AddBucketLifecycle
NewAddBucketLifecycle creates a new http.Handler for the add bucket lifecycle operation
func (*AddBucketLifecycle) ServeHTTP ¶
func (o *AddBucketLifecycle) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type AddBucketLifecycleCreated ¶
type AddBucketLifecycleCreated struct { }
AddBucketLifecycleCreated A successful response.
swagger:response addBucketLifecycleCreated
func NewAddBucketLifecycleCreated ¶
func NewAddBucketLifecycleCreated() *AddBucketLifecycleCreated
NewAddBucketLifecycleCreated creates AddBucketLifecycleCreated with default headers values
func (*AddBucketLifecycleCreated) WriteResponse ¶
func (o *AddBucketLifecycleCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddBucketLifecycleDefault ¶
type AddBucketLifecycleDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
AddBucketLifecycleDefault Generic error response.
swagger:response addBucketLifecycleDefault
func NewAddBucketLifecycleDefault ¶
func NewAddBucketLifecycleDefault(code int) *AddBucketLifecycleDefault
NewAddBucketLifecycleDefault creates AddBucketLifecycleDefault with default headers values
func (*AddBucketLifecycleDefault) SetPayload ¶
func (o *AddBucketLifecycleDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the add bucket lifecycle default response
func (*AddBucketLifecycleDefault) SetStatusCode ¶
func (o *AddBucketLifecycleDefault) SetStatusCode(code int)
SetStatusCode sets the status to the add bucket lifecycle default response
func (*AddBucketLifecycleDefault) WithPayload ¶
func (o *AddBucketLifecycleDefault) WithPayload(payload *models.Error) *AddBucketLifecycleDefault
WithPayload adds the payload to the add bucket lifecycle default response
func (*AddBucketLifecycleDefault) WithStatusCode ¶
func (o *AddBucketLifecycleDefault) WithStatusCode(code int) *AddBucketLifecycleDefault
WithStatusCode adds the status to the add bucket lifecycle default response
func (*AddBucketLifecycleDefault) WriteResponse ¶
func (o *AddBucketLifecycleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddBucketLifecycleHandler ¶
type AddBucketLifecycleHandler interface {
Handle(AddBucketLifecycleParams, *models.Principal) middleware.Responder
}
AddBucketLifecycleHandler interface for that can handle valid add bucket lifecycle params
type AddBucketLifecycleHandlerFunc ¶
type AddBucketLifecycleHandlerFunc func(AddBucketLifecycleParams, *models.Principal) middleware.Responder
AddBucketLifecycleHandlerFunc turns a function with the right signature into a add bucket lifecycle handler
func (AddBucketLifecycleHandlerFunc) Handle ¶
func (fn AddBucketLifecycleHandlerFunc) Handle(params AddBucketLifecycleParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type AddBucketLifecycleParams ¶
type AddBucketLifecycleParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.AddBucketLifecycle /* Required: true In: path */ BucketName string }
AddBucketLifecycleParams contains all the bound params for the add bucket lifecycle operation typically these are obtained from a http.Request
swagger:parameters AddBucketLifecycle
func NewAddBucketLifecycleParams ¶
func NewAddBucketLifecycleParams() AddBucketLifecycleParams
NewAddBucketLifecycleParams creates a new AddBucketLifecycleParams object
There are no default values defined in the spec.
func (*AddBucketLifecycleParams) BindRequest ¶
func (o *AddBucketLifecycleParams) 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 NewAddBucketLifecycleParams() beforehand.
type AddBucketLifecycleURL ¶
type AddBucketLifecycleURL struct { BucketName string // contains filtered or unexported fields }
AddBucketLifecycleURL generates an URL for the add bucket lifecycle operation
func (*AddBucketLifecycleURL) Build ¶
func (o *AddBucketLifecycleURL) Build() (*url.URL, error)
Build a url path and query string
func (*AddBucketLifecycleURL) BuildFull ¶
func (o *AddBucketLifecycleURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AddBucketLifecycleURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*AddBucketLifecycleURL) SetBasePath ¶
func (o *AddBucketLifecycleURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*AddBucketLifecycleURL) String ¶
func (o *AddBucketLifecycleURL) String() string
String returns the string representation of the path with query string
func (*AddBucketLifecycleURL) StringFull ¶
func (o *AddBucketLifecycleURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AddBucketLifecycleURL) WithBasePath ¶
func (o *AddBucketLifecycleURL) WithBasePath(bp string) *AddBucketLifecycleURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type AddMultiBucketLifecycle ¶
type AddMultiBucketLifecycle struct { Context *middleware.Context Handler AddMultiBucketLifecycleHandler }
AddMultiBucketLifecycle swagger:route POST /buckets/multi-lifecycle UserAPI addMultiBucketLifecycle
Add Multi Bucket Lifecycle
func NewAddMultiBucketLifecycle ¶
func NewAddMultiBucketLifecycle(ctx *middleware.Context, handler AddMultiBucketLifecycleHandler) *AddMultiBucketLifecycle
NewAddMultiBucketLifecycle creates a new http.Handler for the add multi bucket lifecycle operation
func (*AddMultiBucketLifecycle) ServeHTTP ¶
func (o *AddMultiBucketLifecycle) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type AddMultiBucketLifecycleDefault ¶
type AddMultiBucketLifecycleDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
AddMultiBucketLifecycleDefault Generic error response.
swagger:response addMultiBucketLifecycleDefault
func NewAddMultiBucketLifecycleDefault ¶
func NewAddMultiBucketLifecycleDefault(code int) *AddMultiBucketLifecycleDefault
NewAddMultiBucketLifecycleDefault creates AddMultiBucketLifecycleDefault with default headers values
func (*AddMultiBucketLifecycleDefault) SetPayload ¶
func (o *AddMultiBucketLifecycleDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the add multi bucket lifecycle default response
func (*AddMultiBucketLifecycleDefault) SetStatusCode ¶
func (o *AddMultiBucketLifecycleDefault) SetStatusCode(code int)
SetStatusCode sets the status to the add multi bucket lifecycle default response
func (*AddMultiBucketLifecycleDefault) WithPayload ¶
func (o *AddMultiBucketLifecycleDefault) WithPayload(payload *models.Error) *AddMultiBucketLifecycleDefault
WithPayload adds the payload to the add multi bucket lifecycle default response
func (*AddMultiBucketLifecycleDefault) WithStatusCode ¶
func (o *AddMultiBucketLifecycleDefault) WithStatusCode(code int) *AddMultiBucketLifecycleDefault
WithStatusCode adds the status to the add multi bucket lifecycle default response
func (*AddMultiBucketLifecycleDefault) WriteResponse ¶
func (o *AddMultiBucketLifecycleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddMultiBucketLifecycleHandler ¶
type AddMultiBucketLifecycleHandler interface {
Handle(AddMultiBucketLifecycleParams, *models.Principal) middleware.Responder
}
AddMultiBucketLifecycleHandler interface for that can handle valid add multi bucket lifecycle params
type AddMultiBucketLifecycleHandlerFunc ¶
type AddMultiBucketLifecycleHandlerFunc func(AddMultiBucketLifecycleParams, *models.Principal) middleware.Responder
AddMultiBucketLifecycleHandlerFunc turns a function with the right signature into a add multi bucket lifecycle handler
func (AddMultiBucketLifecycleHandlerFunc) Handle ¶
func (fn AddMultiBucketLifecycleHandlerFunc) Handle(params AddMultiBucketLifecycleParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type AddMultiBucketLifecycleOK ¶
type AddMultiBucketLifecycleOK struct { /* In: Body */ Payload *models.MultiLifecycleResult `json:"body,omitempty"` }
AddMultiBucketLifecycleOK A successful response.
swagger:response addMultiBucketLifecycleOK
func NewAddMultiBucketLifecycleOK ¶
func NewAddMultiBucketLifecycleOK() *AddMultiBucketLifecycleOK
NewAddMultiBucketLifecycleOK creates AddMultiBucketLifecycleOK with default headers values
func (*AddMultiBucketLifecycleOK) SetPayload ¶
func (o *AddMultiBucketLifecycleOK) SetPayload(payload *models.MultiLifecycleResult)
SetPayload sets the payload to the add multi bucket lifecycle o k response
func (*AddMultiBucketLifecycleOK) WithPayload ¶
func (o *AddMultiBucketLifecycleOK) WithPayload(payload *models.MultiLifecycleResult) *AddMultiBucketLifecycleOK
WithPayload adds the payload to the add multi bucket lifecycle o k response
func (*AddMultiBucketLifecycleOK) WriteResponse ¶
func (o *AddMultiBucketLifecycleOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddMultiBucketLifecycleParams ¶
type AddMultiBucketLifecycleParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.AddMultiBucketLifecycle }
AddMultiBucketLifecycleParams contains all the bound params for the add multi bucket lifecycle operation typically these are obtained from a http.Request
swagger:parameters AddMultiBucketLifecycle
func NewAddMultiBucketLifecycleParams ¶
func NewAddMultiBucketLifecycleParams() AddMultiBucketLifecycleParams
NewAddMultiBucketLifecycleParams creates a new AddMultiBucketLifecycleParams object
There are no default values defined in the spec.
func (*AddMultiBucketLifecycleParams) BindRequest ¶
func (o *AddMultiBucketLifecycleParams) 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 NewAddMultiBucketLifecycleParams() beforehand.
type AddMultiBucketLifecycleURL ¶
type AddMultiBucketLifecycleURL struct {
// contains filtered or unexported fields
}
AddMultiBucketLifecycleURL generates an URL for the add multi bucket lifecycle operation
func (*AddMultiBucketLifecycleURL) Build ¶
func (o *AddMultiBucketLifecycleURL) Build() (*url.URL, error)
Build a url path and query string
func (*AddMultiBucketLifecycleURL) BuildFull ¶
func (o *AddMultiBucketLifecycleURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AddMultiBucketLifecycleURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*AddMultiBucketLifecycleURL) SetBasePath ¶
func (o *AddMultiBucketLifecycleURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*AddMultiBucketLifecycleURL) String ¶
func (o *AddMultiBucketLifecycleURL) String() string
String returns the string representation of the path with query string
func (*AddMultiBucketLifecycleURL) StringFull ¶
func (o *AddMultiBucketLifecycleURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AddMultiBucketLifecycleURL) WithBasePath ¶
func (o *AddMultiBucketLifecycleURL) WithBasePath(bp string) *AddMultiBucketLifecycleURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type AddRemoteBucket ¶
type AddRemoteBucket struct { Context *middleware.Context Handler AddRemoteBucketHandler }
AddRemoteBucket swagger:route POST /remote-buckets UserAPI addRemoteBucket
Add Remote Bucket
func NewAddRemoteBucket ¶
func NewAddRemoteBucket(ctx *middleware.Context, handler AddRemoteBucketHandler) *AddRemoteBucket
NewAddRemoteBucket creates a new http.Handler for the add remote bucket operation
func (*AddRemoteBucket) ServeHTTP ¶
func (o *AddRemoteBucket) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type AddRemoteBucketCreated ¶
type AddRemoteBucketCreated struct { }
AddRemoteBucketCreated A successful response.
swagger:response addRemoteBucketCreated
func NewAddRemoteBucketCreated ¶
func NewAddRemoteBucketCreated() *AddRemoteBucketCreated
NewAddRemoteBucketCreated creates AddRemoteBucketCreated with default headers values
func (*AddRemoteBucketCreated) WriteResponse ¶
func (o *AddRemoteBucketCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddRemoteBucketDefault ¶
type AddRemoteBucketDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
AddRemoteBucketDefault Generic error response.
swagger:response addRemoteBucketDefault
func NewAddRemoteBucketDefault ¶
func NewAddRemoteBucketDefault(code int) *AddRemoteBucketDefault
NewAddRemoteBucketDefault creates AddRemoteBucketDefault with default headers values
func (*AddRemoteBucketDefault) SetPayload ¶
func (o *AddRemoteBucketDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the add remote bucket default response
func (*AddRemoteBucketDefault) SetStatusCode ¶
func (o *AddRemoteBucketDefault) SetStatusCode(code int)
SetStatusCode sets the status to the add remote bucket default response
func (*AddRemoteBucketDefault) WithPayload ¶
func (o *AddRemoteBucketDefault) WithPayload(payload *models.Error) *AddRemoteBucketDefault
WithPayload adds the payload to the add remote bucket default response
func (*AddRemoteBucketDefault) WithStatusCode ¶
func (o *AddRemoteBucketDefault) WithStatusCode(code int) *AddRemoteBucketDefault
WithStatusCode adds the status to the add remote bucket default response
func (*AddRemoteBucketDefault) WriteResponse ¶
func (o *AddRemoteBucketDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddRemoteBucketHandler ¶
type AddRemoteBucketHandler interface {
Handle(AddRemoteBucketParams, *models.Principal) middleware.Responder
}
AddRemoteBucketHandler interface for that can handle valid add remote bucket params
type AddRemoteBucketHandlerFunc ¶
type AddRemoteBucketHandlerFunc func(AddRemoteBucketParams, *models.Principal) middleware.Responder
AddRemoteBucketHandlerFunc turns a function with the right signature into a add remote bucket handler
func (AddRemoteBucketHandlerFunc) Handle ¶
func (fn AddRemoteBucketHandlerFunc) Handle(params AddRemoteBucketParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type AddRemoteBucketParams ¶
type AddRemoteBucketParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.CreateRemoteBucket }
AddRemoteBucketParams contains all the bound params for the add remote bucket operation typically these are obtained from a http.Request
swagger:parameters AddRemoteBucket
func NewAddRemoteBucketParams ¶
func NewAddRemoteBucketParams() AddRemoteBucketParams
NewAddRemoteBucketParams creates a new AddRemoteBucketParams object
There are no default values defined in the spec.
func (*AddRemoteBucketParams) BindRequest ¶
func (o *AddRemoteBucketParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewAddRemoteBucketParams() beforehand.
type AddRemoteBucketURL ¶
type AddRemoteBucketURL struct {
// contains filtered or unexported fields
}
AddRemoteBucketURL generates an URL for the add remote bucket operation
func (*AddRemoteBucketURL) Build ¶
func (o *AddRemoteBucketURL) Build() (*url.URL, error)
Build a url path and query string
func (*AddRemoteBucketURL) BuildFull ¶
func (o *AddRemoteBucketURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AddRemoteBucketURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*AddRemoteBucketURL) SetBasePath ¶
func (o *AddRemoteBucketURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*AddRemoteBucketURL) String ¶
func (o *AddRemoteBucketURL) String() string
String returns the string representation of the path with query string
func (*AddRemoteBucketURL) StringFull ¶
func (o *AddRemoteBucketURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AddRemoteBucketURL) WithBasePath ¶
func (o *AddRemoteBucketURL) WithBasePath(bp string) *AddRemoteBucketURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type BucketInfo ¶
type BucketInfo struct { Context *middleware.Context Handler BucketInfoHandler }
BucketInfo swagger:route GET /buckets/{name} 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 ¶
func (fn BucketInfoHandlerFunc) Handle(params BucketInfoParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type BucketInfoOK ¶
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 ¶
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 ¶
func (fn BucketSetPolicyHandlerFunc) Handle(params BucketSetPolicyParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type BucketSetPolicyOK ¶
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 ¶
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 CheckMinIOVersion ¶
type CheckMinIOVersion struct { Context *middleware.Context Handler CheckMinIOVersionHandler }
CheckMinIOVersion swagger:route GET /check-version UserAPI checkMinIOVersion
Checks the current MinIO version against the latest
func NewCheckMinIOVersion ¶
func NewCheckMinIOVersion(ctx *middleware.Context, handler CheckMinIOVersionHandler) *CheckMinIOVersion
NewCheckMinIOVersion creates a new http.Handler for the check min i o version operation
func (*CheckMinIOVersion) ServeHTTP ¶
func (o *CheckMinIOVersion) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CheckMinIOVersionDefault ¶
type CheckMinIOVersionDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CheckMinIOVersionDefault Generic error response.
swagger:response checkMinIOVersionDefault
func NewCheckMinIOVersionDefault ¶
func NewCheckMinIOVersionDefault(code int) *CheckMinIOVersionDefault
NewCheckMinIOVersionDefault creates CheckMinIOVersionDefault with default headers values
func (*CheckMinIOVersionDefault) SetPayload ¶
func (o *CheckMinIOVersionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the check min i o version default response
func (*CheckMinIOVersionDefault) SetStatusCode ¶
func (o *CheckMinIOVersionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the check min i o version default response
func (*CheckMinIOVersionDefault) WithPayload ¶
func (o *CheckMinIOVersionDefault) WithPayload(payload *models.Error) *CheckMinIOVersionDefault
WithPayload adds the payload to the check min i o version default response
func (*CheckMinIOVersionDefault) WithStatusCode ¶
func (o *CheckMinIOVersionDefault) WithStatusCode(code int) *CheckMinIOVersionDefault
WithStatusCode adds the status to the check min i o version default response
func (*CheckMinIOVersionDefault) WriteResponse ¶
func (o *CheckMinIOVersionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckMinIOVersionHandler ¶
type CheckMinIOVersionHandler interface {
Handle(CheckMinIOVersionParams) middleware.Responder
}
CheckMinIOVersionHandler interface for that can handle valid check min i o version params
type CheckMinIOVersionHandlerFunc ¶
type CheckMinIOVersionHandlerFunc func(CheckMinIOVersionParams) middleware.Responder
CheckMinIOVersionHandlerFunc turns a function with the right signature into a check min i o version handler
func (CheckMinIOVersionHandlerFunc) Handle ¶
func (fn CheckMinIOVersionHandlerFunc) Handle(params CheckMinIOVersionParams) middleware.Responder
Handle executing the request and returning a response
type CheckMinIOVersionOK ¶
type CheckMinIOVersionOK struct { /* In: Body */ Payload *models.CheckVersionResponse `json:"body,omitempty"` }
CheckMinIOVersionOK A successful response.
swagger:response checkMinIOVersionOK
func NewCheckMinIOVersionOK ¶
func NewCheckMinIOVersionOK() *CheckMinIOVersionOK
NewCheckMinIOVersionOK creates CheckMinIOVersionOK with default headers values
func (*CheckMinIOVersionOK) SetPayload ¶
func (o *CheckMinIOVersionOK) SetPayload(payload *models.CheckVersionResponse)
SetPayload sets the payload to the check min i o version o k response
func (*CheckMinIOVersionOK) WithPayload ¶
func (o *CheckMinIOVersionOK) WithPayload(payload *models.CheckVersionResponse) *CheckMinIOVersionOK
WithPayload adds the payload to the check min i o version o k response
func (*CheckMinIOVersionOK) WriteResponse ¶
func (o *CheckMinIOVersionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckMinIOVersionParams ¶
CheckMinIOVersionParams contains all the bound params for the check min i o version operation typically these are obtained from a http.Request
swagger:parameters CheckMinIOVersion
func NewCheckMinIOVersionParams ¶
func NewCheckMinIOVersionParams() CheckMinIOVersionParams
NewCheckMinIOVersionParams creates a new CheckMinIOVersionParams object
There are no default values defined in the spec.
func (*CheckMinIOVersionParams) BindRequest ¶
func (o *CheckMinIOVersionParams) 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 NewCheckMinIOVersionParams() beforehand.
type CheckMinIOVersionURL ¶
type CheckMinIOVersionURL struct {
// contains filtered or unexported fields
}
CheckMinIOVersionURL generates an URL for the check min i o version operation
func (*CheckMinIOVersionURL) Build ¶
func (o *CheckMinIOVersionURL) Build() (*url.URL, error)
Build a url path and query string
func (*CheckMinIOVersionURL) BuildFull ¶
func (o *CheckMinIOVersionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CheckMinIOVersionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CheckMinIOVersionURL) SetBasePath ¶
func (o *CheckMinIOVersionURL) 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 (*CheckMinIOVersionURL) String ¶
func (o *CheckMinIOVersionURL) String() string
String returns the string representation of the path with query string
func (*CheckMinIOVersionURL) StringFull ¶
func (o *CheckMinIOVersionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CheckMinIOVersionURL) WithBasePath ¶
func (o *CheckMinIOVersionURL) WithBasePath(bp string) *CheckMinIOVersionURL
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 ¶
func (o *CreateBucketEventDefault) WithPayload(payload *models.Error) *CreateBucketEventDefault
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 ¶
func (fn CreateBucketEventHandlerFunc) Handle(params CreateBucketEventParams, principal *models.Principal) middleware.Responder
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 ¶
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 ¶
func (o *CreateServiceAccountCreated) WithPayload(payload *models.ServiceAccountCreds) *CreateServiceAccountCreated
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 ¶
func (o *CreateServiceAccountDefault) WithPayload(payload *models.Error) *CreateServiceAccountDefault
WithPayload adds the payload to the create service account default response
func (*CreateServiceAccountDefault) WithStatusCode ¶
func (o *CreateServiceAccountDefault) WithStatusCode(code int) *CreateServiceAccountDefault
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 ¶
func (fn CreateServiceAccountHandlerFunc) Handle(params CreateServiceAccountParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *CreateServiceAccountParams) 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 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 ¶
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 ¶
func (o *CreateServiceAccountURL) WithBasePath(bp string) *CreateServiceAccountURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteAllReplicationRules ¶
type DeleteAllReplicationRules struct { Context *middleware.Context Handler DeleteAllReplicationRulesHandler }
DeleteAllReplicationRules swagger:route DELETE /buckets/{bucket_name}/delete-all-replication-rules UserAPI deleteAllReplicationRules
Deletes all replication rules from a bucket
func NewDeleteAllReplicationRules ¶
func NewDeleteAllReplicationRules(ctx *middleware.Context, handler DeleteAllReplicationRulesHandler) *DeleteAllReplicationRules
NewDeleteAllReplicationRules creates a new http.Handler for the delete all replication rules operation
func (*DeleteAllReplicationRules) ServeHTTP ¶
func (o *DeleteAllReplicationRules) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteAllReplicationRulesDefault ¶
type DeleteAllReplicationRulesDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteAllReplicationRulesDefault Generic error response.
swagger:response deleteAllReplicationRulesDefault
func NewDeleteAllReplicationRulesDefault ¶
func NewDeleteAllReplicationRulesDefault(code int) *DeleteAllReplicationRulesDefault
NewDeleteAllReplicationRulesDefault creates DeleteAllReplicationRulesDefault with default headers values
func (*DeleteAllReplicationRulesDefault) SetPayload ¶
func (o *DeleteAllReplicationRulesDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete all replication rules default response
func (*DeleteAllReplicationRulesDefault) SetStatusCode ¶
func (o *DeleteAllReplicationRulesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete all replication rules default response
func (*DeleteAllReplicationRulesDefault) WithPayload ¶
func (o *DeleteAllReplicationRulesDefault) WithPayload(payload *models.Error) *DeleteAllReplicationRulesDefault
WithPayload adds the payload to the delete all replication rules default response
func (*DeleteAllReplicationRulesDefault) WithStatusCode ¶
func (o *DeleteAllReplicationRulesDefault) WithStatusCode(code int) *DeleteAllReplicationRulesDefault
WithStatusCode adds the status to the delete all replication rules default response
func (*DeleteAllReplicationRulesDefault) WriteResponse ¶
func (o *DeleteAllReplicationRulesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteAllReplicationRulesHandler ¶
type DeleteAllReplicationRulesHandler interface {
Handle(DeleteAllReplicationRulesParams, *models.Principal) middleware.Responder
}
DeleteAllReplicationRulesHandler interface for that can handle valid delete all replication rules params
type DeleteAllReplicationRulesHandlerFunc ¶
type DeleteAllReplicationRulesHandlerFunc func(DeleteAllReplicationRulesParams, *models.Principal) middleware.Responder
DeleteAllReplicationRulesHandlerFunc turns a function with the right signature into a delete all replication rules handler
func (DeleteAllReplicationRulesHandlerFunc) Handle ¶
func (fn DeleteAllReplicationRulesHandlerFunc) Handle(params DeleteAllReplicationRulesParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteAllReplicationRulesNoContent ¶
type DeleteAllReplicationRulesNoContent struct { }
DeleteAllReplicationRulesNoContent A successful response.
swagger:response deleteAllReplicationRulesNoContent
func NewDeleteAllReplicationRulesNoContent ¶
func NewDeleteAllReplicationRulesNoContent() *DeleteAllReplicationRulesNoContent
NewDeleteAllReplicationRulesNoContent creates DeleteAllReplicationRulesNoContent with default headers values
func (*DeleteAllReplicationRulesNoContent) WriteResponse ¶
func (o *DeleteAllReplicationRulesNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteAllReplicationRulesParams ¶
type DeleteAllReplicationRulesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string }
DeleteAllReplicationRulesParams contains all the bound params for the delete all replication rules operation typically these are obtained from a http.Request
swagger:parameters DeleteAllReplicationRules
func NewDeleteAllReplicationRulesParams ¶
func NewDeleteAllReplicationRulesParams() DeleteAllReplicationRulesParams
NewDeleteAllReplicationRulesParams creates a new DeleteAllReplicationRulesParams object
There are no default values defined in the spec.
func (*DeleteAllReplicationRulesParams) BindRequest ¶
func (o *DeleteAllReplicationRulesParams) 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 NewDeleteAllReplicationRulesParams() beforehand.
type DeleteAllReplicationRulesURL ¶
type DeleteAllReplicationRulesURL struct { BucketName string // contains filtered or unexported fields }
DeleteAllReplicationRulesURL generates an URL for the delete all replication rules operation
func (*DeleteAllReplicationRulesURL) Build ¶
func (o *DeleteAllReplicationRulesURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteAllReplicationRulesURL) BuildFull ¶
func (o *DeleteAllReplicationRulesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteAllReplicationRulesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteAllReplicationRulesURL) SetBasePath ¶
func (o *DeleteAllReplicationRulesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteAllReplicationRulesURL) String ¶
func (o *DeleteAllReplicationRulesURL) String() string
String returns the string representation of the path with query string
func (*DeleteAllReplicationRulesURL) StringFull ¶
func (o *DeleteAllReplicationRulesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteAllReplicationRulesURL) WithBasePath ¶
func (o *DeleteAllReplicationRulesURL) WithBasePath(bp string) *DeleteAllReplicationRulesURL
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 ¶
func (o *DeleteBucketEventDefault) WithPayload(payload *models.Error) *DeleteBucketEventDefault
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 ¶
func (fn DeleteBucketEventHandlerFunc) Handle(params DeleteBucketEventParams, principal *models.Principal) middleware.Responder
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 ¶
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 ¶
func (fn DeleteBucketHandlerFunc) Handle(params DeleteBucketParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteBucketLifecycleRule ¶
type DeleteBucketLifecycleRule struct { Context *middleware.Context Handler DeleteBucketLifecycleRuleHandler }
DeleteBucketLifecycleRule swagger:route DELETE /buckets/{bucket_name}/lifecycle/{lifecycle_id} UserAPI deleteBucketLifecycleRule
Delete Lifecycle rule
func NewDeleteBucketLifecycleRule ¶
func NewDeleteBucketLifecycleRule(ctx *middleware.Context, handler DeleteBucketLifecycleRuleHandler) *DeleteBucketLifecycleRule
NewDeleteBucketLifecycleRule creates a new http.Handler for the delete bucket lifecycle rule operation
func (*DeleteBucketLifecycleRule) ServeHTTP ¶
func (o *DeleteBucketLifecycleRule) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteBucketLifecycleRuleDefault ¶
type DeleteBucketLifecycleRuleDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteBucketLifecycleRuleDefault Generic error response.
swagger:response deleteBucketLifecycleRuleDefault
func NewDeleteBucketLifecycleRuleDefault ¶
func NewDeleteBucketLifecycleRuleDefault(code int) *DeleteBucketLifecycleRuleDefault
NewDeleteBucketLifecycleRuleDefault creates DeleteBucketLifecycleRuleDefault with default headers values
func (*DeleteBucketLifecycleRuleDefault) SetPayload ¶
func (o *DeleteBucketLifecycleRuleDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete bucket lifecycle rule default response
func (*DeleteBucketLifecycleRuleDefault) SetStatusCode ¶
func (o *DeleteBucketLifecycleRuleDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete bucket lifecycle rule default response
func (*DeleteBucketLifecycleRuleDefault) WithPayload ¶
func (o *DeleteBucketLifecycleRuleDefault) WithPayload(payload *models.Error) *DeleteBucketLifecycleRuleDefault
WithPayload adds the payload to the delete bucket lifecycle rule default response
func (*DeleteBucketLifecycleRuleDefault) WithStatusCode ¶
func (o *DeleteBucketLifecycleRuleDefault) WithStatusCode(code int) *DeleteBucketLifecycleRuleDefault
WithStatusCode adds the status to the delete bucket lifecycle rule default response
func (*DeleteBucketLifecycleRuleDefault) WriteResponse ¶
func (o *DeleteBucketLifecycleRuleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteBucketLifecycleRuleHandler ¶
type DeleteBucketLifecycleRuleHandler interface {
Handle(DeleteBucketLifecycleRuleParams, *models.Principal) middleware.Responder
}
DeleteBucketLifecycleRuleHandler interface for that can handle valid delete bucket lifecycle rule params
type DeleteBucketLifecycleRuleHandlerFunc ¶
type DeleteBucketLifecycleRuleHandlerFunc func(DeleteBucketLifecycleRuleParams, *models.Principal) middleware.Responder
DeleteBucketLifecycleRuleHandlerFunc turns a function with the right signature into a delete bucket lifecycle rule handler
func (DeleteBucketLifecycleRuleHandlerFunc) Handle ¶
func (fn DeleteBucketLifecycleRuleHandlerFunc) Handle(params DeleteBucketLifecycleRuleParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteBucketLifecycleRuleNoContent ¶
type DeleteBucketLifecycleRuleNoContent struct { }
DeleteBucketLifecycleRuleNoContent A successful response.
swagger:response deleteBucketLifecycleRuleNoContent
func NewDeleteBucketLifecycleRuleNoContent ¶
func NewDeleteBucketLifecycleRuleNoContent() *DeleteBucketLifecycleRuleNoContent
NewDeleteBucketLifecycleRuleNoContent creates DeleteBucketLifecycleRuleNoContent with default headers values
func (*DeleteBucketLifecycleRuleNoContent) WriteResponse ¶
func (o *DeleteBucketLifecycleRuleNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteBucketLifecycleRuleParams ¶
type DeleteBucketLifecycleRuleParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* Required: true In: path */ LifecycleID string }
DeleteBucketLifecycleRuleParams contains all the bound params for the delete bucket lifecycle rule operation typically these are obtained from a http.Request
swagger:parameters DeleteBucketLifecycleRule
func NewDeleteBucketLifecycleRuleParams ¶
func NewDeleteBucketLifecycleRuleParams() DeleteBucketLifecycleRuleParams
NewDeleteBucketLifecycleRuleParams creates a new DeleteBucketLifecycleRuleParams object
There are no default values defined in the spec.
func (*DeleteBucketLifecycleRuleParams) BindRequest ¶
func (o *DeleteBucketLifecycleRuleParams) 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 NewDeleteBucketLifecycleRuleParams() beforehand.
type DeleteBucketLifecycleRuleURL ¶
type DeleteBucketLifecycleRuleURL struct { BucketName string LifecycleID string // contains filtered or unexported fields }
DeleteBucketLifecycleRuleURL generates an URL for the delete bucket lifecycle rule operation
func (*DeleteBucketLifecycleRuleURL) Build ¶
func (o *DeleteBucketLifecycleRuleURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteBucketLifecycleRuleURL) BuildFull ¶
func (o *DeleteBucketLifecycleRuleURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteBucketLifecycleRuleURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteBucketLifecycleRuleURL) SetBasePath ¶
func (o *DeleteBucketLifecycleRuleURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteBucketLifecycleRuleURL) String ¶
func (o *DeleteBucketLifecycleRuleURL) String() string
String returns the string representation of the path with query string
func (*DeleteBucketLifecycleRuleURL) StringFull ¶
func (o *DeleteBucketLifecycleRuleURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteBucketLifecycleRuleURL) WithBasePath ¶
func (o *DeleteBucketLifecycleRuleURL) WithBasePath(bp string) *DeleteBucketLifecycleRuleURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteBucketNoContent ¶
type DeleteBucketNoContent struct { }
DeleteBucketNoContent A successful response.
swagger:response deleteBucketNoContent
func NewDeleteBucketNoContent ¶
func NewDeleteBucketNoContent() *DeleteBucketNoContent
NewDeleteBucketNoContent creates DeleteBucketNoContent with default headers values
func (*DeleteBucketNoContent) WriteResponse ¶
func (o *DeleteBucketNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteBucketParams ¶
type DeleteBucketParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Name string }
DeleteBucketParams contains all the bound params for the delete bucket operation typically these are obtained from a http.Request
swagger:parameters DeleteBucket
func NewDeleteBucketParams ¶
func NewDeleteBucketParams() DeleteBucketParams
NewDeleteBucketParams creates a new DeleteBucketParams object
There are no default values defined in the spec.
func (*DeleteBucketParams) BindRequest ¶
func (o *DeleteBucketParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteBucketParams() beforehand.
type DeleteBucketReplicationRule ¶
type DeleteBucketReplicationRule struct { Context *middleware.Context Handler DeleteBucketReplicationRuleHandler }
DeleteBucketReplicationRule swagger:route DELETE /buckets/{bucket_name}/replication/{rule_id} UserAPI deleteBucketReplicationRule
Bucket Replication Rule Delete
func NewDeleteBucketReplicationRule ¶
func NewDeleteBucketReplicationRule(ctx *middleware.Context, handler DeleteBucketReplicationRuleHandler) *DeleteBucketReplicationRule
NewDeleteBucketReplicationRule creates a new http.Handler for the delete bucket replication rule operation
func (*DeleteBucketReplicationRule) ServeHTTP ¶
func (o *DeleteBucketReplicationRule) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteBucketReplicationRuleDefault ¶
type DeleteBucketReplicationRuleDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteBucketReplicationRuleDefault Generic error response.
swagger:response deleteBucketReplicationRuleDefault
func NewDeleteBucketReplicationRuleDefault ¶
func NewDeleteBucketReplicationRuleDefault(code int) *DeleteBucketReplicationRuleDefault
NewDeleteBucketReplicationRuleDefault creates DeleteBucketReplicationRuleDefault with default headers values
func (*DeleteBucketReplicationRuleDefault) SetPayload ¶
func (o *DeleteBucketReplicationRuleDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete bucket replication rule default response
func (*DeleteBucketReplicationRuleDefault) SetStatusCode ¶
func (o *DeleteBucketReplicationRuleDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete bucket replication rule default response
func (*DeleteBucketReplicationRuleDefault) WithPayload ¶
func (o *DeleteBucketReplicationRuleDefault) WithPayload(payload *models.Error) *DeleteBucketReplicationRuleDefault
WithPayload adds the payload to the delete bucket replication rule default response
func (*DeleteBucketReplicationRuleDefault) WithStatusCode ¶
func (o *DeleteBucketReplicationRuleDefault) WithStatusCode(code int) *DeleteBucketReplicationRuleDefault
WithStatusCode adds the status to the delete bucket replication rule default response
func (*DeleteBucketReplicationRuleDefault) WriteResponse ¶
func (o *DeleteBucketReplicationRuleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteBucketReplicationRuleHandler ¶
type DeleteBucketReplicationRuleHandler interface {
Handle(DeleteBucketReplicationRuleParams, *models.Principal) middleware.Responder
}
DeleteBucketReplicationRuleHandler interface for that can handle valid delete bucket replication rule params
type DeleteBucketReplicationRuleHandlerFunc ¶
type DeleteBucketReplicationRuleHandlerFunc func(DeleteBucketReplicationRuleParams, *models.Principal) middleware.Responder
DeleteBucketReplicationRuleHandlerFunc turns a function with the right signature into a delete bucket replication rule handler
func (DeleteBucketReplicationRuleHandlerFunc) Handle ¶
func (fn DeleteBucketReplicationRuleHandlerFunc) Handle(params DeleteBucketReplicationRuleParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteBucketReplicationRuleNoContent ¶
type DeleteBucketReplicationRuleNoContent struct { }
DeleteBucketReplicationRuleNoContent A successful response.
swagger:response deleteBucketReplicationRuleNoContent
func NewDeleteBucketReplicationRuleNoContent ¶
func NewDeleteBucketReplicationRuleNoContent() *DeleteBucketReplicationRuleNoContent
NewDeleteBucketReplicationRuleNoContent creates DeleteBucketReplicationRuleNoContent with default headers values
func (*DeleteBucketReplicationRuleNoContent) WriteResponse ¶
func (o *DeleteBucketReplicationRuleNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteBucketReplicationRuleParams ¶
type DeleteBucketReplicationRuleParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* Required: true In: path */ RuleID string }
DeleteBucketReplicationRuleParams contains all the bound params for the delete bucket replication rule operation typically these are obtained from a http.Request
swagger:parameters DeleteBucketReplicationRule
func NewDeleteBucketReplicationRuleParams ¶
func NewDeleteBucketReplicationRuleParams() DeleteBucketReplicationRuleParams
NewDeleteBucketReplicationRuleParams creates a new DeleteBucketReplicationRuleParams object
There are no default values defined in the spec.
func (*DeleteBucketReplicationRuleParams) BindRequest ¶
func (o *DeleteBucketReplicationRuleParams) 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 NewDeleteBucketReplicationRuleParams() beforehand.
type DeleteBucketReplicationRuleURL ¶
type DeleteBucketReplicationRuleURL struct { BucketName string RuleID string // contains filtered or unexported fields }
DeleteBucketReplicationRuleURL generates an URL for the delete bucket replication rule operation
func (*DeleteBucketReplicationRuleURL) Build ¶
func (o *DeleteBucketReplicationRuleURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteBucketReplicationRuleURL) BuildFull ¶
func (o *DeleteBucketReplicationRuleURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteBucketReplicationRuleURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteBucketReplicationRuleURL) SetBasePath ¶
func (o *DeleteBucketReplicationRuleURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteBucketReplicationRuleURL) String ¶
func (o *DeleteBucketReplicationRuleURL) String() string
String returns the string representation of the path with query string
func (*DeleteBucketReplicationRuleURL) StringFull ¶
func (o *DeleteBucketReplicationRuleURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteBucketReplicationRuleURL) WithBasePath ¶
func (o *DeleteBucketReplicationRuleURL) WithBasePath(bp string) *DeleteBucketReplicationRuleURL
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 ¶
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 ¶
type DeleteMultipleObjects struct { Context *middleware.Context Handler DeleteMultipleObjectsHandler }
DeleteMultipleObjects swagger:route POST /buckets/{bucket_name}/delete-objects UserAPI deleteMultipleObjects
Delete Multiple Objects
func NewDeleteMultipleObjects ¶
func NewDeleteMultipleObjects(ctx *middleware.Context, handler DeleteMultipleObjectsHandler) *DeleteMultipleObjects
NewDeleteMultipleObjects creates a new http.Handler for the delete multiple objects operation
func (*DeleteMultipleObjects) ServeHTTP ¶
func (o *DeleteMultipleObjects) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteMultipleObjectsDefault ¶
type DeleteMultipleObjectsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteMultipleObjectsDefault Generic error response.
swagger:response deleteMultipleObjectsDefault
func NewDeleteMultipleObjectsDefault ¶
func NewDeleteMultipleObjectsDefault(code int) *DeleteMultipleObjectsDefault
NewDeleteMultipleObjectsDefault creates DeleteMultipleObjectsDefault with default headers values
func (*DeleteMultipleObjectsDefault) SetPayload ¶
func (o *DeleteMultipleObjectsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete multiple objects default response
func (*DeleteMultipleObjectsDefault) SetStatusCode ¶
func (o *DeleteMultipleObjectsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete multiple objects default response
func (*DeleteMultipleObjectsDefault) WithPayload ¶
func (o *DeleteMultipleObjectsDefault) WithPayload(payload *models.Error) *DeleteMultipleObjectsDefault
WithPayload adds the payload to the delete multiple objects default response
func (*DeleteMultipleObjectsDefault) WithStatusCode ¶
func (o *DeleteMultipleObjectsDefault) WithStatusCode(code int) *DeleteMultipleObjectsDefault
WithStatusCode adds the status to the delete multiple objects default response
func (*DeleteMultipleObjectsDefault) WriteResponse ¶
func (o *DeleteMultipleObjectsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMultipleObjectsHandler ¶
type DeleteMultipleObjectsHandler interface {
Handle(DeleteMultipleObjectsParams, *models.Principal) middleware.Responder
}
DeleteMultipleObjectsHandler interface for that can handle valid delete multiple objects params
type DeleteMultipleObjectsHandlerFunc ¶
type DeleteMultipleObjectsHandlerFunc func(DeleteMultipleObjectsParams, *models.Principal) middleware.Responder
DeleteMultipleObjectsHandlerFunc turns a function with the right signature into a delete multiple objects handler
func (DeleteMultipleObjectsHandlerFunc) Handle ¶
func (fn DeleteMultipleObjectsHandlerFunc) Handle(params DeleteMultipleObjectsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteMultipleObjectsOK ¶
type DeleteMultipleObjectsOK struct { }
DeleteMultipleObjectsOK A successful response.
swagger:response deleteMultipleObjectsOK
func NewDeleteMultipleObjectsOK ¶
func NewDeleteMultipleObjectsOK() *DeleteMultipleObjectsOK
NewDeleteMultipleObjectsOK creates DeleteMultipleObjectsOK with default headers values
func (*DeleteMultipleObjectsOK) WriteResponse ¶
func (o *DeleteMultipleObjectsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMultipleObjectsParams ¶
type DeleteMultipleObjectsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ AllVersions *bool /* Required: true In: path */ BucketName string /* Required: true In: body */ Files []*models.DeleteFile }
DeleteMultipleObjectsParams contains all the bound params for the delete multiple objects operation typically these are obtained from a http.Request
swagger:parameters DeleteMultipleObjects
func NewDeleteMultipleObjectsParams ¶
func NewDeleteMultipleObjectsParams() DeleteMultipleObjectsParams
NewDeleteMultipleObjectsParams creates a new DeleteMultipleObjectsParams object
There are no default values defined in the spec.
func (*DeleteMultipleObjectsParams) BindRequest ¶
func (o *DeleteMultipleObjectsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteMultipleObjectsParams() beforehand.
type DeleteMultipleObjectsURL ¶
type DeleteMultipleObjectsURL struct { BucketName string AllVersions *bool // contains filtered or unexported fields }
DeleteMultipleObjectsURL generates an URL for the delete multiple objects operation
func (*DeleteMultipleObjectsURL) Build ¶
func (o *DeleteMultipleObjectsURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteMultipleObjectsURL) BuildFull ¶
func (o *DeleteMultipleObjectsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteMultipleObjectsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteMultipleObjectsURL) SetBasePath ¶
func (o *DeleteMultipleObjectsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteMultipleObjectsURL) String ¶
func (o *DeleteMultipleObjectsURL) String() string
String returns the string representation of the path with query string
func (*DeleteMultipleObjectsURL) StringFull ¶
func (o *DeleteMultipleObjectsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteMultipleObjectsURL) WithBasePath ¶
func (o *DeleteMultipleObjectsURL) WithBasePath(bp string) *DeleteMultipleObjectsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteMultipleServiceAccounts ¶
type DeleteMultipleServiceAccounts struct { Context *middleware.Context Handler DeleteMultipleServiceAccountsHandler }
DeleteMultipleServiceAccounts swagger:route DELETE /service-accounts/delete-multi UserAPI deleteMultipleServiceAccounts
Delete Multiple Service Accounts
func NewDeleteMultipleServiceAccounts ¶
func NewDeleteMultipleServiceAccounts(ctx *middleware.Context, handler DeleteMultipleServiceAccountsHandler) *DeleteMultipleServiceAccounts
NewDeleteMultipleServiceAccounts creates a new http.Handler for the delete multiple service accounts operation
func (*DeleteMultipleServiceAccounts) ServeHTTP ¶
func (o *DeleteMultipleServiceAccounts) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteMultipleServiceAccountsDefault ¶
type DeleteMultipleServiceAccountsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteMultipleServiceAccountsDefault Generic error response.
swagger:response deleteMultipleServiceAccountsDefault
func NewDeleteMultipleServiceAccountsDefault ¶
func NewDeleteMultipleServiceAccountsDefault(code int) *DeleteMultipleServiceAccountsDefault
NewDeleteMultipleServiceAccountsDefault creates DeleteMultipleServiceAccountsDefault with default headers values
func (*DeleteMultipleServiceAccountsDefault) SetPayload ¶
func (o *DeleteMultipleServiceAccountsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete multiple service accounts default response
func (*DeleteMultipleServiceAccountsDefault) SetStatusCode ¶
func (o *DeleteMultipleServiceAccountsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete multiple service accounts default response
func (*DeleteMultipleServiceAccountsDefault) WithPayload ¶
func (o *DeleteMultipleServiceAccountsDefault) WithPayload(payload *models.Error) *DeleteMultipleServiceAccountsDefault
WithPayload adds the payload to the delete multiple service accounts default response
func (*DeleteMultipleServiceAccountsDefault) WithStatusCode ¶
func (o *DeleteMultipleServiceAccountsDefault) WithStatusCode(code int) *DeleteMultipleServiceAccountsDefault
WithStatusCode adds the status to the delete multiple service accounts default response
func (*DeleteMultipleServiceAccountsDefault) WriteResponse ¶
func (o *DeleteMultipleServiceAccountsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMultipleServiceAccountsHandler ¶
type DeleteMultipleServiceAccountsHandler interface {
Handle(DeleteMultipleServiceAccountsParams, *models.Principal) middleware.Responder
}
DeleteMultipleServiceAccountsHandler interface for that can handle valid delete multiple service accounts params
type DeleteMultipleServiceAccountsHandlerFunc ¶
type DeleteMultipleServiceAccountsHandlerFunc func(DeleteMultipleServiceAccountsParams, *models.Principal) middleware.Responder
DeleteMultipleServiceAccountsHandlerFunc turns a function with the right signature into a delete multiple service accounts handler
func (DeleteMultipleServiceAccountsHandlerFunc) Handle ¶
func (fn DeleteMultipleServiceAccountsHandlerFunc) Handle(params DeleteMultipleServiceAccountsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteMultipleServiceAccountsNoContent ¶
type DeleteMultipleServiceAccountsNoContent struct { }
DeleteMultipleServiceAccountsNoContent A successful response.
swagger:response deleteMultipleServiceAccountsNoContent
func NewDeleteMultipleServiceAccountsNoContent ¶
func NewDeleteMultipleServiceAccountsNoContent() *DeleteMultipleServiceAccountsNoContent
NewDeleteMultipleServiceAccountsNoContent creates DeleteMultipleServiceAccountsNoContent with default headers values
func (*DeleteMultipleServiceAccountsNoContent) WriteResponse ¶
func (o *DeleteMultipleServiceAccountsNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMultipleServiceAccountsParams ¶
type DeleteMultipleServiceAccountsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ SelectedSA []string }
DeleteMultipleServiceAccountsParams contains all the bound params for the delete multiple service accounts operation typically these are obtained from a http.Request
swagger:parameters DeleteMultipleServiceAccounts
func NewDeleteMultipleServiceAccountsParams ¶
func NewDeleteMultipleServiceAccountsParams() DeleteMultipleServiceAccountsParams
NewDeleteMultipleServiceAccountsParams creates a new DeleteMultipleServiceAccountsParams object
There are no default values defined in the spec.
func (*DeleteMultipleServiceAccountsParams) BindRequest ¶
func (o *DeleteMultipleServiceAccountsParams) 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 NewDeleteMultipleServiceAccountsParams() beforehand.
type DeleteMultipleServiceAccountsURL ¶
type DeleteMultipleServiceAccountsURL struct {
// contains filtered or unexported fields
}
DeleteMultipleServiceAccountsURL generates an URL for the delete multiple service accounts operation
func (*DeleteMultipleServiceAccountsURL) Build ¶
func (o *DeleteMultipleServiceAccountsURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteMultipleServiceAccountsURL) BuildFull ¶
func (o *DeleteMultipleServiceAccountsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteMultipleServiceAccountsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteMultipleServiceAccountsURL) SetBasePath ¶
func (o *DeleteMultipleServiceAccountsURL) 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 (*DeleteMultipleServiceAccountsURL) String ¶
func (o *DeleteMultipleServiceAccountsURL) String() string
String returns the string representation of the path with query string
func (*DeleteMultipleServiceAccountsURL) StringFull ¶
func (o *DeleteMultipleServiceAccountsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteMultipleServiceAccountsURL) WithBasePath ¶
func (o *DeleteMultipleServiceAccountsURL) WithBasePath(bp string) *DeleteMultipleServiceAccountsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteObject ¶
type DeleteObject struct { Context *middleware.Context Handler DeleteObjectHandler }
DeleteObject swagger:route DELETE /buckets/{bucket_name}/objects UserAPI deleteObject
Delete Object
func NewDeleteObject ¶
func NewDeleteObject(ctx *middleware.Context, handler DeleteObjectHandler) *DeleteObject
NewDeleteObject creates a new http.Handler for the delete object operation
func (*DeleteObject) ServeHTTP ¶
func (o *DeleteObject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteObjectDefault ¶
type DeleteObjectDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteObjectDefault Generic error response.
swagger:response deleteObjectDefault
func NewDeleteObjectDefault ¶
func NewDeleteObjectDefault(code int) *DeleteObjectDefault
NewDeleteObjectDefault creates DeleteObjectDefault with default headers values
func (*DeleteObjectDefault) SetPayload ¶
func (o *DeleteObjectDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete object default response
func (*DeleteObjectDefault) SetStatusCode ¶
func (o *DeleteObjectDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete object default response
func (*DeleteObjectDefault) WithPayload ¶
func (o *DeleteObjectDefault) WithPayload(payload *models.Error) *DeleteObjectDefault
WithPayload adds the payload to the delete object default response
func (*DeleteObjectDefault) WithStatusCode ¶
func (o *DeleteObjectDefault) WithStatusCode(code int) *DeleteObjectDefault
WithStatusCode adds the status to the delete object default response
func (*DeleteObjectDefault) WriteResponse ¶
func (o *DeleteObjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteObjectHandler ¶
type DeleteObjectHandler interface {
Handle(DeleteObjectParams, *models.Principal) middleware.Responder
}
DeleteObjectHandler interface for that can handle valid delete object params
type DeleteObjectHandlerFunc ¶
type DeleteObjectHandlerFunc func(DeleteObjectParams, *models.Principal) middleware.Responder
DeleteObjectHandlerFunc turns a function with the right signature into a delete object handler
func (DeleteObjectHandlerFunc) Handle ¶
func (fn DeleteObjectHandlerFunc) Handle(params DeleteObjectParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteObjectOK ¶
type DeleteObjectOK struct { }
DeleteObjectOK A successful response.
swagger:response deleteObjectOK
func NewDeleteObjectOK ¶
func NewDeleteObjectOK() *DeleteObjectOK
NewDeleteObjectOK creates DeleteObjectOK with default headers values
func (*DeleteObjectOK) WriteResponse ¶
func (o *DeleteObjectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteObjectParams ¶
type DeleteObjectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ AllVersions *bool /* Required: true In: path */ BucketName string /* In: query */ NonCurrentVersions *bool /* Required: true In: query */ Path string /* In: query */ Recursive *bool /* In: query */ VersionID *string }
DeleteObjectParams contains all the bound params for the delete object operation typically these are obtained from a http.Request
swagger:parameters DeleteObject
func NewDeleteObjectParams ¶
func NewDeleteObjectParams() DeleteObjectParams
NewDeleteObjectParams creates a new DeleteObjectParams object
There are no default values defined in the spec.
func (*DeleteObjectParams) BindRequest ¶
func (o *DeleteObjectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteObjectParams() beforehand.
type DeleteObjectRetention ¶
type DeleteObjectRetention struct { Context *middleware.Context Handler DeleteObjectRetentionHandler }
DeleteObjectRetention swagger:route DELETE /buckets/{bucket_name}/objects/retention UserAPI deleteObjectRetention
Delete Object retention from an object
func NewDeleteObjectRetention ¶
func NewDeleteObjectRetention(ctx *middleware.Context, handler DeleteObjectRetentionHandler) *DeleteObjectRetention
NewDeleteObjectRetention creates a new http.Handler for the delete object retention operation
func (*DeleteObjectRetention) ServeHTTP ¶
func (o *DeleteObjectRetention) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteObjectRetentionDefault ¶
type DeleteObjectRetentionDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteObjectRetentionDefault Generic error response.
swagger:response deleteObjectRetentionDefault
func NewDeleteObjectRetentionDefault ¶
func NewDeleteObjectRetentionDefault(code int) *DeleteObjectRetentionDefault
NewDeleteObjectRetentionDefault creates DeleteObjectRetentionDefault with default headers values
func (*DeleteObjectRetentionDefault) SetPayload ¶
func (o *DeleteObjectRetentionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete object retention default response
func (*DeleteObjectRetentionDefault) SetStatusCode ¶
func (o *DeleteObjectRetentionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete object retention default response
func (*DeleteObjectRetentionDefault) WithPayload ¶
func (o *DeleteObjectRetentionDefault) WithPayload(payload *models.Error) *DeleteObjectRetentionDefault
WithPayload adds the payload to the delete object retention default response
func (*DeleteObjectRetentionDefault) WithStatusCode ¶
func (o *DeleteObjectRetentionDefault) WithStatusCode(code int) *DeleteObjectRetentionDefault
WithStatusCode adds the status to the delete object retention default response
func (*DeleteObjectRetentionDefault) WriteResponse ¶
func (o *DeleteObjectRetentionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteObjectRetentionHandler ¶
type DeleteObjectRetentionHandler interface {
Handle(DeleteObjectRetentionParams, *models.Principal) middleware.Responder
}
DeleteObjectRetentionHandler interface for that can handle valid delete object retention params
type DeleteObjectRetentionHandlerFunc ¶
type DeleteObjectRetentionHandlerFunc func(DeleteObjectRetentionParams, *models.Principal) middleware.Responder
DeleteObjectRetentionHandlerFunc turns a function with the right signature into a delete object retention handler
func (DeleteObjectRetentionHandlerFunc) Handle ¶
func (fn DeleteObjectRetentionHandlerFunc) Handle(params DeleteObjectRetentionParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteObjectRetentionOK ¶
type DeleteObjectRetentionOK struct { }
DeleteObjectRetentionOK A successful response.
swagger:response deleteObjectRetentionOK
func NewDeleteObjectRetentionOK ¶
func NewDeleteObjectRetentionOK() *DeleteObjectRetentionOK
NewDeleteObjectRetentionOK creates DeleteObjectRetentionOK with default headers values
func (*DeleteObjectRetentionOK) WriteResponse ¶
func (o *DeleteObjectRetentionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteObjectRetentionParams ¶
type DeleteObjectRetentionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* Required: true In: query */ Prefix string /* Required: true In: query */ VersionID string }
DeleteObjectRetentionParams contains all the bound params for the delete object retention operation typically these are obtained from a http.Request
swagger:parameters DeleteObjectRetention
func NewDeleteObjectRetentionParams ¶
func NewDeleteObjectRetentionParams() DeleteObjectRetentionParams
NewDeleteObjectRetentionParams creates a new DeleteObjectRetentionParams object
There are no default values defined in the spec.
func (*DeleteObjectRetentionParams) BindRequest ¶
func (o *DeleteObjectRetentionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteObjectRetentionParams() beforehand.
type DeleteObjectRetentionURL ¶
type DeleteObjectRetentionURL struct { BucketName string Prefix string VersionID string // contains filtered or unexported fields }
DeleteObjectRetentionURL generates an URL for the delete object retention operation
func (*DeleteObjectRetentionURL) Build ¶
func (o *DeleteObjectRetentionURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteObjectRetentionURL) BuildFull ¶
func (o *DeleteObjectRetentionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteObjectRetentionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteObjectRetentionURL) SetBasePath ¶
func (o *DeleteObjectRetentionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteObjectRetentionURL) String ¶
func (o *DeleteObjectRetentionURL) String() string
String returns the string representation of the path with query string
func (*DeleteObjectRetentionURL) StringFull ¶
func (o *DeleteObjectRetentionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteObjectRetentionURL) WithBasePath ¶
func (o *DeleteObjectRetentionURL) WithBasePath(bp string) *DeleteObjectRetentionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteObjectURL ¶
type DeleteObjectURL struct { BucketName string AllVersions *bool NonCurrentVersions *bool Path string Recursive *bool VersionID *string // contains filtered or unexported fields }
DeleteObjectURL generates an URL for the delete object operation
func (*DeleteObjectURL) Build ¶
func (o *DeleteObjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteObjectURL) BuildFull ¶
func (o *DeleteObjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteObjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteObjectURL) SetBasePath ¶
func (o *DeleteObjectURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteObjectURL) String ¶
func (o *DeleteObjectURL) String() string
String returns the string representation of the path with query string
func (*DeleteObjectURL) StringFull ¶
func (o *DeleteObjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteObjectURL) WithBasePath ¶
func (o *DeleteObjectURL) WithBasePath(bp string) *DeleteObjectURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteRemoteBucket ¶
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 ¶
func NewDeleteRemoteBucket(ctx *middleware.Context, handler DeleteRemoteBucketHandler) *DeleteRemoteBucket
NewDeleteRemoteBucket creates a new http.Handler for the delete remote bucket operation
func (*DeleteRemoteBucket) ServeHTTP ¶
func (o *DeleteRemoteBucket) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteRemoteBucketDefault ¶
type DeleteRemoteBucketDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteRemoteBucketDefault Generic error response.
swagger:response deleteRemoteBucketDefault
func NewDeleteRemoteBucketDefault ¶
func NewDeleteRemoteBucketDefault(code int) *DeleteRemoteBucketDefault
NewDeleteRemoteBucketDefault creates DeleteRemoteBucketDefault with default headers values
func (*DeleteRemoteBucketDefault) SetPayload ¶
func (o *DeleteRemoteBucketDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete remote bucket default response
func (*DeleteRemoteBucketDefault) SetStatusCode ¶
func (o *DeleteRemoteBucketDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete remote bucket default response
func (*DeleteRemoteBucketDefault) WithPayload ¶
func (o *DeleteRemoteBucketDefault) WithPayload(payload *models.Error) *DeleteRemoteBucketDefault
WithPayload adds the payload to the delete remote bucket default response
func (*DeleteRemoteBucketDefault) WithStatusCode ¶
func (o *DeleteRemoteBucketDefault) WithStatusCode(code int) *DeleteRemoteBucketDefault
WithStatusCode adds the status to the delete remote bucket default response
func (*DeleteRemoteBucketDefault) WriteResponse ¶
func (o *DeleteRemoteBucketDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteRemoteBucketHandler ¶
type DeleteRemoteBucketHandler interface {
Handle(DeleteRemoteBucketParams, *models.Principal) middleware.Responder
}
DeleteRemoteBucketHandler interface for that can handle valid delete remote bucket params
type DeleteRemoteBucketHandlerFunc ¶
type DeleteRemoteBucketHandlerFunc func(DeleteRemoteBucketParams, *models.Principal) middleware.Responder
DeleteRemoteBucketHandlerFunc turns a function with the right signature into a delete remote bucket handler
func (DeleteRemoteBucketHandlerFunc) Handle ¶
func (fn DeleteRemoteBucketHandlerFunc) Handle(params DeleteRemoteBucketParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteRemoteBucketNoContent ¶
type DeleteRemoteBucketNoContent struct { }
DeleteRemoteBucketNoContent A successful response.
swagger:response deleteRemoteBucketNoContent
func NewDeleteRemoteBucketNoContent ¶
func NewDeleteRemoteBucketNoContent() *DeleteRemoteBucketNoContent
NewDeleteRemoteBucketNoContent creates DeleteRemoteBucketNoContent with default headers values
func (*DeleteRemoteBucketNoContent) WriteResponse ¶
func (o *DeleteRemoteBucketNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteRemoteBucketParams ¶
type DeleteRemoteBucketParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Arn string /* Required: true In: path */ SourceBucketName string }
DeleteRemoteBucketParams contains all the bound params for the delete remote bucket operation typically these are obtained from a http.Request
swagger:parameters DeleteRemoteBucket
func NewDeleteRemoteBucketParams ¶
func NewDeleteRemoteBucketParams() DeleteRemoteBucketParams
NewDeleteRemoteBucketParams creates a new DeleteRemoteBucketParams object
There are no default values defined in the spec.
func (*DeleteRemoteBucketParams) BindRequest ¶
func (o *DeleteRemoteBucketParams) 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 NewDeleteRemoteBucketParams() beforehand.
type DeleteRemoteBucketURL ¶
type DeleteRemoteBucketURL struct { Arn string SourceBucketName string // contains filtered or unexported fields }
DeleteRemoteBucketURL generates an URL for the delete remote bucket operation
func (*DeleteRemoteBucketURL) Build ¶
func (o *DeleteRemoteBucketURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteRemoteBucketURL) BuildFull ¶
func (o *DeleteRemoteBucketURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteRemoteBucketURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteRemoteBucketURL) SetBasePath ¶
func (o *DeleteRemoteBucketURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteRemoteBucketURL) String ¶
func (o *DeleteRemoteBucketURL) String() string
String returns the string representation of the path with query string
func (*DeleteRemoteBucketURL) StringFull ¶
func (o *DeleteRemoteBucketURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteRemoteBucketURL) WithBasePath ¶
func (o *DeleteRemoteBucketURL) WithBasePath(bp string) *DeleteRemoteBucketURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteSelectedReplicationRules ¶
type DeleteSelectedReplicationRules struct { Context *middleware.Context Handler DeleteSelectedReplicationRulesHandler }
DeleteSelectedReplicationRules swagger:route DELETE /buckets/{bucket_name}/delete-selected-replication-rules UserAPI deleteSelectedReplicationRules
Deletes selected replication rules from a bucket
func NewDeleteSelectedReplicationRules ¶
func NewDeleteSelectedReplicationRules(ctx *middleware.Context, handler DeleteSelectedReplicationRulesHandler) *DeleteSelectedReplicationRules
NewDeleteSelectedReplicationRules creates a new http.Handler for the delete selected replication rules operation
func (*DeleteSelectedReplicationRules) ServeHTTP ¶
func (o *DeleteSelectedReplicationRules) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteSelectedReplicationRulesDefault ¶
type DeleteSelectedReplicationRulesDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteSelectedReplicationRulesDefault Generic error response.
swagger:response deleteSelectedReplicationRulesDefault
func NewDeleteSelectedReplicationRulesDefault ¶
func NewDeleteSelectedReplicationRulesDefault(code int) *DeleteSelectedReplicationRulesDefault
NewDeleteSelectedReplicationRulesDefault creates DeleteSelectedReplicationRulesDefault with default headers values
func (*DeleteSelectedReplicationRulesDefault) SetPayload ¶
func (o *DeleteSelectedReplicationRulesDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete selected replication rules default response
func (*DeleteSelectedReplicationRulesDefault) SetStatusCode ¶
func (o *DeleteSelectedReplicationRulesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete selected replication rules default response
func (*DeleteSelectedReplicationRulesDefault) WithPayload ¶
func (o *DeleteSelectedReplicationRulesDefault) WithPayload(payload *models.Error) *DeleteSelectedReplicationRulesDefault
WithPayload adds the payload to the delete selected replication rules default response
func (*DeleteSelectedReplicationRulesDefault) WithStatusCode ¶
func (o *DeleteSelectedReplicationRulesDefault) WithStatusCode(code int) *DeleteSelectedReplicationRulesDefault
WithStatusCode adds the status to the delete selected replication rules default response
func (*DeleteSelectedReplicationRulesDefault) WriteResponse ¶
func (o *DeleteSelectedReplicationRulesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSelectedReplicationRulesHandler ¶
type DeleteSelectedReplicationRulesHandler interface {
Handle(DeleteSelectedReplicationRulesParams, *models.Principal) middleware.Responder
}
DeleteSelectedReplicationRulesHandler interface for that can handle valid delete selected replication rules params
type DeleteSelectedReplicationRulesHandlerFunc ¶
type DeleteSelectedReplicationRulesHandlerFunc func(DeleteSelectedReplicationRulesParams, *models.Principal) middleware.Responder
DeleteSelectedReplicationRulesHandlerFunc turns a function with the right signature into a delete selected replication rules handler
func (DeleteSelectedReplicationRulesHandlerFunc) Handle ¶
func (fn DeleteSelectedReplicationRulesHandlerFunc) Handle(params DeleteSelectedReplicationRulesParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteSelectedReplicationRulesNoContent ¶
type DeleteSelectedReplicationRulesNoContent struct { }
DeleteSelectedReplicationRulesNoContent A successful response.
swagger:response deleteSelectedReplicationRulesNoContent
func NewDeleteSelectedReplicationRulesNoContent ¶
func NewDeleteSelectedReplicationRulesNoContent() *DeleteSelectedReplicationRulesNoContent
NewDeleteSelectedReplicationRulesNoContent creates DeleteSelectedReplicationRulesNoContent with default headers values
func (*DeleteSelectedReplicationRulesNoContent) WriteResponse ¶
func (o *DeleteSelectedReplicationRulesNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSelectedReplicationRulesParams ¶
type DeleteSelectedReplicationRulesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* Required: true In: body */ Rules *models.BucketReplicationRuleList }
DeleteSelectedReplicationRulesParams contains all the bound params for the delete selected replication rules operation typically these are obtained from a http.Request
swagger:parameters DeleteSelectedReplicationRules
func NewDeleteSelectedReplicationRulesParams ¶
func NewDeleteSelectedReplicationRulesParams() DeleteSelectedReplicationRulesParams
NewDeleteSelectedReplicationRulesParams creates a new DeleteSelectedReplicationRulesParams object
There are no default values defined in the spec.
func (*DeleteSelectedReplicationRulesParams) BindRequest ¶
func (o *DeleteSelectedReplicationRulesParams) 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 NewDeleteSelectedReplicationRulesParams() beforehand.
type DeleteSelectedReplicationRulesURL ¶
type DeleteSelectedReplicationRulesURL struct { BucketName string // contains filtered or unexported fields }
DeleteSelectedReplicationRulesURL generates an URL for the delete selected replication rules operation
func (*DeleteSelectedReplicationRulesURL) Build ¶
func (o *DeleteSelectedReplicationRulesURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteSelectedReplicationRulesURL) BuildFull ¶
func (o *DeleteSelectedReplicationRulesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteSelectedReplicationRulesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteSelectedReplicationRulesURL) SetBasePath ¶
func (o *DeleteSelectedReplicationRulesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteSelectedReplicationRulesURL) String ¶
func (o *DeleteSelectedReplicationRulesURL) String() string
String returns the string representation of the path with query string
func (*DeleteSelectedReplicationRulesURL) StringFull ¶
func (o *DeleteSelectedReplicationRulesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteSelectedReplicationRulesURL) WithBasePath ¶
func (o *DeleteSelectedReplicationRulesURL) WithBasePath(bp string) *DeleteSelectedReplicationRulesURL
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 ¶
func (o *DeleteServiceAccountDefault) WithPayload(payload *models.Error) *DeleteServiceAccountDefault
WithPayload adds the payload to the delete service account default response
func (*DeleteServiceAccountDefault) WithStatusCode ¶
func (o *DeleteServiceAccountDefault) WithStatusCode(code int) *DeleteServiceAccountDefault
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 ¶
func (fn DeleteServiceAccountHandlerFunc) Handle(params DeleteServiceAccountParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *DeleteServiceAccountParams) 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 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 ¶
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 ¶
func (o *DeleteServiceAccountURL) WithBasePath(bp string) *DeleteServiceAccountURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DisableBucketEncryption ¶
type DisableBucketEncryption struct { Context *middleware.Context Handler DisableBucketEncryptionHandler }
DisableBucketEncryption swagger:route POST /buckets/{bucket_name}/encryption/disable UserAPI disableBucketEncryption
Disable bucket encryption.
func NewDisableBucketEncryption ¶
func NewDisableBucketEncryption(ctx *middleware.Context, handler DisableBucketEncryptionHandler) *DisableBucketEncryption
NewDisableBucketEncryption creates a new http.Handler for the disable bucket encryption operation
func (*DisableBucketEncryption) ServeHTTP ¶
func (o *DisableBucketEncryption) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DisableBucketEncryptionDefault ¶
type DisableBucketEncryptionDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DisableBucketEncryptionDefault Generic error response.
swagger:response disableBucketEncryptionDefault
func NewDisableBucketEncryptionDefault ¶
func NewDisableBucketEncryptionDefault(code int) *DisableBucketEncryptionDefault
NewDisableBucketEncryptionDefault creates DisableBucketEncryptionDefault with default headers values
func (*DisableBucketEncryptionDefault) SetPayload ¶
func (o *DisableBucketEncryptionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the disable bucket encryption default response
func (*DisableBucketEncryptionDefault) SetStatusCode ¶
func (o *DisableBucketEncryptionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the disable bucket encryption default response
func (*DisableBucketEncryptionDefault) WithPayload ¶
func (o *DisableBucketEncryptionDefault) WithPayload(payload *models.Error) *DisableBucketEncryptionDefault
WithPayload adds the payload to the disable bucket encryption default response
func (*DisableBucketEncryptionDefault) WithStatusCode ¶
func (o *DisableBucketEncryptionDefault) WithStatusCode(code int) *DisableBucketEncryptionDefault
WithStatusCode adds the status to the disable bucket encryption default response
func (*DisableBucketEncryptionDefault) WriteResponse ¶
func (o *DisableBucketEncryptionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DisableBucketEncryptionHandler ¶
type DisableBucketEncryptionHandler interface {
Handle(DisableBucketEncryptionParams, *models.Principal) middleware.Responder
}
DisableBucketEncryptionHandler interface for that can handle valid disable bucket encryption params
type DisableBucketEncryptionHandlerFunc ¶
type DisableBucketEncryptionHandlerFunc func(DisableBucketEncryptionParams, *models.Principal) middleware.Responder
DisableBucketEncryptionHandlerFunc turns a function with the right signature into a disable bucket encryption handler
func (DisableBucketEncryptionHandlerFunc) Handle ¶
func (fn DisableBucketEncryptionHandlerFunc) Handle(params DisableBucketEncryptionParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DisableBucketEncryptionOK ¶
type DisableBucketEncryptionOK struct { }
DisableBucketEncryptionOK A successful response.
swagger:response disableBucketEncryptionOK
func NewDisableBucketEncryptionOK ¶
func NewDisableBucketEncryptionOK() *DisableBucketEncryptionOK
NewDisableBucketEncryptionOK creates DisableBucketEncryptionOK with default headers values
func (*DisableBucketEncryptionOK) WriteResponse ¶
func (o *DisableBucketEncryptionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DisableBucketEncryptionParams ¶
type DisableBucketEncryptionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string }
DisableBucketEncryptionParams contains all the bound params for the disable bucket encryption operation typically these are obtained from a http.Request
swagger:parameters DisableBucketEncryption
func NewDisableBucketEncryptionParams ¶
func NewDisableBucketEncryptionParams() DisableBucketEncryptionParams
NewDisableBucketEncryptionParams creates a new DisableBucketEncryptionParams object
There are no default values defined in the spec.
func (*DisableBucketEncryptionParams) BindRequest ¶
func (o *DisableBucketEncryptionParams) 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 NewDisableBucketEncryptionParams() beforehand.
type DisableBucketEncryptionURL ¶
type DisableBucketEncryptionURL struct { BucketName string // contains filtered or unexported fields }
DisableBucketEncryptionURL generates an URL for the disable bucket encryption operation
func (*DisableBucketEncryptionURL) Build ¶
func (o *DisableBucketEncryptionURL) Build() (*url.URL, error)
Build a url path and query string
func (*DisableBucketEncryptionURL) BuildFull ¶
func (o *DisableBucketEncryptionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DisableBucketEncryptionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DisableBucketEncryptionURL) SetBasePath ¶
func (o *DisableBucketEncryptionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DisableBucketEncryptionURL) String ¶
func (o *DisableBucketEncryptionURL) String() string
String returns the string representation of the path with query string
func (*DisableBucketEncryptionURL) StringFull ¶
func (o *DisableBucketEncryptionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DisableBucketEncryptionURL) WithBasePath ¶
func (o *DisableBucketEncryptionURL) WithBasePath(bp string) *DisableBucketEncryptionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DownloadObject ¶
type DownloadObject struct { Context *middleware.Context Handler DownloadObjectHandler }
DownloadObject swagger:route GET /buckets/{bucket_name}/objects/download UserAPI downloadObject
Download Object
func NewDownloadObject ¶
func NewDownloadObject(ctx *middleware.Context, handler DownloadObjectHandler) *DownloadObject
NewDownloadObject creates a new http.Handler for the download object operation
func (*DownloadObject) ServeHTTP ¶
func (o *DownloadObject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DownloadObjectDefault ¶
type DownloadObjectDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DownloadObjectDefault Generic error response.
swagger:response downloadObjectDefault
func NewDownloadObjectDefault ¶
func NewDownloadObjectDefault(code int) *DownloadObjectDefault
NewDownloadObjectDefault creates DownloadObjectDefault with default headers values
func (*DownloadObjectDefault) SetPayload ¶
func (o *DownloadObjectDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the download object default response
func (*DownloadObjectDefault) SetStatusCode ¶
func (o *DownloadObjectDefault) SetStatusCode(code int)
SetStatusCode sets the status to the download object default response
func (*DownloadObjectDefault) WithPayload ¶
func (o *DownloadObjectDefault) WithPayload(payload *models.Error) *DownloadObjectDefault
WithPayload adds the payload to the download object default response
func (*DownloadObjectDefault) WithStatusCode ¶
func (o *DownloadObjectDefault) WithStatusCode(code int) *DownloadObjectDefault
WithStatusCode adds the status to the download object default response
func (*DownloadObjectDefault) WriteResponse ¶
func (o *DownloadObjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadObjectHandler ¶
type DownloadObjectHandler interface {
Handle(DownloadObjectParams, *models.Principal) middleware.Responder
}
DownloadObjectHandler interface for that can handle valid download object params
type DownloadObjectHandlerFunc ¶
type DownloadObjectHandlerFunc func(DownloadObjectParams, *models.Principal) middleware.Responder
DownloadObjectHandlerFunc turns a function with the right signature into a download object handler
func (DownloadObjectHandlerFunc) Handle ¶
func (fn DownloadObjectHandlerFunc) Handle(params DownloadObjectParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DownloadObjectOK ¶
type DownloadObjectOK struct { /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
DownloadObjectOK A successful response.
swagger:response downloadObjectOK
func NewDownloadObjectOK ¶
func NewDownloadObjectOK() *DownloadObjectOK
NewDownloadObjectOK creates DownloadObjectOK with default headers values
func (*DownloadObjectOK) SetPayload ¶
func (o *DownloadObjectOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the download object o k response
func (*DownloadObjectOK) WithPayload ¶
func (o *DownloadObjectOK) WithPayload(payload io.ReadCloser) *DownloadObjectOK
WithPayload adds the payload to the download object o k response
func (*DownloadObjectOK) WriteResponse ¶
func (o *DownloadObjectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadObjectParams ¶
type DownloadObjectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* Required: true In: query */ Prefix string /* In: query Default: false */ Preview *bool /* In: query */ VersionID *string }
DownloadObjectParams contains all the bound params for the download object operation typically these are obtained from a http.Request
swagger:parameters Download Object
func NewDownloadObjectParams ¶
func NewDownloadObjectParams() DownloadObjectParams
NewDownloadObjectParams creates a new DownloadObjectParams object with the default values initialized.
func (*DownloadObjectParams) BindRequest ¶
func (o *DownloadObjectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDownloadObjectParams() beforehand.
type DownloadObjectURL ¶
type DownloadObjectURL struct { BucketName string Prefix string Preview *bool VersionID *string // contains filtered or unexported fields }
DownloadObjectURL generates an URL for the download object operation
func (*DownloadObjectURL) Build ¶
func (o *DownloadObjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*DownloadObjectURL) BuildFull ¶
func (o *DownloadObjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DownloadObjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DownloadObjectURL) SetBasePath ¶
func (o *DownloadObjectURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DownloadObjectURL) String ¶
func (o *DownloadObjectURL) String() string
String returns the string representation of the path with query string
func (*DownloadObjectURL) StringFull ¶
func (o *DownloadObjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DownloadObjectURL) WithBasePath ¶
func (o *DownloadObjectURL) WithBasePath(bp string) *DownloadObjectURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type EnableBucketEncryption ¶
type EnableBucketEncryption struct { Context *middleware.Context Handler EnableBucketEncryptionHandler }
EnableBucketEncryption swagger:route POST /buckets/{bucket_name}/encryption/enable UserAPI enableBucketEncryption
Enable bucket encryption.
func NewEnableBucketEncryption ¶
func NewEnableBucketEncryption(ctx *middleware.Context, handler EnableBucketEncryptionHandler) *EnableBucketEncryption
NewEnableBucketEncryption creates a new http.Handler for the enable bucket encryption operation
func (*EnableBucketEncryption) ServeHTTP ¶
func (o *EnableBucketEncryption) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type EnableBucketEncryptionDefault ¶
type EnableBucketEncryptionDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
EnableBucketEncryptionDefault Generic error response.
swagger:response enableBucketEncryptionDefault
func NewEnableBucketEncryptionDefault ¶
func NewEnableBucketEncryptionDefault(code int) *EnableBucketEncryptionDefault
NewEnableBucketEncryptionDefault creates EnableBucketEncryptionDefault with default headers values
func (*EnableBucketEncryptionDefault) SetPayload ¶
func (o *EnableBucketEncryptionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the enable bucket encryption default response
func (*EnableBucketEncryptionDefault) SetStatusCode ¶
func (o *EnableBucketEncryptionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the enable bucket encryption default response
func (*EnableBucketEncryptionDefault) WithPayload ¶
func (o *EnableBucketEncryptionDefault) WithPayload(payload *models.Error) *EnableBucketEncryptionDefault
WithPayload adds the payload to the enable bucket encryption default response
func (*EnableBucketEncryptionDefault) WithStatusCode ¶
func (o *EnableBucketEncryptionDefault) WithStatusCode(code int) *EnableBucketEncryptionDefault
WithStatusCode adds the status to the enable bucket encryption default response
func (*EnableBucketEncryptionDefault) WriteResponse ¶
func (o *EnableBucketEncryptionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type EnableBucketEncryptionHandler ¶
type EnableBucketEncryptionHandler interface {
Handle(EnableBucketEncryptionParams, *models.Principal) middleware.Responder
}
EnableBucketEncryptionHandler interface for that can handle valid enable bucket encryption params
type EnableBucketEncryptionHandlerFunc ¶
type EnableBucketEncryptionHandlerFunc func(EnableBucketEncryptionParams, *models.Principal) middleware.Responder
EnableBucketEncryptionHandlerFunc turns a function with the right signature into a enable bucket encryption handler
func (EnableBucketEncryptionHandlerFunc) Handle ¶
func (fn EnableBucketEncryptionHandlerFunc) Handle(params EnableBucketEncryptionParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type EnableBucketEncryptionOK ¶
type EnableBucketEncryptionOK struct { }
EnableBucketEncryptionOK A successful response.
swagger:response enableBucketEncryptionOK
func NewEnableBucketEncryptionOK ¶
func NewEnableBucketEncryptionOK() *EnableBucketEncryptionOK
NewEnableBucketEncryptionOK creates EnableBucketEncryptionOK with default headers values
func (*EnableBucketEncryptionOK) WriteResponse ¶
func (o *EnableBucketEncryptionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type EnableBucketEncryptionParams ¶
type EnableBucketEncryptionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.BucketEncryptionRequest /* Required: true In: path */ BucketName string }
EnableBucketEncryptionParams contains all the bound params for the enable bucket encryption operation typically these are obtained from a http.Request
swagger:parameters EnableBucketEncryption
func NewEnableBucketEncryptionParams ¶
func NewEnableBucketEncryptionParams() EnableBucketEncryptionParams
NewEnableBucketEncryptionParams creates a new EnableBucketEncryptionParams object
There are no default values defined in the spec.
func (*EnableBucketEncryptionParams) BindRequest ¶
func (o *EnableBucketEncryptionParams) 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 NewEnableBucketEncryptionParams() beforehand.
type EnableBucketEncryptionURL ¶
type EnableBucketEncryptionURL struct { BucketName string // contains filtered or unexported fields }
EnableBucketEncryptionURL generates an URL for the enable bucket encryption operation
func (*EnableBucketEncryptionURL) Build ¶
func (o *EnableBucketEncryptionURL) Build() (*url.URL, error)
Build a url path and query string
func (*EnableBucketEncryptionURL) BuildFull ¶
func (o *EnableBucketEncryptionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*EnableBucketEncryptionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*EnableBucketEncryptionURL) SetBasePath ¶
func (o *EnableBucketEncryptionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*EnableBucketEncryptionURL) String ¶
func (o *EnableBucketEncryptionURL) String() string
String returns the string representation of the path with query string
func (*EnableBucketEncryptionURL) StringFull ¶
func (o *EnableBucketEncryptionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*EnableBucketEncryptionURL) WithBasePath ¶
func (o *EnableBucketEncryptionURL) WithBasePath(bp string) *EnableBucketEncryptionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetBucketEncryptionInfo ¶
type GetBucketEncryptionInfo struct { Context *middleware.Context Handler GetBucketEncryptionInfoHandler }
GetBucketEncryptionInfo swagger:route GET /buckets/{bucket_name}/encryption/info UserAPI getBucketEncryptionInfo
Get bucket encryption information.
func NewGetBucketEncryptionInfo ¶
func NewGetBucketEncryptionInfo(ctx *middleware.Context, handler GetBucketEncryptionInfoHandler) *GetBucketEncryptionInfo
NewGetBucketEncryptionInfo creates a new http.Handler for the get bucket encryption info operation
func (*GetBucketEncryptionInfo) ServeHTTP ¶
func (o *GetBucketEncryptionInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetBucketEncryptionInfoDefault ¶
type GetBucketEncryptionInfoDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetBucketEncryptionInfoDefault Generic error response.
swagger:response getBucketEncryptionInfoDefault
func NewGetBucketEncryptionInfoDefault ¶
func NewGetBucketEncryptionInfoDefault(code int) *GetBucketEncryptionInfoDefault
NewGetBucketEncryptionInfoDefault creates GetBucketEncryptionInfoDefault with default headers values
func (*GetBucketEncryptionInfoDefault) SetPayload ¶
func (o *GetBucketEncryptionInfoDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get bucket encryption info default response
func (*GetBucketEncryptionInfoDefault) SetStatusCode ¶
func (o *GetBucketEncryptionInfoDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get bucket encryption info default response
func (*GetBucketEncryptionInfoDefault) WithPayload ¶
func (o *GetBucketEncryptionInfoDefault) WithPayload(payload *models.Error) *GetBucketEncryptionInfoDefault
WithPayload adds the payload to the get bucket encryption info default response
func (*GetBucketEncryptionInfoDefault) WithStatusCode ¶
func (o *GetBucketEncryptionInfoDefault) WithStatusCode(code int) *GetBucketEncryptionInfoDefault
WithStatusCode adds the status to the get bucket encryption info default response
func (*GetBucketEncryptionInfoDefault) WriteResponse ¶
func (o *GetBucketEncryptionInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketEncryptionInfoHandler ¶
type GetBucketEncryptionInfoHandler interface {
Handle(GetBucketEncryptionInfoParams, *models.Principal) middleware.Responder
}
GetBucketEncryptionInfoHandler interface for that can handle valid get bucket encryption info params
type GetBucketEncryptionInfoHandlerFunc ¶
type GetBucketEncryptionInfoHandlerFunc func(GetBucketEncryptionInfoParams, *models.Principal) middleware.Responder
GetBucketEncryptionInfoHandlerFunc turns a function with the right signature into a get bucket encryption info handler
func (GetBucketEncryptionInfoHandlerFunc) Handle ¶
func (fn GetBucketEncryptionInfoHandlerFunc) Handle(params GetBucketEncryptionInfoParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetBucketEncryptionInfoOK ¶
type GetBucketEncryptionInfoOK struct { /* In: Body */ Payload *models.BucketEncryptionInfo `json:"body,omitempty"` }
GetBucketEncryptionInfoOK A successful response.
swagger:response getBucketEncryptionInfoOK
func NewGetBucketEncryptionInfoOK ¶
func NewGetBucketEncryptionInfoOK() *GetBucketEncryptionInfoOK
NewGetBucketEncryptionInfoOK creates GetBucketEncryptionInfoOK with default headers values
func (*GetBucketEncryptionInfoOK) SetPayload ¶
func (o *GetBucketEncryptionInfoOK) SetPayload(payload *models.BucketEncryptionInfo)
SetPayload sets the payload to the get bucket encryption info o k response
func (*GetBucketEncryptionInfoOK) WithPayload ¶
func (o *GetBucketEncryptionInfoOK) WithPayload(payload *models.BucketEncryptionInfo) *GetBucketEncryptionInfoOK
WithPayload adds the payload to the get bucket encryption info o k response
func (*GetBucketEncryptionInfoOK) WriteResponse ¶
func (o *GetBucketEncryptionInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketEncryptionInfoParams ¶
type GetBucketEncryptionInfoParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string }
GetBucketEncryptionInfoParams contains all the bound params for the get bucket encryption info operation typically these are obtained from a http.Request
swagger:parameters GetBucketEncryptionInfo
func NewGetBucketEncryptionInfoParams ¶
func NewGetBucketEncryptionInfoParams() GetBucketEncryptionInfoParams
NewGetBucketEncryptionInfoParams creates a new GetBucketEncryptionInfoParams object
There are no default values defined in the spec.
func (*GetBucketEncryptionInfoParams) BindRequest ¶
func (o *GetBucketEncryptionInfoParams) 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 NewGetBucketEncryptionInfoParams() beforehand.
type GetBucketEncryptionInfoURL ¶
type GetBucketEncryptionInfoURL struct { BucketName string // contains filtered or unexported fields }
GetBucketEncryptionInfoURL generates an URL for the get bucket encryption info operation
func (*GetBucketEncryptionInfoURL) Build ¶
func (o *GetBucketEncryptionInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetBucketEncryptionInfoURL) BuildFull ¶
func (o *GetBucketEncryptionInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetBucketEncryptionInfoURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetBucketEncryptionInfoURL) SetBasePath ¶
func (o *GetBucketEncryptionInfoURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetBucketEncryptionInfoURL) String ¶
func (o *GetBucketEncryptionInfoURL) String() string
String returns the string representation of the path with query string
func (*GetBucketEncryptionInfoURL) StringFull ¶
func (o *GetBucketEncryptionInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetBucketEncryptionInfoURL) WithBasePath ¶
func (o *GetBucketEncryptionInfoURL) WithBasePath(bp string) *GetBucketEncryptionInfoURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetBucketLifecycle ¶
type GetBucketLifecycle struct { Context *middleware.Context Handler GetBucketLifecycleHandler }
GetBucketLifecycle swagger:route GET /buckets/{bucket_name}/lifecycle UserAPI getBucketLifecycle
Bucket Lifecycle
func NewGetBucketLifecycle ¶
func NewGetBucketLifecycle(ctx *middleware.Context, handler GetBucketLifecycleHandler) *GetBucketLifecycle
NewGetBucketLifecycle creates a new http.Handler for the get bucket lifecycle operation
func (*GetBucketLifecycle) ServeHTTP ¶
func (o *GetBucketLifecycle) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetBucketLifecycleDefault ¶
type GetBucketLifecycleDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetBucketLifecycleDefault Generic error response.
swagger:response getBucketLifecycleDefault
func NewGetBucketLifecycleDefault ¶
func NewGetBucketLifecycleDefault(code int) *GetBucketLifecycleDefault
NewGetBucketLifecycleDefault creates GetBucketLifecycleDefault with default headers values
func (*GetBucketLifecycleDefault) SetPayload ¶
func (o *GetBucketLifecycleDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get bucket lifecycle default response
func (*GetBucketLifecycleDefault) SetStatusCode ¶
func (o *GetBucketLifecycleDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get bucket lifecycle default response
func (*GetBucketLifecycleDefault) WithPayload ¶
func (o *GetBucketLifecycleDefault) WithPayload(payload *models.Error) *GetBucketLifecycleDefault
WithPayload adds the payload to the get bucket lifecycle default response
func (*GetBucketLifecycleDefault) WithStatusCode ¶
func (o *GetBucketLifecycleDefault) WithStatusCode(code int) *GetBucketLifecycleDefault
WithStatusCode adds the status to the get bucket lifecycle default response
func (*GetBucketLifecycleDefault) WriteResponse ¶
func (o *GetBucketLifecycleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketLifecycleHandler ¶
type GetBucketLifecycleHandler interface {
Handle(GetBucketLifecycleParams, *models.Principal) middleware.Responder
}
GetBucketLifecycleHandler interface for that can handle valid get bucket lifecycle params
type GetBucketLifecycleHandlerFunc ¶
type GetBucketLifecycleHandlerFunc func(GetBucketLifecycleParams, *models.Principal) middleware.Responder
GetBucketLifecycleHandlerFunc turns a function with the right signature into a get bucket lifecycle handler
func (GetBucketLifecycleHandlerFunc) Handle ¶
func (fn GetBucketLifecycleHandlerFunc) Handle(params GetBucketLifecycleParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetBucketLifecycleOK ¶
type GetBucketLifecycleOK struct { /* In: Body */ Payload *models.BucketLifecycleResponse `json:"body,omitempty"` }
GetBucketLifecycleOK A successful response.
swagger:response getBucketLifecycleOK
func NewGetBucketLifecycleOK ¶
func NewGetBucketLifecycleOK() *GetBucketLifecycleOK
NewGetBucketLifecycleOK creates GetBucketLifecycleOK with default headers values
func (*GetBucketLifecycleOK) SetPayload ¶
func (o *GetBucketLifecycleOK) SetPayload(payload *models.BucketLifecycleResponse)
SetPayload sets the payload to the get bucket lifecycle o k response
func (*GetBucketLifecycleOK) WithPayload ¶
func (o *GetBucketLifecycleOK) WithPayload(payload *models.BucketLifecycleResponse) *GetBucketLifecycleOK
WithPayload adds the payload to the get bucket lifecycle o k response
func (*GetBucketLifecycleOK) WriteResponse ¶
func (o *GetBucketLifecycleOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketLifecycleParams ¶
type GetBucketLifecycleParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string }
GetBucketLifecycleParams contains all the bound params for the get bucket lifecycle operation typically these are obtained from a http.Request
swagger:parameters GetBucketLifecycle
func NewGetBucketLifecycleParams ¶
func NewGetBucketLifecycleParams() GetBucketLifecycleParams
NewGetBucketLifecycleParams creates a new GetBucketLifecycleParams object
There are no default values defined in the spec.
func (*GetBucketLifecycleParams) BindRequest ¶
func (o *GetBucketLifecycleParams) 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 NewGetBucketLifecycleParams() beforehand.
type GetBucketLifecycleURL ¶
type GetBucketLifecycleURL struct { BucketName string // contains filtered or unexported fields }
GetBucketLifecycleURL generates an URL for the get bucket lifecycle operation
func (*GetBucketLifecycleURL) Build ¶
func (o *GetBucketLifecycleURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetBucketLifecycleURL) BuildFull ¶
func (o *GetBucketLifecycleURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetBucketLifecycleURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetBucketLifecycleURL) SetBasePath ¶
func (o *GetBucketLifecycleURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetBucketLifecycleURL) String ¶
func (o *GetBucketLifecycleURL) String() string
String returns the string representation of the path with query string
func (*GetBucketLifecycleURL) StringFull ¶
func (o *GetBucketLifecycleURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetBucketLifecycleURL) WithBasePath ¶
func (o *GetBucketLifecycleURL) WithBasePath(bp string) *GetBucketLifecycleURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetBucketObjectLockingStatus ¶
type GetBucketObjectLockingStatus struct { Context *middleware.Context Handler GetBucketObjectLockingStatusHandler }
GetBucketObjectLockingStatus swagger:route GET /buckets/{bucket_name}/object-locking UserAPI getBucketObjectLockingStatus
Returns the status of object locking support on the bucket
func NewGetBucketObjectLockingStatus ¶
func NewGetBucketObjectLockingStatus(ctx *middleware.Context, handler GetBucketObjectLockingStatusHandler) *GetBucketObjectLockingStatus
NewGetBucketObjectLockingStatus creates a new http.Handler for the get bucket object locking status operation
func (*GetBucketObjectLockingStatus) ServeHTTP ¶
func (o *GetBucketObjectLockingStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetBucketObjectLockingStatusDefault ¶
type GetBucketObjectLockingStatusDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetBucketObjectLockingStatusDefault Generic error response.
swagger:response getBucketObjectLockingStatusDefault
func NewGetBucketObjectLockingStatusDefault ¶
func NewGetBucketObjectLockingStatusDefault(code int) *GetBucketObjectLockingStatusDefault
NewGetBucketObjectLockingStatusDefault creates GetBucketObjectLockingStatusDefault with default headers values
func (*GetBucketObjectLockingStatusDefault) SetPayload ¶
func (o *GetBucketObjectLockingStatusDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get bucket object locking status default response
func (*GetBucketObjectLockingStatusDefault) SetStatusCode ¶
func (o *GetBucketObjectLockingStatusDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get bucket object locking status default response
func (*GetBucketObjectLockingStatusDefault) WithPayload ¶
func (o *GetBucketObjectLockingStatusDefault) WithPayload(payload *models.Error) *GetBucketObjectLockingStatusDefault
WithPayload adds the payload to the get bucket object locking status default response
func (*GetBucketObjectLockingStatusDefault) WithStatusCode ¶
func (o *GetBucketObjectLockingStatusDefault) WithStatusCode(code int) *GetBucketObjectLockingStatusDefault
WithStatusCode adds the status to the get bucket object locking status default response
func (*GetBucketObjectLockingStatusDefault) WriteResponse ¶
func (o *GetBucketObjectLockingStatusDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketObjectLockingStatusHandler ¶
type GetBucketObjectLockingStatusHandler interface {
Handle(GetBucketObjectLockingStatusParams, *models.Principal) middleware.Responder
}
GetBucketObjectLockingStatusHandler interface for that can handle valid get bucket object locking status params
type GetBucketObjectLockingStatusHandlerFunc ¶
type GetBucketObjectLockingStatusHandlerFunc func(GetBucketObjectLockingStatusParams, *models.Principal) middleware.Responder
GetBucketObjectLockingStatusHandlerFunc turns a function with the right signature into a get bucket object locking status handler
func (GetBucketObjectLockingStatusHandlerFunc) Handle ¶
func (fn GetBucketObjectLockingStatusHandlerFunc) Handle(params GetBucketObjectLockingStatusParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetBucketObjectLockingStatusOK ¶
type GetBucketObjectLockingStatusOK struct { /* In: Body */ Payload *models.BucketObLockingResponse `json:"body,omitempty"` }
GetBucketObjectLockingStatusOK A successful response.
swagger:response getBucketObjectLockingStatusOK
func NewGetBucketObjectLockingStatusOK ¶
func NewGetBucketObjectLockingStatusOK() *GetBucketObjectLockingStatusOK
NewGetBucketObjectLockingStatusOK creates GetBucketObjectLockingStatusOK with default headers values
func (*GetBucketObjectLockingStatusOK) SetPayload ¶
func (o *GetBucketObjectLockingStatusOK) SetPayload(payload *models.BucketObLockingResponse)
SetPayload sets the payload to the get bucket object locking status o k response
func (*GetBucketObjectLockingStatusOK) WithPayload ¶
func (o *GetBucketObjectLockingStatusOK) WithPayload(payload *models.BucketObLockingResponse) *GetBucketObjectLockingStatusOK
WithPayload adds the payload to the get bucket object locking status o k response
func (*GetBucketObjectLockingStatusOK) WriteResponse ¶
func (o *GetBucketObjectLockingStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketObjectLockingStatusParams ¶
type GetBucketObjectLockingStatusParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string }
GetBucketObjectLockingStatusParams contains all the bound params for the get bucket object locking status operation typically these are obtained from a http.Request
swagger:parameters GetBucketObjectLockingStatus
func NewGetBucketObjectLockingStatusParams ¶
func NewGetBucketObjectLockingStatusParams() GetBucketObjectLockingStatusParams
NewGetBucketObjectLockingStatusParams creates a new GetBucketObjectLockingStatusParams object
There are no default values defined in the spec.
func (*GetBucketObjectLockingStatusParams) BindRequest ¶
func (o *GetBucketObjectLockingStatusParams) 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 NewGetBucketObjectLockingStatusParams() beforehand.
type GetBucketObjectLockingStatusURL ¶
type GetBucketObjectLockingStatusURL struct { BucketName string // contains filtered or unexported fields }
GetBucketObjectLockingStatusURL generates an URL for the get bucket object locking status operation
func (*GetBucketObjectLockingStatusURL) Build ¶
func (o *GetBucketObjectLockingStatusURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetBucketObjectLockingStatusURL) BuildFull ¶
func (o *GetBucketObjectLockingStatusURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetBucketObjectLockingStatusURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetBucketObjectLockingStatusURL) SetBasePath ¶
func (o *GetBucketObjectLockingStatusURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetBucketObjectLockingStatusURL) String ¶
func (o *GetBucketObjectLockingStatusURL) String() string
String returns the string representation of the path with query string
func (*GetBucketObjectLockingStatusURL) StringFull ¶
func (o *GetBucketObjectLockingStatusURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetBucketObjectLockingStatusURL) WithBasePath ¶
func (o *GetBucketObjectLockingStatusURL) WithBasePath(bp string) *GetBucketObjectLockingStatusURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetBucketQuota ¶
type GetBucketQuota struct { Context *middleware.Context Handler GetBucketQuotaHandler }
GetBucketQuota swagger:route GET /buckets/{name}/quota UserAPI getBucketQuota
Get Bucket Quota
func NewGetBucketQuota ¶
func NewGetBucketQuota(ctx *middleware.Context, handler GetBucketQuotaHandler) *GetBucketQuota
NewGetBucketQuota creates a new http.Handler for the get bucket quota operation
func (*GetBucketQuota) ServeHTTP ¶
func (o *GetBucketQuota) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetBucketQuotaDefault ¶
type GetBucketQuotaDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetBucketQuotaDefault Generic error response.
swagger:response getBucketQuotaDefault
func NewGetBucketQuotaDefault ¶
func NewGetBucketQuotaDefault(code int) *GetBucketQuotaDefault
NewGetBucketQuotaDefault creates GetBucketQuotaDefault with default headers values
func (*GetBucketQuotaDefault) SetPayload ¶
func (o *GetBucketQuotaDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get bucket quota default response
func (*GetBucketQuotaDefault) SetStatusCode ¶
func (o *GetBucketQuotaDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get bucket quota default response
func (*GetBucketQuotaDefault) WithPayload ¶
func (o *GetBucketQuotaDefault) WithPayload(payload *models.Error) *GetBucketQuotaDefault
WithPayload adds the payload to the get bucket quota default response
func (*GetBucketQuotaDefault) WithStatusCode ¶
func (o *GetBucketQuotaDefault) WithStatusCode(code int) *GetBucketQuotaDefault
WithStatusCode adds the status to the get bucket quota default response
func (*GetBucketQuotaDefault) WriteResponse ¶
func (o *GetBucketQuotaDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketQuotaHandler ¶
type GetBucketQuotaHandler interface {
Handle(GetBucketQuotaParams, *models.Principal) middleware.Responder
}
GetBucketQuotaHandler interface for that can handle valid get bucket quota params
type GetBucketQuotaHandlerFunc ¶
type GetBucketQuotaHandlerFunc func(GetBucketQuotaParams, *models.Principal) middleware.Responder
GetBucketQuotaHandlerFunc turns a function with the right signature into a get bucket quota handler
func (GetBucketQuotaHandlerFunc) Handle ¶
func (fn GetBucketQuotaHandlerFunc) Handle(params GetBucketQuotaParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetBucketQuotaOK ¶
type GetBucketQuotaOK struct { /* In: Body */ Payload *models.BucketQuota `json:"body,omitempty"` }
GetBucketQuotaOK A successful response.
swagger:response getBucketQuotaOK
func NewGetBucketQuotaOK ¶
func NewGetBucketQuotaOK() *GetBucketQuotaOK
NewGetBucketQuotaOK creates GetBucketQuotaOK with default headers values
func (*GetBucketQuotaOK) SetPayload ¶
func (o *GetBucketQuotaOK) SetPayload(payload *models.BucketQuota)
SetPayload sets the payload to the get bucket quota o k response
func (*GetBucketQuotaOK) WithPayload ¶
func (o *GetBucketQuotaOK) WithPayload(payload *models.BucketQuota) *GetBucketQuotaOK
WithPayload adds the payload to the get bucket quota o k response
func (*GetBucketQuotaOK) WriteResponse ¶
func (o *GetBucketQuotaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketQuotaParams ¶
type GetBucketQuotaParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Name string }
GetBucketQuotaParams contains all the bound params for the get bucket quota operation typically these are obtained from a http.Request
swagger:parameters GetBucketQuota
func NewGetBucketQuotaParams ¶
func NewGetBucketQuotaParams() GetBucketQuotaParams
NewGetBucketQuotaParams creates a new GetBucketQuotaParams object
There are no default values defined in the spec.
func (*GetBucketQuotaParams) BindRequest ¶
func (o *GetBucketQuotaParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetBucketQuotaParams() beforehand.
type GetBucketQuotaURL ¶
type GetBucketQuotaURL struct { Name string // contains filtered or unexported fields }
GetBucketQuotaURL generates an URL for the get bucket quota operation
func (*GetBucketQuotaURL) Build ¶
func (o *GetBucketQuotaURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetBucketQuotaURL) BuildFull ¶
func (o *GetBucketQuotaURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetBucketQuotaURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetBucketQuotaURL) SetBasePath ¶
func (o *GetBucketQuotaURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetBucketQuotaURL) String ¶
func (o *GetBucketQuotaURL) String() string
String returns the string representation of the path with query string
func (*GetBucketQuotaURL) StringFull ¶
func (o *GetBucketQuotaURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetBucketQuotaURL) WithBasePath ¶
func (o *GetBucketQuotaURL) WithBasePath(bp string) *GetBucketQuotaURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetBucketReplication ¶
type GetBucketReplication struct { Context *middleware.Context Handler GetBucketReplicationHandler }
GetBucketReplication swagger:route GET /buckets/{bucket_name}/replication UserAPI getBucketReplication
Bucket Replication
func NewGetBucketReplication ¶
func NewGetBucketReplication(ctx *middleware.Context, handler GetBucketReplicationHandler) *GetBucketReplication
NewGetBucketReplication creates a new http.Handler for the get bucket replication operation
func (*GetBucketReplication) ServeHTTP ¶
func (o *GetBucketReplication) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetBucketReplicationDefault ¶
type GetBucketReplicationDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetBucketReplicationDefault Generic error response.
swagger:response getBucketReplicationDefault
func NewGetBucketReplicationDefault ¶
func NewGetBucketReplicationDefault(code int) *GetBucketReplicationDefault
NewGetBucketReplicationDefault creates GetBucketReplicationDefault with default headers values
func (*GetBucketReplicationDefault) SetPayload ¶
func (o *GetBucketReplicationDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get bucket replication default response
func (*GetBucketReplicationDefault) SetStatusCode ¶
func (o *GetBucketReplicationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get bucket replication default response
func (*GetBucketReplicationDefault) WithPayload ¶
func (o *GetBucketReplicationDefault) WithPayload(payload *models.Error) *GetBucketReplicationDefault
WithPayload adds the payload to the get bucket replication default response
func (*GetBucketReplicationDefault) WithStatusCode ¶
func (o *GetBucketReplicationDefault) WithStatusCode(code int) *GetBucketReplicationDefault
WithStatusCode adds the status to the get bucket replication default response
func (*GetBucketReplicationDefault) WriteResponse ¶
func (o *GetBucketReplicationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketReplicationHandler ¶
type GetBucketReplicationHandler interface {
Handle(GetBucketReplicationParams, *models.Principal) middleware.Responder
}
GetBucketReplicationHandler interface for that can handle valid get bucket replication params
type GetBucketReplicationHandlerFunc ¶
type GetBucketReplicationHandlerFunc func(GetBucketReplicationParams, *models.Principal) middleware.Responder
GetBucketReplicationHandlerFunc turns a function with the right signature into a get bucket replication handler
func (GetBucketReplicationHandlerFunc) Handle ¶
func (fn GetBucketReplicationHandlerFunc) Handle(params GetBucketReplicationParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetBucketReplicationOK ¶
type GetBucketReplicationOK struct { /* In: Body */ Payload *models.BucketReplicationResponse `json:"body,omitempty"` }
GetBucketReplicationOK A successful response.
swagger:response getBucketReplicationOK
func NewGetBucketReplicationOK ¶
func NewGetBucketReplicationOK() *GetBucketReplicationOK
NewGetBucketReplicationOK creates GetBucketReplicationOK with default headers values
func (*GetBucketReplicationOK) SetPayload ¶
func (o *GetBucketReplicationOK) SetPayload(payload *models.BucketReplicationResponse)
SetPayload sets the payload to the get bucket replication o k response
func (*GetBucketReplicationOK) WithPayload ¶
func (o *GetBucketReplicationOK) WithPayload(payload *models.BucketReplicationResponse) *GetBucketReplicationOK
WithPayload adds the payload to the get bucket replication o k response
func (*GetBucketReplicationOK) WriteResponse ¶
func (o *GetBucketReplicationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketReplicationParams ¶
type GetBucketReplicationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string }
GetBucketReplicationParams contains all the bound params for the get bucket replication operation typically these are obtained from a http.Request
swagger:parameters GetBucketReplication
func NewGetBucketReplicationParams ¶
func NewGetBucketReplicationParams() GetBucketReplicationParams
NewGetBucketReplicationParams creates a new GetBucketReplicationParams object
There are no default values defined in the spec.
func (*GetBucketReplicationParams) BindRequest ¶
func (o *GetBucketReplicationParams) 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 NewGetBucketReplicationParams() beforehand.
type GetBucketReplicationRule ¶
type GetBucketReplicationRule struct { Context *middleware.Context Handler GetBucketReplicationRuleHandler }
GetBucketReplicationRule swagger:route GET /buckets/{bucket_name}/replication/{rule_id} UserAPI getBucketReplicationRule
Bucket Replication
func NewGetBucketReplicationRule ¶
func NewGetBucketReplicationRule(ctx *middleware.Context, handler GetBucketReplicationRuleHandler) *GetBucketReplicationRule
NewGetBucketReplicationRule creates a new http.Handler for the get bucket replication rule operation
func (*GetBucketReplicationRule) ServeHTTP ¶
func (o *GetBucketReplicationRule) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetBucketReplicationRuleDefault ¶
type GetBucketReplicationRuleDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetBucketReplicationRuleDefault Generic error response.
swagger:response getBucketReplicationRuleDefault
func NewGetBucketReplicationRuleDefault ¶
func NewGetBucketReplicationRuleDefault(code int) *GetBucketReplicationRuleDefault
NewGetBucketReplicationRuleDefault creates GetBucketReplicationRuleDefault with default headers values
func (*GetBucketReplicationRuleDefault) SetPayload ¶
func (o *GetBucketReplicationRuleDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get bucket replication rule default response
func (*GetBucketReplicationRuleDefault) SetStatusCode ¶
func (o *GetBucketReplicationRuleDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get bucket replication rule default response
func (*GetBucketReplicationRuleDefault) WithPayload ¶
func (o *GetBucketReplicationRuleDefault) WithPayload(payload *models.Error) *GetBucketReplicationRuleDefault
WithPayload adds the payload to the get bucket replication rule default response
func (*GetBucketReplicationRuleDefault) WithStatusCode ¶
func (o *GetBucketReplicationRuleDefault) WithStatusCode(code int) *GetBucketReplicationRuleDefault
WithStatusCode adds the status to the get bucket replication rule default response
func (*GetBucketReplicationRuleDefault) WriteResponse ¶
func (o *GetBucketReplicationRuleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketReplicationRuleHandler ¶
type GetBucketReplicationRuleHandler interface {
Handle(GetBucketReplicationRuleParams, *models.Principal) middleware.Responder
}
GetBucketReplicationRuleHandler interface for that can handle valid get bucket replication rule params
type GetBucketReplicationRuleHandlerFunc ¶
type GetBucketReplicationRuleHandlerFunc func(GetBucketReplicationRuleParams, *models.Principal) middleware.Responder
GetBucketReplicationRuleHandlerFunc turns a function with the right signature into a get bucket replication rule handler
func (GetBucketReplicationRuleHandlerFunc) Handle ¶
func (fn GetBucketReplicationRuleHandlerFunc) Handle(params GetBucketReplicationRuleParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetBucketReplicationRuleOK ¶
type GetBucketReplicationRuleOK struct { /* In: Body */ Payload *models.BucketReplicationRule `json:"body,omitempty"` }
GetBucketReplicationRuleOK A successful response.
swagger:response getBucketReplicationRuleOK
func NewGetBucketReplicationRuleOK ¶
func NewGetBucketReplicationRuleOK() *GetBucketReplicationRuleOK
NewGetBucketReplicationRuleOK creates GetBucketReplicationRuleOK with default headers values
func (*GetBucketReplicationRuleOK) SetPayload ¶
func (o *GetBucketReplicationRuleOK) SetPayload(payload *models.BucketReplicationRule)
SetPayload sets the payload to the get bucket replication rule o k response
func (*GetBucketReplicationRuleOK) WithPayload ¶
func (o *GetBucketReplicationRuleOK) WithPayload(payload *models.BucketReplicationRule) *GetBucketReplicationRuleOK
WithPayload adds the payload to the get bucket replication rule o k response
func (*GetBucketReplicationRuleOK) WriteResponse ¶
func (o *GetBucketReplicationRuleOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketReplicationRuleParams ¶
type GetBucketReplicationRuleParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* Required: true In: path */ RuleID string }
GetBucketReplicationRuleParams contains all the bound params for the get bucket replication rule operation typically these are obtained from a http.Request
swagger:parameters GetBucketReplicationRule
func NewGetBucketReplicationRuleParams ¶
func NewGetBucketReplicationRuleParams() GetBucketReplicationRuleParams
NewGetBucketReplicationRuleParams creates a new GetBucketReplicationRuleParams object
There are no default values defined in the spec.
func (*GetBucketReplicationRuleParams) BindRequest ¶
func (o *GetBucketReplicationRuleParams) 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 NewGetBucketReplicationRuleParams() beforehand.
type GetBucketReplicationRuleURL ¶
type GetBucketReplicationRuleURL struct { BucketName string RuleID string // contains filtered or unexported fields }
GetBucketReplicationRuleURL generates an URL for the get bucket replication rule operation
func (*GetBucketReplicationRuleURL) Build ¶
func (o *GetBucketReplicationRuleURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetBucketReplicationRuleURL) BuildFull ¶
func (o *GetBucketReplicationRuleURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetBucketReplicationRuleURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetBucketReplicationRuleURL) SetBasePath ¶
func (o *GetBucketReplicationRuleURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetBucketReplicationRuleURL) String ¶
func (o *GetBucketReplicationRuleURL) String() string
String returns the string representation of the path with query string
func (*GetBucketReplicationRuleURL) StringFull ¶
func (o *GetBucketReplicationRuleURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetBucketReplicationRuleURL) WithBasePath ¶
func (o *GetBucketReplicationRuleURL) WithBasePath(bp string) *GetBucketReplicationRuleURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetBucketReplicationURL ¶
type GetBucketReplicationURL struct { BucketName string // contains filtered or unexported fields }
GetBucketReplicationURL generates an URL for the get bucket replication operation
func (*GetBucketReplicationURL) Build ¶
func (o *GetBucketReplicationURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetBucketReplicationURL) BuildFull ¶
func (o *GetBucketReplicationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetBucketReplicationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetBucketReplicationURL) SetBasePath ¶
func (o *GetBucketReplicationURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetBucketReplicationURL) String ¶
func (o *GetBucketReplicationURL) String() string
String returns the string representation of the path with query string
func (*GetBucketReplicationURL) StringFull ¶
func (o *GetBucketReplicationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetBucketReplicationURL) WithBasePath ¶
func (o *GetBucketReplicationURL) WithBasePath(bp string) *GetBucketReplicationURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetBucketRetentionConfig ¶
type GetBucketRetentionConfig struct { Context *middleware.Context Handler GetBucketRetentionConfigHandler }
GetBucketRetentionConfig swagger:route GET /buckets/{bucket_name}/retention UserAPI getBucketRetentionConfig
Get Bucket's retention config
func NewGetBucketRetentionConfig ¶
func NewGetBucketRetentionConfig(ctx *middleware.Context, handler GetBucketRetentionConfigHandler) *GetBucketRetentionConfig
NewGetBucketRetentionConfig creates a new http.Handler for the get bucket retention config operation
func (*GetBucketRetentionConfig) ServeHTTP ¶
func (o *GetBucketRetentionConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetBucketRetentionConfigDefault ¶
type GetBucketRetentionConfigDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetBucketRetentionConfigDefault Generic error response.
swagger:response getBucketRetentionConfigDefault
func NewGetBucketRetentionConfigDefault ¶
func NewGetBucketRetentionConfigDefault(code int) *GetBucketRetentionConfigDefault
NewGetBucketRetentionConfigDefault creates GetBucketRetentionConfigDefault with default headers values
func (*GetBucketRetentionConfigDefault) SetPayload ¶
func (o *GetBucketRetentionConfigDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get bucket retention config default response
func (*GetBucketRetentionConfigDefault) SetStatusCode ¶
func (o *GetBucketRetentionConfigDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get bucket retention config default response
func (*GetBucketRetentionConfigDefault) WithPayload ¶
func (o *GetBucketRetentionConfigDefault) WithPayload(payload *models.Error) *GetBucketRetentionConfigDefault
WithPayload adds the payload to the get bucket retention config default response
func (*GetBucketRetentionConfigDefault) WithStatusCode ¶
func (o *GetBucketRetentionConfigDefault) WithStatusCode(code int) *GetBucketRetentionConfigDefault
WithStatusCode adds the status to the get bucket retention config default response
func (*GetBucketRetentionConfigDefault) WriteResponse ¶
func (o *GetBucketRetentionConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketRetentionConfigHandler ¶
type GetBucketRetentionConfigHandler interface {
Handle(GetBucketRetentionConfigParams, *models.Principal) middleware.Responder
}
GetBucketRetentionConfigHandler interface for that can handle valid get bucket retention config params
type GetBucketRetentionConfigHandlerFunc ¶
type GetBucketRetentionConfigHandlerFunc func(GetBucketRetentionConfigParams, *models.Principal) middleware.Responder
GetBucketRetentionConfigHandlerFunc turns a function with the right signature into a get bucket retention config handler
func (GetBucketRetentionConfigHandlerFunc) Handle ¶
func (fn GetBucketRetentionConfigHandlerFunc) Handle(params GetBucketRetentionConfigParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetBucketRetentionConfigOK ¶
type GetBucketRetentionConfigOK struct { /* In: Body */ Payload *models.GetBucketRetentionConfig `json:"body,omitempty"` }
GetBucketRetentionConfigOK A successful response.
swagger:response getBucketRetentionConfigOK
func NewGetBucketRetentionConfigOK ¶
func NewGetBucketRetentionConfigOK() *GetBucketRetentionConfigOK
NewGetBucketRetentionConfigOK creates GetBucketRetentionConfigOK with default headers values
func (*GetBucketRetentionConfigOK) SetPayload ¶
func (o *GetBucketRetentionConfigOK) SetPayload(payload *models.GetBucketRetentionConfig)
SetPayload sets the payload to the get bucket retention config o k response
func (*GetBucketRetentionConfigOK) WithPayload ¶
func (o *GetBucketRetentionConfigOK) WithPayload(payload *models.GetBucketRetentionConfig) *GetBucketRetentionConfigOK
WithPayload adds the payload to the get bucket retention config o k response
func (*GetBucketRetentionConfigOK) WriteResponse ¶
func (o *GetBucketRetentionConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketRetentionConfigParams ¶
type GetBucketRetentionConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string }
GetBucketRetentionConfigParams contains all the bound params for the get bucket retention config operation typically these are obtained from a http.Request
swagger:parameters GetBucketRetentionConfig
func NewGetBucketRetentionConfigParams ¶
func NewGetBucketRetentionConfigParams() GetBucketRetentionConfigParams
NewGetBucketRetentionConfigParams creates a new GetBucketRetentionConfigParams object
There are no default values defined in the spec.
func (*GetBucketRetentionConfigParams) BindRequest ¶
func (o *GetBucketRetentionConfigParams) 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 NewGetBucketRetentionConfigParams() beforehand.
type GetBucketRetentionConfigURL ¶
type GetBucketRetentionConfigURL struct { BucketName string // contains filtered or unexported fields }
GetBucketRetentionConfigURL generates an URL for the get bucket retention config operation
func (*GetBucketRetentionConfigURL) Build ¶
func (o *GetBucketRetentionConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetBucketRetentionConfigURL) BuildFull ¶
func (o *GetBucketRetentionConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetBucketRetentionConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetBucketRetentionConfigURL) SetBasePath ¶
func (o *GetBucketRetentionConfigURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetBucketRetentionConfigURL) String ¶
func (o *GetBucketRetentionConfigURL) String() string
String returns the string representation of the path with query string
func (*GetBucketRetentionConfigURL) StringFull ¶
func (o *GetBucketRetentionConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetBucketRetentionConfigURL) WithBasePath ¶
func (o *GetBucketRetentionConfigURL) WithBasePath(bp string) *GetBucketRetentionConfigURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetBucketRewind ¶
type GetBucketRewind struct { Context *middleware.Context Handler GetBucketRewindHandler }
GetBucketRewind swagger:route GET /buckets/{bucket_name}/rewind/{date} UserAPI getBucketRewind
Get objects in a bucket for a rewind date
func NewGetBucketRewind ¶
func NewGetBucketRewind(ctx *middleware.Context, handler GetBucketRewindHandler) *GetBucketRewind
NewGetBucketRewind creates a new http.Handler for the get bucket rewind operation
func (*GetBucketRewind) ServeHTTP ¶
func (o *GetBucketRewind) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetBucketRewindDefault ¶
type GetBucketRewindDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetBucketRewindDefault Generic error response.
swagger:response getBucketRewindDefault
func NewGetBucketRewindDefault ¶
func NewGetBucketRewindDefault(code int) *GetBucketRewindDefault
NewGetBucketRewindDefault creates GetBucketRewindDefault with default headers values
func (*GetBucketRewindDefault) SetPayload ¶
func (o *GetBucketRewindDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get bucket rewind default response
func (*GetBucketRewindDefault) SetStatusCode ¶
func (o *GetBucketRewindDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get bucket rewind default response
func (*GetBucketRewindDefault) WithPayload ¶
func (o *GetBucketRewindDefault) WithPayload(payload *models.Error) *GetBucketRewindDefault
WithPayload adds the payload to the get bucket rewind default response
func (*GetBucketRewindDefault) WithStatusCode ¶
func (o *GetBucketRewindDefault) WithStatusCode(code int) *GetBucketRewindDefault
WithStatusCode adds the status to the get bucket rewind default response
func (*GetBucketRewindDefault) WriteResponse ¶
func (o *GetBucketRewindDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketRewindHandler ¶
type GetBucketRewindHandler interface {
Handle(GetBucketRewindParams, *models.Principal) middleware.Responder
}
GetBucketRewindHandler interface for that can handle valid get bucket rewind params
type GetBucketRewindHandlerFunc ¶
type GetBucketRewindHandlerFunc func(GetBucketRewindParams, *models.Principal) middleware.Responder
GetBucketRewindHandlerFunc turns a function with the right signature into a get bucket rewind handler
func (GetBucketRewindHandlerFunc) Handle ¶
func (fn GetBucketRewindHandlerFunc) Handle(params GetBucketRewindParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetBucketRewindOK ¶
type GetBucketRewindOK struct { /* In: Body */ Payload *models.RewindResponse `json:"body,omitempty"` }
GetBucketRewindOK A successful response.
swagger:response getBucketRewindOK
func NewGetBucketRewindOK ¶
func NewGetBucketRewindOK() *GetBucketRewindOK
NewGetBucketRewindOK creates GetBucketRewindOK with default headers values
func (*GetBucketRewindOK) SetPayload ¶
func (o *GetBucketRewindOK) SetPayload(payload *models.RewindResponse)
SetPayload sets the payload to the get bucket rewind o k response
func (*GetBucketRewindOK) WithPayload ¶
func (o *GetBucketRewindOK) WithPayload(payload *models.RewindResponse) *GetBucketRewindOK
WithPayload adds the payload to the get bucket rewind o k response
func (*GetBucketRewindOK) WriteResponse ¶
func (o *GetBucketRewindOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketRewindParams ¶
type GetBucketRewindParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* Required: true In: path */ Date string /* In: query */ Prefix *string }
GetBucketRewindParams contains all the bound params for the get bucket rewind operation typically these are obtained from a http.Request
swagger:parameters GetBucketRewind
func NewGetBucketRewindParams ¶
func NewGetBucketRewindParams() GetBucketRewindParams
NewGetBucketRewindParams creates a new GetBucketRewindParams object
There are no default values defined in the spec.
func (*GetBucketRewindParams) BindRequest ¶
func (o *GetBucketRewindParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetBucketRewindParams() beforehand.
type GetBucketRewindURL ¶
type GetBucketRewindURL struct { BucketName string Date string Prefix *string // contains filtered or unexported fields }
GetBucketRewindURL generates an URL for the get bucket rewind operation
func (*GetBucketRewindURL) Build ¶
func (o *GetBucketRewindURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetBucketRewindURL) BuildFull ¶
func (o *GetBucketRewindURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetBucketRewindURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetBucketRewindURL) SetBasePath ¶
func (o *GetBucketRewindURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetBucketRewindURL) String ¶
func (o *GetBucketRewindURL) String() string
String returns the string representation of the path with query string
func (*GetBucketRewindURL) StringFull ¶
func (o *GetBucketRewindURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetBucketRewindURL) WithBasePath ¶
func (o *GetBucketRewindURL) WithBasePath(bp string) *GetBucketRewindURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetBucketVersioning ¶
type GetBucketVersioning struct { Context *middleware.Context Handler GetBucketVersioningHandler }
GetBucketVersioning swagger:route GET /buckets/{bucket_name}/versioning UserAPI getBucketVersioning
Bucket Versioning
func NewGetBucketVersioning ¶
func NewGetBucketVersioning(ctx *middleware.Context, handler GetBucketVersioningHandler) *GetBucketVersioning
NewGetBucketVersioning creates a new http.Handler for the get bucket versioning operation
func (*GetBucketVersioning) ServeHTTP ¶
func (o *GetBucketVersioning) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetBucketVersioningDefault ¶
type GetBucketVersioningDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetBucketVersioningDefault Generic error response.
swagger:response getBucketVersioningDefault
func NewGetBucketVersioningDefault ¶
func NewGetBucketVersioningDefault(code int) *GetBucketVersioningDefault
NewGetBucketVersioningDefault creates GetBucketVersioningDefault with default headers values
func (*GetBucketVersioningDefault) SetPayload ¶
func (o *GetBucketVersioningDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get bucket versioning default response
func (*GetBucketVersioningDefault) SetStatusCode ¶
func (o *GetBucketVersioningDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get bucket versioning default response
func (*GetBucketVersioningDefault) WithPayload ¶
func (o *GetBucketVersioningDefault) WithPayload(payload *models.Error) *GetBucketVersioningDefault
WithPayload adds the payload to the get bucket versioning default response
func (*GetBucketVersioningDefault) WithStatusCode ¶
func (o *GetBucketVersioningDefault) WithStatusCode(code int) *GetBucketVersioningDefault
WithStatusCode adds the status to the get bucket versioning default response
func (*GetBucketVersioningDefault) WriteResponse ¶
func (o *GetBucketVersioningDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketVersioningHandler ¶
type GetBucketVersioningHandler interface {
Handle(GetBucketVersioningParams, *models.Principal) middleware.Responder
}
GetBucketVersioningHandler interface for that can handle valid get bucket versioning params
type GetBucketVersioningHandlerFunc ¶
type GetBucketVersioningHandlerFunc func(GetBucketVersioningParams, *models.Principal) middleware.Responder
GetBucketVersioningHandlerFunc turns a function with the right signature into a get bucket versioning handler
func (GetBucketVersioningHandlerFunc) Handle ¶
func (fn GetBucketVersioningHandlerFunc) Handle(params GetBucketVersioningParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetBucketVersioningOK ¶
type GetBucketVersioningOK struct { /* In: Body */ Payload *models.BucketVersioningResponse `json:"body,omitempty"` }
GetBucketVersioningOK A successful response.
swagger:response getBucketVersioningOK
func NewGetBucketVersioningOK ¶
func NewGetBucketVersioningOK() *GetBucketVersioningOK
NewGetBucketVersioningOK creates GetBucketVersioningOK with default headers values
func (*GetBucketVersioningOK) SetPayload ¶
func (o *GetBucketVersioningOK) SetPayload(payload *models.BucketVersioningResponse)
SetPayload sets the payload to the get bucket versioning o k response
func (*GetBucketVersioningOK) WithPayload ¶
func (o *GetBucketVersioningOK) WithPayload(payload *models.BucketVersioningResponse) *GetBucketVersioningOK
WithPayload adds the payload to the get bucket versioning o k response
func (*GetBucketVersioningOK) WriteResponse ¶
func (o *GetBucketVersioningOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBucketVersioningParams ¶
type GetBucketVersioningParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string }
GetBucketVersioningParams contains all the bound params for the get bucket versioning operation typically these are obtained from a http.Request
swagger:parameters GetBucketVersioning
func NewGetBucketVersioningParams ¶
func NewGetBucketVersioningParams() GetBucketVersioningParams
NewGetBucketVersioningParams creates a new GetBucketVersioningParams object
There are no default values defined in the spec.
func (*GetBucketVersioningParams) BindRequest ¶
func (o *GetBucketVersioningParams) 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 NewGetBucketVersioningParams() beforehand.
type GetBucketVersioningURL ¶
type GetBucketVersioningURL struct { BucketName string // contains filtered or unexported fields }
GetBucketVersioningURL generates an URL for the get bucket versioning operation
func (*GetBucketVersioningURL) Build ¶
func (o *GetBucketVersioningURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetBucketVersioningURL) BuildFull ¶
func (o *GetBucketVersioningURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetBucketVersioningURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetBucketVersioningURL) SetBasePath ¶
func (o *GetBucketVersioningURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetBucketVersioningURL) String ¶
func (o *GetBucketVersioningURL) String() string
String returns the string representation of the path with query string
func (*GetBucketVersioningURL) StringFull ¶
func (o *GetBucketVersioningURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetBucketVersioningURL) WithBasePath ¶
func (o *GetBucketVersioningURL) WithBasePath(bp string) *GetBucketVersioningURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetObjectMetadata ¶
type GetObjectMetadata struct { Context *middleware.Context Handler GetObjectMetadataHandler }
GetObjectMetadata swagger:route GET /buckets/{bucket_name}/objects/metadata UserAPI getObjectMetadata
Gets the metadata of an object
func NewGetObjectMetadata ¶
func NewGetObjectMetadata(ctx *middleware.Context, handler GetObjectMetadataHandler) *GetObjectMetadata
NewGetObjectMetadata creates a new http.Handler for the get object metadata operation
func (*GetObjectMetadata) ServeHTTP ¶
func (o *GetObjectMetadata) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetObjectMetadataDefault ¶
type GetObjectMetadataDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetObjectMetadataDefault Generic error response.
swagger:response getObjectMetadataDefault
func NewGetObjectMetadataDefault ¶
func NewGetObjectMetadataDefault(code int) *GetObjectMetadataDefault
NewGetObjectMetadataDefault creates GetObjectMetadataDefault with default headers values
func (*GetObjectMetadataDefault) SetPayload ¶
func (o *GetObjectMetadataDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get object metadata default response
func (*GetObjectMetadataDefault) SetStatusCode ¶
func (o *GetObjectMetadataDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get object metadata default response
func (*GetObjectMetadataDefault) WithPayload ¶
func (o *GetObjectMetadataDefault) WithPayload(payload *models.Error) *GetObjectMetadataDefault
WithPayload adds the payload to the get object metadata default response
func (*GetObjectMetadataDefault) WithStatusCode ¶
func (o *GetObjectMetadataDefault) WithStatusCode(code int) *GetObjectMetadataDefault
WithStatusCode adds the status to the get object metadata default response
func (*GetObjectMetadataDefault) WriteResponse ¶
func (o *GetObjectMetadataDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetObjectMetadataHandler ¶
type GetObjectMetadataHandler interface {
Handle(GetObjectMetadataParams, *models.Principal) middleware.Responder
}
GetObjectMetadataHandler interface for that can handle valid get object metadata params
type GetObjectMetadataHandlerFunc ¶
type GetObjectMetadataHandlerFunc func(GetObjectMetadataParams, *models.Principal) middleware.Responder
GetObjectMetadataHandlerFunc turns a function with the right signature into a get object metadata handler
func (GetObjectMetadataHandlerFunc) Handle ¶
func (fn GetObjectMetadataHandlerFunc) Handle(params GetObjectMetadataParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetObjectMetadataOK ¶
GetObjectMetadataOK A successful response.
swagger:response getObjectMetadataOK
func NewGetObjectMetadataOK ¶
func NewGetObjectMetadataOK() *GetObjectMetadataOK
NewGetObjectMetadataOK creates GetObjectMetadataOK with default headers values
func (*GetObjectMetadataOK) SetPayload ¶
func (o *GetObjectMetadataOK) SetPayload(payload *models.Metadata)
SetPayload sets the payload to the get object metadata o k response
func (*GetObjectMetadataOK) WithPayload ¶
func (o *GetObjectMetadataOK) WithPayload(payload *models.Metadata) *GetObjectMetadataOK
WithPayload adds the payload to the get object metadata o k response
func (*GetObjectMetadataOK) WriteResponse ¶
func (o *GetObjectMetadataOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetObjectMetadataParams ¶
type GetObjectMetadataParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* Required: true In: query */ Prefix string }
GetObjectMetadataParams contains all the bound params for the get object metadata operation typically these are obtained from a http.Request
swagger:parameters GetObjectMetadata
func NewGetObjectMetadataParams ¶
func NewGetObjectMetadataParams() GetObjectMetadataParams
NewGetObjectMetadataParams creates a new GetObjectMetadataParams object
There are no default values defined in the spec.
func (*GetObjectMetadataParams) BindRequest ¶
func (o *GetObjectMetadataParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetObjectMetadataParams() beforehand.
type GetObjectMetadataURL ¶
type GetObjectMetadataURL struct { BucketName string Prefix string // contains filtered or unexported fields }
GetObjectMetadataURL generates an URL for the get object metadata operation
func (*GetObjectMetadataURL) Build ¶
func (o *GetObjectMetadataURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetObjectMetadataURL) BuildFull ¶
func (o *GetObjectMetadataURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetObjectMetadataURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetObjectMetadataURL) SetBasePath ¶
func (o *GetObjectMetadataURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetObjectMetadataURL) String ¶
func (o *GetObjectMetadataURL) String() string
String returns the string representation of the path with query string
func (*GetObjectMetadataURL) StringFull ¶
func (o *GetObjectMetadataURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetObjectMetadataURL) WithBasePath ¶
func (o *GetObjectMetadataURL) WithBasePath(bp string) *GetObjectMetadataURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetServiceAccountPolicy ¶
type GetServiceAccountPolicy struct { Context *middleware.Context Handler GetServiceAccountPolicyHandler }
GetServiceAccountPolicy swagger:route GET /service-accounts/{access_key}/policy UserAPI getServiceAccountPolicy
Get Service Account Policy
func NewGetServiceAccountPolicy ¶
func NewGetServiceAccountPolicy(ctx *middleware.Context, handler GetServiceAccountPolicyHandler) *GetServiceAccountPolicy
NewGetServiceAccountPolicy creates a new http.Handler for the get service account policy operation
func (*GetServiceAccountPolicy) ServeHTTP ¶
func (o *GetServiceAccountPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServiceAccountPolicyDefault ¶
type GetServiceAccountPolicyDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetServiceAccountPolicyDefault Generic error response.
swagger:response getServiceAccountPolicyDefault
func NewGetServiceAccountPolicyDefault ¶
func NewGetServiceAccountPolicyDefault(code int) *GetServiceAccountPolicyDefault
NewGetServiceAccountPolicyDefault creates GetServiceAccountPolicyDefault with default headers values
func (*GetServiceAccountPolicyDefault) SetPayload ¶
func (o *GetServiceAccountPolicyDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service account policy default response
func (*GetServiceAccountPolicyDefault) SetStatusCode ¶
func (o *GetServiceAccountPolicyDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get service account policy default response
func (*GetServiceAccountPolicyDefault) WithPayload ¶
func (o *GetServiceAccountPolicyDefault) WithPayload(payload *models.Error) *GetServiceAccountPolicyDefault
WithPayload adds the payload to the get service account policy default response
func (*GetServiceAccountPolicyDefault) WithStatusCode ¶
func (o *GetServiceAccountPolicyDefault) WithStatusCode(code int) *GetServiceAccountPolicyDefault
WithStatusCode adds the status to the get service account policy default response
func (*GetServiceAccountPolicyDefault) WriteResponse ¶
func (o *GetServiceAccountPolicyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceAccountPolicyHandler ¶
type GetServiceAccountPolicyHandler interface {
Handle(GetServiceAccountPolicyParams, *models.Principal) middleware.Responder
}
GetServiceAccountPolicyHandler interface for that can handle valid get service account policy params
type GetServiceAccountPolicyHandlerFunc ¶
type GetServiceAccountPolicyHandlerFunc func(GetServiceAccountPolicyParams, *models.Principal) middleware.Responder
GetServiceAccountPolicyHandlerFunc turns a function with the right signature into a get service account policy handler
func (GetServiceAccountPolicyHandlerFunc) Handle ¶
func (fn GetServiceAccountPolicyHandlerFunc) Handle(params GetServiceAccountPolicyParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetServiceAccountPolicyOK ¶
type GetServiceAccountPolicyOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GetServiceAccountPolicyOK A successful response.
swagger:response getServiceAccountPolicyOK
func NewGetServiceAccountPolicyOK ¶
func NewGetServiceAccountPolicyOK() *GetServiceAccountPolicyOK
NewGetServiceAccountPolicyOK creates GetServiceAccountPolicyOK with default headers values
func (*GetServiceAccountPolicyOK) SetPayload ¶
func (o *GetServiceAccountPolicyOK) SetPayload(payload string)
SetPayload sets the payload to the get service account policy o k response
func (*GetServiceAccountPolicyOK) WithPayload ¶
func (o *GetServiceAccountPolicyOK) WithPayload(payload string) *GetServiceAccountPolicyOK
WithPayload adds the payload to the get service account policy o k response
func (*GetServiceAccountPolicyOK) WriteResponse ¶
func (o *GetServiceAccountPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceAccountPolicyParams ¶
type GetServiceAccountPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ AccessKey string }
GetServiceAccountPolicyParams contains all the bound params for the get service account policy operation typically these are obtained from a http.Request
swagger:parameters GetServiceAccountPolicy
func NewGetServiceAccountPolicyParams ¶
func NewGetServiceAccountPolicyParams() GetServiceAccountPolicyParams
NewGetServiceAccountPolicyParams creates a new GetServiceAccountPolicyParams object
There are no default values defined in the spec.
func (*GetServiceAccountPolicyParams) BindRequest ¶
func (o *GetServiceAccountPolicyParams) 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 NewGetServiceAccountPolicyParams() beforehand.
type GetServiceAccountPolicyURL ¶
type GetServiceAccountPolicyURL struct { AccessKey string // contains filtered or unexported fields }
GetServiceAccountPolicyURL generates an URL for the get service account policy operation
func (*GetServiceAccountPolicyURL) Build ¶
func (o *GetServiceAccountPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServiceAccountPolicyURL) BuildFull ¶
func (o *GetServiceAccountPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetServiceAccountPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetServiceAccountPolicyURL) SetBasePath ¶
func (o *GetServiceAccountPolicyURL) 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 (*GetServiceAccountPolicyURL) String ¶
func (o *GetServiceAccountPolicyURL) String() string
String returns the string representation of the path with query string
func (*GetServiceAccountPolicyURL) StringFull ¶
func (o *GetServiceAccountPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServiceAccountPolicyURL) WithBasePath ¶
func (o *GetServiceAccountPolicyURL) WithBasePath(bp string) *GetServiceAccountPolicyURL
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 ¶
func (fn ListBucketEventsHandlerFunc) Handle(params ListBucketEventsParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *ListBucketEventsOK) WithPayload(payload *models.ListBucketEventsResponse) *ListBucketEventsOK
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 ¶
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 ¶
func (fn ListBucketsHandlerFunc) Handle(params ListBucketsParams, principal *models.Principal) middleware.Responder
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 ¶
ListBucketsParams contains all the bound params for the list buckets operation typically these are obtained from a http.Request
swagger:parameters ListBuckets
func NewListBucketsParams ¶
func NewListBucketsParams() ListBucketsParams
NewListBucketsParams creates a new ListBucketsParams object
There are no default values defined in the spec.
func (*ListBucketsParams) BindRequest ¶
func (o *ListBucketsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListBucketsParams() beforehand.
type ListBucketsURL ¶
type ListBucketsURL struct {
// contains filtered or unexported fields
}
ListBucketsURL generates an URL for the list buckets operation
func (*ListBucketsURL) Build ¶
func (o *ListBucketsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListBucketsURL) BuildFull ¶
func (o *ListBucketsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListBucketsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListBucketsURL) SetBasePath ¶
func (o *ListBucketsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListBucketsURL) String ¶
func (o *ListBucketsURL) String() string
String returns the string representation of the path with query string
func (*ListBucketsURL) StringFull ¶
func (o *ListBucketsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListBucketsURL) WithBasePath ¶
func (o *ListBucketsURL) WithBasePath(bp string) *ListBucketsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListExternalBuckets ¶
type ListExternalBuckets struct { Context *middleware.Context Handler ListExternalBucketsHandler }
ListExternalBuckets swagger:route POST /list-external-buckets UserAPI listExternalBuckets
Lists an External list of buckets using custom credentials
func NewListExternalBuckets ¶
func NewListExternalBuckets(ctx *middleware.Context, handler ListExternalBucketsHandler) *ListExternalBuckets
NewListExternalBuckets creates a new http.Handler for the list external buckets operation
func (*ListExternalBuckets) ServeHTTP ¶
func (o *ListExternalBuckets) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListExternalBucketsDefault ¶
type ListExternalBucketsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ListExternalBucketsDefault Generic error response.
swagger:response listExternalBucketsDefault
func NewListExternalBucketsDefault ¶
func NewListExternalBucketsDefault(code int) *ListExternalBucketsDefault
NewListExternalBucketsDefault creates ListExternalBucketsDefault with default headers values
func (*ListExternalBucketsDefault) SetPayload ¶
func (o *ListExternalBucketsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the list external buckets default response
func (*ListExternalBucketsDefault) SetStatusCode ¶
func (o *ListExternalBucketsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list external buckets default response
func (*ListExternalBucketsDefault) WithPayload ¶
func (o *ListExternalBucketsDefault) WithPayload(payload *models.Error) *ListExternalBucketsDefault
WithPayload adds the payload to the list external buckets default response
func (*ListExternalBucketsDefault) WithStatusCode ¶
func (o *ListExternalBucketsDefault) WithStatusCode(code int) *ListExternalBucketsDefault
WithStatusCode adds the status to the list external buckets default response
func (*ListExternalBucketsDefault) WriteResponse ¶
func (o *ListExternalBucketsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListExternalBucketsHandler ¶
type ListExternalBucketsHandler interface {
Handle(ListExternalBucketsParams, *models.Principal) middleware.Responder
}
ListExternalBucketsHandler interface for that can handle valid list external buckets params
type ListExternalBucketsHandlerFunc ¶
type ListExternalBucketsHandlerFunc func(ListExternalBucketsParams, *models.Principal) middleware.Responder
ListExternalBucketsHandlerFunc turns a function with the right signature into a list external buckets handler
func (ListExternalBucketsHandlerFunc) Handle ¶
func (fn ListExternalBucketsHandlerFunc) Handle(params ListExternalBucketsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ListExternalBucketsOK ¶
type ListExternalBucketsOK struct { /* In: Body */ Payload *models.ListBucketsResponse `json:"body,omitempty"` }
ListExternalBucketsOK A successful response.
swagger:response listExternalBucketsOK
func NewListExternalBucketsOK ¶
func NewListExternalBucketsOK() *ListExternalBucketsOK
NewListExternalBucketsOK creates ListExternalBucketsOK with default headers values
func (*ListExternalBucketsOK) SetPayload ¶
func (o *ListExternalBucketsOK) SetPayload(payload *models.ListBucketsResponse)
SetPayload sets the payload to the list external buckets o k response
func (*ListExternalBucketsOK) WithPayload ¶
func (o *ListExternalBucketsOK) WithPayload(payload *models.ListBucketsResponse) *ListExternalBucketsOK
WithPayload adds the payload to the list external buckets o k response
func (*ListExternalBucketsOK) WriteResponse ¶
func (o *ListExternalBucketsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListExternalBucketsParams ¶
type ListExternalBucketsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ListExternalBucketsParams }
ListExternalBucketsParams contains all the bound params for the list external buckets operation typically these are obtained from a http.Request
swagger:parameters ListExternalBuckets
func NewListExternalBucketsParams ¶
func NewListExternalBucketsParams() ListExternalBucketsParams
NewListExternalBucketsParams creates a new ListExternalBucketsParams object
There are no default values defined in the spec.
func (*ListExternalBucketsParams) BindRequest ¶
func (o *ListExternalBucketsParams) 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 NewListExternalBucketsParams() beforehand.
type ListExternalBucketsURL ¶
type ListExternalBucketsURL struct {
// contains filtered or unexported fields
}
ListExternalBucketsURL generates an URL for the list external buckets operation
func (*ListExternalBucketsURL) Build ¶
func (o *ListExternalBucketsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListExternalBucketsURL) BuildFull ¶
func (o *ListExternalBucketsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListExternalBucketsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListExternalBucketsURL) SetBasePath ¶
func (o *ListExternalBucketsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListExternalBucketsURL) String ¶
func (o *ListExternalBucketsURL) String() string
String returns the string representation of the path with query string
func (*ListExternalBucketsURL) StringFull ¶
func (o *ListExternalBucketsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListExternalBucketsURL) WithBasePath ¶
func (o *ListExternalBucketsURL) WithBasePath(bp string) *ListExternalBucketsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListObjects ¶
type ListObjects struct { Context *middleware.Context Handler ListObjectsHandler }
ListObjects swagger:route GET /buckets/{bucket_name}/objects UserAPI listObjects
List Objects
func NewListObjects ¶
func NewListObjects(ctx *middleware.Context, handler ListObjectsHandler) *ListObjects
NewListObjects creates a new http.Handler for the list objects operation
func (*ListObjects) ServeHTTP ¶
func (o *ListObjects) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListObjectsDefault ¶
type ListObjectsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ListObjectsDefault Generic error response.
swagger:response listObjectsDefault
func NewListObjectsDefault ¶
func NewListObjectsDefault(code int) *ListObjectsDefault
NewListObjectsDefault creates ListObjectsDefault with default headers values
func (*ListObjectsDefault) SetPayload ¶
func (o *ListObjectsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the list objects default response
func (*ListObjectsDefault) SetStatusCode ¶
func (o *ListObjectsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list objects default response
func (*ListObjectsDefault) WithPayload ¶
func (o *ListObjectsDefault) WithPayload(payload *models.Error) *ListObjectsDefault
WithPayload adds the payload to the list objects default response
func (*ListObjectsDefault) WithStatusCode ¶
func (o *ListObjectsDefault) WithStatusCode(code int) *ListObjectsDefault
WithStatusCode adds the status to the list objects default response
func (*ListObjectsDefault) WriteResponse ¶
func (o *ListObjectsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListObjectsHandler ¶
type ListObjectsHandler interface {
Handle(ListObjectsParams, *models.Principal) middleware.Responder
}
ListObjectsHandler interface for that can handle valid list objects params
type ListObjectsHandlerFunc ¶
type ListObjectsHandlerFunc func(ListObjectsParams, *models.Principal) middleware.Responder
ListObjectsHandlerFunc turns a function with the right signature into a list objects handler
func (ListObjectsHandlerFunc) Handle ¶
func (fn ListObjectsHandlerFunc) Handle(params ListObjectsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ListObjectsOK ¶
type ListObjectsOK struct { /* In: Body */ Payload *models.ListObjectsResponse `json:"body,omitempty"` }
ListObjectsOK A successful response.
swagger:response listObjectsOK
func NewListObjectsOK ¶
func NewListObjectsOK() *ListObjectsOK
NewListObjectsOK creates ListObjectsOK with default headers values
func (*ListObjectsOK) SetPayload ¶
func (o *ListObjectsOK) SetPayload(payload *models.ListObjectsResponse)
SetPayload sets the payload to the list objects o k response
func (*ListObjectsOK) WithPayload ¶
func (o *ListObjectsOK) WithPayload(payload *models.ListObjectsResponse) *ListObjectsOK
WithPayload adds the payload to the list objects o k response
func (*ListObjectsOK) WriteResponse ¶
func (o *ListObjectsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListObjectsParams ¶
type ListObjectsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* In: query */ Prefix *string /* In: query */ Recursive *bool /* In: query */ WithMetadata *bool /* In: query */ WithVersions *bool }
ListObjectsParams contains all the bound params for the list objects operation typically these are obtained from a http.Request
swagger:parameters ListObjects
func NewListObjectsParams ¶
func NewListObjectsParams() ListObjectsParams
NewListObjectsParams creates a new ListObjectsParams object
There are no default values defined in the spec.
func (*ListObjectsParams) BindRequest ¶
func (o *ListObjectsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListObjectsParams() beforehand.
type ListObjectsURL ¶
type ListObjectsURL struct { BucketName string Prefix *string Recursive *bool WithMetadata *bool WithVersions *bool // contains filtered or unexported fields }
ListObjectsURL generates an URL for the list objects operation
func (*ListObjectsURL) Build ¶
func (o *ListObjectsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListObjectsURL) BuildFull ¶
func (o *ListObjectsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListObjectsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListObjectsURL) SetBasePath ¶
func (o *ListObjectsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListObjectsURL) String ¶
func (o *ListObjectsURL) String() string
String returns the string representation of the path with query string
func (*ListObjectsURL) StringFull ¶
func (o *ListObjectsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListObjectsURL) WithBasePath ¶
func (o *ListObjectsURL) WithBasePath(bp string) *ListObjectsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListRemoteBuckets ¶
type ListRemoteBuckets struct { Context *middleware.Context Handler ListRemoteBucketsHandler }
ListRemoteBuckets swagger:route GET /remote-buckets UserAPI listRemoteBuckets
List Remote Buckets
func NewListRemoteBuckets ¶
func NewListRemoteBuckets(ctx *middleware.Context, handler ListRemoteBucketsHandler) *ListRemoteBuckets
NewListRemoteBuckets creates a new http.Handler for the list remote buckets operation
func (*ListRemoteBuckets) ServeHTTP ¶
func (o *ListRemoteBuckets) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListRemoteBucketsDefault ¶
type ListRemoteBucketsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ListRemoteBucketsDefault Generic error response.
swagger:response listRemoteBucketsDefault
func NewListRemoteBucketsDefault ¶
func NewListRemoteBucketsDefault(code int) *ListRemoteBucketsDefault
NewListRemoteBucketsDefault creates ListRemoteBucketsDefault with default headers values
func (*ListRemoteBucketsDefault) SetPayload ¶
func (o *ListRemoteBucketsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the list remote buckets default response
func (*ListRemoteBucketsDefault) SetStatusCode ¶
func (o *ListRemoteBucketsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list remote buckets default response
func (*ListRemoteBucketsDefault) WithPayload ¶
func (o *ListRemoteBucketsDefault) WithPayload(payload *models.Error) *ListRemoteBucketsDefault
WithPayload adds the payload to the list remote buckets default response
func (*ListRemoteBucketsDefault) WithStatusCode ¶
func (o *ListRemoteBucketsDefault) WithStatusCode(code int) *ListRemoteBucketsDefault
WithStatusCode adds the status to the list remote buckets default response
func (*ListRemoteBucketsDefault) WriteResponse ¶
func (o *ListRemoteBucketsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRemoteBucketsHandler ¶
type ListRemoteBucketsHandler interface {
Handle(ListRemoteBucketsParams, *models.Principal) middleware.Responder
}
ListRemoteBucketsHandler interface for that can handle valid list remote buckets params
type ListRemoteBucketsHandlerFunc ¶
type ListRemoteBucketsHandlerFunc func(ListRemoteBucketsParams, *models.Principal) middleware.Responder
ListRemoteBucketsHandlerFunc turns a function with the right signature into a list remote buckets handler
func (ListRemoteBucketsHandlerFunc) Handle ¶
func (fn ListRemoteBucketsHandlerFunc) Handle(params ListRemoteBucketsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ListRemoteBucketsOK ¶
type ListRemoteBucketsOK struct { /* In: Body */ Payload *models.ListRemoteBucketsResponse `json:"body,omitempty"` }
ListRemoteBucketsOK A successful response.
swagger:response listRemoteBucketsOK
func NewListRemoteBucketsOK ¶
func NewListRemoteBucketsOK() *ListRemoteBucketsOK
NewListRemoteBucketsOK creates ListRemoteBucketsOK with default headers values
func (*ListRemoteBucketsOK) SetPayload ¶
func (o *ListRemoteBucketsOK) SetPayload(payload *models.ListRemoteBucketsResponse)
SetPayload sets the payload to the list remote buckets o k response
func (*ListRemoteBucketsOK) WithPayload ¶
func (o *ListRemoteBucketsOK) WithPayload(payload *models.ListRemoteBucketsResponse) *ListRemoteBucketsOK
WithPayload adds the payload to the list remote buckets o k response
func (*ListRemoteBucketsOK) WriteResponse ¶
func (o *ListRemoteBucketsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRemoteBucketsParams ¶
ListRemoteBucketsParams contains all the bound params for the list remote buckets operation typically these are obtained from a http.Request
swagger:parameters ListRemoteBuckets
func NewListRemoteBucketsParams ¶
func NewListRemoteBucketsParams() ListRemoteBucketsParams
NewListRemoteBucketsParams creates a new ListRemoteBucketsParams object
There are no default values defined in the spec.
func (*ListRemoteBucketsParams) BindRequest ¶
func (o *ListRemoteBucketsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListRemoteBucketsParams() beforehand.
type ListRemoteBucketsURL ¶
type ListRemoteBucketsURL struct {
// contains filtered or unexported fields
}
ListRemoteBucketsURL generates an URL for the list remote buckets operation
func (*ListRemoteBucketsURL) Build ¶
func (o *ListRemoteBucketsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListRemoteBucketsURL) BuildFull ¶
func (o *ListRemoteBucketsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListRemoteBucketsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListRemoteBucketsURL) SetBasePath ¶
func (o *ListRemoteBucketsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListRemoteBucketsURL) String ¶
func (o *ListRemoteBucketsURL) String() string
String returns the string representation of the path with query string
func (*ListRemoteBucketsURL) StringFull ¶
func (o *ListRemoteBucketsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListRemoteBucketsURL) WithBasePath ¶
func (o *ListRemoteBucketsURL) WithBasePath(bp string) *ListRemoteBucketsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type 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 ¶
func (o *ListUserServiceAccounts) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *ListUserServiceAccountsDefault) WithPayload(payload *models.Error) *ListUserServiceAccountsDefault
WithPayload adds the payload to the list user service accounts default response
func (*ListUserServiceAccountsDefault) WithStatusCode ¶
func (o *ListUserServiceAccountsDefault) WithStatusCode(code int) *ListUserServiceAccountsDefault
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 ¶
func (fn ListUserServiceAccountsHandlerFunc) Handle(params ListUserServiceAccountsParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *ListUserServiceAccountsOK) WithPayload(payload models.ServiceAccounts) *ListUserServiceAccountsOK
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 ¶
func (o *ListUserServiceAccountsParams) 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 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 ¶
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 ¶
func (o *ListUserServiceAccountsURL) WithBasePath(bp string) *ListUserServiceAccountsURL
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 ¶
type LogSearch struct { Context *middleware.Context Handler LogSearchHandler }
LogSearch swagger:route GET /logs/search UserAPI logSearch
Search the logs
func NewLogSearch ¶
func NewLogSearch(ctx *middleware.Context, handler LogSearchHandler) *LogSearch
NewLogSearch creates a new http.Handler for the log search operation
type LogSearchDefault ¶
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 ¶
func NewLogSearchDefault(code int) *LogSearchDefault
NewLogSearchDefault creates LogSearchDefault with default headers values
func (*LogSearchDefault) SetPayload ¶
func (o *LogSearchDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the log search default response
func (*LogSearchDefault) SetStatusCode ¶
func (o *LogSearchDefault) SetStatusCode(code int)
SetStatusCode sets the status to the log search default response
func (*LogSearchDefault) WithPayload ¶
func (o *LogSearchDefault) WithPayload(payload *models.Error) *LogSearchDefault
WithPayload adds the payload to the log search default response
func (*LogSearchDefault) WithStatusCode ¶
func (o *LogSearchDefault) WithStatusCode(code int) *LogSearchDefault
WithStatusCode adds the status to the log search default response
func (*LogSearchDefault) WriteResponse ¶
func (o *LogSearchDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LogSearchHandler ¶
type LogSearchHandler interface {
Handle(LogSearchParams, *models.Principal) middleware.Responder
}
LogSearchHandler interface for that can handle valid log search params
type LogSearchHandlerFunc ¶
type LogSearchHandlerFunc func(LogSearchParams, *models.Principal) middleware.Responder
LogSearchHandlerFunc turns a function with the right signature into a log search handler
func (LogSearchHandlerFunc) Handle ¶
func (fn LogSearchHandlerFunc) Handle(params LogSearchParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type LogSearchOK ¶
type LogSearchOK struct { /* In: Body */ Payload *models.LogSearchResponse `json:"body,omitempty"` }
LogSearchOK A successful response.
swagger:response logSearchOK
func NewLogSearchOK ¶
func NewLogSearchOK() *LogSearchOK
NewLogSearchOK creates LogSearchOK with default headers values
func (*LogSearchOK) SetPayload ¶
func (o *LogSearchOK) SetPayload(payload *models.LogSearchResponse)
SetPayload sets the payload to the log search o k response
func (*LogSearchOK) WithPayload ¶
func (o *LogSearchOK) WithPayload(payload *models.LogSearchResponse) *LogSearchOK
WithPayload adds the payload to the log search o k response
func (*LogSearchOK) WriteResponse ¶
func (o *LogSearchOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LogSearchParams ¶
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 ¶
func NewLogSearchParams() LogSearchParams
NewLogSearchParams creates a new LogSearchParams object with the default values initialized.
func (*LogSearchParams) BindRequest ¶
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 ¶
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 ¶
func (o *LogSearchURL) Build() (*url.URL, error)
Build a url path and query string
func (*LogSearchURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*LogSearchURL) SetBasePath ¶
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 ¶
func (o *LogSearchURL) String() string
String returns the string representation of the path with query string
func (*LogSearchURL) StringFull ¶
func (o *LogSearchURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*LogSearchURL) WithBasePath ¶
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
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 ¶
func (fn LoginDetailHandlerFunc) Handle(params LoginDetailParams) middleware.Responder
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 ¶
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 ¶
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 ¶
func (fn LoginHandlerFunc) Handle(params LoginParams) middleware.Responder
Handle executing the request and returning a response
type LoginNoContent ¶
type LoginNoContent struct { }
LoginNoContent A successful login.
swagger:response loginNoContent
func NewLoginNoContent ¶
func NewLoginNoContent() *LoginNoContent
NewLoginNoContent creates LoginNoContent with default headers values
func (*LoginNoContent) WriteResponse ¶
func (o *LoginNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 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 ¶
func (fn LoginOauth2AuthHandlerFunc) Handle(params LoginOauth2AuthParams) middleware.Responder
Handle executing the request and returning a response
type LoginOauth2AuthNoContent ¶
type LoginOauth2AuthNoContent struct { }
LoginOauth2AuthNoContent A successful login.
swagger:response loginOauth2AuthNoContent
func NewLoginOauth2AuthNoContent ¶
func NewLoginOauth2AuthNoContent() *LoginOauth2AuthNoContent
NewLoginOauth2AuthNoContent creates LoginOauth2AuthNoContent with default headers values
func (*LoginOauth2AuthNoContent) WriteResponse ¶
func (o *LoginOauth2AuthNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 ¶
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 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) SetBasePath ¶
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) StringFull ¶
StringFull returns the string representation of a complete url
func (*LoginURL) 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 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
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 ¶
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) SetBasePath ¶
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) StringFull ¶
StringFull returns the string representation of a complete url
func (*LogoutURL) WithBasePath ¶
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type MakeBucket ¶
type MakeBucket struct { Context *middleware.Context Handler MakeBucketHandler }
MakeBucket swagger:route POST /buckets 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 ¶
func (fn MakeBucketHandlerFunc) Handle(params MakeBucketParams, principal *models.Principal) middleware.Responder
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 ¶
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 ¶
type PostBucketsBucketNameObjectsUpload struct { Context *middleware.Context Handler PostBucketsBucketNameObjectsUploadHandler }
PostBucketsBucketNameObjectsUpload swagger:route POST /buckets/{bucket_name}/objects/upload UserAPI postBucketsBucketNameObjectsUpload
Uploads an Object.
func NewPostBucketsBucketNameObjectsUpload ¶
func NewPostBucketsBucketNameObjectsUpload(ctx *middleware.Context, handler PostBucketsBucketNameObjectsUploadHandler) *PostBucketsBucketNameObjectsUpload
NewPostBucketsBucketNameObjectsUpload creates a new http.Handler for the post buckets bucket name objects upload operation
func (*PostBucketsBucketNameObjectsUpload) ServeHTTP ¶
func (o *PostBucketsBucketNameObjectsUpload) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostBucketsBucketNameObjectsUploadDefault ¶
type PostBucketsBucketNameObjectsUploadDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PostBucketsBucketNameObjectsUploadDefault Generic error response.
swagger:response postBucketsBucketNameObjectsUploadDefault
func NewPostBucketsBucketNameObjectsUploadDefault ¶
func NewPostBucketsBucketNameObjectsUploadDefault(code int) *PostBucketsBucketNameObjectsUploadDefault
NewPostBucketsBucketNameObjectsUploadDefault creates PostBucketsBucketNameObjectsUploadDefault with default headers values
func (*PostBucketsBucketNameObjectsUploadDefault) SetPayload ¶
func (o *PostBucketsBucketNameObjectsUploadDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the post buckets bucket name objects upload default response
func (*PostBucketsBucketNameObjectsUploadDefault) SetStatusCode ¶
func (o *PostBucketsBucketNameObjectsUploadDefault) SetStatusCode(code int)
SetStatusCode sets the status to the post buckets bucket name objects upload default response
func (*PostBucketsBucketNameObjectsUploadDefault) WithPayload ¶
func (o *PostBucketsBucketNameObjectsUploadDefault) WithPayload(payload *models.Error) *PostBucketsBucketNameObjectsUploadDefault
WithPayload adds the payload to the post buckets bucket name objects upload default response
func (*PostBucketsBucketNameObjectsUploadDefault) WithStatusCode ¶
func (o *PostBucketsBucketNameObjectsUploadDefault) WithStatusCode(code int) *PostBucketsBucketNameObjectsUploadDefault
WithStatusCode adds the status to the post buckets bucket name objects upload default response
func (*PostBucketsBucketNameObjectsUploadDefault) WriteResponse ¶
func (o *PostBucketsBucketNameObjectsUploadDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostBucketsBucketNameObjectsUploadHandler ¶
type PostBucketsBucketNameObjectsUploadHandler interface {
Handle(PostBucketsBucketNameObjectsUploadParams, *models.Principal) middleware.Responder
}
PostBucketsBucketNameObjectsUploadHandler interface for that can handle valid post buckets bucket name objects upload params
type PostBucketsBucketNameObjectsUploadHandlerFunc ¶
type PostBucketsBucketNameObjectsUploadHandlerFunc func(PostBucketsBucketNameObjectsUploadParams, *models.Principal) middleware.Responder
PostBucketsBucketNameObjectsUploadHandlerFunc turns a function with the right signature into a post buckets bucket name objects upload handler
func (PostBucketsBucketNameObjectsUploadHandlerFunc) Handle ¶
func (fn PostBucketsBucketNameObjectsUploadHandlerFunc) Handle(params PostBucketsBucketNameObjectsUploadParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PostBucketsBucketNameObjectsUploadOK ¶
type PostBucketsBucketNameObjectsUploadOK struct { }
PostBucketsBucketNameObjectsUploadOK A successful response.
swagger:response postBucketsBucketNameObjectsUploadOK
func NewPostBucketsBucketNameObjectsUploadOK ¶
func NewPostBucketsBucketNameObjectsUploadOK() *PostBucketsBucketNameObjectsUploadOK
NewPostBucketsBucketNameObjectsUploadOK creates PostBucketsBucketNameObjectsUploadOK with default headers values
func (*PostBucketsBucketNameObjectsUploadOK) WriteResponse ¶
func (o *PostBucketsBucketNameObjectsUploadOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostBucketsBucketNameObjectsUploadParams ¶
type PostBucketsBucketNameObjectsUploadParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* In: query */ Prefix *string }
PostBucketsBucketNameObjectsUploadParams contains all the bound params for the post buckets bucket name objects upload operation typically these are obtained from a http.Request
swagger:parameters PostBucketsBucketNameObjectsUpload
func NewPostBucketsBucketNameObjectsUploadParams ¶
func NewPostBucketsBucketNameObjectsUploadParams() PostBucketsBucketNameObjectsUploadParams
NewPostBucketsBucketNameObjectsUploadParams creates a new PostBucketsBucketNameObjectsUploadParams object
There are no default values defined in the spec.
func (*PostBucketsBucketNameObjectsUploadParams) BindRequest ¶
func (o *PostBucketsBucketNameObjectsUploadParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPostBucketsBucketNameObjectsUploadParams() beforehand.
type PostBucketsBucketNameObjectsUploadURL ¶
type PostBucketsBucketNameObjectsUploadURL struct { BucketName string Prefix *string // contains filtered or unexported fields }
PostBucketsBucketNameObjectsUploadURL generates an URL for the post buckets bucket name objects upload operation
func (*PostBucketsBucketNameObjectsUploadURL) Build ¶
func (o *PostBucketsBucketNameObjectsUploadURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostBucketsBucketNameObjectsUploadURL) BuildFull ¶
func (o *PostBucketsBucketNameObjectsUploadURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostBucketsBucketNameObjectsUploadURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostBucketsBucketNameObjectsUploadURL) SetBasePath ¶
func (o *PostBucketsBucketNameObjectsUploadURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PostBucketsBucketNameObjectsUploadURL) String ¶
func (o *PostBucketsBucketNameObjectsUploadURL) String() string
String returns the string representation of the path with query string
func (*PostBucketsBucketNameObjectsUploadURL) StringFull ¶
func (o *PostBucketsBucketNameObjectsUploadURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostBucketsBucketNameObjectsUploadURL) WithBasePath ¶
func (o *PostBucketsBucketNameObjectsUploadURL) WithBasePath(bp string) *PostBucketsBucketNameObjectsUploadURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutBucketTags ¶
type PutBucketTags struct { Context *middleware.Context Handler PutBucketTagsHandler }
PutBucketTags swagger:route PUT /buckets/{bucket_name}/tags UserAPI putBucketTags
Put Bucket's tags
func NewPutBucketTags ¶
func NewPutBucketTags(ctx *middleware.Context, handler PutBucketTagsHandler) *PutBucketTags
NewPutBucketTags creates a new http.Handler for the put bucket tags operation
func (*PutBucketTags) ServeHTTP ¶
func (o *PutBucketTags) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutBucketTagsDefault ¶
type PutBucketTagsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PutBucketTagsDefault Generic error response.
swagger:response putBucketTagsDefault
func NewPutBucketTagsDefault ¶
func NewPutBucketTagsDefault(code int) *PutBucketTagsDefault
NewPutBucketTagsDefault creates PutBucketTagsDefault with default headers values
func (*PutBucketTagsDefault) SetPayload ¶
func (o *PutBucketTagsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the put bucket tags default response
func (*PutBucketTagsDefault) SetStatusCode ¶
func (o *PutBucketTagsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put bucket tags default response
func (*PutBucketTagsDefault) WithPayload ¶
func (o *PutBucketTagsDefault) WithPayload(payload *models.Error) *PutBucketTagsDefault
WithPayload adds the payload to the put bucket tags default response
func (*PutBucketTagsDefault) WithStatusCode ¶
func (o *PutBucketTagsDefault) WithStatusCode(code int) *PutBucketTagsDefault
WithStatusCode adds the status to the put bucket tags default response
func (*PutBucketTagsDefault) WriteResponse ¶
func (o *PutBucketTagsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutBucketTagsHandler ¶
type PutBucketTagsHandler interface {
Handle(PutBucketTagsParams, *models.Principal) middleware.Responder
}
PutBucketTagsHandler interface for that can handle valid put bucket tags params
type PutBucketTagsHandlerFunc ¶
type PutBucketTagsHandlerFunc func(PutBucketTagsParams, *models.Principal) middleware.Responder
PutBucketTagsHandlerFunc turns a function with the right signature into a put bucket tags handler
func (PutBucketTagsHandlerFunc) Handle ¶
func (fn PutBucketTagsHandlerFunc) Handle(params PutBucketTagsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PutBucketTagsOK ¶
type PutBucketTagsOK struct { }
PutBucketTagsOK A successful response.
swagger:response putBucketTagsOK
func NewPutBucketTagsOK ¶
func NewPutBucketTagsOK() *PutBucketTagsOK
NewPutBucketTagsOK creates PutBucketTagsOK with default headers values
func (*PutBucketTagsOK) WriteResponse ¶
func (o *PutBucketTagsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutBucketTagsParams ¶
type PutBucketTagsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.PutBucketTagsRequest /* Required: true In: path */ BucketName string }
PutBucketTagsParams contains all the bound params for the put bucket tags operation typically these are obtained from a http.Request
swagger:parameters PutBucketTags
func NewPutBucketTagsParams ¶
func NewPutBucketTagsParams() PutBucketTagsParams
NewPutBucketTagsParams creates a new PutBucketTagsParams object
There are no default values defined in the spec.
func (*PutBucketTagsParams) BindRequest ¶
func (o *PutBucketTagsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutBucketTagsParams() beforehand.
type PutBucketTagsURL ¶
type PutBucketTagsURL struct { BucketName string // contains filtered or unexported fields }
PutBucketTagsURL generates an URL for the put bucket tags operation
func (*PutBucketTagsURL) Build ¶
func (o *PutBucketTagsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutBucketTagsURL) BuildFull ¶
func (o *PutBucketTagsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutBucketTagsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutBucketTagsURL) SetBasePath ¶
func (o *PutBucketTagsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutBucketTagsURL) String ¶
func (o *PutBucketTagsURL) String() string
String returns the string representation of the path with query string
func (*PutBucketTagsURL) StringFull ¶
func (o *PutBucketTagsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutBucketTagsURL) WithBasePath ¶
func (o *PutBucketTagsURL) WithBasePath(bp string) *PutBucketTagsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutObjectLegalHold ¶
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 ¶
func NewPutObjectLegalHold(ctx *middleware.Context, handler PutObjectLegalHoldHandler) *PutObjectLegalHold
NewPutObjectLegalHold creates a new http.Handler for the put object legal hold operation
func (*PutObjectLegalHold) ServeHTTP ¶
func (o *PutObjectLegalHold) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutObjectLegalHoldDefault ¶
type PutObjectLegalHoldDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PutObjectLegalHoldDefault Generic error response.
swagger:response putObjectLegalHoldDefault
func NewPutObjectLegalHoldDefault ¶
func NewPutObjectLegalHoldDefault(code int) *PutObjectLegalHoldDefault
NewPutObjectLegalHoldDefault creates PutObjectLegalHoldDefault with default headers values
func (*PutObjectLegalHoldDefault) SetPayload ¶
func (o *PutObjectLegalHoldDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the put object legal hold default response
func (*PutObjectLegalHoldDefault) SetStatusCode ¶
func (o *PutObjectLegalHoldDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put object legal hold default response
func (*PutObjectLegalHoldDefault) WithPayload ¶
func (o *PutObjectLegalHoldDefault) WithPayload(payload *models.Error) *PutObjectLegalHoldDefault
WithPayload adds the payload to the put object legal hold default response
func (*PutObjectLegalHoldDefault) WithStatusCode ¶
func (o *PutObjectLegalHoldDefault) WithStatusCode(code int) *PutObjectLegalHoldDefault
WithStatusCode adds the status to the put object legal hold default response
func (*PutObjectLegalHoldDefault) WriteResponse ¶
func (o *PutObjectLegalHoldDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectLegalHoldHandler ¶
type PutObjectLegalHoldHandler interface {
Handle(PutObjectLegalHoldParams, *models.Principal) middleware.Responder
}
PutObjectLegalHoldHandler interface for that can handle valid put object legal hold params
type PutObjectLegalHoldHandlerFunc ¶
type PutObjectLegalHoldHandlerFunc func(PutObjectLegalHoldParams, *models.Principal) middleware.Responder
PutObjectLegalHoldHandlerFunc turns a function with the right signature into a put object legal hold handler
func (PutObjectLegalHoldHandlerFunc) Handle ¶
func (fn PutObjectLegalHoldHandlerFunc) Handle(params PutObjectLegalHoldParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PutObjectLegalHoldOK ¶
type PutObjectLegalHoldOK struct { }
PutObjectLegalHoldOK A successful response.
swagger:response putObjectLegalHoldOK
func NewPutObjectLegalHoldOK ¶
func NewPutObjectLegalHoldOK() *PutObjectLegalHoldOK
NewPutObjectLegalHoldOK creates PutObjectLegalHoldOK with default headers values
func (*PutObjectLegalHoldOK) WriteResponse ¶
func (o *PutObjectLegalHoldOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectLegalHoldParams ¶
type PutObjectLegalHoldParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.PutObjectLegalHoldRequest /* Required: true In: path */ BucketName string /* Required: true In: query */ Prefix string /* Required: true In: query */ VersionID string }
PutObjectLegalHoldParams contains all the bound params for the put object legal hold operation typically these are obtained from a http.Request
swagger:parameters PutObjectLegalHold
func NewPutObjectLegalHoldParams ¶
func NewPutObjectLegalHoldParams() PutObjectLegalHoldParams
NewPutObjectLegalHoldParams creates a new PutObjectLegalHoldParams object
There are no default values defined in the spec.
func (*PutObjectLegalHoldParams) BindRequest ¶
func (o *PutObjectLegalHoldParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutObjectLegalHoldParams() beforehand.
type PutObjectLegalHoldURL ¶
type PutObjectLegalHoldURL struct { BucketName string Prefix string VersionID string // contains filtered or unexported fields }
PutObjectLegalHoldURL generates an URL for the put object legal hold operation
func (*PutObjectLegalHoldURL) Build ¶
func (o *PutObjectLegalHoldURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutObjectLegalHoldURL) BuildFull ¶
func (o *PutObjectLegalHoldURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutObjectLegalHoldURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutObjectLegalHoldURL) SetBasePath ¶
func (o *PutObjectLegalHoldURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutObjectLegalHoldURL) String ¶
func (o *PutObjectLegalHoldURL) String() string
String returns the string representation of the path with query string
func (*PutObjectLegalHoldURL) StringFull ¶
func (o *PutObjectLegalHoldURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutObjectLegalHoldURL) WithBasePath ¶
func (o *PutObjectLegalHoldURL) WithBasePath(bp string) *PutObjectLegalHoldURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutObjectRestore ¶
type PutObjectRestore struct { Context *middleware.Context Handler PutObjectRestoreHandler }
PutObjectRestore swagger:route PUT /buckets/{bucket_name}/objects/restore UserAPI putObjectRestore
Restore Object to a selected version
func NewPutObjectRestore ¶
func NewPutObjectRestore(ctx *middleware.Context, handler PutObjectRestoreHandler) *PutObjectRestore
NewPutObjectRestore creates a new http.Handler for the put object restore operation
func (*PutObjectRestore) ServeHTTP ¶
func (o *PutObjectRestore) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutObjectRestoreDefault ¶
type PutObjectRestoreDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PutObjectRestoreDefault Generic error response.
swagger:response putObjectRestoreDefault
func NewPutObjectRestoreDefault ¶
func NewPutObjectRestoreDefault(code int) *PutObjectRestoreDefault
NewPutObjectRestoreDefault creates PutObjectRestoreDefault with default headers values
func (*PutObjectRestoreDefault) SetPayload ¶
func (o *PutObjectRestoreDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the put object restore default response
func (*PutObjectRestoreDefault) SetStatusCode ¶
func (o *PutObjectRestoreDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put object restore default response
func (*PutObjectRestoreDefault) WithPayload ¶
func (o *PutObjectRestoreDefault) WithPayload(payload *models.Error) *PutObjectRestoreDefault
WithPayload adds the payload to the put object restore default response
func (*PutObjectRestoreDefault) WithStatusCode ¶
func (o *PutObjectRestoreDefault) WithStatusCode(code int) *PutObjectRestoreDefault
WithStatusCode adds the status to the put object restore default response
func (*PutObjectRestoreDefault) WriteResponse ¶
func (o *PutObjectRestoreDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectRestoreHandler ¶
type PutObjectRestoreHandler interface {
Handle(PutObjectRestoreParams, *models.Principal) middleware.Responder
}
PutObjectRestoreHandler interface for that can handle valid put object restore params
type PutObjectRestoreHandlerFunc ¶
type PutObjectRestoreHandlerFunc func(PutObjectRestoreParams, *models.Principal) middleware.Responder
PutObjectRestoreHandlerFunc turns a function with the right signature into a put object restore handler
func (PutObjectRestoreHandlerFunc) Handle ¶
func (fn PutObjectRestoreHandlerFunc) Handle(params PutObjectRestoreParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PutObjectRestoreOK ¶
type PutObjectRestoreOK struct { }
PutObjectRestoreOK A successful response.
swagger:response putObjectRestoreOK
func NewPutObjectRestoreOK ¶
func NewPutObjectRestoreOK() *PutObjectRestoreOK
NewPutObjectRestoreOK creates PutObjectRestoreOK with default headers values
func (*PutObjectRestoreOK) WriteResponse ¶
func (o *PutObjectRestoreOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectRestoreParams ¶
type PutObjectRestoreParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ BucketName string /* Required: true In: query */ Prefix string /* Required: true In: query */ VersionID string }
PutObjectRestoreParams contains all the bound params for the put object restore operation typically these are obtained from a http.Request
swagger:parameters PutObjectRestore
func NewPutObjectRestoreParams ¶
func NewPutObjectRestoreParams() PutObjectRestoreParams
NewPutObjectRestoreParams creates a new PutObjectRestoreParams object
There are no default values defined in the spec.
func (*PutObjectRestoreParams) BindRequest ¶
func (o *PutObjectRestoreParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutObjectRestoreParams() beforehand.
type PutObjectRestoreURL ¶
type PutObjectRestoreURL struct { BucketName string Prefix string VersionID string // contains filtered or unexported fields }
PutObjectRestoreURL generates an URL for the put object restore operation
func (*PutObjectRestoreURL) Build ¶
func (o *PutObjectRestoreURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutObjectRestoreURL) BuildFull ¶
func (o *PutObjectRestoreURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutObjectRestoreURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutObjectRestoreURL) SetBasePath ¶
func (o *PutObjectRestoreURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutObjectRestoreURL) String ¶
func (o *PutObjectRestoreURL) String() string
String returns the string representation of the path with query string
func (*PutObjectRestoreURL) StringFull ¶
func (o *PutObjectRestoreURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutObjectRestoreURL) WithBasePath ¶
func (o *PutObjectRestoreURL) WithBasePath(bp string) *PutObjectRestoreURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutObjectRetention ¶
type PutObjectRetention struct { Context *middleware.Context Handler PutObjectRetentionHandler }
PutObjectRetention swagger:route PUT /buckets/{bucket_name}/objects/retention UserAPI putObjectRetention
Put Object's retention status
func NewPutObjectRetention ¶
func NewPutObjectRetention(ctx *middleware.Context, handler PutObjectRetentionHandler) *PutObjectRetention
NewPutObjectRetention creates a new http.Handler for the put object retention operation
func (*PutObjectRetention) ServeHTTP ¶
func (o *PutObjectRetention) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutObjectRetentionDefault ¶
type PutObjectRetentionDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PutObjectRetentionDefault Generic error response.
swagger:response putObjectRetentionDefault
func NewPutObjectRetentionDefault ¶
func NewPutObjectRetentionDefault(code int) *PutObjectRetentionDefault
NewPutObjectRetentionDefault creates PutObjectRetentionDefault with default headers values
func (*PutObjectRetentionDefault) SetPayload ¶
func (o *PutObjectRetentionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the put object retention default response
func (*PutObjectRetentionDefault) SetStatusCode ¶
func (o *PutObjectRetentionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put object retention default response
func (*PutObjectRetentionDefault) WithPayload ¶
func (o *PutObjectRetentionDefault) WithPayload(payload *models.Error) *PutObjectRetentionDefault
WithPayload adds the payload to the put object retention default response
func (*PutObjectRetentionDefault) WithStatusCode ¶
func (o *PutObjectRetentionDefault) WithStatusCode(code int) *PutObjectRetentionDefault
WithStatusCode adds the status to the put object retention default response
func (*PutObjectRetentionDefault) WriteResponse ¶
func (o *PutObjectRetentionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectRetentionHandler ¶
type PutObjectRetentionHandler interface {
Handle(PutObjectRetentionParams, *models.Principal) middleware.Responder
}
PutObjectRetentionHandler interface for that can handle valid put object retention params
type PutObjectRetentionHandlerFunc ¶
type PutObjectRetentionHandlerFunc func(PutObjectRetentionParams, *models.Principal) middleware.Responder
PutObjectRetentionHandlerFunc turns a function with the right signature into a put object retention handler
func (PutObjectRetentionHandlerFunc) Handle ¶
func (fn PutObjectRetentionHandlerFunc) Handle(params PutObjectRetentionParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PutObjectRetentionOK ¶
type PutObjectRetentionOK struct { }
PutObjectRetentionOK A successful response.
swagger:response putObjectRetentionOK
func NewPutObjectRetentionOK ¶
func NewPutObjectRetentionOK() *PutObjectRetentionOK
NewPutObjectRetentionOK creates PutObjectRetentionOK with default headers values
func (*PutObjectRetentionOK) WriteResponse ¶
func (o *PutObjectRetentionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectRetentionParams ¶
type PutObjectRetentionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.PutObjectRetentionRequest /* Required: true In: path */ BucketName string /* Required: true In: query */ Prefix string /* Required: true In: query */ VersionID string }
PutObjectRetentionParams contains all the bound params for the put object retention operation typically these are obtained from a http.Request
swagger:parameters PutObjectRetention
func NewPutObjectRetentionParams ¶
func NewPutObjectRetentionParams() PutObjectRetentionParams
NewPutObjectRetentionParams creates a new PutObjectRetentionParams object
There are no default values defined in the spec.
func (*PutObjectRetentionParams) BindRequest ¶
func (o *PutObjectRetentionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutObjectRetentionParams() beforehand.
type PutObjectRetentionURL ¶
type PutObjectRetentionURL struct { BucketName string Prefix string VersionID string // contains filtered or unexported fields }
PutObjectRetentionURL generates an URL for the put object retention operation
func (*PutObjectRetentionURL) Build ¶
func (o *PutObjectRetentionURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutObjectRetentionURL) BuildFull ¶
func (o *PutObjectRetentionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutObjectRetentionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutObjectRetentionURL) SetBasePath ¶
func (o *PutObjectRetentionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutObjectRetentionURL) String ¶
func (o *PutObjectRetentionURL) String() string
String returns the string representation of the path with query string
func (*PutObjectRetentionURL) StringFull ¶
func (o *PutObjectRetentionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutObjectRetentionURL) WithBasePath ¶
func (o *PutObjectRetentionURL) WithBasePath(bp string) *PutObjectRetentionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutObjectTags ¶
type PutObjectTags struct { Context *middleware.Context Handler PutObjectTagsHandler }
PutObjectTags swagger:route PUT /buckets/{bucket_name}/objects/tags UserAPI putObjectTags
Put Object's tags
func NewPutObjectTags ¶
func NewPutObjectTags(ctx *middleware.Context, handler PutObjectTagsHandler) *PutObjectTags
NewPutObjectTags creates a new http.Handler for the put object tags operation
func (*PutObjectTags) ServeHTTP ¶
func (o *PutObjectTags) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutObjectTagsDefault ¶
type PutObjectTagsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PutObjectTagsDefault Generic error response.
swagger:response putObjectTagsDefault
func NewPutObjectTagsDefault ¶
func NewPutObjectTagsDefault(code int) *PutObjectTagsDefault
NewPutObjectTagsDefault creates PutObjectTagsDefault with default headers values
func (*PutObjectTagsDefault) SetPayload ¶
func (o *PutObjectTagsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the put object tags default response
func (*PutObjectTagsDefault) SetStatusCode ¶
func (o *PutObjectTagsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put object tags default response
func (*PutObjectTagsDefault) WithPayload ¶
func (o *PutObjectTagsDefault) WithPayload(payload *models.Error) *PutObjectTagsDefault
WithPayload adds the payload to the put object tags default response
func (*PutObjectTagsDefault) WithStatusCode ¶
func (o *PutObjectTagsDefault) WithStatusCode(code int) *PutObjectTagsDefault
WithStatusCode adds the status to the put object tags default response
func (*PutObjectTagsDefault) WriteResponse ¶
func (o *PutObjectTagsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectTagsHandler ¶
type PutObjectTagsHandler interface {
Handle(PutObjectTagsParams, *models.Principal) middleware.Responder
}
PutObjectTagsHandler interface for that can handle valid put object tags params
type PutObjectTagsHandlerFunc ¶
type PutObjectTagsHandlerFunc func(PutObjectTagsParams, *models.Principal) middleware.Responder
PutObjectTagsHandlerFunc turns a function with the right signature into a put object tags handler
func (PutObjectTagsHandlerFunc) Handle ¶
func (fn PutObjectTagsHandlerFunc) Handle(params PutObjectTagsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PutObjectTagsOK ¶
type PutObjectTagsOK struct { }
PutObjectTagsOK A successful response.
swagger:response putObjectTagsOK
func NewPutObjectTagsOK ¶
func NewPutObjectTagsOK() *PutObjectTagsOK
NewPutObjectTagsOK creates PutObjectTagsOK with default headers values
func (*PutObjectTagsOK) WriteResponse ¶
func (o *PutObjectTagsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutObjectTagsParams ¶
type PutObjectTagsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.PutObjectTagsRequest /* Required: true In: path */ BucketName string /* Required: true In: query */ Prefix string /* Required: true In: query */ VersionID string }
PutObjectTagsParams contains all the bound params for the put object tags operation typically these are obtained from a http.Request
swagger:parameters PutObjectTags
func NewPutObjectTagsParams ¶
func NewPutObjectTagsParams() PutObjectTagsParams
NewPutObjectTagsParams creates a new PutObjectTagsParams object
There are no default values defined in the spec.
func (*PutObjectTagsParams) BindRequest ¶
func (o *PutObjectTagsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutObjectTagsParams() beforehand.
type PutObjectTagsURL ¶
type PutObjectTagsURL struct { BucketName string Prefix string VersionID string // contains filtered or unexported fields }
PutObjectTagsURL generates an URL for the put object tags operation
func (*PutObjectTagsURL) Build ¶
func (o *PutObjectTagsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutObjectTagsURL) BuildFull ¶
func (o *PutObjectTagsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutObjectTagsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutObjectTagsURL) SetBasePath ¶
func (o *PutObjectTagsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutObjectTagsURL) String ¶
func (o *PutObjectTagsURL) String() string
String returns the string representation of the path with query string
func (*PutObjectTagsURL) StringFull ¶
func (o *PutObjectTagsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutObjectTagsURL) WithBasePath ¶
func (o *PutObjectTagsURL) WithBasePath(bp string) *PutObjectTagsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type RemoteBucketDetails ¶
type RemoteBucketDetails struct { Context *middleware.Context Handler RemoteBucketDetailsHandler }
RemoteBucketDetails swagger:route GET /remote-buckets/{name} UserAPI remoteBucketDetails
Remote Bucket Details
func NewRemoteBucketDetails ¶
func NewRemoteBucketDetails(ctx *middleware.Context, handler RemoteBucketDetailsHandler) *RemoteBucketDetails
NewRemoteBucketDetails creates a new http.Handler for the remote bucket details operation
func (*RemoteBucketDetails) ServeHTTP ¶
func (o *RemoteBucketDetails) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RemoteBucketDetailsDefault ¶
type RemoteBucketDetailsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
RemoteBucketDetailsDefault Generic error response.
swagger:response remoteBucketDetailsDefault
func NewRemoteBucketDetailsDefault ¶
func NewRemoteBucketDetailsDefault(code int) *RemoteBucketDetailsDefault
NewRemoteBucketDetailsDefault creates RemoteBucketDetailsDefault with default headers values
func (*RemoteBucketDetailsDefault) SetPayload ¶
func (o *RemoteBucketDetailsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the remote bucket details default response
func (*RemoteBucketDetailsDefault) SetStatusCode ¶
func (o *RemoteBucketDetailsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the remote bucket details default response
func (*RemoteBucketDetailsDefault) WithPayload ¶
func (o *RemoteBucketDetailsDefault) WithPayload(payload *models.Error) *RemoteBucketDetailsDefault
WithPayload adds the payload to the remote bucket details default response
func (*RemoteBucketDetailsDefault) WithStatusCode ¶
func (o *RemoteBucketDetailsDefault) WithStatusCode(code int) *RemoteBucketDetailsDefault
WithStatusCode adds the status to the remote bucket details default response
func (*RemoteBucketDetailsDefault) WriteResponse ¶
func (o *RemoteBucketDetailsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RemoteBucketDetailsHandler ¶
type RemoteBucketDetailsHandler interface {
Handle(RemoteBucketDetailsParams, *models.Principal) middleware.Responder
}
RemoteBucketDetailsHandler interface for that can handle valid remote bucket details params
type RemoteBucketDetailsHandlerFunc ¶
type RemoteBucketDetailsHandlerFunc func(RemoteBucketDetailsParams, *models.Principal) middleware.Responder
RemoteBucketDetailsHandlerFunc turns a function with the right signature into a remote bucket details handler
func (RemoteBucketDetailsHandlerFunc) Handle ¶
func (fn RemoteBucketDetailsHandlerFunc) Handle(params RemoteBucketDetailsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type RemoteBucketDetailsOK ¶
type RemoteBucketDetailsOK struct { /* In: Body */ Payload *models.RemoteBucket `json:"body,omitempty"` }
RemoteBucketDetailsOK A successful response.
swagger:response remoteBucketDetailsOK
func NewRemoteBucketDetailsOK ¶
func NewRemoteBucketDetailsOK() *RemoteBucketDetailsOK
NewRemoteBucketDetailsOK creates RemoteBucketDetailsOK with default headers values
func (*RemoteBucketDetailsOK) SetPayload ¶
func (o *RemoteBucketDetailsOK) SetPayload(payload *models.RemoteBucket)
SetPayload sets the payload to the remote bucket details o k response
func (*RemoteBucketDetailsOK) WithPayload ¶
func (o *RemoteBucketDetailsOK) WithPayload(payload *models.RemoteBucket) *RemoteBucketDetailsOK
WithPayload adds the payload to the remote bucket details o k response
func (*RemoteBucketDetailsOK) WriteResponse ¶
func (o *RemoteBucketDetailsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RemoteBucketDetailsParams ¶
type RemoteBucketDetailsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Name string }
RemoteBucketDetailsParams contains all the bound params for the remote bucket details operation typically these are obtained from a http.Request
swagger:parameters RemoteBucketDetails
func NewRemoteBucketDetailsParams ¶
func NewRemoteBucketDetailsParams() RemoteBucketDetailsParams
NewRemoteBucketDetailsParams creates a new RemoteBucketDetailsParams object
There are no default values defined in the spec.
func (*RemoteBucketDetailsParams) BindRequest ¶
func (o *RemoteBucketDetailsParams) 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 NewRemoteBucketDetailsParams() beforehand.
type RemoteBucketDetailsURL ¶
type RemoteBucketDetailsURL struct { Name string // contains filtered or unexported fields }
RemoteBucketDetailsURL generates an URL for the remote bucket details operation
func (*RemoteBucketDetailsURL) Build ¶
func (o *RemoteBucketDetailsURL) Build() (*url.URL, error)
Build a url path and query string
func (*RemoteBucketDetailsURL) BuildFull ¶
func (o *RemoteBucketDetailsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RemoteBucketDetailsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RemoteBucketDetailsURL) SetBasePath ¶
func (o *RemoteBucketDetailsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*RemoteBucketDetailsURL) String ¶
func (o *RemoteBucketDetailsURL) String() string
String returns the string representation of the path with query string
func (*RemoteBucketDetailsURL) StringFull ¶
func (o *RemoteBucketDetailsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RemoteBucketDetailsURL) WithBasePath ¶
func (o *RemoteBucketDetailsURL) WithBasePath(bp string) *RemoteBucketDetailsURL
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 ¶
func (fn SessionCheckHandlerFunc) Handle(params SessionCheckParams, principal *models.Principal) middleware.Responder
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 ¶
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 ¶
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 ¶
type SetBucketQuota struct { Context *middleware.Context Handler SetBucketQuotaHandler }
SetBucketQuota swagger:route PUT /buckets/{name}/quota UserAPI setBucketQuota
Bucket Quota
func NewSetBucketQuota ¶
func NewSetBucketQuota(ctx *middleware.Context, handler SetBucketQuotaHandler) *SetBucketQuota
NewSetBucketQuota creates a new http.Handler for the set bucket quota operation
func (*SetBucketQuota) ServeHTTP ¶
func (o *SetBucketQuota) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SetBucketQuotaDefault ¶
type SetBucketQuotaDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SetBucketQuotaDefault Generic error response.
swagger:response setBucketQuotaDefault
func NewSetBucketQuotaDefault ¶
func NewSetBucketQuotaDefault(code int) *SetBucketQuotaDefault
NewSetBucketQuotaDefault creates SetBucketQuotaDefault with default headers values
func (*SetBucketQuotaDefault) SetPayload ¶
func (o *SetBucketQuotaDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the set bucket quota default response
func (*SetBucketQuotaDefault) SetStatusCode ¶
func (o *SetBucketQuotaDefault) SetStatusCode(code int)
SetStatusCode sets the status to the set bucket quota default response
func (*SetBucketQuotaDefault) WithPayload ¶
func (o *SetBucketQuotaDefault) WithPayload(payload *models.Error) *SetBucketQuotaDefault
WithPayload adds the payload to the set bucket quota default response
func (*SetBucketQuotaDefault) WithStatusCode ¶
func (o *SetBucketQuotaDefault) WithStatusCode(code int) *SetBucketQuotaDefault
WithStatusCode adds the status to the set bucket quota default response
func (*SetBucketQuotaDefault) WriteResponse ¶
func (o *SetBucketQuotaDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetBucketQuotaHandler ¶
type SetBucketQuotaHandler interface {
Handle(SetBucketQuotaParams, *models.Principal) middleware.Responder
}
SetBucketQuotaHandler interface for that can handle valid set bucket quota params
type SetBucketQuotaHandlerFunc ¶
type SetBucketQuotaHandlerFunc func(SetBucketQuotaParams, *models.Principal) middleware.Responder
SetBucketQuotaHandlerFunc turns a function with the right signature into a set bucket quota handler
func (SetBucketQuotaHandlerFunc) Handle ¶
func (fn SetBucketQuotaHandlerFunc) Handle(params SetBucketQuotaParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SetBucketQuotaOK ¶
SetBucketQuotaOK A successful response.
swagger:response setBucketQuotaOK
func NewSetBucketQuotaOK ¶
func NewSetBucketQuotaOK() *SetBucketQuotaOK
NewSetBucketQuotaOK creates SetBucketQuotaOK with default headers values
func (*SetBucketQuotaOK) SetPayload ¶
func (o *SetBucketQuotaOK) SetPayload(payload *models.Bucket)
SetPayload sets the payload to the set bucket quota o k response
func (*SetBucketQuotaOK) WithPayload ¶
func (o *SetBucketQuotaOK) WithPayload(payload *models.Bucket) *SetBucketQuotaOK
WithPayload adds the payload to the set bucket quota o k response
func (*SetBucketQuotaOK) WriteResponse ¶
func (o *SetBucketQuotaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetBucketQuotaParams ¶
type SetBucketQuotaParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.SetBucketQuota /* Required: true In: path */ Name string }
SetBucketQuotaParams contains all the bound params for the set bucket quota operation typically these are obtained from a http.Request
swagger:parameters SetBucketQuota
func NewSetBucketQuotaParams ¶
func NewSetBucketQuotaParams() SetBucketQuotaParams
NewSetBucketQuotaParams creates a new SetBucketQuotaParams object
There are no default values defined in the spec.
func (*SetBucketQuotaParams) BindRequest ¶
func (o *SetBucketQuotaParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewSetBucketQuotaParams() beforehand.
type SetBucketQuotaURL ¶
type SetBucketQuotaURL struct { Name string // contains filtered or unexported fields }
SetBucketQuotaURL generates an URL for the set bucket quota operation
func (*SetBucketQuotaURL) Build ¶
func (o *SetBucketQuotaURL) Build() (*url.URL, error)
Build a url path and query string
func (*SetBucketQuotaURL) BuildFull ¶
func (o *SetBucketQuotaURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SetBucketQuotaURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SetBucketQuotaURL) SetBasePath ¶
func (o *SetBucketQuotaURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*SetBucketQuotaURL) String ¶
func (o *SetBucketQuotaURL) String() string
String returns the string representation of the path with query string
func (*SetBucketQuotaURL) StringFull ¶
func (o *SetBucketQuotaURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SetBucketQuotaURL) WithBasePath ¶
func (o *SetBucketQuotaURL) WithBasePath(bp string) *SetBucketQuotaURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type SetBucketRetentionConfig ¶
type SetBucketRetentionConfig struct { Context *middleware.Context Handler SetBucketRetentionConfigHandler }
SetBucketRetentionConfig swagger:route PUT /buckets/{bucket_name}/retention UserAPI setBucketRetentionConfig
Set Bucket's retention config
func NewSetBucketRetentionConfig ¶
func NewSetBucketRetentionConfig(ctx *middleware.Context, handler SetBucketRetentionConfigHandler) *SetBucketRetentionConfig
NewSetBucketRetentionConfig creates a new http.Handler for the set bucket retention config operation
func (*SetBucketRetentionConfig) ServeHTTP ¶
func (o *SetBucketRetentionConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SetBucketRetentionConfigDefault ¶
type SetBucketRetentionConfigDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SetBucketRetentionConfigDefault Generic error response.
swagger:response setBucketRetentionConfigDefault
func NewSetBucketRetentionConfigDefault ¶
func NewSetBucketRetentionConfigDefault(code int) *SetBucketRetentionConfigDefault
NewSetBucketRetentionConfigDefault creates SetBucketRetentionConfigDefault with default headers values
func (*SetBucketRetentionConfigDefault) SetPayload ¶
func (o *SetBucketRetentionConfigDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the set bucket retention config default response
func (*SetBucketRetentionConfigDefault) SetStatusCode ¶
func (o *SetBucketRetentionConfigDefault) SetStatusCode(code int)
SetStatusCode sets the status to the set bucket retention config default response
func (*SetBucketRetentionConfigDefault) WithPayload ¶
func (o *SetBucketRetentionConfigDefault) WithPayload(payload *models.Error) *SetBucketRetentionConfigDefault
WithPayload adds the payload to the set bucket retention config default response
func (*SetBucketRetentionConfigDefault) WithStatusCode ¶
func (o *SetBucketRetentionConfigDefault) WithStatusCode(code int) *SetBucketRetentionConfigDefault
WithStatusCode adds the status to the set bucket retention config default response
func (*SetBucketRetentionConfigDefault) WriteResponse ¶
func (o *SetBucketRetentionConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetBucketRetentionConfigHandler ¶
type SetBucketRetentionConfigHandler interface {
Handle(SetBucketRetentionConfigParams, *models.Principal) middleware.Responder
}
SetBucketRetentionConfigHandler interface for that can handle valid set bucket retention config params
type SetBucketRetentionConfigHandlerFunc ¶
type SetBucketRetentionConfigHandlerFunc func(SetBucketRetentionConfigParams, *models.Principal) middleware.Responder
SetBucketRetentionConfigHandlerFunc turns a function with the right signature into a set bucket retention config handler
func (SetBucketRetentionConfigHandlerFunc) Handle ¶
func (fn SetBucketRetentionConfigHandlerFunc) Handle(params SetBucketRetentionConfigParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SetBucketRetentionConfigOK ¶
type SetBucketRetentionConfigOK struct { }
SetBucketRetentionConfigOK A successful response.
swagger:response setBucketRetentionConfigOK
func NewSetBucketRetentionConfigOK ¶
func NewSetBucketRetentionConfigOK() *SetBucketRetentionConfigOK
NewSetBucketRetentionConfigOK creates SetBucketRetentionConfigOK with default headers values
func (*SetBucketRetentionConfigOK) WriteResponse ¶
func (o *SetBucketRetentionConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetBucketRetentionConfigParams ¶
type SetBucketRetentionConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.PutBucketRetentionRequest /* Required: true In: path */ BucketName string }
SetBucketRetentionConfigParams contains all the bound params for the set bucket retention config operation typically these are obtained from a http.Request
swagger:parameters SetBucketRetentionConfig
func NewSetBucketRetentionConfigParams ¶
func NewSetBucketRetentionConfigParams() SetBucketRetentionConfigParams
NewSetBucketRetentionConfigParams creates a new SetBucketRetentionConfigParams object
There are no default values defined in the spec.
func (*SetBucketRetentionConfigParams) BindRequest ¶
func (o *SetBucketRetentionConfigParams) 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 NewSetBucketRetentionConfigParams() beforehand.
type SetBucketRetentionConfigURL ¶
type SetBucketRetentionConfigURL struct { BucketName string // contains filtered or unexported fields }
SetBucketRetentionConfigURL generates an URL for the set bucket retention config operation
func (*SetBucketRetentionConfigURL) Build ¶
func (o *SetBucketRetentionConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*SetBucketRetentionConfigURL) BuildFull ¶
func (o *SetBucketRetentionConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SetBucketRetentionConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SetBucketRetentionConfigURL) SetBasePath ¶
func (o *SetBucketRetentionConfigURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*SetBucketRetentionConfigURL) String ¶
func (o *SetBucketRetentionConfigURL) String() string
String returns the string representation of the path with query string
func (*SetBucketRetentionConfigURL) StringFull ¶
func (o *SetBucketRetentionConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SetBucketRetentionConfigURL) WithBasePath ¶
func (o *SetBucketRetentionConfigURL) WithBasePath(bp string) *SetBucketRetentionConfigURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type SetBucketVersioning ¶
type SetBucketVersioning struct { Context *middleware.Context Handler SetBucketVersioningHandler }
SetBucketVersioning swagger:route PUT /buckets/{bucket_name}/versioning UserAPI setBucketVersioning
Set Bucket Versioning
func NewSetBucketVersioning ¶
func NewSetBucketVersioning(ctx *middleware.Context, handler SetBucketVersioningHandler) *SetBucketVersioning
NewSetBucketVersioning creates a new http.Handler for the set bucket versioning operation
func (*SetBucketVersioning) ServeHTTP ¶
func (o *SetBucketVersioning) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SetBucketVersioningCreated ¶
type SetBucketVersioningCreated struct { }
SetBucketVersioningCreated A successful response.
swagger:response setBucketVersioningCreated
func NewSetBucketVersioningCreated ¶
func NewSetBucketVersioningCreated() *SetBucketVersioningCreated
NewSetBucketVersioningCreated creates SetBucketVersioningCreated with default headers values
func (*SetBucketVersioningCreated) WriteResponse ¶
func (o *SetBucketVersioningCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetBucketVersioningDefault ¶
type SetBucketVersioningDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SetBucketVersioningDefault Generic error response.
swagger:response setBucketVersioningDefault
func NewSetBucketVersioningDefault ¶
func NewSetBucketVersioningDefault(code int) *SetBucketVersioningDefault
NewSetBucketVersioningDefault creates SetBucketVersioningDefault with default headers values
func (*SetBucketVersioningDefault) SetPayload ¶
func (o *SetBucketVersioningDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the set bucket versioning default response
func (*SetBucketVersioningDefault) SetStatusCode ¶
func (o *SetBucketVersioningDefault) SetStatusCode(code int)
SetStatusCode sets the status to the set bucket versioning default response
func (*SetBucketVersioningDefault) WithPayload ¶
func (o *SetBucketVersioningDefault) WithPayload(payload *models.Error) *SetBucketVersioningDefault
WithPayload adds the payload to the set bucket versioning default response
func (*SetBucketVersioningDefault) WithStatusCode ¶
func (o *SetBucketVersioningDefault) WithStatusCode(code int) *SetBucketVersioningDefault
WithStatusCode adds the status to the set bucket versioning default response
func (*SetBucketVersioningDefault) WriteResponse ¶
func (o *SetBucketVersioningDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetBucketVersioningHandler ¶
type SetBucketVersioningHandler interface {
Handle(SetBucketVersioningParams, *models.Principal) middleware.Responder
}
SetBucketVersioningHandler interface for that can handle valid set bucket versioning params
type SetBucketVersioningHandlerFunc ¶
type SetBucketVersioningHandlerFunc func(SetBucketVersioningParams, *models.Principal) middleware.Responder
SetBucketVersioningHandlerFunc turns a function with the right signature into a set bucket versioning handler
func (SetBucketVersioningHandlerFunc) Handle ¶
func (fn SetBucketVersioningHandlerFunc) Handle(params SetBucketVersioningParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SetBucketVersioningParams ¶
type SetBucketVersioningParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.SetBucketVersioning /* Required: true In: path */ BucketName string }
SetBucketVersioningParams contains all the bound params for the set bucket versioning operation typically these are obtained from a http.Request
swagger:parameters SetBucketVersioning
func NewSetBucketVersioningParams ¶
func NewSetBucketVersioningParams() SetBucketVersioningParams
NewSetBucketVersioningParams creates a new SetBucketVersioningParams object
There are no default values defined in the spec.
func (*SetBucketVersioningParams) BindRequest ¶
func (o *SetBucketVersioningParams) 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 NewSetBucketVersioningParams() beforehand.
type SetBucketVersioningURL ¶
type SetBucketVersioningURL struct { BucketName string // contains filtered or unexported fields }
SetBucketVersioningURL generates an URL for the set bucket versioning operation
func (*SetBucketVersioningURL) Build ¶
func (o *SetBucketVersioningURL) Build() (*url.URL, error)
Build a url path and query string
func (*SetBucketVersioningURL) BuildFull ¶
func (o *SetBucketVersioningURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SetBucketVersioningURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SetBucketVersioningURL) SetBasePath ¶
func (o *SetBucketVersioningURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*SetBucketVersioningURL) String ¶
func (o *SetBucketVersioningURL) String() string
String returns the string representation of the path with query string
func (*SetBucketVersioningURL) StringFull ¶
func (o *SetBucketVersioningURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SetBucketVersioningURL) WithBasePath ¶
func (o *SetBucketVersioningURL) WithBasePath(bp string) *SetBucketVersioningURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type SetMultiBucketReplication ¶
type SetMultiBucketReplication struct { Context *middleware.Context Handler SetMultiBucketReplicationHandler }
SetMultiBucketReplication swagger:route POST /buckets-replication UserAPI setMultiBucketReplication
Sets Multi Bucket Replication in multiple Buckets
func NewSetMultiBucketReplication ¶
func NewSetMultiBucketReplication(ctx *middleware.Context, handler SetMultiBucketReplicationHandler) *SetMultiBucketReplication
NewSetMultiBucketReplication creates a new http.Handler for the set multi bucket replication operation
func (*SetMultiBucketReplication) ServeHTTP ¶
func (o *SetMultiBucketReplication) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SetMultiBucketReplicationDefault ¶
type SetMultiBucketReplicationDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SetMultiBucketReplicationDefault Generic error response.
swagger:response setMultiBucketReplicationDefault
func NewSetMultiBucketReplicationDefault ¶
func NewSetMultiBucketReplicationDefault(code int) *SetMultiBucketReplicationDefault
NewSetMultiBucketReplicationDefault creates SetMultiBucketReplicationDefault with default headers values
func (*SetMultiBucketReplicationDefault) SetPayload ¶
func (o *SetMultiBucketReplicationDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the set multi bucket replication default response
func (*SetMultiBucketReplicationDefault) SetStatusCode ¶
func (o *SetMultiBucketReplicationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the set multi bucket replication default response
func (*SetMultiBucketReplicationDefault) WithPayload ¶
func (o *SetMultiBucketReplicationDefault) WithPayload(payload *models.Error) *SetMultiBucketReplicationDefault
WithPayload adds the payload to the set multi bucket replication default response
func (*SetMultiBucketReplicationDefault) WithStatusCode ¶
func (o *SetMultiBucketReplicationDefault) WithStatusCode(code int) *SetMultiBucketReplicationDefault
WithStatusCode adds the status to the set multi bucket replication default response
func (*SetMultiBucketReplicationDefault) WriteResponse ¶
func (o *SetMultiBucketReplicationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetMultiBucketReplicationHandler ¶
type SetMultiBucketReplicationHandler interface {
Handle(SetMultiBucketReplicationParams, *models.Principal) middleware.Responder
}
SetMultiBucketReplicationHandler interface for that can handle valid set multi bucket replication params
type SetMultiBucketReplicationHandlerFunc ¶
type SetMultiBucketReplicationHandlerFunc func(SetMultiBucketReplicationParams, *models.Principal) middleware.Responder
SetMultiBucketReplicationHandlerFunc turns a function with the right signature into a set multi bucket replication handler
func (SetMultiBucketReplicationHandlerFunc) Handle ¶
func (fn SetMultiBucketReplicationHandlerFunc) Handle(params SetMultiBucketReplicationParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SetMultiBucketReplicationOK ¶
type SetMultiBucketReplicationOK struct { /* In: Body */ Payload *models.MultiBucketResponseState `json:"body,omitempty"` }
SetMultiBucketReplicationOK A successful response.
swagger:response setMultiBucketReplicationOK
func NewSetMultiBucketReplicationOK ¶
func NewSetMultiBucketReplicationOK() *SetMultiBucketReplicationOK
NewSetMultiBucketReplicationOK creates SetMultiBucketReplicationOK with default headers values
func (*SetMultiBucketReplicationOK) SetPayload ¶
func (o *SetMultiBucketReplicationOK) SetPayload(payload *models.MultiBucketResponseState)
SetPayload sets the payload to the set multi bucket replication o k response
func (*SetMultiBucketReplicationOK) WithPayload ¶
func (o *SetMultiBucketReplicationOK) WithPayload(payload *models.MultiBucketResponseState) *SetMultiBucketReplicationOK
WithPayload adds the payload to the set multi bucket replication o k response
func (*SetMultiBucketReplicationOK) WriteResponse ¶
func (o *SetMultiBucketReplicationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetMultiBucketReplicationParams ¶
type SetMultiBucketReplicationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.MultiBucketReplication }
SetMultiBucketReplicationParams contains all the bound params for the set multi bucket replication operation typically these are obtained from a http.Request
swagger:parameters SetMultiBucketReplication
func NewSetMultiBucketReplicationParams ¶
func NewSetMultiBucketReplicationParams() SetMultiBucketReplicationParams
NewSetMultiBucketReplicationParams creates a new SetMultiBucketReplicationParams object
There are no default values defined in the spec.
func (*SetMultiBucketReplicationParams) BindRequest ¶
func (o *SetMultiBucketReplicationParams) 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 NewSetMultiBucketReplicationParams() beforehand.
type SetMultiBucketReplicationURL ¶
type SetMultiBucketReplicationURL struct {
// contains filtered or unexported fields
}
SetMultiBucketReplicationURL generates an URL for the set multi bucket replication operation
func (*SetMultiBucketReplicationURL) Build ¶
func (o *SetMultiBucketReplicationURL) Build() (*url.URL, error)
Build a url path and query string
func (*SetMultiBucketReplicationURL) BuildFull ¶
func (o *SetMultiBucketReplicationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SetMultiBucketReplicationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SetMultiBucketReplicationURL) SetBasePath ¶
func (o *SetMultiBucketReplicationURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*SetMultiBucketReplicationURL) String ¶
func (o *SetMultiBucketReplicationURL) String() string
String returns the string representation of the path with query string
func (*SetMultiBucketReplicationURL) StringFull ¶
func (o *SetMultiBucketReplicationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SetMultiBucketReplicationURL) WithBasePath ¶
func (o *SetMultiBucketReplicationURL) WithBasePath(bp string) *SetMultiBucketReplicationURL
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 SetServiceAccountPolicy ¶
type SetServiceAccountPolicy struct { Context *middleware.Context Handler SetServiceAccountPolicyHandler }
SetServiceAccountPolicy swagger:route PUT /service-accounts/{access_key}/policy UserAPI setServiceAccountPolicy
Set Service Account Policy
func NewSetServiceAccountPolicy ¶
func NewSetServiceAccountPolicy(ctx *middleware.Context, handler SetServiceAccountPolicyHandler) *SetServiceAccountPolicy
NewSetServiceAccountPolicy creates a new http.Handler for the set service account policy operation
func (*SetServiceAccountPolicy) ServeHTTP ¶
func (o *SetServiceAccountPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SetServiceAccountPolicyDefault ¶
type SetServiceAccountPolicyDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SetServiceAccountPolicyDefault Generic error response.
swagger:response setServiceAccountPolicyDefault
func NewSetServiceAccountPolicyDefault ¶
func NewSetServiceAccountPolicyDefault(code int) *SetServiceAccountPolicyDefault
NewSetServiceAccountPolicyDefault creates SetServiceAccountPolicyDefault with default headers values
func (*SetServiceAccountPolicyDefault) SetPayload ¶
func (o *SetServiceAccountPolicyDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the set service account policy default response
func (*SetServiceAccountPolicyDefault) SetStatusCode ¶
func (o *SetServiceAccountPolicyDefault) SetStatusCode(code int)
SetStatusCode sets the status to the set service account policy default response
func (*SetServiceAccountPolicyDefault) WithPayload ¶
func (o *SetServiceAccountPolicyDefault) WithPayload(payload *models.Error) *SetServiceAccountPolicyDefault
WithPayload adds the payload to the set service account policy default response
func (*SetServiceAccountPolicyDefault) WithStatusCode ¶
func (o *SetServiceAccountPolicyDefault) WithStatusCode(code int) *SetServiceAccountPolicyDefault
WithStatusCode adds the status to the set service account policy default response
func (*SetServiceAccountPolicyDefault) WriteResponse ¶
func (o *SetServiceAccountPolicyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetServiceAccountPolicyHandler ¶
type SetServiceAccountPolicyHandler interface {
Handle(SetServiceAccountPolicyParams, *models.Principal) middleware.Responder
}
SetServiceAccountPolicyHandler interface for that can handle valid set service account policy params
type SetServiceAccountPolicyHandlerFunc ¶
type SetServiceAccountPolicyHandlerFunc func(SetServiceAccountPolicyParams, *models.Principal) middleware.Responder
SetServiceAccountPolicyHandlerFunc turns a function with the right signature into a set service account policy handler
func (SetServiceAccountPolicyHandlerFunc) Handle ¶
func (fn SetServiceAccountPolicyHandlerFunc) Handle(params SetServiceAccountPolicyParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SetServiceAccountPolicyOK ¶
type SetServiceAccountPolicyOK struct { }
SetServiceAccountPolicyOK A successful response.
swagger:response setServiceAccountPolicyOK
func NewSetServiceAccountPolicyOK ¶
func NewSetServiceAccountPolicyOK() *SetServiceAccountPolicyOK
NewSetServiceAccountPolicyOK creates SetServiceAccountPolicyOK with default headers values
func (*SetServiceAccountPolicyOK) WriteResponse ¶
func (o *SetServiceAccountPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetServiceAccountPolicyParams ¶
type SetServiceAccountPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ AccessKey string /* Required: true In: body */ Policy *models.AddServiceAccountPolicyRequest }
SetServiceAccountPolicyParams contains all the bound params for the set service account policy operation typically these are obtained from a http.Request
swagger:parameters SetServiceAccountPolicy
func NewSetServiceAccountPolicyParams ¶
func NewSetServiceAccountPolicyParams() SetServiceAccountPolicyParams
NewSetServiceAccountPolicyParams creates a new SetServiceAccountPolicyParams object
There are no default values defined in the spec.
func (*SetServiceAccountPolicyParams) BindRequest ¶
func (o *SetServiceAccountPolicyParams) 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 NewSetServiceAccountPolicyParams() beforehand.
type SetServiceAccountPolicyURL ¶
type SetServiceAccountPolicyURL struct { AccessKey string // contains filtered or unexported fields }
SetServiceAccountPolicyURL generates an URL for the set service account policy operation
func (*SetServiceAccountPolicyURL) Build ¶
func (o *SetServiceAccountPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*SetServiceAccountPolicyURL) BuildFull ¶
func (o *SetServiceAccountPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SetServiceAccountPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SetServiceAccountPolicyURL) SetBasePath ¶
func (o *SetServiceAccountPolicyURL) 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 (*SetServiceAccountPolicyURL) String ¶
func (o *SetServiceAccountPolicyURL) String() string
String returns the string representation of the path with query string
func (*SetServiceAccountPolicyURL) StringFull ¶
func (o *SetServiceAccountPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SetServiceAccountPolicyURL) WithBasePath ¶
func (o *SetServiceAccountPolicyURL) WithBasePath(bp string) *SetServiceAccountPolicyURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ShareObject ¶
type ShareObject struct {}
ShareObject swagger:route GET /buckets/{bucket_name}/objects/share UserAPI shareObject
Shares an Object on a url
func NewShareObject ¶
func NewShareObject(ctx *middleware.Context, handler ShareObjectHandler) *ShareObject
NewShareObject creates a new http.Handler for the share object operation
func (*ShareObject) ServeHTTP ¶
func (o *ShareObject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ShareObjectDefault ¶
type ShareObjectDefault struct { models.Error `json:"body,omitempty"` // contains filtered or unexported fields }Payload *
ShareObjectDefault Generic error response.
swagger:response shareObjectDefault
func NewShareObjectDefault ¶
func NewShareObjectDefault(code int) *ShareObjectDefault
NewShareObjectDefault creates ShareObjectDefault with default headers values
func (*ShareObjectDefault) SetPayload ¶
func (o *ShareObjectDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the share object default response
func (*ShareObjectDefault) SetStatusCode ¶
func (o *ShareObjectDefault) SetStatusCode(code int)
SetStatusCode sets the status to the share object default response
func (*ShareObjectDefault) WithPayload ¶
func (o *ShareObjectDefault) WithPayload(payload *models.Error) *ShareObjectDefault
WithPayload adds the payload to the share object default response
func (*ShareObjectDefault) WithStatusCode ¶
func (o *ShareObjectDefault) WithStatusCode(code int) *ShareObjectDefault
WithStatusCode adds the status to the share object default response
func (*ShareObjectDefault) WriteResponse ¶
func (o *ShareObjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShareObjectHandler ¶
type ShareObjectHandler interface {
}ShareObjectHandler interface for that can handle valid share object params
type ShareObjectHandlerFunc ¶
type ShareObjectHandlerFunc func(ShareObjectParams, *models.Principal) middleware.Responder
ShareObjectHandlerFunc turns a function with the right signature into a share object handler
func (ShareObjectHandlerFunc) Handle ¶
func (fn ShareObjectHandlerFunc) Handle(params ShareObjectParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ShareObjectOK ¶
type ShareObjectOK struct { string `json:"body,omitempty"` }Payload
ShareObjectOK A successful response.
swagger:response shareObjectOK
func NewShareObjectOK ¶
func NewShareObjectOK() *ShareObjectOK
NewShareObjectOK creates ShareObjectOK with default headers values
func (*ShareObjectOK) SetPayload ¶
func (o *ShareObjectOK) SetPayload(payload string)
SetPayload sets the payload to the share object o k response
func (*ShareObjectOK) WithPayload ¶
func (o *ShareObjectOK) WithPayload(payload string) *ShareObjectOK
WithPayload adds the payload to the share object o k response
func (*ShareObjectOK) WriteResponse ¶
func (o *ShareObjectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShareObjectParams ¶
type ShareObjectParams struct { http.Request `json:"-"` BucketName string Expires *string Prefix string VersionID string }HTTPRequest *
ShareObjectParams contains all the bound params for the share object operation typically these are obtained from a http.Request
swagger:parameters ShareObject
func NewShareObjectParams ¶
func NewShareObjectParams() ShareObjectParams
NewShareObjectParams creates a new ShareObjectParams object
There are no default values defined in the spec.
func (*ShareObjectParams) BindRequest ¶
func (o *ShareObjectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewShareObjectParams() beforehand.
type ShareObjectURL ¶
type ShareObjectURL struct { // contains filtered or unexported fields }
ShareObjectURL generates an URL for the share object operation
func (*ShareObjectURL) Build ¶
func (o *ShareObjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*ShareObjectURL) BuildFull ¶
func (o *ShareObjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ShareObjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ShareObjectURL) SetBasePath ¶
func (o *ShareObjectURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ShareObjectURL) String ¶
func (o *ShareObjectURL) String() string
String returns the string representation of the path with query string
func (*ShareObjectURL) StringFull ¶
func (o *ShareObjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ShareObjectURL) WithBasePath ¶
func (o *ShareObjectURL) WithBasePath(bp string) *ShareObjectURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateBucketLifecycle ¶
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 ¶
func NewUpdateBucketLifecycle(ctx *middleware.Context, handler UpdateBucketLifecycleHandler) *UpdateBucketLifecycle
NewUpdateBucketLifecycle creates a new http.Handler for the update bucket lifecycle operation
func (*UpdateBucketLifecycle) ServeHTTP ¶
func (o *UpdateBucketLifecycle) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateBucketLifecycleDefault ¶
type UpdateBucketLifecycleDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UpdateBucketLifecycleDefault Generic error response.
swagger:response updateBucketLifecycleDefault
func NewUpdateBucketLifecycleDefault ¶
func NewUpdateBucketLifecycleDefault(code int) *UpdateBucketLifecycleDefault
NewUpdateBucketLifecycleDefault creates UpdateBucketLifecycleDefault with default headers values
func (*UpdateBucketLifecycleDefault) SetPayload ¶
func (o *UpdateBucketLifecycleDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the update bucket lifecycle default response
func (*UpdateBucketLifecycleDefault) SetStatusCode ¶
func (o *UpdateBucketLifecycleDefault) SetStatusCode(code int)
SetStatusCode sets the status to the update bucket lifecycle default response
func (*UpdateBucketLifecycleDefault) WithPayload ¶
func (o *UpdateBucketLifecycleDefault) WithPayload(payload *models.Error) *UpdateBucketLifecycleDefault
WithPayload adds the payload to the update bucket lifecycle default response
func (*UpdateBucketLifecycleDefault) WithStatusCode ¶
func (o *UpdateBucketLifecycleDefault) WithStatusCode(code int) *UpdateBucketLifecycleDefault
WithStatusCode adds the status to the update bucket lifecycle default response
func (*UpdateBucketLifecycleDefault) WriteResponse ¶
func (o *UpdateBucketLifecycleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateBucketLifecycleHandler ¶
type UpdateBucketLifecycleHandler interface {
Handle(UpdateBucketLifecycleParams, *models.Principal) middleware.Responder
}
UpdateBucketLifecycleHandler interface for that can handle valid update bucket lifecycle params
type UpdateBucketLifecycleHandlerFunc ¶
type UpdateBucketLifecycleHandlerFunc func(UpdateBucketLifecycleParams, *models.Principal) middleware.Responder
UpdateBucketLifecycleHandlerFunc turns a function with the right signature into a update bucket lifecycle handler
func (UpdateBucketLifecycleHandlerFunc) Handle ¶
func (fn UpdateBucketLifecycleHandlerFunc) Handle(params UpdateBucketLifecycleParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type UpdateBucketLifecycleOK ¶
type UpdateBucketLifecycleOK struct { }
UpdateBucketLifecycleOK A successful response.
swagger:response updateBucketLifecycleOK
func NewUpdateBucketLifecycleOK ¶
func NewUpdateBucketLifecycleOK() *UpdateBucketLifecycleOK
NewUpdateBucketLifecycleOK creates UpdateBucketLifecycleOK with default headers values
func (*UpdateBucketLifecycleOK) WriteResponse ¶
func (o *UpdateBucketLifecycleOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateBucketLifecycleParams ¶
type UpdateBucketLifecycleParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.UpdateBucketLifecycle /* Required: true In: path */ BucketName string /* Required: true In: path */ LifecycleID string }
UpdateBucketLifecycleParams contains all the bound params for the update bucket lifecycle operation typically these are obtained from a http.Request
swagger:parameters UpdateBucketLifecycle
func NewUpdateBucketLifecycleParams ¶
func NewUpdateBucketLifecycleParams() UpdateBucketLifecycleParams
NewUpdateBucketLifecycleParams creates a new UpdateBucketLifecycleParams object
There are no default values defined in the spec.
func (*UpdateBucketLifecycleParams) BindRequest ¶
func (o *UpdateBucketLifecycleParams) 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 NewUpdateBucketLifecycleParams() beforehand.
type UpdateBucketLifecycleURL ¶
type UpdateBucketLifecycleURL struct { BucketName string LifecycleID string // contains filtered or unexported fields }
UpdateBucketLifecycleURL generates an URL for the update bucket lifecycle operation
func (*UpdateBucketLifecycleURL) Build ¶
func (o *UpdateBucketLifecycleURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateBucketLifecycleURL) BuildFull ¶
func (o *UpdateBucketLifecycleURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateBucketLifecycleURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateBucketLifecycleURL) SetBasePath ¶
func (o *UpdateBucketLifecycleURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateBucketLifecycleURL) String ¶
func (o *UpdateBucketLifecycleURL) String() string
String returns the string representation of the path with query string
func (*UpdateBucketLifecycleURL) StringFull ¶
func (o *UpdateBucketLifecycleURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateBucketLifecycleURL) WithBasePath ¶
func (o *UpdateBucketLifecycleURL) WithBasePath(bp string) *UpdateBucketLifecycleURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateMultiBucketReplication ¶
type UpdateMultiBucketReplication struct { Context *middleware.Context Handler UpdateMultiBucketReplicationHandler }
UpdateMultiBucketReplication swagger:route PUT /buckets/{bucket_name}/replication/{rule_id} UserAPI updateMultiBucketReplication
Update Replication rule
func NewUpdateMultiBucketReplication ¶
func NewUpdateMultiBucketReplication(ctx *middleware.Context, handler UpdateMultiBucketReplicationHandler) *UpdateMultiBucketReplication
NewUpdateMultiBucketReplication creates a new http.Handler for the update multi bucket replication operation
func (*UpdateMultiBucketReplication) ServeHTTP ¶
func (o *UpdateMultiBucketReplication) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateMultiBucketReplicationCreated ¶
type UpdateMultiBucketReplicationCreated struct { }
UpdateMultiBucketReplicationCreated A successful response.
swagger:response updateMultiBucketReplicationCreated
func NewUpdateMultiBucketReplicationCreated ¶
func NewUpdateMultiBucketReplicationCreated() *UpdateMultiBucketReplicationCreated
NewUpdateMultiBucketReplicationCreated creates UpdateMultiBucketReplicationCreated with default headers values
func (*UpdateMultiBucketReplicationCreated) WriteResponse ¶
func (o *UpdateMultiBucketReplicationCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMultiBucketReplicationDefault ¶
type UpdateMultiBucketReplicationDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UpdateMultiBucketReplicationDefault Generic error response.
swagger:response updateMultiBucketReplicationDefault
func NewUpdateMultiBucketReplicationDefault ¶
func NewUpdateMultiBucketReplicationDefault(code int) *UpdateMultiBucketReplicationDefault
NewUpdateMultiBucketReplicationDefault creates UpdateMultiBucketReplicationDefault with default headers values
func (*UpdateMultiBucketReplicationDefault) SetPayload ¶
func (o *UpdateMultiBucketReplicationDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the update multi bucket replication default response
func (*UpdateMultiBucketReplicationDefault) SetStatusCode ¶
func (o *UpdateMultiBucketReplicationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the update multi bucket replication default response
func (*UpdateMultiBucketReplicationDefault) WithPayload ¶
func (o *UpdateMultiBucketReplicationDefault) WithPayload(payload *models.Error) *UpdateMultiBucketReplicationDefault
WithPayload adds the payload to the update multi bucket replication default response
func (*UpdateMultiBucketReplicationDefault) WithStatusCode ¶
func (o *UpdateMultiBucketReplicationDefault) WithStatusCode(code int) *UpdateMultiBucketReplicationDefault
WithStatusCode adds the status to the update multi bucket replication default response
func (*UpdateMultiBucketReplicationDefault) WriteResponse ¶
func (o *UpdateMultiBucketReplicationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMultiBucketReplicationHandler ¶
type UpdateMultiBucketReplicationHandler interface {
Handle(UpdateMultiBucketReplicationParams, *models.Principal) middleware.Responder
}
UpdateMultiBucketReplicationHandler interface for that can handle valid update multi bucket replication params
type UpdateMultiBucketReplicationHandlerFunc ¶
type UpdateMultiBucketReplicationHandlerFunc func(UpdateMultiBucketReplicationParams, *models.Principal) middleware.Responder
UpdateMultiBucketReplicationHandlerFunc turns a function with the right signature into a update multi bucket replication handler
func (UpdateMultiBucketReplicationHandlerFunc) Handle ¶
func (fn UpdateMultiBucketReplicationHandlerFunc) Handle(params UpdateMultiBucketReplicationParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type UpdateMultiBucketReplicationParams ¶
type UpdateMultiBucketReplicationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.MultiBucketReplicationEdit /* Required: true In: path */ BucketName string /* Required: true In: path */ RuleID string }
UpdateMultiBucketReplicationParams contains all the bound params for the update multi bucket replication operation typically these are obtained from a http.Request
swagger:parameters UpdateMultiBucketReplication
func NewUpdateMultiBucketReplicationParams ¶
func NewUpdateMultiBucketReplicationParams() UpdateMultiBucketReplicationParams
NewUpdateMultiBucketReplicationParams creates a new UpdateMultiBucketReplicationParams object
There are no default values defined in the spec.
func (*UpdateMultiBucketReplicationParams) BindRequest ¶
func (o *UpdateMultiBucketReplicationParams) 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 NewUpdateMultiBucketReplicationParams() beforehand.
type UpdateMultiBucketReplicationURL ¶
type UpdateMultiBucketReplicationURL struct { BucketName string RuleID string // contains filtered or unexported fields }
UpdateMultiBucketReplicationURL generates an URL for the update multi bucket replication operation
func (*UpdateMultiBucketReplicationURL) Build ¶
func (o *UpdateMultiBucketReplicationURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateMultiBucketReplicationURL) BuildFull ¶
func (o *UpdateMultiBucketReplicationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateMultiBucketReplicationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateMultiBucketReplicationURL) SetBasePath ¶
func (o *UpdateMultiBucketReplicationURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateMultiBucketReplicationURL) String ¶
func (o *UpdateMultiBucketReplicationURL) String() string
String returns the string representation of the path with query string
func (*UpdateMultiBucketReplicationURL) StringFull ¶
func (o *UpdateMultiBucketReplicationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateMultiBucketReplicationURL) WithBasePath ¶
func (o *UpdateMultiBucketReplicationURL) WithBasePath(bp string) *UpdateMultiBucketReplicationURL
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 ¶
- account_change_password.go
- account_change_password_parameters.go
- account_change_password_responses.go
- account_change_password_urlbuilder.go
- add_bucket_lifecycle.go
- add_bucket_lifecycle_parameters.go
- add_bucket_lifecycle_responses.go
- add_bucket_lifecycle_urlbuilder.go
- add_multi_bucket_lifecycle.go
- add_multi_bucket_lifecycle_parameters.go
- add_multi_bucket_lifecycle_responses.go
- add_multi_bucket_lifecycle_urlbuilder.go
- add_remote_bucket.go
- add_remote_bucket_parameters.go
- add_remote_bucket_responses.go
- add_remote_bucket_urlbuilder.go
- bucket_info.go
- bucket_info_parameters.go
- bucket_info_responses.go
- bucket_info_urlbuilder.go
- bucket_set_policy.go
- bucket_set_policy_parameters.go
- bucket_set_policy_responses.go
- bucket_set_policy_urlbuilder.go
- check_min_i_o_version.go
- check_min_i_o_version_parameters.go
- check_min_i_o_version_responses.go
- check_min_i_o_version_urlbuilder.go
- create_bucket_event.go
- create_bucket_event_parameters.go
- create_bucket_event_responses.go
- create_bucket_event_urlbuilder.go
- create_service_account.go
- create_service_account_parameters.go
- create_service_account_responses.go
- create_service_account_urlbuilder.go
- delete_all_replication_rules.go
- delete_all_replication_rules_parameters.go
- delete_all_replication_rules_responses.go
- delete_all_replication_rules_urlbuilder.go
- delete_bucket.go
- delete_bucket_event.go
- delete_bucket_event_parameters.go
- delete_bucket_event_responses.go
- delete_bucket_event_urlbuilder.go
- delete_bucket_lifecycle_rule.go
- delete_bucket_lifecycle_rule_parameters.go
- delete_bucket_lifecycle_rule_responses.go
- delete_bucket_lifecycle_rule_urlbuilder.go
- delete_bucket_parameters.go
- delete_bucket_replication_rule.go
- delete_bucket_replication_rule_parameters.go
- delete_bucket_replication_rule_responses.go
- delete_bucket_replication_rule_urlbuilder.go
- delete_bucket_responses.go
- delete_bucket_urlbuilder.go
- delete_multiple_objects.go
- delete_multiple_objects_parameters.go
- delete_multiple_objects_responses.go
- delete_multiple_objects_urlbuilder.go
- delete_multiple_service_accounts.go
- delete_multiple_service_accounts_parameters.go
- delete_multiple_service_accounts_responses.go
- delete_multiple_service_accounts_urlbuilder.go
- delete_object.go
- delete_object_parameters.go
- delete_object_responses.go
- delete_object_retention.go
- delete_object_retention_parameters.go
- delete_object_retention_responses.go
- delete_object_retention_urlbuilder.go
- delete_object_urlbuilder.go
- delete_remote_bucket.go
- delete_remote_bucket_parameters.go
- delete_remote_bucket_responses.go
- delete_remote_bucket_urlbuilder.go
- delete_selected_replication_rules.go
- delete_selected_replication_rules_parameters.go
- delete_selected_replication_rules_responses.go
- delete_selected_replication_rules_urlbuilder.go
- delete_service_account.go
- delete_service_account_parameters.go
- delete_service_account_responses.go
- delete_service_account_urlbuilder.go
- disable_bucket_encryption.go
- disable_bucket_encryption_parameters.go
- disable_bucket_encryption_responses.go
- disable_bucket_encryption_urlbuilder.go
- download_object.go
- download_object_parameters.go
- download_object_responses.go
- download_object_urlbuilder.go
- enable_bucket_encryption.go
- enable_bucket_encryption_parameters.go
- enable_bucket_encryption_responses.go
- enable_bucket_encryption_urlbuilder.go
- get_bucket_encryption_info.go
- get_bucket_encryption_info_parameters.go
- get_bucket_encryption_info_responses.go
- get_bucket_encryption_info_urlbuilder.go
- get_bucket_lifecycle.go
- get_bucket_lifecycle_parameters.go
- get_bucket_lifecycle_responses.go
- get_bucket_lifecycle_urlbuilder.go
- get_bucket_object_locking_status.go
- get_bucket_object_locking_status_parameters.go
- get_bucket_object_locking_status_responses.go
- get_bucket_object_locking_status_urlbuilder.go
- get_bucket_quota.go
- get_bucket_quota_parameters.go
- get_bucket_quota_responses.go
- get_bucket_quota_urlbuilder.go
- get_bucket_replication.go
- get_bucket_replication_parameters.go
- get_bucket_replication_responses.go
- get_bucket_replication_rule.go
- get_bucket_replication_rule_parameters.go
- get_bucket_replication_rule_responses.go
- get_bucket_replication_rule_urlbuilder.go
- get_bucket_replication_urlbuilder.go
- get_bucket_retention_config.go
- get_bucket_retention_config_parameters.go
- get_bucket_retention_config_responses.go
- get_bucket_retention_config_urlbuilder.go
- get_bucket_rewind.go
- get_bucket_rewind_parameters.go
- get_bucket_rewind_responses.go
- get_bucket_rewind_urlbuilder.go
- get_bucket_versioning.go
- get_bucket_versioning_parameters.go
- get_bucket_versioning_responses.go
- get_bucket_versioning_urlbuilder.go
- get_object_metadata.go
- get_object_metadata_parameters.go
- get_object_metadata_responses.go
- get_object_metadata_urlbuilder.go
- get_service_account_policy.go
- get_service_account_policy_parameters.go
- get_service_account_policy_responses.go
- get_service_account_policy_urlbuilder.go
- list_bucket_events.go
- list_bucket_events_parameters.go
- list_bucket_events_responses.go
- list_bucket_events_urlbuilder.go
- list_buckets.go
- list_buckets_parameters.go
- list_buckets_responses.go
- list_buckets_urlbuilder.go
- list_external_buckets.go
- list_external_buckets_parameters.go
- list_external_buckets_responses.go
- list_external_buckets_urlbuilder.go
- list_objects.go
- list_objects_parameters.go
- list_objects_responses.go
- list_objects_urlbuilder.go
- list_remote_buckets.go
- list_remote_buckets_parameters.go
- list_remote_buckets_responses.go
- list_remote_buckets_urlbuilder.go
- list_user_service_accounts.go
- list_user_service_accounts_parameters.go
- list_user_service_accounts_responses.go
- list_user_service_accounts_urlbuilder.go
- log_search.go
- log_search_parameters.go
- log_search_responses.go
- log_search_urlbuilder.go
- login.go
- login_detail.go
- login_detail_parameters.go
- login_detail_responses.go
- login_detail_urlbuilder.go
- login_oauth2_auth.go
- login_oauth2_auth_parameters.go
- login_oauth2_auth_responses.go
- login_oauth2_auth_urlbuilder.go
- login_parameters.go
- login_responses.go
- login_urlbuilder.go
- logout.go
- logout_parameters.go
- logout_responses.go
- logout_urlbuilder.go
- make_bucket.go
- make_bucket_parameters.go
- make_bucket_responses.go
- make_bucket_urlbuilder.go
- post_buckets_bucket_name_objects_upload.go
- post_buckets_bucket_name_objects_upload_parameters.go
- post_buckets_bucket_name_objects_upload_responses.go
- post_buckets_bucket_name_objects_upload_urlbuilder.go
- put_bucket_tags.go
- put_bucket_tags_parameters.go
- put_bucket_tags_responses.go
- put_bucket_tags_urlbuilder.go
- put_object_legal_hold.go
- put_object_legal_hold_parameters.go
- put_object_legal_hold_responses.go
- put_object_legal_hold_urlbuilder.go
- put_object_restore.go
- put_object_restore_parameters.go
- put_object_restore_responses.go
- put_object_restore_urlbuilder.go
- put_object_retention.go
- put_object_retention_parameters.go
- put_object_retention_responses.go
- put_object_retention_urlbuilder.go
- put_object_tags.go
- put_object_tags_parameters.go
- put_object_tags_responses.go
- put_object_tags_urlbuilder.go
- remote_bucket_details.go
- remote_bucket_details_parameters.go
- remote_bucket_details_responses.go
- remote_bucket_details_urlbuilder.go
- session_check.go
- session_check_parameters.go
- session_check_responses.go
- session_check_urlbuilder.go
- set_bucket_quota.go
- set_bucket_quota_parameters.go
- set_bucket_quota_responses.go
- set_bucket_quota_urlbuilder.go
- set_bucket_retention_config.go
- set_bucket_retention_config_parameters.go
- set_bucket_retention_config_responses.go
- set_bucket_retention_config_urlbuilder.go
- set_bucket_versioning.go
- set_bucket_versioning_parameters.go
- set_bucket_versioning_responses.go
- set_bucket_versioning_urlbuilder.go
- set_multi_bucket_replication.go
- set_multi_bucket_replication_parameters.go
- set_multi_bucket_replication_responses.go
- set_multi_bucket_replication_urlbuilder.go
- set_service_account_policy.go
- set_service_account_policy_parameters.go
- set_service_account_policy_responses.go
- set_service_account_policy_urlbuilder.go
- share_object.go
- share_object_parameters.go
- share_object_responses.go
- share_object_urlbuilder.go
- update_bucket_lifecycle.go
- update_bucket_lifecycle_parameters.go
- update_bucket_lifecycle_responses.go
- update_bucket_lifecycle_urlbuilder.go
- update_multi_bucket_replication.go
- update_multi_bucket_replication_parameters.go
- update_multi_bucket_replication_responses.go
- update_multi_bucket_replication_urlbuilder.go