Documentation ¶
Index ¶
- Constants
- type Access
- type AccessCreated
- type AccessHandler
- type AccessHandlerFunc
- type AccessInternalServerError
- type AccessNotFound
- type AccessParams
- type AccessURL
- func (o *AccessURL) Build() (*url.URL, error)
- func (o *AccessURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AccessURL) Must(u *url.URL, err error) *url.URL
- func (o *AccessURL) SetBasePath(bp string)
- func (o *AccessURL) String() string
- func (o *AccessURL) StringFull(scheme, host string) string
- func (o *AccessURL) WithBasePath(bp string) *AccessURL
- type AccessUnauthorized
- type Share
- type ShareCreated
- type ShareHandler
- type ShareHandlerFunc
- type ShareInternalServerError
- type ShareNotFound
- type ShareParams
- type ShareURL
- func (o *ShareURL) Build() (*url.URL, error)
- func (o *ShareURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ShareURL) Must(u *url.URL, err error) *url.URL
- func (o *ShareURL) SetBasePath(bp string)
- func (o *ShareURL) String() string
- func (o *ShareURL) StringFull(scheme, host string) string
- func (o *ShareURL) WithBasePath(bp string) *ShareURL
- type ShareUnauthorized
- type Unaccess
- type UnaccessHandler
- type UnaccessHandlerFunc
- type UnaccessInternalServerError
- type UnaccessNotFound
- type UnaccessOK
- type UnaccessParams
- type UnaccessURL
- func (o *UnaccessURL) Build() (*url.URL, error)
- func (o *UnaccessURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UnaccessURL) Must(u *url.URL, err error) *url.URL
- func (o *UnaccessURL) SetBasePath(bp string)
- func (o *UnaccessURL) String() string
- func (o *UnaccessURL) StringFull(scheme, host string) string
- func (o *UnaccessURL) WithBasePath(bp string) *UnaccessURL
- type UnaccessUnauthorized
- type Unshare
- type UnshareHandler
- type UnshareHandlerFunc
- type UnshareInternalServerError
- func (o *UnshareInternalServerError) SetPayload(payload rest_model_zrok.ErrorMessage)
- func (o *UnshareInternalServerError) WithPayload(payload rest_model_zrok.ErrorMessage) *UnshareInternalServerError
- func (o *UnshareInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UnshareNotFound
- type UnshareOK
- type UnshareParams
- type UnshareURL
- func (o *UnshareURL) Build() (*url.URL, error)
- func (o *UnshareURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UnshareURL) Must(u *url.URL, err error) *url.URL
- func (o *UnshareURL) SetBasePath(bp string)
- func (o *UnshareURL) String() string
- func (o *UnshareURL) StringFull(scheme, host string) string
- func (o *UnshareURL) WithBasePath(bp string) *UnshareURL
- type UnshareUnauthorized
- type UpdateShare
- type UpdateShareHandler
- type UpdateShareHandlerFunc
- type UpdateShareInternalServerError
- type UpdateShareNotFound
- type UpdateShareOK
- type UpdateShareParams
- type UpdateShareURL
- func (o *UpdateShareURL) Build() (*url.URL, error)
- func (o *UpdateShareURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateShareURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateShareURL) SetBasePath(bp string)
- func (o *UpdateShareURL) String() string
- func (o *UpdateShareURL) StringFull(scheme, host string) string
- func (o *UpdateShareURL) WithBasePath(bp string) *UpdateShareURL
- type UpdateShareUnauthorized
Constants ¶
const AccessCreatedCode int = 201
AccessCreatedCode is the HTTP code returned for type AccessCreated
const AccessInternalServerErrorCode int = 500
AccessInternalServerErrorCode is the HTTP code returned for type AccessInternalServerError
const AccessNotFoundCode int = 404
AccessNotFoundCode is the HTTP code returned for type AccessNotFound
AccessUnauthorizedCode is the HTTP code returned for type AccessUnauthorized
ShareCreatedCode is the HTTP code returned for type ShareCreated
ShareInternalServerErrorCode is the HTTP code returned for type ShareInternalServerError
ShareNotFoundCode is the HTTP code returned for type ShareNotFound
ShareUnauthorizedCode is the HTTP code returned for type ShareUnauthorized
const UnaccessInternalServerErrorCode int = 500
UnaccessInternalServerErrorCode is the HTTP code returned for type UnaccessInternalServerError
const UnaccessNotFoundCode int = 404
UnaccessNotFoundCode is the HTTP code returned for type UnaccessNotFound
const UnaccessOKCode int = 200
UnaccessOKCode is the HTTP code returned for type UnaccessOK
UnaccessUnauthorizedCode is the HTTP code returned for type UnaccessUnauthorized
UnshareInternalServerErrorCode is the HTTP code returned for type UnshareInternalServerError
UnshareNotFoundCode is the HTTP code returned for type UnshareNotFound
UnshareOKCode is the HTTP code returned for type UnshareOK
UnshareUnauthorizedCode is the HTTP code returned for type UnshareUnauthorized
UpdateShareInternalServerErrorCode is the HTTP code returned for type UpdateShareInternalServerError
UpdateShareNotFoundCode is the HTTP code returned for type UpdateShareNotFound
UpdateShareOKCode is the HTTP code returned for type UpdateShareOK
UpdateShareUnauthorizedCode is the HTTP code returned for type UpdateShareUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Access ¶
type Access struct { Context *middleware.Context Handler AccessHandler }
Access swagger:route POST /access share access
Access access API
func NewAccess ¶
func NewAccess(ctx *middleware.Context, handler AccessHandler) *Access
NewAccess creates a new http.Handler for the access operation
type AccessCreated ¶
type AccessCreated struct { /* In: Body */ Payload *rest_model_zrok.AccessResponse `json:"body,omitempty"` }
AccessCreated access created
swagger:response accessCreated
func NewAccessCreated ¶
func NewAccessCreated() *AccessCreated
NewAccessCreated creates AccessCreated with default headers values
func (*AccessCreated) SetPayload ¶
func (o *AccessCreated) SetPayload(payload *rest_model_zrok.AccessResponse)
SetPayload sets the payload to the access created response
func (*AccessCreated) WithPayload ¶
func (o *AccessCreated) WithPayload(payload *rest_model_zrok.AccessResponse) *AccessCreated
WithPayload adds the payload to the access created response
func (*AccessCreated) WriteResponse ¶
func (o *AccessCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AccessHandler ¶
type AccessHandler interface {
Handle(AccessParams, *rest_model_zrok.Principal) middleware.Responder
}
AccessHandler interface for that can handle valid access params
type AccessHandlerFunc ¶
type AccessHandlerFunc func(AccessParams, *rest_model_zrok.Principal) middleware.Responder
AccessHandlerFunc turns a function with the right signature into a access handler
func (AccessHandlerFunc) Handle ¶
func (fn AccessHandlerFunc) Handle(params AccessParams, principal *rest_model_zrok.Principal) middleware.Responder
Handle executing the request and returning a response
type AccessInternalServerError ¶
type AccessInternalServerError struct { }
AccessInternalServerError internal server error
swagger:response accessInternalServerError
func NewAccessInternalServerError ¶
func NewAccessInternalServerError() *AccessInternalServerError
NewAccessInternalServerError creates AccessInternalServerError with default headers values
func (*AccessInternalServerError) WriteResponse ¶
func (o *AccessInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AccessNotFound ¶
type AccessNotFound struct { }
AccessNotFound not found
swagger:response accessNotFound
func NewAccessNotFound ¶
func NewAccessNotFound() *AccessNotFound
NewAccessNotFound creates AccessNotFound with default headers values
func (*AccessNotFound) WriteResponse ¶
func (o *AccessNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AccessParams ¶
type AccessParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *rest_model_zrok.AccessRequest }
AccessParams contains all the bound params for the access operation typically these are obtained from a http.Request
swagger:parameters access
func NewAccessParams ¶
func NewAccessParams() AccessParams
NewAccessParams creates a new AccessParams object
There are no default values defined in the spec.
func (*AccessParams) BindRequest ¶
func (o *AccessParams) 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 NewAccessParams() beforehand.
type AccessURL ¶
type AccessURL struct {
// contains filtered or unexported fields
}
AccessURL generates an URL for the access operation
func (*AccessURL) 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 (*AccessURL) StringFull ¶
StringFull returns the string representation of a complete url
func (*AccessURL) 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 AccessUnauthorized ¶
type AccessUnauthorized struct { }
AccessUnauthorized unauthorized
swagger:response accessUnauthorized
func NewAccessUnauthorized ¶
func NewAccessUnauthorized() *AccessUnauthorized
NewAccessUnauthorized creates AccessUnauthorized with default headers values
func (*AccessUnauthorized) WriteResponse ¶
func (o *AccessUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type Share ¶
type Share struct {}
Share swagger:route POST /share share share
Share share API
func NewShare ¶
func NewShare(ctx *middleware.Context, handler ShareHandler) *Share
NewShare creates a new http.Handler for the share operation
type ShareCreated ¶
type ShareCreated struct { rest_model_zrok.ShareResponse `json:"body,omitempty"` }Payload *
ShareCreated share created
swagger:response shareCreated
func NewShareCreated ¶
func NewShareCreated() *ShareCreated
NewShareCreated creates ShareCreated with default headers values
func (*ShareCreated) SetPayload ¶
func (o *ShareCreated) SetPayload(payload *rest_model_zrok.ShareResponse)
SetPayload sets the payload to the share created response
func (*ShareCreated) WithPayload ¶
func (o *ShareCreated) WithPayload(payload *rest_model_zrok.ShareResponse) *ShareCreated
WithPayload adds the payload to the share created response
func (*ShareCreated) WriteResponse ¶
func (o *ShareCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShareHandler ¶
type ShareHandler interface {
}ShareHandler interface for that can handle valid share params
type ShareHandlerFunc ¶
type ShareHandlerFunc func(ShareParams, *rest_model_zrok.Principal) middleware.Responder
ShareHandlerFunc turns a function with the right signature into a share handler
func (ShareHandlerFunc) Handle ¶
func (fn ShareHandlerFunc) Handle(params ShareParams, principal *rest_model_zrok.Principal) middleware.Responder
Handle executing the request and returning a response
type ShareInternalServerError ¶
type ShareInternalServerError struct { rest_model_zrok.ErrorMessage `json:"body,omitempty"` }Payload
ShareInternalServerError internal server error
swagger:response shareInternalServerError
func NewShareInternalServerError ¶
func NewShareInternalServerError() *ShareInternalServerError
NewShareInternalServerError creates ShareInternalServerError with default headers values
func (*ShareInternalServerError) SetPayload ¶
func (o *ShareInternalServerError) SetPayload(payload rest_model_zrok.ErrorMessage)
SetPayload sets the payload to the share internal server error response
func (*ShareInternalServerError) WithPayload ¶
func (o *ShareInternalServerError) WithPayload(payload rest_model_zrok.ErrorMessage) *ShareInternalServerError
WithPayload adds the payload to the share internal server error response
func (*ShareInternalServerError) WriteResponse ¶
func (o *ShareInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShareNotFound ¶
type ShareNotFound struct { }
ShareNotFound not found
swagger:response shareNotFound
func NewShareNotFound ¶
func NewShareNotFound() *ShareNotFound
NewShareNotFound creates ShareNotFound with default headers values
func (*ShareNotFound) WriteResponse ¶
func (o *ShareNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShareParams ¶
type ShareParams struct { http.Request `json:"-"` Body *rest_model_zrok.ShareRequest }HTTPRequest *
ShareParams contains all the bound params for the share operation typically these are obtained from a http.Request
swagger:parameters share
func NewShareParams ¶
func NewShareParams() ShareParams
NewShareParams creates a new ShareParams object
There are no default values defined in the spec.
func (*ShareParams) BindRequest ¶
func (o *ShareParams) 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 NewShareParams() beforehand.
type ShareURL ¶
type ShareURL struct {
// contains filtered or unexported fields
}
ShareURL generates an URL for the share operation
func (*ShareURL) 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 (*ShareURL) StringFull ¶
StringFull returns the string representation of a complete url
func (*ShareURL) 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 ShareUnauthorized ¶
type ShareUnauthorized struct { }
ShareUnauthorized unauthorized
swagger:response shareUnauthorized
func NewShareUnauthorized ¶
func NewShareUnauthorized() *ShareUnauthorized
NewShareUnauthorized creates ShareUnauthorized with default headers values
func (*ShareUnauthorized) WriteResponse ¶
func (o *ShareUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type Unaccess ¶
type Unaccess struct { Context *middleware.Context Handler UnaccessHandler }
Unaccess swagger:route DELETE /unaccess share unaccess
Unaccess unaccess API
func NewUnaccess ¶
func NewUnaccess(ctx *middleware.Context, handler UnaccessHandler) *Unaccess
NewUnaccess creates a new http.Handler for the unaccess operation
type UnaccessHandler ¶
type UnaccessHandler interface {
Handle(UnaccessParams, *rest_model_zrok.Principal) middleware.Responder
}
UnaccessHandler interface for that can handle valid unaccess params
type UnaccessHandlerFunc ¶
type UnaccessHandlerFunc func(UnaccessParams, *rest_model_zrok.Principal) middleware.Responder
UnaccessHandlerFunc turns a function with the right signature into a unaccess handler
func (UnaccessHandlerFunc) Handle ¶
func (fn UnaccessHandlerFunc) Handle(params UnaccessParams, principal *rest_model_zrok.Principal) middleware.Responder
Handle executing the request and returning a response
type UnaccessInternalServerError ¶
type UnaccessInternalServerError struct { }
UnaccessInternalServerError internal server error
swagger:response unaccessInternalServerError
func NewUnaccessInternalServerError ¶
func NewUnaccessInternalServerError() *UnaccessInternalServerError
NewUnaccessInternalServerError creates UnaccessInternalServerError with default headers values
func (*UnaccessInternalServerError) WriteResponse ¶
func (o *UnaccessInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UnaccessNotFound ¶
type UnaccessNotFound struct { }
UnaccessNotFound not found
swagger:response unaccessNotFound
func NewUnaccessNotFound ¶
func NewUnaccessNotFound() *UnaccessNotFound
NewUnaccessNotFound creates UnaccessNotFound with default headers values
func (*UnaccessNotFound) WriteResponse ¶
func (o *UnaccessNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UnaccessOK ¶
type UnaccessOK struct { }
UnaccessOK access removed
swagger:response unaccessOK
func NewUnaccessOK ¶
func NewUnaccessOK() *UnaccessOK
NewUnaccessOK creates UnaccessOK with default headers values
func (*UnaccessOK) WriteResponse ¶
func (o *UnaccessOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UnaccessParams ¶
type UnaccessParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *rest_model_zrok.UnaccessRequest }
UnaccessParams contains all the bound params for the unaccess operation typically these are obtained from a http.Request
swagger:parameters unaccess
func NewUnaccessParams ¶
func NewUnaccessParams() UnaccessParams
NewUnaccessParams creates a new UnaccessParams object
There are no default values defined in the spec.
func (*UnaccessParams) BindRequest ¶
func (o *UnaccessParams) 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 NewUnaccessParams() beforehand.
type UnaccessURL ¶
type UnaccessURL struct {
// contains filtered or unexported fields
}
UnaccessURL generates an URL for the unaccess operation
func (*UnaccessURL) Build ¶
func (o *UnaccessURL) Build() (*url.URL, error)
Build a url path and query string
func (*UnaccessURL) BuildFull ¶
func (o *UnaccessURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UnaccessURL) SetBasePath ¶
func (o *UnaccessURL) 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 (*UnaccessURL) String ¶
func (o *UnaccessURL) String() string
String returns the string representation of the path with query string
func (*UnaccessURL) StringFull ¶
func (o *UnaccessURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UnaccessURL) WithBasePath ¶
func (o *UnaccessURL) WithBasePath(bp string) *UnaccessURL
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 UnaccessUnauthorized ¶
type UnaccessUnauthorized struct { }
UnaccessUnauthorized unauthorized
swagger:response unaccessUnauthorized
func NewUnaccessUnauthorized ¶
func NewUnaccessUnauthorized() *UnaccessUnauthorized
NewUnaccessUnauthorized creates UnaccessUnauthorized with default headers values
func (*UnaccessUnauthorized) WriteResponse ¶
func (o *UnaccessUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type Unshare ¶
type Unshare struct {}
Unshare swagger:route DELETE /unshare share unshare
Unshare unshare API
func NewUnshare ¶
func NewUnshare(ctx *middleware.Context, handler UnshareHandler) *Unshare
NewUnshare creates a new http.Handler for the unshare operation
type UnshareHandler ¶
type UnshareHandler interface {
}UnshareHandler interface for that can handle valid unshare params
type UnshareHandlerFunc ¶
type UnshareHandlerFunc func(UnshareParams, *rest_model_zrok.Principal) middleware.Responder
UnshareHandlerFunc turns a function with the right signature into a unshare handler
func (UnshareHandlerFunc) Handle ¶
func (fn UnshareHandlerFunc) Handle(params UnshareParams, principal *rest_model_zrok.Principal) middleware.Responder
Handle executing the request and returning a response
type UnshareInternalServerError ¶
type UnshareInternalServerError struct { rest_model_zrok.ErrorMessage `json:"body,omitempty"` }Payload
UnshareInternalServerError internal server error
swagger:response unshareInternalServerError
func NewUnshareInternalServerError ¶
func NewUnshareInternalServerError() *UnshareInternalServerError
NewUnshareInternalServerError creates UnshareInternalServerError with default headers values
func (*UnshareInternalServerError) SetPayload ¶
func (o *UnshareInternalServerError) SetPayload(payload rest_model_zrok.ErrorMessage)
SetPayload sets the payload to the unshare internal server error response
func (*UnshareInternalServerError) WithPayload ¶
func (o *UnshareInternalServerError) WithPayload(payload rest_model_zrok.ErrorMessage) *UnshareInternalServerError
WithPayload adds the payload to the unshare internal server error response
func (*UnshareInternalServerError) WriteResponse ¶
func (o *UnshareInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UnshareNotFound ¶
type UnshareNotFound struct { }
UnshareNotFound not found
swagger:response unshareNotFound
func NewUnshareNotFound ¶
func NewUnshareNotFound() *UnshareNotFound
NewUnshareNotFound creates UnshareNotFound with default headers values
func (*UnshareNotFound) WriteResponse ¶
func (o *UnshareNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UnshareOK ¶
type UnshareOK struct { }
UnshareOK share removed
swagger:response unshareOK
func NewUnshareOK ¶
func NewUnshareOK() *UnshareOK
NewUnshareOK creates UnshareOK with default headers values
func (*UnshareOK) WriteResponse ¶
func (o *UnshareOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UnshareParams ¶
type UnshareParams struct { http.Request `json:"-"` Body *rest_model_zrok.UnshareRequest }HTTPRequest *
UnshareParams contains all the bound params for the unshare operation typically these are obtained from a http.Request
swagger:parameters unshare
func NewUnshareParams ¶
func NewUnshareParams() UnshareParams
NewUnshareParams creates a new UnshareParams object
There are no default values defined in the spec.
func (*UnshareParams) BindRequest ¶
func (o *UnshareParams) 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 NewUnshareParams() beforehand.
type UnshareURL ¶
type UnshareURL struct {
// contains filtered or unexported fields
}
UnshareURL generates an URL for the unshare operation
func (*UnshareURL) Build ¶
func (o *UnshareURL) Build() (*url.URL, error)
Build a url path and query string
func (*UnshareURL) BuildFull ¶
func (o *UnshareURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UnshareURL) SetBasePath ¶
func (o *UnshareURL) 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 (*UnshareURL) String ¶
func (o *UnshareURL) String() string
String returns the string representation of the path with query string
func (*UnshareURL) StringFull ¶
func (o *UnshareURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UnshareURL) WithBasePath ¶
func (o *UnshareURL) WithBasePath(bp string) *UnshareURL
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 UnshareUnauthorized ¶
type UnshareUnauthorized struct { }
UnshareUnauthorized unauthorized
swagger:response unshareUnauthorized
func NewUnshareUnauthorized ¶
func NewUnshareUnauthorized() *UnshareUnauthorized
NewUnshareUnauthorized creates UnshareUnauthorized with default headers values
func (*UnshareUnauthorized) WriteResponse ¶
func (o *UnshareUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateShare ¶
type UpdateShare struct {}
UpdateShare swagger:route PATCH /share share updateShare
UpdateShare update share API
func NewUpdateShare ¶
func NewUpdateShare(ctx *middleware.Context, handler UpdateShareHandler) *UpdateShare
NewUpdateShare creates a new http.Handler for the update share operation
func (*UpdateShare) ServeHTTP ¶
func (o *UpdateShare) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateShareHandler ¶
type UpdateShareHandler interface {
}UpdateShareHandler interface for that can handle valid update share params
type UpdateShareHandlerFunc ¶
type UpdateShareHandlerFunc func(UpdateShareParams, *rest_model_zrok.Principal) middleware.Responder
UpdateShareHandlerFunc turns a function with the right signature into a update share handler
func (UpdateShareHandlerFunc) Handle ¶
func (fn UpdateShareHandlerFunc) Handle(params UpdateShareParams, principal *rest_model_zrok.Principal) middleware.Responder
Handle executing the request and returning a response
type UpdateShareInternalServerError ¶
type UpdateShareInternalServerError struct { }
UpdateShareInternalServerError internal server error
swagger:response updateShareInternalServerError
func NewUpdateShareInternalServerError ¶
func NewUpdateShareInternalServerError() *UpdateShareInternalServerError
NewUpdateShareInternalServerError creates UpdateShareInternalServerError with default headers values
func (*UpdateShareInternalServerError) WriteResponse ¶
func (o *UpdateShareInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateShareNotFound ¶
type UpdateShareNotFound struct { }
UpdateShareNotFound not found
swagger:response updateShareNotFound
func NewUpdateShareNotFound ¶
func NewUpdateShareNotFound() *UpdateShareNotFound
NewUpdateShareNotFound creates UpdateShareNotFound with default headers values
func (*UpdateShareNotFound) WriteResponse ¶
func (o *UpdateShareNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateShareOK ¶
type UpdateShareOK struct { }
UpdateShareOK share updated
swagger:response updateShareOK
func NewUpdateShareOK ¶
func NewUpdateShareOK() *UpdateShareOK
NewUpdateShareOK creates UpdateShareOK with default headers values
func (*UpdateShareOK) WriteResponse ¶
func (o *UpdateShareOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateShareParams ¶
type UpdateShareParams struct { http.Request `json:"-"` Body *rest_model_zrok.UpdateShareRequest }HTTPRequest *
UpdateShareParams contains all the bound params for the update share operation typically these are obtained from a http.Request
swagger:parameters updateShare
func NewUpdateShareParams ¶
func NewUpdateShareParams() UpdateShareParams
NewUpdateShareParams creates a new UpdateShareParams object
There are no default values defined in the spec.
func (*UpdateShareParams) BindRequest ¶
func (o *UpdateShareParams) 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 NewUpdateShareParams() beforehand.
type UpdateShareURL ¶
type UpdateShareURL struct {
// contains filtered or unexported fields
}
UpdateShareURL generates an URL for the update share operation
func (*UpdateShareURL) Build ¶
func (o *UpdateShareURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateShareURL) BuildFull ¶
func (o *UpdateShareURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateShareURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateShareURL) SetBasePath ¶
func (o *UpdateShareURL) 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 (*UpdateShareURL) String ¶
func (o *UpdateShareURL) String() string
String returns the string representation of the path with query string
func (*UpdateShareURL) StringFull ¶
func (o *UpdateShareURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateShareURL) WithBasePath ¶
func (o *UpdateShareURL) WithBasePath(bp string) *UpdateShareURL
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 UpdateShareUnauthorized ¶
type UpdateShareUnauthorized struct { }
UpdateShareUnauthorized unauthorized
swagger:response updateShareUnauthorized
func NewUpdateShareUnauthorized ¶
func NewUpdateShareUnauthorized() *UpdateShareUnauthorized
NewUpdateShareUnauthorized creates UpdateShareUnauthorized with default headers values
func (*UpdateShareUnauthorized) WriteResponse ¶
func (o *UpdateShareUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- access.go
- access_parameters.go
- access_responses.go
- access_urlbuilder.go
- share.go
- share_parameters.go
- share_responses.go
- share_urlbuilder.go
- unaccess.go
- unaccess_parameters.go
- unaccess_responses.go
- unaccess_urlbuilder.go
- unshare.go
- unshare_parameters.go
- unshare_responses.go
- unshare_urlbuilder.go
- update_share.go
- update_share_parameters.go
- update_share_responses.go
- update_share_urlbuilder.go