drivers

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const AddDriverBadRequestCode int = 400

AddDriverBadRequestCode is the HTTP code returned for type AddDriverBadRequest

View Source
const AddDriverConflictCode int = 409

AddDriverConflictCode is the HTTP code returned for type AddDriverConflict

View Source
const AddDriverCreatedCode int = 201

AddDriverCreatedCode is the HTTP code returned for type AddDriverCreated

View Source
const AddDriverForbiddenCode int = 403

AddDriverForbiddenCode is the HTTP code returned for type AddDriverForbidden

View Source
const AddDriverTypeBadRequestCode int = 400

AddDriverTypeBadRequestCode is the HTTP code returned for type AddDriverTypeBadRequest

View Source
const AddDriverTypeConflictCode int = 409

AddDriverTypeConflictCode is the HTTP code returned for type AddDriverTypeConflict

View Source
const AddDriverTypeCreatedCode int = 201

AddDriverTypeCreatedCode is the HTTP code returned for type AddDriverTypeCreated

View Source
const AddDriverTypeForbiddenCode int = 403

AddDriverTypeForbiddenCode is the HTTP code returned for type AddDriverTypeForbidden

View Source
const AddDriverTypeUnauthorizedCode int = 401

AddDriverTypeUnauthorizedCode is the HTTP code returned for type AddDriverTypeUnauthorized

View Source
const AddDriverUnauthorizedCode int = 401

AddDriverUnauthorizedCode is the HTTP code returned for type AddDriverUnauthorized

View Source
const DeleteDriverBadRequestCode int = 400

DeleteDriverBadRequestCode is the HTTP code returned for type DeleteDriverBadRequest

View Source
const DeleteDriverForbiddenCode int = 403

DeleteDriverForbiddenCode is the HTTP code returned for type DeleteDriverForbidden

View Source
const DeleteDriverNotFoundCode int = 404

DeleteDriverNotFoundCode is the HTTP code returned for type DeleteDriverNotFound

View Source
const DeleteDriverOKCode int = 200

DeleteDriverOKCode is the HTTP code returned for type DeleteDriverOK

View Source
const DeleteDriverTypeBadRequestCode int = 400

DeleteDriverTypeBadRequestCode is the HTTP code returned for type DeleteDriverTypeBadRequest

View Source
const DeleteDriverTypeForbiddenCode int = 403

DeleteDriverTypeForbiddenCode is the HTTP code returned for type DeleteDriverTypeForbidden

View Source
const DeleteDriverTypeNotFoundCode int = 404

DeleteDriverTypeNotFoundCode is the HTTP code returned for type DeleteDriverTypeNotFound

View Source
const DeleteDriverTypeOKCode int = 200

DeleteDriverTypeOKCode is the HTTP code returned for type DeleteDriverTypeOK

View Source
const DeleteDriverTypeUnauthorizedCode int = 401

DeleteDriverTypeUnauthorizedCode is the HTTP code returned for type DeleteDriverTypeUnauthorized

View Source
const DeleteDriverUnauthorizedCode int = 401

DeleteDriverUnauthorizedCode is the HTTP code returned for type DeleteDriverUnauthorized

View Source
const GetDriverBadRequestCode int = 400

GetDriverBadRequestCode is the HTTP code returned for type GetDriverBadRequest

View Source
const GetDriverForbiddenCode int = 403

GetDriverForbiddenCode is the HTTP code returned for type GetDriverForbidden

View Source
const GetDriverNotFoundCode int = 404

GetDriverNotFoundCode is the HTTP code returned for type GetDriverNotFound

View Source
const GetDriverOKCode int = 200

GetDriverOKCode is the HTTP code returned for type GetDriverOK

View Source
const GetDriverTypeBadRequestCode int = 400

GetDriverTypeBadRequestCode is the HTTP code returned for type GetDriverTypeBadRequest

View Source
const GetDriverTypeForbiddenCode int = 403

GetDriverTypeForbiddenCode is the HTTP code returned for type GetDriverTypeForbidden

View Source
const GetDriverTypeNotFoundCode int = 404

GetDriverTypeNotFoundCode is the HTTP code returned for type GetDriverTypeNotFound

View Source
const GetDriverTypeOKCode int = 200

GetDriverTypeOKCode is the HTTP code returned for type GetDriverTypeOK

View Source
const GetDriverTypeUnauthorizedCode int = 401

GetDriverTypeUnauthorizedCode is the HTTP code returned for type GetDriverTypeUnauthorized

View Source
const GetDriverTypesForbiddenCode int = 403

GetDriverTypesForbiddenCode is the HTTP code returned for type GetDriverTypesForbidden

View Source
const GetDriverTypesOKCode int = 200

GetDriverTypesOKCode is the HTTP code returned for type GetDriverTypesOK

View Source
const GetDriverTypesUnauthorizedCode int = 401

GetDriverTypesUnauthorizedCode is the HTTP code returned for type GetDriverTypesUnauthorized

View Source
const GetDriverUnauthorizedCode int = 401

GetDriverUnauthorizedCode is the HTTP code returned for type GetDriverUnauthorized

View Source
const GetDriversForbiddenCode int = 403

GetDriversForbiddenCode is the HTTP code returned for type GetDriversForbidden

View Source
const GetDriversOKCode int = 200

GetDriversOKCode is the HTTP code returned for type GetDriversOK

View Source
const GetDriversUnauthorizedCode int = 401

GetDriversUnauthorizedCode is the HTTP code returned for type GetDriversUnauthorized

View Source
const UpdateDriverBadRequestCode int = 400

UpdateDriverBadRequestCode is the HTTP code returned for type UpdateDriverBadRequest

View Source
const UpdateDriverForbiddenCode int = 403

UpdateDriverForbiddenCode is the HTTP code returned for type UpdateDriverForbidden

View Source
const UpdateDriverNotFoundCode int = 404

UpdateDriverNotFoundCode is the HTTP code returned for type UpdateDriverNotFound

View Source
const UpdateDriverOKCode int = 200

UpdateDriverOKCode is the HTTP code returned for type UpdateDriverOK

View Source
const UpdateDriverTypeBadRequestCode int = 400

UpdateDriverTypeBadRequestCode is the HTTP code returned for type UpdateDriverTypeBadRequest

View Source
const UpdateDriverTypeForbiddenCode int = 403

UpdateDriverTypeForbiddenCode is the HTTP code returned for type UpdateDriverTypeForbidden

View Source
const UpdateDriverTypeNotFoundCode int = 404

UpdateDriverTypeNotFoundCode is the HTTP code returned for type UpdateDriverTypeNotFound

View Source
const UpdateDriverTypeOKCode int = 200

UpdateDriverTypeOKCode is the HTTP code returned for type UpdateDriverTypeOK

View Source
const UpdateDriverTypeUnauthorizedCode int = 401

UpdateDriverTypeUnauthorizedCode is the HTTP code returned for type UpdateDriverTypeUnauthorized

View Source
const UpdateDriverUnauthorizedCode int = 401

UpdateDriverUnauthorizedCode is the HTTP code returned for type UpdateDriverUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type AddDriver

type AddDriver struct {
	Context *middleware.Context
	Handler AddDriverHandler
}

AddDriver swagger:route POST /drivers drivers addDriver

Create a new driver

func NewAddDriver

func NewAddDriver(ctx *middleware.Context, handler AddDriverHandler) *AddDriver

NewAddDriver creates a new http.Handler for the add driver operation

func (*AddDriver) ServeHTTP

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

type AddDriverBadRequest

type AddDriverBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddDriverBadRequest Invalid input

swagger:response addDriverBadRequest

func NewAddDriverBadRequest

func NewAddDriverBadRequest() *AddDriverBadRequest

NewAddDriverBadRequest creates AddDriverBadRequest with default headers values

func (*AddDriverBadRequest) SetPayload

func (o *AddDriverBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add driver bad request response

func (*AddDriverBadRequest) WithPayload

func (o *AddDriverBadRequest) WithPayload(payload *v1.Error) *AddDriverBadRequest

WithPayload adds the payload to the add driver bad request response

func (*AddDriverBadRequest) WriteResponse

func (o *AddDriverBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddDriverConflict added in v0.1.13

type AddDriverConflict struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddDriverConflict Already Exists

swagger:response addDriverConflict

func NewAddDriverConflict added in v0.1.13

func NewAddDriverConflict() *AddDriverConflict

NewAddDriverConflict creates AddDriverConflict with default headers values

func (*AddDriverConflict) SetPayload added in v0.1.13

func (o *AddDriverConflict) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add driver conflict response

func (*AddDriverConflict) WithPayload added in v0.1.13

func (o *AddDriverConflict) WithPayload(payload *v1.Error) *AddDriverConflict

WithPayload adds the payload to the add driver conflict response

func (*AddDriverConflict) WriteResponse added in v0.1.13

func (o *AddDriverConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddDriverCreated

type AddDriverCreated struct {

	/*
	  In: Body
	*/
	Payload *v1.EventDriver `json:"body,omitempty"`
}

AddDriverCreated Driver created

swagger:response addDriverCreated

func NewAddDriverCreated

func NewAddDriverCreated() *AddDriverCreated

NewAddDriverCreated creates AddDriverCreated with default headers values

func (*AddDriverCreated) SetPayload

func (o *AddDriverCreated) SetPayload(payload *v1.EventDriver)

SetPayload sets the payload to the add driver created response

func (*AddDriverCreated) WithPayload

func (o *AddDriverCreated) WithPayload(payload *v1.EventDriver) *AddDriverCreated

WithPayload adds the payload to the add driver created response

func (*AddDriverCreated) WriteResponse

func (o *AddDriverCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddDriverDefault

type AddDriverDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

AddDriverDefault Unknown error

swagger:response addDriverDefault

func NewAddDriverDefault

func NewAddDriverDefault(code int) *AddDriverDefault

NewAddDriverDefault creates AddDriverDefault with default headers values

func (*AddDriverDefault) SetPayload

func (o *AddDriverDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add driver default response

func (*AddDriverDefault) SetStatusCode

func (o *AddDriverDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add driver default response

func (*AddDriverDefault) WithPayload

func (o *AddDriverDefault) WithPayload(payload *v1.Error) *AddDriverDefault

WithPayload adds the payload to the add driver default response

func (*AddDriverDefault) WithStatusCode

func (o *AddDriverDefault) WithStatusCode(code int) *AddDriverDefault

WithStatusCode adds the status to the add driver default response

func (*AddDriverDefault) WriteResponse

func (o *AddDriverDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddDriverForbidden added in v0.1.18

type AddDriverForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddDriverForbidden access to this resource is forbidden

swagger:response addDriverForbidden

func NewAddDriverForbidden added in v0.1.18

func NewAddDriverForbidden() *AddDriverForbidden

NewAddDriverForbidden creates AddDriverForbidden with default headers values

func (*AddDriverForbidden) SetPayload added in v0.1.18

func (o *AddDriverForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add driver forbidden response

func (*AddDriverForbidden) WithPayload added in v0.1.18

func (o *AddDriverForbidden) WithPayload(payload *v1.Error) *AddDriverForbidden

WithPayload adds the payload to the add driver forbidden response

func (*AddDriverForbidden) WriteResponse added in v0.1.18

func (o *AddDriverForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddDriverHandler

type AddDriverHandler interface {
	Handle(AddDriverParams, interface{}) middleware.Responder
}

AddDriverHandler interface for that can handle valid add driver params

type AddDriverHandlerFunc

type AddDriverHandlerFunc func(AddDriverParams, interface{}) middleware.Responder

AddDriverHandlerFunc turns a function with the right signature into a add driver handler

func (AddDriverHandlerFunc) Handle

func (fn AddDriverHandlerFunc) Handle(params AddDriverParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type AddDriverParams

type AddDriverParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*driver object
	  Required: true
	  In: body
	*/
	Body *v1.EventDriver
}

AddDriverParams contains all the bound params for the add driver operation typically these are obtained from a http.Request

swagger:parameters addDriver

func NewAddDriverParams

func NewAddDriverParams() AddDriverParams

NewAddDriverParams creates a new AddDriverParams object no default values defined in spec.

func (*AddDriverParams) BindRequest

func (o *AddDriverParams) 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 NewAddDriverParams() beforehand.

type AddDriverType added in v0.1.13

type AddDriverType struct {
	Context *middleware.Context
	Handler AddDriverTypeHandler
}

AddDriverType swagger:route POST /drivertypes drivers addDriverType

Create a new driver type

func NewAddDriverType added in v0.1.13

func NewAddDriverType(ctx *middleware.Context, handler AddDriverTypeHandler) *AddDriverType

NewAddDriverType creates a new http.Handler for the add driver type operation

func (*AddDriverType) ServeHTTP added in v0.1.13

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

type AddDriverTypeBadRequest added in v0.1.13

type AddDriverTypeBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddDriverTypeBadRequest Invalid input

swagger:response addDriverTypeBadRequest

func NewAddDriverTypeBadRequest added in v0.1.13

func NewAddDriverTypeBadRequest() *AddDriverTypeBadRequest

NewAddDriverTypeBadRequest creates AddDriverTypeBadRequest with default headers values

func (*AddDriverTypeBadRequest) SetPayload added in v0.1.13

func (o *AddDriverTypeBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add driver type bad request response

func (*AddDriverTypeBadRequest) WithPayload added in v0.1.13

func (o *AddDriverTypeBadRequest) WithPayload(payload *v1.Error) *AddDriverTypeBadRequest

WithPayload adds the payload to the add driver type bad request response

func (*AddDriverTypeBadRequest) WriteResponse added in v0.1.13

func (o *AddDriverTypeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddDriverTypeConflict added in v0.1.13

type AddDriverTypeConflict struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddDriverTypeConflict Already Exists

swagger:response addDriverTypeConflict

func NewAddDriverTypeConflict added in v0.1.13

func NewAddDriverTypeConflict() *AddDriverTypeConflict

NewAddDriverTypeConflict creates AddDriverTypeConflict with default headers values

func (*AddDriverTypeConflict) SetPayload added in v0.1.13

func (o *AddDriverTypeConflict) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add driver type conflict response

func (*AddDriverTypeConflict) WithPayload added in v0.1.13

func (o *AddDriverTypeConflict) WithPayload(payload *v1.Error) *AddDriverTypeConflict

WithPayload adds the payload to the add driver type conflict response

func (*AddDriverTypeConflict) WriteResponse added in v0.1.13

func (o *AddDriverTypeConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddDriverTypeCreated added in v0.1.13

type AddDriverTypeCreated struct {

	/*
	  In: Body
	*/
	Payload *v1.EventDriverType `json:"body,omitempty"`
}

AddDriverTypeCreated Driver Type created

swagger:response addDriverTypeCreated

func NewAddDriverTypeCreated added in v0.1.13

func NewAddDriverTypeCreated() *AddDriverTypeCreated

NewAddDriverTypeCreated creates AddDriverTypeCreated with default headers values

func (*AddDriverTypeCreated) SetPayload added in v0.1.13

func (o *AddDriverTypeCreated) SetPayload(payload *v1.EventDriverType)

SetPayload sets the payload to the add driver type created response

func (*AddDriverTypeCreated) WithPayload added in v0.1.13

func (o *AddDriverTypeCreated) WithPayload(payload *v1.EventDriverType) *AddDriverTypeCreated

WithPayload adds the payload to the add driver type created response

func (*AddDriverTypeCreated) WriteResponse added in v0.1.13

func (o *AddDriverTypeCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddDriverTypeDefault added in v0.1.13

type AddDriverTypeDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

AddDriverTypeDefault Unknown error

swagger:response addDriverTypeDefault

func NewAddDriverTypeDefault added in v0.1.13

func NewAddDriverTypeDefault(code int) *AddDriverTypeDefault

NewAddDriverTypeDefault creates AddDriverTypeDefault with default headers values

func (*AddDriverTypeDefault) SetPayload added in v0.1.13

func (o *AddDriverTypeDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add driver type default response

func (*AddDriverTypeDefault) SetStatusCode added in v0.1.13

func (o *AddDriverTypeDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add driver type default response

func (*AddDriverTypeDefault) WithPayload added in v0.1.13

func (o *AddDriverTypeDefault) WithPayload(payload *v1.Error) *AddDriverTypeDefault

WithPayload adds the payload to the add driver type default response

func (*AddDriverTypeDefault) WithStatusCode added in v0.1.13

func (o *AddDriverTypeDefault) WithStatusCode(code int) *AddDriverTypeDefault

WithStatusCode adds the status to the add driver type default response

func (*AddDriverTypeDefault) WriteResponse added in v0.1.13

func (o *AddDriverTypeDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddDriverTypeForbidden added in v0.1.18

type AddDriverTypeForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddDriverTypeForbidden access to this resource is forbidden

swagger:response addDriverTypeForbidden

func NewAddDriverTypeForbidden added in v0.1.18

func NewAddDriverTypeForbidden() *AddDriverTypeForbidden

NewAddDriverTypeForbidden creates AddDriverTypeForbidden with default headers values

func (*AddDriverTypeForbidden) SetPayload added in v0.1.18

func (o *AddDriverTypeForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add driver type forbidden response

func (*AddDriverTypeForbidden) WithPayload added in v0.1.18

func (o *AddDriverTypeForbidden) WithPayload(payload *v1.Error) *AddDriverTypeForbidden

WithPayload adds the payload to the add driver type forbidden response

func (*AddDriverTypeForbidden) WriteResponse added in v0.1.18

func (o *AddDriverTypeForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddDriverTypeHandler added in v0.1.13

type AddDriverTypeHandler interface {
	Handle(AddDriverTypeParams, interface{}) middleware.Responder
}

AddDriverTypeHandler interface for that can handle valid add driver type params

type AddDriverTypeHandlerFunc added in v0.1.13

type AddDriverTypeHandlerFunc func(AddDriverTypeParams, interface{}) middleware.Responder

AddDriverTypeHandlerFunc turns a function with the right signature into a add driver type handler

func (AddDriverTypeHandlerFunc) Handle added in v0.1.13

func (fn AddDriverTypeHandlerFunc) Handle(params AddDriverTypeParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type AddDriverTypeParams added in v0.1.13

type AddDriverTypeParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*driver type object
	  Required: true
	  In: body
	*/
	Body *v1.EventDriverType
}

AddDriverTypeParams contains all the bound params for the add driver type operation typically these are obtained from a http.Request

swagger:parameters addDriverType

func NewAddDriverTypeParams added in v0.1.13

func NewAddDriverTypeParams() AddDriverTypeParams

NewAddDriverTypeParams creates a new AddDriverTypeParams object no default values defined in spec.

func (*AddDriverTypeParams) BindRequest added in v0.1.13

func (o *AddDriverTypeParams) 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 NewAddDriverTypeParams() beforehand.

type AddDriverTypeURL added in v0.1.13

type AddDriverTypeURL struct {
	// contains filtered or unexported fields
}

AddDriverTypeURL generates an URL for the add driver type operation

func (*AddDriverTypeURL) Build added in v0.1.13

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

Build a url path and query string

func (*AddDriverTypeURL) BuildFull added in v0.1.13

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

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

func (*AddDriverTypeURL) Must added in v0.1.13

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

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

func (*AddDriverTypeURL) SetBasePath added in v0.1.13

func (o *AddDriverTypeURL) 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 (*AddDriverTypeURL) String added in v0.1.13

func (o *AddDriverTypeURL) String() string

String returns the string representation of the path with query string

func (*AddDriverTypeURL) StringFull added in v0.1.13

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

StringFull returns the string representation of a complete url

func (*AddDriverTypeURL) WithBasePath added in v0.1.13

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

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 AddDriverTypeUnauthorized added in v0.1.13

type AddDriverTypeUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddDriverTypeUnauthorized Unauthorized Request

swagger:response addDriverTypeUnauthorized

func NewAddDriverTypeUnauthorized added in v0.1.13

func NewAddDriverTypeUnauthorized() *AddDriverTypeUnauthorized

NewAddDriverTypeUnauthorized creates AddDriverTypeUnauthorized with default headers values

func (*AddDriverTypeUnauthorized) SetPayload added in v0.1.13

func (o *AddDriverTypeUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add driver type unauthorized response

func (*AddDriverTypeUnauthorized) WithPayload added in v0.1.13

func (o *AddDriverTypeUnauthorized) WithPayload(payload *v1.Error) *AddDriverTypeUnauthorized

WithPayload adds the payload to the add driver type unauthorized response

func (*AddDriverTypeUnauthorized) WriteResponse added in v0.1.13

func (o *AddDriverTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddDriverURL

type AddDriverURL struct {
	// contains filtered or unexported fields
}

AddDriverURL generates an URL for the add driver operation

func (*AddDriverURL) Build

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

Build a url path and query string

func (*AddDriverURL) BuildFull

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

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

func (*AddDriverURL) Must

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

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

func (*AddDriverURL) SetBasePath

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

func (o *AddDriverURL) String() string

String returns the string representation of the path with query string

func (*AddDriverURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddDriverURL) WithBasePath

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

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 AddDriverUnauthorized

type AddDriverUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddDriverUnauthorized Unauthorized Request

swagger:response addDriverUnauthorized

func NewAddDriverUnauthorized

func NewAddDriverUnauthorized() *AddDriverUnauthorized

NewAddDriverUnauthorized creates AddDriverUnauthorized with default headers values

func (*AddDriverUnauthorized) SetPayload

func (o *AddDriverUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add driver unauthorized response

func (*AddDriverUnauthorized) WithPayload

func (o *AddDriverUnauthorized) WithPayload(payload *v1.Error) *AddDriverUnauthorized

WithPayload adds the payload to the add driver unauthorized response

func (*AddDriverUnauthorized) WriteResponse

func (o *AddDriverUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteDriver

type DeleteDriver struct {
	Context *middleware.Context
	Handler DeleteDriverHandler
}

DeleteDriver swagger:route DELETE /drivers/{driverName} drivers deleteDriver

Deletes a driver

func NewDeleteDriver

func NewDeleteDriver(ctx *middleware.Context, handler DeleteDriverHandler) *DeleteDriver

NewDeleteDriver creates a new http.Handler for the delete driver operation

func (*DeleteDriver) ServeHTTP

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

type DeleteDriverBadRequest

type DeleteDriverBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteDriverBadRequest Invalid ID supplied

swagger:response deleteDriverBadRequest

func NewDeleteDriverBadRequest

func NewDeleteDriverBadRequest() *DeleteDriverBadRequest

NewDeleteDriverBadRequest creates DeleteDriverBadRequest with default headers values

func (*DeleteDriverBadRequest) SetPayload

func (o *DeleteDriverBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete driver bad request response

func (*DeleteDriverBadRequest) WithPayload

func (o *DeleteDriverBadRequest) WithPayload(payload *v1.Error) *DeleteDriverBadRequest

WithPayload adds the payload to the delete driver bad request response

func (*DeleteDriverBadRequest) WriteResponse

func (o *DeleteDriverBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteDriverDefault

type DeleteDriverDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

DeleteDriverDefault Generic error response

swagger:response deleteDriverDefault

func NewDeleteDriverDefault

func NewDeleteDriverDefault(code int) *DeleteDriverDefault

NewDeleteDriverDefault creates DeleteDriverDefault with default headers values

func (*DeleteDriverDefault) SetPayload

func (o *DeleteDriverDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete driver default response

func (*DeleteDriverDefault) SetStatusCode

func (o *DeleteDriverDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete driver default response

func (*DeleteDriverDefault) WithPayload

func (o *DeleteDriverDefault) WithPayload(payload *v1.Error) *DeleteDriverDefault

WithPayload adds the payload to the delete driver default response

func (*DeleteDriverDefault) WithStatusCode

func (o *DeleteDriverDefault) WithStatusCode(code int) *DeleteDriverDefault

WithStatusCode adds the status to the delete driver default response

func (*DeleteDriverDefault) WriteResponse

func (o *DeleteDriverDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteDriverForbidden added in v0.1.18

type DeleteDriverForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteDriverForbidden access to this resource is forbidden

swagger:response deleteDriverForbidden

func NewDeleteDriverForbidden added in v0.1.18

func NewDeleteDriverForbidden() *DeleteDriverForbidden

NewDeleteDriverForbidden creates DeleteDriverForbidden with default headers values

func (*DeleteDriverForbidden) SetPayload added in v0.1.18

func (o *DeleteDriverForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete driver forbidden response

func (*DeleteDriverForbidden) WithPayload added in v0.1.18

func (o *DeleteDriverForbidden) WithPayload(payload *v1.Error) *DeleteDriverForbidden

WithPayload adds the payload to the delete driver forbidden response

func (*DeleteDriverForbidden) WriteResponse added in v0.1.18

func (o *DeleteDriverForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteDriverHandler

type DeleteDriverHandler interface {
	Handle(DeleteDriverParams, interface{}) middleware.Responder
}

DeleteDriverHandler interface for that can handle valid delete driver params

type DeleteDriverHandlerFunc

type DeleteDriverHandlerFunc func(DeleteDriverParams, interface{}) middleware.Responder

DeleteDriverHandlerFunc turns a function with the right signature into a delete driver handler

func (DeleteDriverHandlerFunc) Handle

func (fn DeleteDriverHandlerFunc) Handle(params DeleteDriverParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteDriverNotFound

type DeleteDriverNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteDriverNotFound Driver not found

swagger:response deleteDriverNotFound

func NewDeleteDriverNotFound

func NewDeleteDriverNotFound() *DeleteDriverNotFound

NewDeleteDriverNotFound creates DeleteDriverNotFound with default headers values

func (*DeleteDriverNotFound) SetPayload

func (o *DeleteDriverNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete driver not found response

func (*DeleteDriverNotFound) WithPayload

func (o *DeleteDriverNotFound) WithPayload(payload *v1.Error) *DeleteDriverNotFound

WithPayload adds the payload to the delete driver not found response

func (*DeleteDriverNotFound) WriteResponse

func (o *DeleteDriverNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteDriverOK

type DeleteDriverOK struct {

	/*
	  In: Body
	*/
	Payload *v1.EventDriver `json:"body,omitempty"`
}

DeleteDriverOK successful operation

swagger:response deleteDriverOK

func NewDeleteDriverOK

func NewDeleteDriverOK() *DeleteDriverOK

NewDeleteDriverOK creates DeleteDriverOK with default headers values

func (*DeleteDriverOK) SetPayload

func (o *DeleteDriverOK) SetPayload(payload *v1.EventDriver)

SetPayload sets the payload to the delete driver o k response

func (*DeleteDriverOK) WithPayload

func (o *DeleteDriverOK) WithPayload(payload *v1.EventDriver) *DeleteDriverOK

WithPayload adds the payload to the delete driver o k response

func (*DeleteDriverOK) WriteResponse

func (o *DeleteDriverOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteDriverParams

type DeleteDriverParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of the driver to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	DriverName string
	/*Filter based on tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

DeleteDriverParams contains all the bound params for the delete driver operation typically these are obtained from a http.Request

swagger:parameters deleteDriver

func NewDeleteDriverParams

func NewDeleteDriverParams() DeleteDriverParams

NewDeleteDriverParams creates a new DeleteDriverParams object no default values defined in spec.

func (*DeleteDriverParams) BindRequest

func (o *DeleteDriverParams) 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 NewDeleteDriverParams() beforehand.

type DeleteDriverType added in v0.1.13

type DeleteDriverType struct {
	Context *middleware.Context
	Handler DeleteDriverTypeHandler
}

DeleteDriverType swagger:route DELETE /drivertypes/{driverTypeName} drivers deleteDriverType

Deletes a driver type

func NewDeleteDriverType added in v0.1.13

func NewDeleteDriverType(ctx *middleware.Context, handler DeleteDriverTypeHandler) *DeleteDriverType

NewDeleteDriverType creates a new http.Handler for the delete driver type operation

func (*DeleteDriverType) ServeHTTP added in v0.1.13

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

type DeleteDriverTypeBadRequest added in v0.1.13

type DeleteDriverTypeBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteDriverTypeBadRequest Invalid ID supplied

swagger:response deleteDriverTypeBadRequest

func NewDeleteDriverTypeBadRequest added in v0.1.13

func NewDeleteDriverTypeBadRequest() *DeleteDriverTypeBadRequest

NewDeleteDriverTypeBadRequest creates DeleteDriverTypeBadRequest with default headers values

func (*DeleteDriverTypeBadRequest) SetPayload added in v0.1.13

func (o *DeleteDriverTypeBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete driver type bad request response

func (*DeleteDriverTypeBadRequest) WithPayload added in v0.1.13

WithPayload adds the payload to the delete driver type bad request response

func (*DeleteDriverTypeBadRequest) WriteResponse added in v0.1.13

func (o *DeleteDriverTypeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteDriverTypeDefault added in v0.1.13

type DeleteDriverTypeDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

DeleteDriverTypeDefault Generic error response

swagger:response deleteDriverTypeDefault

func NewDeleteDriverTypeDefault added in v0.1.13

func NewDeleteDriverTypeDefault(code int) *DeleteDriverTypeDefault

NewDeleteDriverTypeDefault creates DeleteDriverTypeDefault with default headers values

func (*DeleteDriverTypeDefault) SetPayload added in v0.1.13

func (o *DeleteDriverTypeDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete driver type default response

func (*DeleteDriverTypeDefault) SetStatusCode added in v0.1.13

func (o *DeleteDriverTypeDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete driver type default response

func (*DeleteDriverTypeDefault) WithPayload added in v0.1.13

func (o *DeleteDriverTypeDefault) WithPayload(payload *v1.Error) *DeleteDriverTypeDefault

WithPayload adds the payload to the delete driver type default response

func (*DeleteDriverTypeDefault) WithStatusCode added in v0.1.13

func (o *DeleteDriverTypeDefault) WithStatusCode(code int) *DeleteDriverTypeDefault

WithStatusCode adds the status to the delete driver type default response

func (*DeleteDriverTypeDefault) WriteResponse added in v0.1.13

func (o *DeleteDriverTypeDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteDriverTypeForbidden added in v0.1.18

type DeleteDriverTypeForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteDriverTypeForbidden access to this resource is forbidden

swagger:response deleteDriverTypeForbidden

func NewDeleteDriverTypeForbidden added in v0.1.18

func NewDeleteDriverTypeForbidden() *DeleteDriverTypeForbidden

NewDeleteDriverTypeForbidden creates DeleteDriverTypeForbidden with default headers values

func (*DeleteDriverTypeForbidden) SetPayload added in v0.1.18

func (o *DeleteDriverTypeForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete driver type forbidden response

func (*DeleteDriverTypeForbidden) WithPayload added in v0.1.18

func (o *DeleteDriverTypeForbidden) WithPayload(payload *v1.Error) *DeleteDriverTypeForbidden

WithPayload adds the payload to the delete driver type forbidden response

func (*DeleteDriverTypeForbidden) WriteResponse added in v0.1.18

func (o *DeleteDriverTypeForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteDriverTypeHandler added in v0.1.13

type DeleteDriverTypeHandler interface {
	Handle(DeleteDriverTypeParams, interface{}) middleware.Responder
}

DeleteDriverTypeHandler interface for that can handle valid delete driver type params

type DeleteDriverTypeHandlerFunc added in v0.1.13

type DeleteDriverTypeHandlerFunc func(DeleteDriverTypeParams, interface{}) middleware.Responder

DeleteDriverTypeHandlerFunc turns a function with the right signature into a delete driver type handler

func (DeleteDriverTypeHandlerFunc) Handle added in v0.1.13

func (fn DeleteDriverTypeHandlerFunc) Handle(params DeleteDriverTypeParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteDriverTypeNotFound added in v0.1.13

type DeleteDriverTypeNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteDriverTypeNotFound Driver not found

swagger:response deleteDriverTypeNotFound

func NewDeleteDriverTypeNotFound added in v0.1.13

func NewDeleteDriverTypeNotFound() *DeleteDriverTypeNotFound

NewDeleteDriverTypeNotFound creates DeleteDriverTypeNotFound with default headers values

func (*DeleteDriverTypeNotFound) SetPayload added in v0.1.13

func (o *DeleteDriverTypeNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete driver type not found response

func (*DeleteDriverTypeNotFound) WithPayload added in v0.1.13

func (o *DeleteDriverTypeNotFound) WithPayload(payload *v1.Error) *DeleteDriverTypeNotFound

WithPayload adds the payload to the delete driver type not found response

func (*DeleteDriverTypeNotFound) WriteResponse added in v0.1.13

func (o *DeleteDriverTypeNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteDriverTypeOK added in v0.1.13

type DeleteDriverTypeOK struct {

	/*
	  In: Body
	*/
	Payload *v1.EventDriverType `json:"body,omitempty"`
}

DeleteDriverTypeOK successful operation

swagger:response deleteDriverTypeOK

func NewDeleteDriverTypeOK added in v0.1.13

func NewDeleteDriverTypeOK() *DeleteDriverTypeOK

NewDeleteDriverTypeOK creates DeleteDriverTypeOK with default headers values

func (*DeleteDriverTypeOK) SetPayload added in v0.1.13

func (o *DeleteDriverTypeOK) SetPayload(payload *v1.EventDriverType)

SetPayload sets the payload to the delete driver type o k response

func (*DeleteDriverTypeOK) WithPayload added in v0.1.13

func (o *DeleteDriverTypeOK) WithPayload(payload *v1.EventDriverType) *DeleteDriverTypeOK

WithPayload adds the payload to the delete driver type o k response

func (*DeleteDriverTypeOK) WriteResponse added in v0.1.13

func (o *DeleteDriverTypeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteDriverTypeParams added in v0.1.13

type DeleteDriverTypeParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of the driver type to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	DriverTypeName string
	/*Filter based on tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

DeleteDriverTypeParams contains all the bound params for the delete driver type operation typically these are obtained from a http.Request

swagger:parameters deleteDriverType

func NewDeleteDriverTypeParams added in v0.1.13

func NewDeleteDriverTypeParams() DeleteDriverTypeParams

NewDeleteDriverTypeParams creates a new DeleteDriverTypeParams object no default values defined in spec.

func (*DeleteDriverTypeParams) BindRequest added in v0.1.13

func (o *DeleteDriverTypeParams) 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 NewDeleteDriverTypeParams() beforehand.

type DeleteDriverTypeURL added in v0.1.13

type DeleteDriverTypeURL struct {
	DriverTypeName string

	Tags []string
	// contains filtered or unexported fields
}

DeleteDriverTypeURL generates an URL for the delete driver type operation

func (*DeleteDriverTypeURL) Build added in v0.1.13

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

Build a url path and query string

func (*DeleteDriverTypeURL) BuildFull added in v0.1.13

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

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

func (*DeleteDriverTypeURL) Must added in v0.1.13

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

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

func (*DeleteDriverTypeURL) SetBasePath added in v0.1.13

func (o *DeleteDriverTypeURL) 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 (*DeleteDriverTypeURL) String added in v0.1.13

func (o *DeleteDriverTypeURL) String() string

String returns the string representation of the path with query string

func (*DeleteDriverTypeURL) StringFull added in v0.1.13

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

StringFull returns the string representation of a complete url

func (*DeleteDriverTypeURL) WithBasePath added in v0.1.13

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

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 DeleteDriverTypeUnauthorized added in v0.1.18

type DeleteDriverTypeUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteDriverTypeUnauthorized Unauthorized Request

swagger:response deleteDriverTypeUnauthorized

func NewDeleteDriverTypeUnauthorized added in v0.1.18

func NewDeleteDriverTypeUnauthorized() *DeleteDriverTypeUnauthorized

NewDeleteDriverTypeUnauthorized creates DeleteDriverTypeUnauthorized with default headers values

func (*DeleteDriverTypeUnauthorized) SetPayload added in v0.1.18

func (o *DeleteDriverTypeUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete driver type unauthorized response

func (*DeleteDriverTypeUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the delete driver type unauthorized response

func (*DeleteDriverTypeUnauthorized) WriteResponse added in v0.1.18

func (o *DeleteDriverTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteDriverURL

type DeleteDriverURL struct {
	DriverName string

	Tags []string
	// contains filtered or unexported fields
}

DeleteDriverURL generates an URL for the delete driver operation

func (*DeleteDriverURL) Build

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

Build a url path and query string

func (*DeleteDriverURL) BuildFull

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

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

func (*DeleteDriverURL) Must

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

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

func (*DeleteDriverURL) SetBasePath

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

func (o *DeleteDriverURL) String() string

String returns the string representation of the path with query string

func (*DeleteDriverURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteDriverURL) WithBasePath

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

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 DeleteDriverUnauthorized added in v0.1.18

type DeleteDriverUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteDriverUnauthorized Unauthorized Request

swagger:response deleteDriverUnauthorized

func NewDeleteDriverUnauthorized added in v0.1.18

func NewDeleteDriverUnauthorized() *DeleteDriverUnauthorized

NewDeleteDriverUnauthorized creates DeleteDriverUnauthorized with default headers values

func (*DeleteDriverUnauthorized) SetPayload added in v0.1.18

func (o *DeleteDriverUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete driver unauthorized response

func (*DeleteDriverUnauthorized) WithPayload added in v0.1.18

func (o *DeleteDriverUnauthorized) WithPayload(payload *v1.Error) *DeleteDriverUnauthorized

WithPayload adds the payload to the delete driver unauthorized response

func (*DeleteDriverUnauthorized) WriteResponse added in v0.1.18

func (o *DeleteDriverUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriver

type GetDriver struct {
	Context *middleware.Context
	Handler GetDriverHandler
}

GetDriver swagger:route GET /drivers/{driverName} drivers getDriver

Find driver by Name

Returns a single driver

func NewGetDriver

func NewGetDriver(ctx *middleware.Context, handler GetDriverHandler) *GetDriver

NewGetDriver creates a new http.Handler for the get driver operation

func (*GetDriver) ServeHTTP

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

type GetDriverBadRequest

type GetDriverBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetDriverBadRequest Invalid Name supplied

swagger:response getDriverBadRequest

func NewGetDriverBadRequest

func NewGetDriverBadRequest() *GetDriverBadRequest

NewGetDriverBadRequest creates GetDriverBadRequest with default headers values

func (*GetDriverBadRequest) SetPayload

func (o *GetDriverBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get driver bad request response

func (*GetDriverBadRequest) WithPayload

func (o *GetDriverBadRequest) WithPayload(payload *v1.Error) *GetDriverBadRequest

WithPayload adds the payload to the get driver bad request response

func (*GetDriverBadRequest) WriteResponse

func (o *GetDriverBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriverDefault

type GetDriverDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetDriverDefault Unknown error

swagger:response getDriverDefault

func NewGetDriverDefault

func NewGetDriverDefault(code int) *GetDriverDefault

NewGetDriverDefault creates GetDriverDefault with default headers values

func (*GetDriverDefault) SetPayload

func (o *GetDriverDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get driver default response

func (*GetDriverDefault) SetStatusCode

func (o *GetDriverDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get driver default response

func (*GetDriverDefault) WithPayload

func (o *GetDriverDefault) WithPayload(payload *v1.Error) *GetDriverDefault

WithPayload adds the payload to the get driver default response

func (*GetDriverDefault) WithStatusCode

func (o *GetDriverDefault) WithStatusCode(code int) *GetDriverDefault

WithStatusCode adds the status to the get driver default response

func (*GetDriverDefault) WriteResponse

func (o *GetDriverDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriverForbidden added in v0.1.18

type GetDriverForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetDriverForbidden access to this resource is forbidden

swagger:response getDriverForbidden

func NewGetDriverForbidden added in v0.1.18

func NewGetDriverForbidden() *GetDriverForbidden

NewGetDriverForbidden creates GetDriverForbidden with default headers values

func (*GetDriverForbidden) SetPayload added in v0.1.18

func (o *GetDriverForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get driver forbidden response

func (*GetDriverForbidden) WithPayload added in v0.1.18

func (o *GetDriverForbidden) WithPayload(payload *v1.Error) *GetDriverForbidden

WithPayload adds the payload to the get driver forbidden response

func (*GetDriverForbidden) WriteResponse added in v0.1.18

func (o *GetDriverForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriverHandler

type GetDriverHandler interface {
	Handle(GetDriverParams, interface{}) middleware.Responder
}

GetDriverHandler interface for that can handle valid get driver params

type GetDriverHandlerFunc

type GetDriverHandlerFunc func(GetDriverParams, interface{}) middleware.Responder

GetDriverHandlerFunc turns a function with the right signature into a get driver handler

func (GetDriverHandlerFunc) Handle

func (fn GetDriverHandlerFunc) Handle(params GetDriverParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetDriverNotFound

type GetDriverNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetDriverNotFound Driver not found

swagger:response getDriverNotFound

func NewGetDriverNotFound

func NewGetDriverNotFound() *GetDriverNotFound

NewGetDriverNotFound creates GetDriverNotFound with default headers values

func (*GetDriverNotFound) SetPayload

func (o *GetDriverNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get driver not found response

func (*GetDriverNotFound) WithPayload

func (o *GetDriverNotFound) WithPayload(payload *v1.Error) *GetDriverNotFound

WithPayload adds the payload to the get driver not found response

func (*GetDriverNotFound) WriteResponse

func (o *GetDriverNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriverOK

type GetDriverOK struct {

	/*
	  In: Body
	*/
	Payload *v1.EventDriver `json:"body,omitempty"`
}

GetDriverOK Successful operation

swagger:response getDriverOK

func NewGetDriverOK

func NewGetDriverOK() *GetDriverOK

NewGetDriverOK creates GetDriverOK with default headers values

func (*GetDriverOK) SetPayload

func (o *GetDriverOK) SetPayload(payload *v1.EventDriver)

SetPayload sets the payload to the get driver o k response

func (*GetDriverOK) WithPayload

func (o *GetDriverOK) WithPayload(payload *v1.EventDriver) *GetDriverOK

WithPayload adds the payload to the get driver o k response

func (*GetDriverOK) WriteResponse

func (o *GetDriverOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriverParams

type GetDriverParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of the driver to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	DriverName string
	/*Filter based on tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

GetDriverParams contains all the bound params for the get driver operation typically these are obtained from a http.Request

swagger:parameters getDriver

func NewGetDriverParams

func NewGetDriverParams() GetDriverParams

NewGetDriverParams creates a new GetDriverParams object no default values defined in spec.

func (*GetDriverParams) BindRequest

func (o *GetDriverParams) 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 NewGetDriverParams() beforehand.

type GetDriverType added in v0.1.13

type GetDriverType struct {
	Context *middleware.Context
	Handler GetDriverTypeHandler
}

GetDriverType swagger:route GET /drivertypes/{driverTypeName} drivers getDriverType

Find driver type by Name

Returns a single driver type

func NewGetDriverType added in v0.1.13

func NewGetDriverType(ctx *middleware.Context, handler GetDriverTypeHandler) *GetDriverType

NewGetDriverType creates a new http.Handler for the get driver type operation

func (*GetDriverType) ServeHTTP added in v0.1.13

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

type GetDriverTypeBadRequest added in v0.1.13

type GetDriverTypeBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetDriverTypeBadRequest Invalid Name supplied

swagger:response getDriverTypeBadRequest

func NewGetDriverTypeBadRequest added in v0.1.13

func NewGetDriverTypeBadRequest() *GetDriverTypeBadRequest

NewGetDriverTypeBadRequest creates GetDriverTypeBadRequest with default headers values

func (*GetDriverTypeBadRequest) SetPayload added in v0.1.13

func (o *GetDriverTypeBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get driver type bad request response

func (*GetDriverTypeBadRequest) WithPayload added in v0.1.13

func (o *GetDriverTypeBadRequest) WithPayload(payload *v1.Error) *GetDriverTypeBadRequest

WithPayload adds the payload to the get driver type bad request response

func (*GetDriverTypeBadRequest) WriteResponse added in v0.1.13

func (o *GetDriverTypeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriverTypeDefault added in v0.1.13

type GetDriverTypeDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetDriverTypeDefault Unknown error

swagger:response getDriverTypeDefault

func NewGetDriverTypeDefault added in v0.1.13

func NewGetDriverTypeDefault(code int) *GetDriverTypeDefault

NewGetDriverTypeDefault creates GetDriverTypeDefault with default headers values

func (*GetDriverTypeDefault) SetPayload added in v0.1.13

func (o *GetDriverTypeDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get driver type default response

func (*GetDriverTypeDefault) SetStatusCode added in v0.1.13

func (o *GetDriverTypeDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get driver type default response

func (*GetDriverTypeDefault) WithPayload added in v0.1.13

func (o *GetDriverTypeDefault) WithPayload(payload *v1.Error) *GetDriverTypeDefault

WithPayload adds the payload to the get driver type default response

func (*GetDriverTypeDefault) WithStatusCode added in v0.1.13

func (o *GetDriverTypeDefault) WithStatusCode(code int) *GetDriverTypeDefault

WithStatusCode adds the status to the get driver type default response

func (*GetDriverTypeDefault) WriteResponse added in v0.1.13

func (o *GetDriverTypeDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriverTypeForbidden added in v0.1.18

type GetDriverTypeForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetDriverTypeForbidden access to this resource is forbidden

swagger:response getDriverTypeForbidden

func NewGetDriverTypeForbidden added in v0.1.18

func NewGetDriverTypeForbidden() *GetDriverTypeForbidden

NewGetDriverTypeForbidden creates GetDriverTypeForbidden with default headers values

func (*GetDriverTypeForbidden) SetPayload added in v0.1.18

func (o *GetDriverTypeForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get driver type forbidden response

func (*GetDriverTypeForbidden) WithPayload added in v0.1.18

func (o *GetDriverTypeForbidden) WithPayload(payload *v1.Error) *GetDriverTypeForbidden

WithPayload adds the payload to the get driver type forbidden response

func (*GetDriverTypeForbidden) WriteResponse added in v0.1.18

func (o *GetDriverTypeForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriverTypeHandler added in v0.1.13

type GetDriverTypeHandler interface {
	Handle(GetDriverTypeParams, interface{}) middleware.Responder
}

GetDriverTypeHandler interface for that can handle valid get driver type params

type GetDriverTypeHandlerFunc added in v0.1.13

type GetDriverTypeHandlerFunc func(GetDriverTypeParams, interface{}) middleware.Responder

GetDriverTypeHandlerFunc turns a function with the right signature into a get driver type handler

func (GetDriverTypeHandlerFunc) Handle added in v0.1.13

func (fn GetDriverTypeHandlerFunc) Handle(params GetDriverTypeParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetDriverTypeNotFound added in v0.1.13

type GetDriverTypeNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetDriverTypeNotFound Driver not found

swagger:response getDriverTypeNotFound

func NewGetDriverTypeNotFound added in v0.1.13

func NewGetDriverTypeNotFound() *GetDriverTypeNotFound

NewGetDriverTypeNotFound creates GetDriverTypeNotFound with default headers values

func (*GetDriverTypeNotFound) SetPayload added in v0.1.13

func (o *GetDriverTypeNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get driver type not found response

func (*GetDriverTypeNotFound) WithPayload added in v0.1.13

func (o *GetDriverTypeNotFound) WithPayload(payload *v1.Error) *GetDriverTypeNotFound

WithPayload adds the payload to the get driver type not found response

func (*GetDriverTypeNotFound) WriteResponse added in v0.1.13

func (o *GetDriverTypeNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriverTypeOK added in v0.1.13

type GetDriverTypeOK struct {

	/*
	  In: Body
	*/
	Payload *v1.EventDriverType `json:"body,omitempty"`
}

GetDriverTypeOK Successful operation

swagger:response getDriverTypeOK

func NewGetDriverTypeOK added in v0.1.13

func NewGetDriverTypeOK() *GetDriverTypeOK

NewGetDriverTypeOK creates GetDriverTypeOK with default headers values

func (*GetDriverTypeOK) SetPayload added in v0.1.13

func (o *GetDriverTypeOK) SetPayload(payload *v1.EventDriverType)

SetPayload sets the payload to the get driver type o k response

func (*GetDriverTypeOK) WithPayload added in v0.1.13

func (o *GetDriverTypeOK) WithPayload(payload *v1.EventDriverType) *GetDriverTypeOK

WithPayload adds the payload to the get driver type o k response

func (*GetDriverTypeOK) WriteResponse added in v0.1.13

func (o *GetDriverTypeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriverTypeParams added in v0.1.13

type GetDriverTypeParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of the driver type to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	DriverTypeName string
	/*Filter based on tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

GetDriverTypeParams contains all the bound params for the get driver type operation typically these are obtained from a http.Request

swagger:parameters getDriverType

func NewGetDriverTypeParams added in v0.1.13

func NewGetDriverTypeParams() GetDriverTypeParams

NewGetDriverTypeParams creates a new GetDriverTypeParams object no default values defined in spec.

func (*GetDriverTypeParams) BindRequest added in v0.1.13

func (o *GetDriverTypeParams) 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 NewGetDriverTypeParams() beforehand.

type GetDriverTypeURL added in v0.1.13

type GetDriverTypeURL struct {
	DriverTypeName string

	Tags []string
	// contains filtered or unexported fields
}

GetDriverTypeURL generates an URL for the get driver type operation

func (*GetDriverTypeURL) Build added in v0.1.13

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

Build a url path and query string

func (*GetDriverTypeURL) BuildFull added in v0.1.13

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

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

func (*GetDriverTypeURL) Must added in v0.1.13

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

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

func (*GetDriverTypeURL) SetBasePath added in v0.1.13

func (o *GetDriverTypeURL) 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 (*GetDriverTypeURL) String added in v0.1.13

func (o *GetDriverTypeURL) String() string

String returns the string representation of the path with query string

func (*GetDriverTypeURL) StringFull added in v0.1.13

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

StringFull returns the string representation of a complete url

func (*GetDriverTypeURL) WithBasePath added in v0.1.13

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

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 GetDriverTypeUnauthorized added in v0.1.18

type GetDriverTypeUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetDriverTypeUnauthorized Unauthorized Request

swagger:response getDriverTypeUnauthorized

func NewGetDriverTypeUnauthorized added in v0.1.18

func NewGetDriverTypeUnauthorized() *GetDriverTypeUnauthorized

NewGetDriverTypeUnauthorized creates GetDriverTypeUnauthorized with default headers values

func (*GetDriverTypeUnauthorized) SetPayload added in v0.1.18

func (o *GetDriverTypeUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get driver type unauthorized response

func (*GetDriverTypeUnauthorized) WithPayload added in v0.1.18

func (o *GetDriverTypeUnauthorized) WithPayload(payload *v1.Error) *GetDriverTypeUnauthorized

WithPayload adds the payload to the get driver type unauthorized response

func (*GetDriverTypeUnauthorized) WriteResponse added in v0.1.18

func (o *GetDriverTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriverTypes added in v0.1.13

type GetDriverTypes struct {
	Context *middleware.Context
	Handler GetDriverTypesHandler
}

GetDriverTypes swagger:route GET /drivertypes drivers getDriverTypes

List all existing driver types

func NewGetDriverTypes added in v0.1.13

func NewGetDriverTypes(ctx *middleware.Context, handler GetDriverTypesHandler) *GetDriverTypes

NewGetDriverTypes creates a new http.Handler for the get driver types operation

func (*GetDriverTypes) ServeHTTP added in v0.1.13

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

type GetDriverTypesDefault added in v0.1.13

type GetDriverTypesDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetDriverTypesDefault Unknown error

swagger:response getDriverTypesDefault

func NewGetDriverTypesDefault added in v0.1.13

func NewGetDriverTypesDefault(code int) *GetDriverTypesDefault

NewGetDriverTypesDefault creates GetDriverTypesDefault with default headers values

func (*GetDriverTypesDefault) SetPayload added in v0.1.13

func (o *GetDriverTypesDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get driver types default response

func (*GetDriverTypesDefault) SetStatusCode added in v0.1.13

func (o *GetDriverTypesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get driver types default response

func (*GetDriverTypesDefault) WithPayload added in v0.1.13

func (o *GetDriverTypesDefault) WithPayload(payload *v1.Error) *GetDriverTypesDefault

WithPayload adds the payload to the get driver types default response

func (*GetDriverTypesDefault) WithStatusCode added in v0.1.13

func (o *GetDriverTypesDefault) WithStatusCode(code int) *GetDriverTypesDefault

WithStatusCode adds the status to the get driver types default response

func (*GetDriverTypesDefault) WriteResponse added in v0.1.13

func (o *GetDriverTypesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriverTypesForbidden added in v0.1.18

type GetDriverTypesForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetDriverTypesForbidden access to this resource is forbidden

swagger:response getDriverTypesForbidden

func NewGetDriverTypesForbidden added in v0.1.18

func NewGetDriverTypesForbidden() *GetDriverTypesForbidden

NewGetDriverTypesForbidden creates GetDriverTypesForbidden with default headers values

func (*GetDriverTypesForbidden) SetPayload added in v0.1.18

func (o *GetDriverTypesForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get driver types forbidden response

func (*GetDriverTypesForbidden) WithPayload added in v0.1.18

func (o *GetDriverTypesForbidden) WithPayload(payload *v1.Error) *GetDriverTypesForbidden

WithPayload adds the payload to the get driver types forbidden response

func (*GetDriverTypesForbidden) WriteResponse added in v0.1.18

func (o *GetDriverTypesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriverTypesHandler added in v0.1.13

type GetDriverTypesHandler interface {
	Handle(GetDriverTypesParams, interface{}) middleware.Responder
}

GetDriverTypesHandler interface for that can handle valid get driver types params

type GetDriverTypesHandlerFunc added in v0.1.13

type GetDriverTypesHandlerFunc func(GetDriverTypesParams, interface{}) middleware.Responder

GetDriverTypesHandlerFunc turns a function with the right signature into a get driver types handler

func (GetDriverTypesHandlerFunc) Handle added in v0.1.13

func (fn GetDriverTypesHandlerFunc) Handle(params GetDriverTypesParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetDriverTypesOK added in v0.1.13

type GetDriverTypesOK struct {

	/*
	  In: Body
	*/
	Payload []*v1.EventDriverType `json:"body,omitempty"`
}

GetDriverTypesOK Successful operation

swagger:response getDriverTypesOK

func NewGetDriverTypesOK added in v0.1.13

func NewGetDriverTypesOK() *GetDriverTypesOK

NewGetDriverTypesOK creates GetDriverTypesOK with default headers values

func (*GetDriverTypesOK) SetPayload added in v0.1.13

func (o *GetDriverTypesOK) SetPayload(payload []*v1.EventDriverType)

SetPayload sets the payload to the get driver types o k response

func (*GetDriverTypesOK) WithPayload added in v0.1.13

func (o *GetDriverTypesOK) WithPayload(payload []*v1.EventDriverType) *GetDriverTypesOK

WithPayload adds the payload to the get driver types o k response

func (*GetDriverTypesOK) WriteResponse added in v0.1.13

func (o *GetDriverTypesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriverTypesParams added in v0.1.13

type GetDriverTypesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Filter based on tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

GetDriverTypesParams contains all the bound params for the get driver types operation typically these are obtained from a http.Request

swagger:parameters getDriverTypes

func NewGetDriverTypesParams added in v0.1.13

func NewGetDriverTypesParams() GetDriverTypesParams

NewGetDriverTypesParams creates a new GetDriverTypesParams object no default values defined in spec.

func (*GetDriverTypesParams) BindRequest added in v0.1.13

func (o *GetDriverTypesParams) 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 NewGetDriverTypesParams() beforehand.

type GetDriverTypesURL added in v0.1.13

type GetDriverTypesURL struct {
	Tags []string
	// contains filtered or unexported fields
}

GetDriverTypesURL generates an URL for the get driver types operation

func (*GetDriverTypesURL) Build added in v0.1.13

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

Build a url path and query string

func (*GetDriverTypesURL) BuildFull added in v0.1.13

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

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

func (*GetDriverTypesURL) Must added in v0.1.13

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

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

func (*GetDriverTypesURL) SetBasePath added in v0.1.13

func (o *GetDriverTypesURL) 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 (*GetDriverTypesURL) String added in v0.1.13

func (o *GetDriverTypesURL) String() string

String returns the string representation of the path with query string

func (*GetDriverTypesURL) StringFull added in v0.1.13

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

StringFull returns the string representation of a complete url

func (*GetDriverTypesURL) WithBasePath added in v0.1.13

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

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 GetDriverTypesUnauthorized added in v0.1.18

type GetDriverTypesUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetDriverTypesUnauthorized Unauthorized Request

swagger:response getDriverTypesUnauthorized

func NewGetDriverTypesUnauthorized added in v0.1.18

func NewGetDriverTypesUnauthorized() *GetDriverTypesUnauthorized

NewGetDriverTypesUnauthorized creates GetDriverTypesUnauthorized with default headers values

func (*GetDriverTypesUnauthorized) SetPayload added in v0.1.18

func (o *GetDriverTypesUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get driver types unauthorized response

func (*GetDriverTypesUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the get driver types unauthorized response

func (*GetDriverTypesUnauthorized) WriteResponse added in v0.1.18

func (o *GetDriverTypesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriverURL

type GetDriverURL struct {
	DriverName string

	Tags []string
	// contains filtered or unexported fields
}

GetDriverURL generates an URL for the get driver operation

func (*GetDriverURL) Build

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

Build a url path and query string

func (*GetDriverURL) BuildFull

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

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

func (*GetDriverURL) Must

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

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

func (*GetDriverURL) SetBasePath

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

func (o *GetDriverURL) String() string

String returns the string representation of the path with query string

func (*GetDriverURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetDriverURL) WithBasePath

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

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 GetDriverUnauthorized added in v0.1.18

type GetDriverUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetDriverUnauthorized Unauthorized Request

swagger:response getDriverUnauthorized

func NewGetDriverUnauthorized added in v0.1.18

func NewGetDriverUnauthorized() *GetDriverUnauthorized

NewGetDriverUnauthorized creates GetDriverUnauthorized with default headers values

func (*GetDriverUnauthorized) SetPayload added in v0.1.18

func (o *GetDriverUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get driver unauthorized response

func (*GetDriverUnauthorized) WithPayload added in v0.1.18

func (o *GetDriverUnauthorized) WithPayload(payload *v1.Error) *GetDriverUnauthorized

WithPayload adds the payload to the get driver unauthorized response

func (*GetDriverUnauthorized) WriteResponse added in v0.1.18

func (o *GetDriverUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDrivers

type GetDrivers struct {
	Context *middleware.Context
	Handler GetDriversHandler
}

GetDrivers swagger:route GET /drivers drivers getDrivers

List all existing drivers

func NewGetDrivers

func NewGetDrivers(ctx *middleware.Context, handler GetDriversHandler) *GetDrivers

NewGetDrivers creates a new http.Handler for the get drivers operation

func (*GetDrivers) ServeHTTP

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

type GetDriversDefault

type GetDriversDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetDriversDefault Unknown error

swagger:response getDriversDefault

func NewGetDriversDefault

func NewGetDriversDefault(code int) *GetDriversDefault

NewGetDriversDefault creates GetDriversDefault with default headers values

func (*GetDriversDefault) SetPayload

func (o *GetDriversDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get drivers default response

func (*GetDriversDefault) SetStatusCode

func (o *GetDriversDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get drivers default response

func (*GetDriversDefault) WithPayload

func (o *GetDriversDefault) WithPayload(payload *v1.Error) *GetDriversDefault

WithPayload adds the payload to the get drivers default response

func (*GetDriversDefault) WithStatusCode

func (o *GetDriversDefault) WithStatusCode(code int) *GetDriversDefault

WithStatusCode adds the status to the get drivers default response

func (*GetDriversDefault) WriteResponse

func (o *GetDriversDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriversForbidden added in v0.1.18

type GetDriversForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetDriversForbidden access to this resource is forbidden

swagger:response getDriversForbidden

func NewGetDriversForbidden added in v0.1.18

func NewGetDriversForbidden() *GetDriversForbidden

NewGetDriversForbidden creates GetDriversForbidden with default headers values

func (*GetDriversForbidden) SetPayload added in v0.1.18

func (o *GetDriversForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get drivers forbidden response

func (*GetDriversForbidden) WithPayload added in v0.1.18

func (o *GetDriversForbidden) WithPayload(payload *v1.Error) *GetDriversForbidden

WithPayload adds the payload to the get drivers forbidden response

func (*GetDriversForbidden) WriteResponse added in v0.1.18

func (o *GetDriversForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriversHandler

type GetDriversHandler interface {
	Handle(GetDriversParams, interface{}) middleware.Responder
}

GetDriversHandler interface for that can handle valid get drivers params

type GetDriversHandlerFunc

type GetDriversHandlerFunc func(GetDriversParams, interface{}) middleware.Responder

GetDriversHandlerFunc turns a function with the right signature into a get drivers handler

func (GetDriversHandlerFunc) Handle

func (fn GetDriversHandlerFunc) Handle(params GetDriversParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetDriversOK

type GetDriversOK struct {

	/*
	  In: Body
	*/
	Payload []*v1.EventDriver `json:"body,omitempty"`
}

GetDriversOK Successful operation

swagger:response getDriversOK

func NewGetDriversOK

func NewGetDriversOK() *GetDriversOK

NewGetDriversOK creates GetDriversOK with default headers values

func (*GetDriversOK) SetPayload

func (o *GetDriversOK) SetPayload(payload []*v1.EventDriver)

SetPayload sets the payload to the get drivers o k response

func (*GetDriversOK) WithPayload

func (o *GetDriversOK) WithPayload(payload []*v1.EventDriver) *GetDriversOK

WithPayload adds the payload to the get drivers o k response

func (*GetDriversOK) WriteResponse

func (o *GetDriversOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDriversParams

type GetDriversParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Filter based on tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

GetDriversParams contains all the bound params for the get drivers operation typically these are obtained from a http.Request

swagger:parameters getDrivers

func NewGetDriversParams

func NewGetDriversParams() GetDriversParams

NewGetDriversParams creates a new GetDriversParams object no default values defined in spec.

func (*GetDriversParams) BindRequest

func (o *GetDriversParams) 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 NewGetDriversParams() beforehand.

type GetDriversURL

type GetDriversURL struct {
	Tags []string
	// contains filtered or unexported fields
}

GetDriversURL generates an URL for the get drivers operation

func (*GetDriversURL) Build

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

Build a url path and query string

func (*GetDriversURL) BuildFull

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

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

func (*GetDriversURL) Must

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

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

func (*GetDriversURL) SetBasePath

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

func (o *GetDriversURL) String() string

String returns the string representation of the path with query string

func (*GetDriversURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetDriversURL) WithBasePath

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

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 GetDriversUnauthorized added in v0.1.18

type GetDriversUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetDriversUnauthorized Unauthorized Request

swagger:response getDriversUnauthorized

func NewGetDriversUnauthorized added in v0.1.18

func NewGetDriversUnauthorized() *GetDriversUnauthorized

NewGetDriversUnauthorized creates GetDriversUnauthorized with default headers values

func (*GetDriversUnauthorized) SetPayload added in v0.1.18

func (o *GetDriversUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get drivers unauthorized response

func (*GetDriversUnauthorized) WithPayload added in v0.1.18

func (o *GetDriversUnauthorized) WithPayload(payload *v1.Error) *GetDriversUnauthorized

WithPayload adds the payload to the get drivers unauthorized response

func (*GetDriversUnauthorized) WriteResponse added in v0.1.18

func (o *GetDriversUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateDriver added in v0.1.13

type UpdateDriver struct {
	Context *middleware.Context
	Handler UpdateDriverHandler
}

UpdateDriver swagger:route PUT /drivers/{driverName} drivers updateDriver

Update driver by Name

Updates a single driver

func NewUpdateDriver added in v0.1.13

func NewUpdateDriver(ctx *middleware.Context, handler UpdateDriverHandler) *UpdateDriver

NewUpdateDriver creates a new http.Handler for the update driver operation

func (*UpdateDriver) ServeHTTP added in v0.1.13

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

type UpdateDriverBadRequest added in v0.1.13

type UpdateDriverBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateDriverBadRequest Invalid Name supplied

swagger:response updateDriverBadRequest

func NewUpdateDriverBadRequest added in v0.1.13

func NewUpdateDriverBadRequest() *UpdateDriverBadRequest

NewUpdateDriverBadRequest creates UpdateDriverBadRequest with default headers values

func (*UpdateDriverBadRequest) SetPayload added in v0.1.13

func (o *UpdateDriverBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update driver bad request response

func (*UpdateDriverBadRequest) WithPayload added in v0.1.13

func (o *UpdateDriverBadRequest) WithPayload(payload *v1.Error) *UpdateDriverBadRequest

WithPayload adds the payload to the update driver bad request response

func (*UpdateDriverBadRequest) WriteResponse added in v0.1.13

func (o *UpdateDriverBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateDriverDefault added in v0.1.13

type UpdateDriverDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateDriverDefault Unknown error

swagger:response updateDriverDefault

func NewUpdateDriverDefault added in v0.1.13

func NewUpdateDriverDefault(code int) *UpdateDriverDefault

NewUpdateDriverDefault creates UpdateDriverDefault with default headers values

func (*UpdateDriverDefault) SetPayload added in v0.1.13

func (o *UpdateDriverDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update driver default response

func (*UpdateDriverDefault) SetStatusCode added in v0.1.13

func (o *UpdateDriverDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update driver default response

func (*UpdateDriverDefault) WithPayload added in v0.1.13

func (o *UpdateDriverDefault) WithPayload(payload *v1.Error) *UpdateDriverDefault

WithPayload adds the payload to the update driver default response

func (*UpdateDriverDefault) WithStatusCode added in v0.1.13

func (o *UpdateDriverDefault) WithStatusCode(code int) *UpdateDriverDefault

WithStatusCode adds the status to the update driver default response

func (*UpdateDriverDefault) WriteResponse added in v0.1.13

func (o *UpdateDriverDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateDriverForbidden added in v0.1.18

type UpdateDriverForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateDriverForbidden access to this resource is forbidden

swagger:response updateDriverForbidden

func NewUpdateDriverForbidden added in v0.1.18

func NewUpdateDriverForbidden() *UpdateDriverForbidden

NewUpdateDriverForbidden creates UpdateDriverForbidden with default headers values

func (*UpdateDriverForbidden) SetPayload added in v0.1.18

func (o *UpdateDriverForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update driver forbidden response

func (*UpdateDriverForbidden) WithPayload added in v0.1.18

func (o *UpdateDriverForbidden) WithPayload(payload *v1.Error) *UpdateDriverForbidden

WithPayload adds the payload to the update driver forbidden response

func (*UpdateDriverForbidden) WriteResponse added in v0.1.18

func (o *UpdateDriverForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateDriverHandler added in v0.1.13

type UpdateDriverHandler interface {
	Handle(UpdateDriverParams, interface{}) middleware.Responder
}

UpdateDriverHandler interface for that can handle valid update driver params

type UpdateDriverHandlerFunc added in v0.1.13

type UpdateDriverHandlerFunc func(UpdateDriverParams, interface{}) middleware.Responder

UpdateDriverHandlerFunc turns a function with the right signature into a update driver handler

func (UpdateDriverHandlerFunc) Handle added in v0.1.13

func (fn UpdateDriverHandlerFunc) Handle(params UpdateDriverParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type UpdateDriverNotFound added in v0.1.13

type UpdateDriverNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateDriverNotFound Driver not found

swagger:response updateDriverNotFound

func NewUpdateDriverNotFound added in v0.1.13

func NewUpdateDriverNotFound() *UpdateDriverNotFound

NewUpdateDriverNotFound creates UpdateDriverNotFound with default headers values

func (*UpdateDriverNotFound) SetPayload added in v0.1.13

func (o *UpdateDriverNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update driver not found response

func (*UpdateDriverNotFound) WithPayload added in v0.1.13

func (o *UpdateDriverNotFound) WithPayload(payload *v1.Error) *UpdateDriverNotFound

WithPayload adds the payload to the update driver not found response

func (*UpdateDriverNotFound) WriteResponse added in v0.1.13

func (o *UpdateDriverNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateDriverOK added in v0.1.13

type UpdateDriverOK struct {

	/*
	  In: Body
	*/
	Payload *v1.EventDriver `json:"body,omitempty"`
}

UpdateDriverOK Successful operation

swagger:response updateDriverOK

func NewUpdateDriverOK added in v0.1.13

func NewUpdateDriverOK() *UpdateDriverOK

NewUpdateDriverOK creates UpdateDriverOK with default headers values

func (*UpdateDriverOK) SetPayload added in v0.1.13

func (o *UpdateDriverOK) SetPayload(payload *v1.EventDriver)

SetPayload sets the payload to the update driver o k response

func (*UpdateDriverOK) WithPayload added in v0.1.13

func (o *UpdateDriverOK) WithPayload(payload *v1.EventDriver) *UpdateDriverOK

WithPayload adds the payload to the update driver o k response

func (*UpdateDriverOK) WriteResponse added in v0.1.13

func (o *UpdateDriverOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateDriverParams added in v0.1.13

type UpdateDriverParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*driver object
	  Required: true
	  In: body
	*/
	Body *v1.EventDriver
	/*Name of the driver to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	DriverName string
	/*Filter based on tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

UpdateDriverParams contains all the bound params for the update driver operation typically these are obtained from a http.Request

swagger:parameters updateDriver

func NewUpdateDriverParams added in v0.1.13

func NewUpdateDriverParams() UpdateDriverParams

NewUpdateDriverParams creates a new UpdateDriverParams object no default values defined in spec.

func (*UpdateDriverParams) BindRequest added in v0.1.13

func (o *UpdateDriverParams) 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 NewUpdateDriverParams() beforehand.

type UpdateDriverType added in v0.1.13

type UpdateDriverType struct {
	Context *middleware.Context
	Handler UpdateDriverTypeHandler
}

UpdateDriverType swagger:route PUT /drivertypes/{driverTypeName} drivers updateDriverType

Update a driver type by Name

Updates a single driver type

func NewUpdateDriverType added in v0.1.13

func NewUpdateDriverType(ctx *middleware.Context, handler UpdateDriverTypeHandler) *UpdateDriverType

NewUpdateDriverType creates a new http.Handler for the update driver type operation

func (*UpdateDriverType) ServeHTTP added in v0.1.13

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

type UpdateDriverTypeBadRequest added in v0.1.13

type UpdateDriverTypeBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateDriverTypeBadRequest Invalid Name supplied

swagger:response updateDriverTypeBadRequest

func NewUpdateDriverTypeBadRequest added in v0.1.13

func NewUpdateDriverTypeBadRequest() *UpdateDriverTypeBadRequest

NewUpdateDriverTypeBadRequest creates UpdateDriverTypeBadRequest with default headers values

func (*UpdateDriverTypeBadRequest) SetPayload added in v0.1.13

func (o *UpdateDriverTypeBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update driver type bad request response

func (*UpdateDriverTypeBadRequest) WithPayload added in v0.1.13

WithPayload adds the payload to the update driver type bad request response

func (*UpdateDriverTypeBadRequest) WriteResponse added in v0.1.13

func (o *UpdateDriverTypeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateDriverTypeDefault added in v0.1.13

type UpdateDriverTypeDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateDriverTypeDefault Unknown error

swagger:response updateDriverTypeDefault

func NewUpdateDriverTypeDefault added in v0.1.13

func NewUpdateDriverTypeDefault(code int) *UpdateDriverTypeDefault

NewUpdateDriverTypeDefault creates UpdateDriverTypeDefault with default headers values

func (*UpdateDriverTypeDefault) SetPayload added in v0.1.13

func (o *UpdateDriverTypeDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update driver type default response

func (*UpdateDriverTypeDefault) SetStatusCode added in v0.1.13

func (o *UpdateDriverTypeDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update driver type default response

func (*UpdateDriverTypeDefault) WithPayload added in v0.1.13

func (o *UpdateDriverTypeDefault) WithPayload(payload *v1.Error) *UpdateDriverTypeDefault

WithPayload adds the payload to the update driver type default response

func (*UpdateDriverTypeDefault) WithStatusCode added in v0.1.13

func (o *UpdateDriverTypeDefault) WithStatusCode(code int) *UpdateDriverTypeDefault

WithStatusCode adds the status to the update driver type default response

func (*UpdateDriverTypeDefault) WriteResponse added in v0.1.13

func (o *UpdateDriverTypeDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateDriverTypeForbidden added in v0.1.18

type UpdateDriverTypeForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateDriverTypeForbidden access to this resource is forbidden

swagger:response updateDriverTypeForbidden

func NewUpdateDriverTypeForbidden added in v0.1.18

func NewUpdateDriverTypeForbidden() *UpdateDriverTypeForbidden

NewUpdateDriverTypeForbidden creates UpdateDriverTypeForbidden with default headers values

func (*UpdateDriverTypeForbidden) SetPayload added in v0.1.18

func (o *UpdateDriverTypeForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update driver type forbidden response

func (*UpdateDriverTypeForbidden) WithPayload added in v0.1.18

func (o *UpdateDriverTypeForbidden) WithPayload(payload *v1.Error) *UpdateDriverTypeForbidden

WithPayload adds the payload to the update driver type forbidden response

func (*UpdateDriverTypeForbidden) WriteResponse added in v0.1.18

func (o *UpdateDriverTypeForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateDriverTypeHandler added in v0.1.13

type UpdateDriverTypeHandler interface {
	Handle(UpdateDriverTypeParams, interface{}) middleware.Responder
}

UpdateDriverTypeHandler interface for that can handle valid update driver type params

type UpdateDriverTypeHandlerFunc added in v0.1.13

type UpdateDriverTypeHandlerFunc func(UpdateDriverTypeParams, interface{}) middleware.Responder

UpdateDriverTypeHandlerFunc turns a function with the right signature into a update driver type handler

func (UpdateDriverTypeHandlerFunc) Handle added in v0.1.13

func (fn UpdateDriverTypeHandlerFunc) Handle(params UpdateDriverTypeParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type UpdateDriverTypeNotFound added in v0.1.13

type UpdateDriverTypeNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateDriverTypeNotFound DriverType not found

swagger:response updateDriverTypeNotFound

func NewUpdateDriverTypeNotFound added in v0.1.13

func NewUpdateDriverTypeNotFound() *UpdateDriverTypeNotFound

NewUpdateDriverTypeNotFound creates UpdateDriverTypeNotFound with default headers values

func (*UpdateDriverTypeNotFound) SetPayload added in v0.1.13

func (o *UpdateDriverTypeNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update driver type not found response

func (*UpdateDriverTypeNotFound) WithPayload added in v0.1.13

func (o *UpdateDriverTypeNotFound) WithPayload(payload *v1.Error) *UpdateDriverTypeNotFound

WithPayload adds the payload to the update driver type not found response

func (*UpdateDriverTypeNotFound) WriteResponse added in v0.1.13

func (o *UpdateDriverTypeNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateDriverTypeOK added in v0.1.13

type UpdateDriverTypeOK struct {

	/*
	  In: Body
	*/
	Payload *v1.EventDriverType `json:"body,omitempty"`
}

UpdateDriverTypeOK Successful operation

swagger:response updateDriverTypeOK

func NewUpdateDriverTypeOK added in v0.1.13

func NewUpdateDriverTypeOK() *UpdateDriverTypeOK

NewUpdateDriverTypeOK creates UpdateDriverTypeOK with default headers values

func (*UpdateDriverTypeOK) SetPayload added in v0.1.13

func (o *UpdateDriverTypeOK) SetPayload(payload *v1.EventDriverType)

SetPayload sets the payload to the update driver type o k response

func (*UpdateDriverTypeOK) WithPayload added in v0.1.13

func (o *UpdateDriverTypeOK) WithPayload(payload *v1.EventDriverType) *UpdateDriverTypeOK

WithPayload adds the payload to the update driver type o k response

func (*UpdateDriverTypeOK) WriteResponse added in v0.1.13

func (o *UpdateDriverTypeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateDriverTypeParams added in v0.1.13

type UpdateDriverTypeParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*driver object
	  Required: true
	  In: body
	*/
	Body *v1.EventDriverType
	/*Name of the driver type to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	DriverTypeName string
	/*Filter based on tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

UpdateDriverTypeParams contains all the bound params for the update driver type operation typically these are obtained from a http.Request

swagger:parameters updateDriverType

func NewUpdateDriverTypeParams added in v0.1.13

func NewUpdateDriverTypeParams() UpdateDriverTypeParams

NewUpdateDriverTypeParams creates a new UpdateDriverTypeParams object no default values defined in spec.

func (*UpdateDriverTypeParams) BindRequest added in v0.1.13

func (o *UpdateDriverTypeParams) 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 NewUpdateDriverTypeParams() beforehand.

type UpdateDriverTypeURL added in v0.1.13

type UpdateDriverTypeURL struct {
	DriverTypeName string

	Tags []string
	// contains filtered or unexported fields
}

UpdateDriverTypeURL generates an URL for the update driver type operation

func (*UpdateDriverTypeURL) Build added in v0.1.13

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

Build a url path and query string

func (*UpdateDriverTypeURL) BuildFull added in v0.1.13

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

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

func (*UpdateDriverTypeURL) Must added in v0.1.13

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

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

func (*UpdateDriverTypeURL) SetBasePath added in v0.1.13

func (o *UpdateDriverTypeURL) 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 (*UpdateDriverTypeURL) String added in v0.1.13

func (o *UpdateDriverTypeURL) String() string

String returns the string representation of the path with query string

func (*UpdateDriverTypeURL) StringFull added in v0.1.13

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

StringFull returns the string representation of a complete url

func (*UpdateDriverTypeURL) WithBasePath added in v0.1.13

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

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 UpdateDriverTypeUnauthorized added in v0.1.18

type UpdateDriverTypeUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateDriverTypeUnauthorized Unauthorized Request

swagger:response updateDriverTypeUnauthorized

func NewUpdateDriverTypeUnauthorized added in v0.1.18

func NewUpdateDriverTypeUnauthorized() *UpdateDriverTypeUnauthorized

NewUpdateDriverTypeUnauthorized creates UpdateDriverTypeUnauthorized with default headers values

func (*UpdateDriverTypeUnauthorized) SetPayload added in v0.1.18

func (o *UpdateDriverTypeUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update driver type unauthorized response

func (*UpdateDriverTypeUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the update driver type unauthorized response

func (*UpdateDriverTypeUnauthorized) WriteResponse added in v0.1.18

func (o *UpdateDriverTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateDriverURL added in v0.1.13

type UpdateDriverURL struct {
	DriverName string

	Tags []string
	// contains filtered or unexported fields
}

UpdateDriverURL generates an URL for the update driver operation

func (*UpdateDriverURL) Build added in v0.1.13

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

Build a url path and query string

func (*UpdateDriverURL) BuildFull added in v0.1.13

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

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

func (*UpdateDriverURL) Must added in v0.1.13

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

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

func (*UpdateDriverURL) SetBasePath added in v0.1.13

func (o *UpdateDriverURL) 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 (*UpdateDriverURL) String added in v0.1.13

func (o *UpdateDriverURL) String() string

String returns the string representation of the path with query string

func (*UpdateDriverURL) StringFull added in v0.1.13

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

StringFull returns the string representation of a complete url

func (*UpdateDriverURL) WithBasePath added in v0.1.13

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

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 UpdateDriverUnauthorized added in v0.1.18

type UpdateDriverUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateDriverUnauthorized Unauthorized Request

swagger:response updateDriverUnauthorized

func NewUpdateDriverUnauthorized added in v0.1.18

func NewUpdateDriverUnauthorized() *UpdateDriverUnauthorized

NewUpdateDriverUnauthorized creates UpdateDriverUnauthorized with default headers values

func (*UpdateDriverUnauthorized) SetPayload added in v0.1.18

func (o *UpdateDriverUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update driver unauthorized response

func (*UpdateDriverUnauthorized) WithPayload added in v0.1.18

func (o *UpdateDriverUnauthorized) WithPayload(payload *v1.Error) *UpdateDriverUnauthorized

WithPayload adds the payload to the update driver unauthorized response

func (*UpdateDriverUnauthorized) WriteResponse added in v0.1.18

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