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 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 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 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 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 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 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 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 LoginOauth2Auth
- type LoginOauth2AuthCreated
- 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 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 LoginOperator
- type LoginOperatorCreated
- type LoginOperatorDefault
- func (o *LoginOperatorDefault) SetPayload(payload *models.Error)
- func (o *LoginOperatorDefault) SetStatusCode(code int)
- func (o *LoginOperatorDefault) WithPayload(payload *models.Error) *LoginOperatorDefault
- func (o *LoginOperatorDefault) WithStatusCode(code int) *LoginOperatorDefault
- func (o *LoginOperatorDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LoginOperatorHandler
- type LoginOperatorHandlerFunc
- type LoginOperatorParams
- type LoginOperatorURL
- func (o *LoginOperatorURL) Build() (*url.URL, error)
- func (o *LoginOperatorURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *LoginOperatorURL) Must(u *url.URL, err error) *url.URL
- func (o *LoginOperatorURL) SetBasePath(bp string)
- func (o *LoginOperatorURL) String() string
- func (o *LoginOperatorURL) StringFull(scheme, host string) string
- func (o *LoginOperatorURL) WithBasePath(bp string) *LoginOperatorURL
- 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 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
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 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 DeleteBucketEventNoContentCode int = 204
DeleteBucketEventNoContentCode is the HTTP code returned for type DeleteBucketEventNoContent
const DeleteBucketNoContentCode int = 204
DeleteBucketNoContentCode is the HTTP code returned for type DeleteBucketNoContent
const DeleteServiceAccountNoContentCode int = 204
DeleteServiceAccountNoContentCode is the HTTP code returned for type DeleteServiceAccountNoContent
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 ListUserServiceAccountsOKCode int = 200
ListUserServiceAccountsOKCode is the HTTP code returned for type ListUserServiceAccountsOK
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 LoginOauth2AuthCreatedCode int = 201
LoginOauth2AuthCreatedCode is the HTTP code returned for type LoginOauth2AuthCreated
const LoginOperatorCreatedCode int = 201
LoginOperatorCreatedCode is the HTTP code returned for type LoginOperatorCreated
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 SessionCheckOKCode int = 200
SessionCheckOKCode is the HTTP code returned for type SessionCheckOK
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 /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 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 /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 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 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 no default values defined in 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 no default values defined in 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 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 no default values defined in 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 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 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 no default values defined in 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 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 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 /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 ¶
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 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 no default values defined in 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 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 LoginCreated ¶
type LoginCreated struct { /* In: Body */ Payload *models.LoginResponse `json:"body,omitempty"` }
LoginCreated A successful login.
swagger:response loginCreated
func NewLoginCreated ¶
func NewLoginCreated() *LoginCreated
NewLoginCreated creates LoginCreated with default headers values
func (*LoginCreated) SetPayload ¶
func (o *LoginCreated) SetPayload(payload *models.LoginResponse)
SetPayload sets the payload to the login created response
func (*LoginCreated) WithPayload ¶
func (o *LoginCreated) WithPayload(payload *models.LoginResponse) *LoginCreated
WithPayload adds the payload to the login created response
func (*LoginCreated) WriteResponse ¶
func (o *LoginCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginDefault ¶
type LoginDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
LoginDefault Generic error response.
swagger:response loginDefault
func NewLoginDefault ¶
func NewLoginDefault(code int) *LoginDefault
NewLoginDefault creates LoginDefault with default headers values
func (*LoginDefault) SetPayload ¶
func (o *LoginDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the login default response
func (*LoginDefault) SetStatusCode ¶
func (o *LoginDefault) SetStatusCode(code int)
SetStatusCode sets the status to the login default response
func (*LoginDefault) WithPayload ¶
func (o *LoginDefault) WithPayload(payload *models.Error) *LoginDefault
WithPayload adds the payload to the login default response
func (*LoginDefault) WithStatusCode ¶
func (o *LoginDefault) WithStatusCode(code int) *LoginDefault
WithStatusCode adds the status to the login default response
func (*LoginDefault) WriteResponse ¶
func (o *LoginDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginDetail ¶
type LoginDetail struct { Context *middleware.Context Handler LoginDetailHandler }
LoginDetail swagger:route GET /login UserAPI loginDetail
Returns login strategy, form or sso.
func NewLoginDetail ¶
func NewLoginDetail(ctx *middleware.Context, handler LoginDetailHandler) *LoginDetail
NewLoginDetail creates a new http.Handler for the login detail operation
func (*LoginDetail) ServeHTTP ¶
func (o *LoginDetail) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type LoginDetailDefault ¶
type LoginDetailDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
LoginDetailDefault Generic error response.
swagger:response loginDetailDefault
func NewLoginDetailDefault ¶
func NewLoginDetailDefault(code int) *LoginDetailDefault
NewLoginDetailDefault creates LoginDetailDefault with default headers values
func (*LoginDetailDefault) SetPayload ¶
func (o *LoginDetailDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the login detail default response
func (*LoginDetailDefault) SetStatusCode ¶
func (o *LoginDetailDefault) SetStatusCode(code int)
SetStatusCode sets the status to the login detail default response
func (*LoginDetailDefault) WithPayload ¶
func (o *LoginDetailDefault) WithPayload(payload *models.Error) *LoginDetailDefault
WithPayload adds the payload to the login detail default response
func (*LoginDetailDefault) WithStatusCode ¶
func (o *LoginDetailDefault) WithStatusCode(code int) *LoginDetailDefault
WithStatusCode adds the status to the login detail default response
func (*LoginDetailDefault) WriteResponse ¶
func (o *LoginDetailDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginDetailHandler ¶
type LoginDetailHandler interface {
Handle(LoginDetailParams) middleware.Responder
}
LoginDetailHandler interface for that can handle valid login detail params
type LoginDetailHandlerFunc ¶
type LoginDetailHandlerFunc func(LoginDetailParams) middleware.Responder
LoginDetailHandlerFunc turns a function with the right signature into a login detail handler
func (LoginDetailHandlerFunc) Handle ¶
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 LoginOauth2Auth ¶
type LoginOauth2Auth struct { Context *middleware.Context Handler LoginOauth2AuthHandler }
LoginOauth2Auth swagger:route POST /login/oauth2/auth UserAPI loginOauth2Auth
Identity Provider oauth2 callback endpoint.
func NewLoginOauth2Auth ¶
func NewLoginOauth2Auth(ctx *middleware.Context, handler LoginOauth2AuthHandler) *LoginOauth2Auth
NewLoginOauth2Auth creates a new http.Handler for the login oauth2 auth operation
func (*LoginOauth2Auth) ServeHTTP ¶
func (o *LoginOauth2Auth) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type LoginOauth2AuthCreated ¶
type LoginOauth2AuthCreated struct { /* In: Body */ Payload *models.LoginResponse `json:"body,omitempty"` }
LoginOauth2AuthCreated A successful login.
swagger:response loginOauth2AuthCreated
func NewLoginOauth2AuthCreated ¶
func NewLoginOauth2AuthCreated() *LoginOauth2AuthCreated
NewLoginOauth2AuthCreated creates LoginOauth2AuthCreated with default headers values
func (*LoginOauth2AuthCreated) SetPayload ¶
func (o *LoginOauth2AuthCreated) SetPayload(payload *models.LoginResponse)
SetPayload sets the payload to the login oauth2 auth created response
func (*LoginOauth2AuthCreated) WithPayload ¶
func (o *LoginOauth2AuthCreated) WithPayload(payload *models.LoginResponse) *LoginOauth2AuthCreated
WithPayload adds the payload to the login oauth2 auth created response
func (*LoginOauth2AuthCreated) WriteResponse ¶
func (o *LoginOauth2AuthCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginOauth2AuthDefault ¶
type LoginOauth2AuthDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
LoginOauth2AuthDefault Generic error response.
swagger:response loginOauth2AuthDefault
func NewLoginOauth2AuthDefault ¶
func NewLoginOauth2AuthDefault(code int) *LoginOauth2AuthDefault
NewLoginOauth2AuthDefault creates LoginOauth2AuthDefault with default headers values
func (*LoginOauth2AuthDefault) SetPayload ¶
func (o *LoginOauth2AuthDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the login oauth2 auth default response
func (*LoginOauth2AuthDefault) SetStatusCode ¶
func (o *LoginOauth2AuthDefault) SetStatusCode(code int)
SetStatusCode sets the status to the login oauth2 auth default response
func (*LoginOauth2AuthDefault) WithPayload ¶
func (o *LoginOauth2AuthDefault) WithPayload(payload *models.Error) *LoginOauth2AuthDefault
WithPayload adds the payload to the login oauth2 auth default response
func (*LoginOauth2AuthDefault) WithStatusCode ¶
func (o *LoginOauth2AuthDefault) WithStatusCode(code int) *LoginOauth2AuthDefault
WithStatusCode adds the status to the login oauth2 auth default response
func (*LoginOauth2AuthDefault) WriteResponse ¶
func (o *LoginOauth2AuthDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginOauth2AuthHandler ¶
type LoginOauth2AuthHandler interface {
Handle(LoginOauth2AuthParams) middleware.Responder
}
LoginOauth2AuthHandler interface for that can handle valid login oauth2 auth params
type LoginOauth2AuthHandlerFunc ¶
type LoginOauth2AuthHandlerFunc func(LoginOauth2AuthParams) middleware.Responder
LoginOauth2AuthHandlerFunc turns a function with the right signature into a login oauth2 auth handler
func (LoginOauth2AuthHandlerFunc) Handle ¶
func (fn LoginOauth2AuthHandlerFunc) Handle(params LoginOauth2AuthParams) middleware.Responder
Handle executing the request and returning a response
type LoginOauth2AuthParams ¶
type LoginOauth2AuthParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.LoginOauth2AuthRequest }
LoginOauth2AuthParams contains all the bound params for the login oauth2 auth operation typically these are obtained from a http.Request
swagger:parameters LoginOauth2Auth
func NewLoginOauth2AuthParams ¶
func NewLoginOauth2AuthParams() LoginOauth2AuthParams
NewLoginOauth2AuthParams creates a new LoginOauth2AuthParams object no default values defined in 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 LoginOperator ¶
type LoginOperator struct { Context *middleware.Context Handler LoginOperatorHandler }
LoginOperator swagger:route POST /login/operator UserAPI loginOperator
Login to Operator Console.
func NewLoginOperator ¶
func NewLoginOperator(ctx *middleware.Context, handler LoginOperatorHandler) *LoginOperator
NewLoginOperator creates a new http.Handler for the login operator operation
func (*LoginOperator) ServeHTTP ¶
func (o *LoginOperator) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type LoginOperatorCreated ¶
type LoginOperatorCreated struct { /* In: Body */ Payload *models.LoginResponse `json:"body,omitempty"` }
LoginOperatorCreated A successful login.
swagger:response loginOperatorCreated
func NewLoginOperatorCreated ¶
func NewLoginOperatorCreated() *LoginOperatorCreated
NewLoginOperatorCreated creates LoginOperatorCreated with default headers values
func (*LoginOperatorCreated) SetPayload ¶
func (o *LoginOperatorCreated) SetPayload(payload *models.LoginResponse)
SetPayload sets the payload to the login operator created response
func (*LoginOperatorCreated) WithPayload ¶
func (o *LoginOperatorCreated) WithPayload(payload *models.LoginResponse) *LoginOperatorCreated
WithPayload adds the payload to the login operator created response
func (*LoginOperatorCreated) WriteResponse ¶
func (o *LoginOperatorCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginOperatorDefault ¶
type LoginOperatorDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
LoginOperatorDefault Generic error response.
swagger:response loginOperatorDefault
func NewLoginOperatorDefault ¶
func NewLoginOperatorDefault(code int) *LoginOperatorDefault
NewLoginOperatorDefault creates LoginOperatorDefault with default headers values
func (*LoginOperatorDefault) SetPayload ¶
func (o *LoginOperatorDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the login operator default response
func (*LoginOperatorDefault) SetStatusCode ¶
func (o *LoginOperatorDefault) SetStatusCode(code int)
SetStatusCode sets the status to the login operator default response
func (*LoginOperatorDefault) WithPayload ¶
func (o *LoginOperatorDefault) WithPayload(payload *models.Error) *LoginOperatorDefault
WithPayload adds the payload to the login operator default response
func (*LoginOperatorDefault) WithStatusCode ¶
func (o *LoginOperatorDefault) WithStatusCode(code int) *LoginOperatorDefault
WithStatusCode adds the status to the login operator default response
func (*LoginOperatorDefault) WriteResponse ¶
func (o *LoginOperatorDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginOperatorHandler ¶
type LoginOperatorHandler interface {
Handle(LoginOperatorParams) middleware.Responder
}
LoginOperatorHandler interface for that can handle valid login operator params
type LoginOperatorHandlerFunc ¶
type LoginOperatorHandlerFunc func(LoginOperatorParams) middleware.Responder
LoginOperatorHandlerFunc turns a function with the right signature into a login operator handler
func (LoginOperatorHandlerFunc) Handle ¶
func (fn LoginOperatorHandlerFunc) Handle(params LoginOperatorParams) middleware.Responder
Handle executing the request and returning a response
type LoginOperatorParams ¶
type LoginOperatorParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.LoginOperatorRequest }
LoginOperatorParams contains all the bound params for the login operator operation typically these are obtained from a http.Request
swagger:parameters LoginOperator
func NewLoginOperatorParams ¶
func NewLoginOperatorParams() LoginOperatorParams
NewLoginOperatorParams creates a new LoginOperatorParams object no default values defined in spec.
func (*LoginOperatorParams) BindRequest ¶
func (o *LoginOperatorParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewLoginOperatorParams() beforehand.
type LoginOperatorURL ¶
type LoginOperatorURL struct {
// contains filtered or unexported fields
}
LoginOperatorURL generates an URL for the login operator operation
func (*LoginOperatorURL) Build ¶
func (o *LoginOperatorURL) Build() (*url.URL, error)
Build a url path and query string
func (*LoginOperatorURL) BuildFull ¶
func (o *LoginOperatorURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*LoginOperatorURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*LoginOperatorURL) SetBasePath ¶
func (o *LoginOperatorURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*LoginOperatorURL) String ¶
func (o *LoginOperatorURL) String() string
String returns the string representation of the path with query string
func (*LoginOperatorURL) StringFull ¶
func (o *LoginOperatorURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*LoginOperatorURL) WithBasePath ¶
func (o *LoginOperatorURL) WithBasePath(bp string) *LoginOperatorURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type LoginParams ¶
type LoginParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.LoginRequest }
LoginParams contains all the bound params for the login operation typically these are obtained from a http.Request
swagger:parameters Login
func NewLoginParams ¶
func NewLoginParams() LoginParams
NewLoginParams creates a new LoginParams object 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 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 no default values defined in 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 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
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 no default values defined in 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
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
- 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_bucket.go
- delete_bucket_event.go
- delete_bucket_event_parameters.go
- delete_bucket_event_responses.go
- delete_bucket_event_urlbuilder.go
- delete_bucket_parameters.go
- delete_bucket_responses.go
- delete_bucket_urlbuilder.go
- delete_service_account.go
- delete_service_account_parameters.go
- delete_service_account_responses.go
- delete_service_account_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_user_service_accounts.go
- list_user_service_accounts_parameters.go
- list_user_service_accounts_responses.go
- list_user_service_accounts_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_operator.go
- login_operator_parameters.go
- login_operator_responses.go
- login_operator_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
- session_check.go
- session_check_parameters.go
- session_check_responses.go
- session_check_urlbuilder.go