Documentation ¶
Index ¶
- Constants
- 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 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 DeleteBucketHandler
- type DeleteBucketHandlerFunc
- type DeleteBucketNoContent
- type DeleteBucketParams
- 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 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 Login
- type LoginCreated
- 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 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 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
Constants ¶
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 DeleteBucketNoContentCode int = 204
DeleteBucketNoContentCode is the HTTP code returned for type DeleteBucketNoContent
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 LoginCreatedCode int = 201
LoginCreatedCode is the HTTP code returned for type LoginCreated
const LoginDetailOKCode int = 200
LoginDetailOKCode is the HTTP code returned for type LoginDetailOK
const MakeBucketCreatedCode int = 201
MakeBucketCreatedCode is the HTTP code returned for type MakeBucketCreated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketInfo ¶
type BucketInfo struct { Context *middleware.Context Handler BucketInfoHandler }
BucketInfo swagger:route GET /api/v1/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, interface{}) middleware.Responder
}
BucketInfoHandler interface for that can handle valid bucket info params
type BucketInfoHandlerFunc ¶
type BucketInfoHandlerFunc func(BucketInfoParams, interface{}) 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 interface{}) 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 no default values defined in 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 /api/v1/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, interface{}) middleware.Responder
}
BucketSetPolicyHandler interface for that can handle valid bucket set policy params
type BucketSetPolicyHandlerFunc ¶
type BucketSetPolicyHandlerFunc func(BucketSetPolicyParams, interface{}) 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 interface{}) 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 no default values defined in 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 DeleteBucket ¶
type DeleteBucket struct { Context *middleware.Context Handler DeleteBucketHandler }
DeleteBucket swagger:route DELETE /api/v1/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 DeleteBucketHandler ¶
type DeleteBucketHandler interface {
Handle(DeleteBucketParams, interface{}) middleware.Responder
}
DeleteBucketHandler interface for that can handle valid delete bucket params
type DeleteBucketHandlerFunc ¶
type DeleteBucketHandlerFunc func(DeleteBucketParams, interface{}) 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 interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteBucketNoContent ¶
type DeleteBucketNoContent struct { }
DeleteBucketNoContent A successful response.
swagger:response deleteBucketNoContent
func NewDeleteBucketNoContent ¶
func NewDeleteBucketNoContent() *DeleteBucketNoContent
NewDeleteBucketNoContent creates DeleteBucketNoContent with default headers values
func (*DeleteBucketNoContent) WriteResponse ¶
func (o *DeleteBucketNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteBucketParams ¶
type DeleteBucketParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Name string }
DeleteBucketParams contains all the bound params for the delete bucket operation typically these are obtained from a http.Request
swagger:parameters DeleteBucket
func NewDeleteBucketParams ¶
func NewDeleteBucketParams() DeleteBucketParams
NewDeleteBucketParams creates a new DeleteBucketParams object no default values defined in 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 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 ListBucketEvents ¶
type ListBucketEvents struct { Context *middleware.Context Handler ListBucketEventsHandler }
ListBucketEvents swagger:route GET /api/v1/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, interface{}) middleware.Responder
}
ListBucketEventsHandler interface for that can handle valid list bucket events params
type ListBucketEventsHandlerFunc ¶
type ListBucketEventsHandlerFunc func(ListBucketEventsParams, interface{}) 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 interface{}) 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 no default values defined in 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 /api/v1/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, interface{}) middleware.Responder
}
ListBucketsHandler interface for that can handle valid list buckets params
type ListBucketsHandlerFunc ¶
type ListBucketsHandlerFunc func(ListBucketsParams, interface{}) 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 interface{}) 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 ¶
type ListBucketsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Limit *int32 /* In: query */ Offset *int32 /* In: query */ SortBy *string }
ListBucketsParams contains all the bound params for the list buckets operation typically these are obtained from a http.Request
swagger:parameters ListBuckets
func NewListBucketsParams ¶
func NewListBucketsParams() ListBucketsParams
NewListBucketsParams creates a new ListBucketsParams object no default values defined in spec.
func (*ListBucketsParams) BindRequest ¶
func (o *ListBucketsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListBucketsParams() beforehand.
type ListBucketsURL ¶
type ListBucketsURL struct { Limit *int32 Offset *int32 SortBy *string // contains filtered or unexported fields }
ListBucketsURL generates an URL for the list buckets operation
func (*ListBucketsURL) Build ¶
func (o *ListBucketsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListBucketsURL) BuildFull ¶
func (o *ListBucketsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListBucketsURL) Must ¶
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 Login ¶
type Login struct { Context *middleware.Context Handler LoginHandler }
Login swagger:route POST /api/v1/login UserAPI login
Login to mcs
func NewLogin ¶
func NewLogin(ctx *middleware.Context, handler LoginHandler) *Login
NewLogin creates a new http.Handler for the login operation
type LoginCreated ¶
type LoginCreated struct { /* In: Body */ Payload *models.LoginResponse `json:"body,omitempty"` }
LoginCreated A successful login.
swagger:response loginCreated
func NewLoginCreated ¶
func NewLoginCreated() *LoginCreated
NewLoginCreated creates LoginCreated with default headers values
func (*LoginCreated) SetPayload ¶
func (o *LoginCreated) SetPayload(payload *models.LoginResponse)
SetPayload sets the payload to the login created response
func (*LoginCreated) WithPayload ¶
func (o *LoginCreated) WithPayload(payload *models.LoginResponse) *LoginCreated
WithPayload adds the payload to the login created response
func (*LoginCreated) WriteResponse ¶
func (o *LoginCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginDefault ¶
type LoginDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
LoginDefault Generic error response.
swagger:response loginDefault
func NewLoginDefault ¶
func NewLoginDefault(code int) *LoginDefault
NewLoginDefault creates LoginDefault with default headers values
func (*LoginDefault) SetPayload ¶
func (o *LoginDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the login default response
func (*LoginDefault) SetStatusCode ¶
func (o *LoginDefault) SetStatusCode(code int)
SetStatusCode sets the status to the login default response
func (*LoginDefault) WithPayload ¶
func (o *LoginDefault) WithPayload(payload *models.Error) *LoginDefault
WithPayload adds the payload to the login default response
func (*LoginDefault) WithStatusCode ¶
func (o *LoginDefault) WithStatusCode(code int) *LoginDefault
WithStatusCode adds the status to the login default response
func (*LoginDefault) WriteResponse ¶
func (o *LoginDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginDetail ¶
type LoginDetail struct { Context *middleware.Context Handler LoginDetailHandler }
LoginDetail swagger:route GET /api/v1/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 no default values defined in 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 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 no default values defined in 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 MakeBucket ¶
type MakeBucket struct { Context *middleware.Context Handler MakeBucketHandler }
MakeBucket swagger:route POST /api/v1/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, interface{}) middleware.Responder
}
MakeBucketHandler interface for that can handle valid make bucket params
type MakeBucketHandlerFunc ¶
type MakeBucketHandlerFunc func(MakeBucketParams, interface{}) 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 interface{}) 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 no default values defined in 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
Source Files ¶
- 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
- delete_bucket.go
- delete_bucket_parameters.go
- delete_bucket_responses.go
- delete_bucket_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
- login.go
- login_detail.go
- login_detail_parameters.go
- login_detail_responses.go
- login_detail_urlbuilder.go
- login_parameters.go
- login_responses.go
- login_urlbuilder.go
- make_bucket.go
- make_bucket_parameters.go
- make_bucket_responses.go
- make_bucket_urlbuilder.go