share

package
v0.4.0-rc11 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const AccessCreatedCode int = 201

AccessCreatedCode is the HTTP code returned for type AccessCreated

View Source
const AccessInternalServerErrorCode int = 500

AccessInternalServerErrorCode is the HTTP code returned for type AccessInternalServerError

View Source
const AccessNotFoundCode int = 404

AccessNotFoundCode is the HTTP code returned for type AccessNotFound

View Source
const AccessUnauthorizedCode int = 401

AccessUnauthorizedCode is the HTTP code returned for type AccessUnauthorized

View Source
const ShareCreatedCode int = 201

ShareCreatedCode is the HTTP code returned for type ShareCreated

View Source
const ShareInternalServerErrorCode int = 500

ShareInternalServerErrorCode is the HTTP code returned for type ShareInternalServerError

View Source
const ShareNotFoundCode int = 404

ShareNotFoundCode is the HTTP code returned for type ShareNotFound

View Source
const ShareUnauthorizedCode int = 401

ShareUnauthorizedCode is the HTTP code returned for type ShareUnauthorized

View Source
const UnaccessInternalServerErrorCode int = 500

UnaccessInternalServerErrorCode is the HTTP code returned for type UnaccessInternalServerError

View Source
const UnaccessNotFoundCode int = 404

UnaccessNotFoundCode is the HTTP code returned for type UnaccessNotFound

View Source
const UnaccessOKCode int = 200

UnaccessOKCode is the HTTP code returned for type UnaccessOK

View Source
const UnaccessUnauthorizedCode int = 401

UnaccessUnauthorizedCode is the HTTP code returned for type UnaccessUnauthorized

View Source
const UnshareInternalServerErrorCode int = 500

UnshareInternalServerErrorCode is the HTTP code returned for type UnshareInternalServerError

View Source
const UnshareNotFoundCode int = 404

UnshareNotFoundCode is the HTTP code returned for type UnshareNotFound

View Source
const UnshareOKCode int = 200

UnshareOKCode is the HTTP code returned for type UnshareOK

View Source
const UnshareUnauthorizedCode int = 401

UnshareUnauthorizedCode is the HTTP code returned for type UnshareUnauthorized

View Source
const UpdateShareInternalServerErrorCode int = 500

UpdateShareInternalServerErrorCode is the HTTP code returned for type UpdateShareInternalServerError

View Source
const UpdateShareNotFoundCode int = 404

UpdateShareNotFoundCode is the HTTP code returned for type UpdateShareNotFound

View Source
const UpdateShareOKCode int = 200

UpdateShareOKCode is the HTTP code returned for type UpdateShareOK

View Source
const UpdateShareUnauthorizedCode int = 401

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

func (*Access) ServeHTTP

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

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

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) Build

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

Build a url path and query string

func (*AccessURL) BuildFull

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

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

func (*AccessURL) Must

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

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

func (*AccessURL) SetBasePath

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

func (o *AccessURL) String() string

String returns the string representation of the path with query string

func (*AccessURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AccessURL) WithBasePath

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

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 {
	Context *middleware.Context
	Handler ShareHandler
}
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

func (*Share) ServeHTTP

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

type ShareCreated

type ShareCreated struct {

	/*
	  In: Body
	*/
	Payload *rest_model_zrok.ShareResponse `json:"body,omitempty"`
}

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 {
	Handle(ShareParams, *rest_model_zrok.Principal) middleware.Responder
}

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

Handle executing the request and returning a response

type ShareInternalServerError

type ShareInternalServerError struct {

	/*
	  In: Body
	*/
	Payload rest_model_zrok.ErrorMessage `json:"body,omitempty"`
}

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

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 Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Body *rest_model_zrok.ShareRequest
}

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) Build

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

Build a url path and query string

func (*ShareURL) BuildFull

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

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

func (*ShareURL) Must

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

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

func (*ShareURL) SetBasePath

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

func (o *ShareURL) String() string

String returns the string representation of the path with query string

func (*ShareURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ShareURL) WithBasePath

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

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

func (*Unaccess) ServeHTTP

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

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

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) Must

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

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

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 {
	Context *middleware.Context
	Handler UnshareHandler
}
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

func (*Unshare) ServeHTTP

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

type UnshareHandler

type UnshareHandler interface {
	Handle(UnshareParams, *rest_model_zrok.Principal) middleware.Responder
}

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

Handle executing the request and returning a response

type UnshareInternalServerError

type UnshareInternalServerError struct {

	/*
	  In: Body
	*/
	Payload rest_model_zrok.ErrorMessage `json:"body,omitempty"`
}

UnshareInternalServerError internal server error

swagger:response unshareInternalServerError

func NewUnshareInternalServerError

func NewUnshareInternalServerError() *UnshareInternalServerError

NewUnshareInternalServerError creates UnshareInternalServerError with default headers values

func (*UnshareInternalServerError) SetPayload

SetPayload sets the payload to the unshare internal server error response

func (*UnshareInternalServerError) WithPayload

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 Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Body *rest_model_zrok.UnshareRequest
}

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) Must

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

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

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 {
	Context *middleware.Context
	Handler UpdateShareHandler
}
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 {
	Handle(UpdateShareParams, *rest_model_zrok.Principal) middleware.Responder
}

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

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 Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Body *rest_model_zrok.UpdateShareRequest
}

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL