groups

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const AddNewGroupInternalServerErrorCode int = 500

AddNewGroupInternalServerErrorCode is the HTTP code returned for type AddNewGroupInternalServerError

View Source
const AddNewGroupOKCode int = 200

AddNewGroupOKCode is the HTTP code returned for type AddNewGroupOK

View Source
const AddNewGroupUnauthorizedCode int = 401

AddNewGroupUnauthorizedCode is the HTTP code returned for type AddNewGroupUnauthorized

View Source
const AddPoolsByGroupIDInternalServerErrorCode int = 500

AddPoolsByGroupIDInternalServerErrorCode is the HTTP code returned for type AddPoolsByGroupIDInternalServerError

View Source
const AddPoolsByGroupIDNotFoundCode int = 404

AddPoolsByGroupIDNotFoundCode is the HTTP code returned for type AddPoolsByGroupIDNotFound

View Source
const AddPoolsByGroupIDOKCode int = 200

AddPoolsByGroupIDOKCode is the HTTP code returned for type AddPoolsByGroupIDOK

View Source
const AddPoolsByGroupIDUnauthorizedCode int = 401

AddPoolsByGroupIDUnauthorizedCode is the HTTP code returned for type AddPoolsByGroupIDUnauthorized

View Source
const DeleteGroupInternalServerErrorCode int = 500

DeleteGroupInternalServerErrorCode is the HTTP code returned for type DeleteGroupInternalServerError

View Source
const DeleteGroupNotFoundCode int = 404

DeleteGroupNotFoundCode is the HTTP code returned for type DeleteGroupNotFound

View Source
const DeleteGroupUnauthorizedCode int = 401

DeleteGroupUnauthorizedCode is the HTTP code returned for type DeleteGroupUnauthorized

View Source
const DeletePoolsByGroupIDInternalServerErrorCode int = 500

DeletePoolsByGroupIDInternalServerErrorCode is the HTTP code returned for type DeletePoolsByGroupIDInternalServerError

View Source
const DeletePoolsByGroupIDNotFoundCode int = 404

DeletePoolsByGroupIDNotFoundCode is the HTTP code returned for type DeletePoolsByGroupIDNotFound

View Source
const DeletePoolsByGroupIDOKCode int = 200

DeletePoolsByGroupIDOKCode is the HTTP code returned for type DeletePoolsByGroupIDOK

View Source
const DeletePoolsByGroupIDUnauthorizedCode int = 401

DeletePoolsByGroupIDUnauthorizedCode is the HTTP code returned for type DeletePoolsByGroupIDUnauthorized

View Source
const GetGroupDescriptionByIDInternalServerErrorCode int = 500

GetGroupDescriptionByIDInternalServerErrorCode is the HTTP code returned for type GetGroupDescriptionByIDInternalServerError

View Source
const GetGroupDescriptionByIDNotFoundCode int = 404

GetGroupDescriptionByIDNotFoundCode is the HTTP code returned for type GetGroupDescriptionByIDNotFound

View Source
const GetGroupDescriptionByIDOKCode int = 200

GetGroupDescriptionByIDOKCode is the HTTP code returned for type GetGroupDescriptionByIDOK

View Source
const GetGroupDescriptionByIDUnauthorizedCode int = 401

GetGroupDescriptionByIDUnauthorizedCode is the HTTP code returned for type GetGroupDescriptionByIDUnauthorized

View Source
const GetGroupIDByNameInternalServerErrorCode int = 500

GetGroupIDByNameInternalServerErrorCode is the HTTP code returned for type GetGroupIDByNameInternalServerError

View Source
const GetGroupIDByNameOKCode int = 200

GetGroupIDByNameOKCode is the HTTP code returned for type GetGroupIDByNameOK

View Source
const GetGroupIDByNameUnauthorizedCode int = 401

GetGroupIDByNameUnauthorizedCode is the HTTP code returned for type GetGroupIDByNameUnauthorized

View Source
const GetPoolsByGroupIDInternalServerErrorCode int = 500

GetPoolsByGroupIDInternalServerErrorCode is the HTTP code returned for type GetPoolsByGroupIDInternalServerError

View Source
const GetPoolsByGroupIDNotFoundCode int = 404

GetPoolsByGroupIDNotFoundCode is the HTTP code returned for type GetPoolsByGroupIDNotFound

View Source
const GetPoolsByGroupIDOKCode int = 200

GetPoolsByGroupIDOKCode is the HTTP code returned for type GetPoolsByGroupIDOK

View Source
const GetPoolsByGroupIDUnauthorizedCode int = 401

GetPoolsByGroupIDUnauthorizedCode is the HTTP code returned for type GetPoolsByGroupIDUnauthorized

View Source
const ReplacePoolsByGroupIDInternalServerErrorCode int = 500

ReplacePoolsByGroupIDInternalServerErrorCode is the HTTP code returned for type ReplacePoolsByGroupIDInternalServerError

View Source
const ReplacePoolsByGroupIDNotFoundCode int = 404

ReplacePoolsByGroupIDNotFoundCode is the HTTP code returned for type ReplacePoolsByGroupIDNotFound

View Source
const ReplacePoolsByGroupIDOKCode int = 200

ReplacePoolsByGroupIDOKCode is the HTTP code returned for type ReplacePoolsByGroupIDOK

View Source
const ReplacePoolsByGroupIDUnauthorizedCode int = 401

ReplacePoolsByGroupIDUnauthorizedCode is the HTTP code returned for type ReplacePoolsByGroupIDUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type AddNewGroup

type AddNewGroup struct {
	Context *middleware.Context
	Handler AddNewGroupHandler
}
AddNewGroup swagger:route POST /groups groups addNewGroup

groups

Create new group

func NewAddNewGroup

func NewAddNewGroup(ctx *middleware.Context, handler AddNewGroupHandler) *AddNewGroup

NewAddNewGroup creates a new http.Handler for the add new group operation

func (*AddNewGroup) ServeHTTP

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

type AddNewGroupHandler

type AddNewGroupHandler interface {
	Handle(AddNewGroupParams, interface{}) middleware.Responder
}

AddNewGroupHandler interface for that can handle valid add new group params

type AddNewGroupHandlerFunc

type AddNewGroupHandlerFunc func(AddNewGroupParams, interface{}) middleware.Responder

AddNewGroupHandlerFunc turns a function with the right signature into a add new group handler

func (AddNewGroupHandlerFunc) Handle

func (fn AddNewGroupHandlerFunc) Handle(params AddNewGroupParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type AddNewGroupInternalServerError

type AddNewGroupInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

AddNewGroupInternalServerError add new group internal server error

swagger:response addNewGroupInternalServerError

func NewAddNewGroupInternalServerError

func NewAddNewGroupInternalServerError() *AddNewGroupInternalServerError

NewAddNewGroupInternalServerError creates AddNewGroupInternalServerError with default headers values

func (*AddNewGroupInternalServerError) SetPayload

func (o *AddNewGroupInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the add new group internal server error response

func (*AddNewGroupInternalServerError) WithPayload

func (o *AddNewGroupInternalServerError) WithPayload(payload interface{}) *AddNewGroupInternalServerError

WithPayload adds the payload to the add new group internal server error response

func (*AddNewGroupInternalServerError) WriteResponse

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

WriteResponse to the client

type AddNewGroupOK

type AddNewGroupOK struct {

	/*
	  In: Body
	*/
	Payload *models.ID `json:"body,omitempty"`
}

AddNewGroupOK add new group o k

swagger:response addNewGroupOK

func NewAddNewGroupOK

func NewAddNewGroupOK() *AddNewGroupOK

NewAddNewGroupOK creates AddNewGroupOK with default headers values

func (*AddNewGroupOK) SetPayload

func (o *AddNewGroupOK) SetPayload(payload *models.ID)

SetPayload sets the payload to the add new group o k response

func (*AddNewGroupOK) WithPayload

func (o *AddNewGroupOK) WithPayload(payload *models.ID) *AddNewGroupOK

WithPayload adds the payload to the add new group o k response

func (*AddNewGroupOK) WriteResponse

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

WriteResponse to the client

type AddNewGroupParams

type AddNewGroupParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Group *models.Group
}

AddNewGroupParams contains all the bound params for the add new group operation typically these are obtained from a http.Request

swagger:parameters addNewGroup

func NewAddNewGroupParams

func NewAddNewGroupParams() AddNewGroupParams

NewAddNewGroupParams creates a new AddNewGroupParams object

There are no default values defined in the spec.

func (*AddNewGroupParams) BindRequest

func (o *AddNewGroupParams) 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 NewAddNewGroupParams() beforehand.

type AddNewGroupURL

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

AddNewGroupURL generates an URL for the add new group operation

func (*AddNewGroupURL) Build

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

Build a url path and query string

func (*AddNewGroupURL) BuildFull

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

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

func (*AddNewGroupURL) Must

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

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

func (*AddNewGroupURL) SetBasePath

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

func (o *AddNewGroupURL) String() string

String returns the string representation of the path with query string

func (*AddNewGroupURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddNewGroupURL) WithBasePath

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

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 AddNewGroupUnauthorized

type AddNewGroupUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

AddNewGroupUnauthorized Unauthorized

swagger:response addNewGroupUnauthorized

func NewAddNewGroupUnauthorized

func NewAddNewGroupUnauthorized() *AddNewGroupUnauthorized

NewAddNewGroupUnauthorized creates AddNewGroupUnauthorized with default headers values

func (*AddNewGroupUnauthorized) SetPayload

func (o *AddNewGroupUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the add new group unauthorized response

func (*AddNewGroupUnauthorized) WithPayload

func (o *AddNewGroupUnauthorized) WithPayload(payload interface{}) *AddNewGroupUnauthorized

WithPayload adds the payload to the add new group unauthorized response

func (*AddNewGroupUnauthorized) WriteResponse

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

WriteResponse to the client

type AddPoolsByGroupID

type AddPoolsByGroupID struct {
	Context *middleware.Context
	Handler AddPoolsByGroupIDHandler
}
AddPoolsByGroupID swagger:route POST /groups/{group_id}/pools groups addPoolsByGroupId

groups

Add a list of pool_ids in the group (keep existing). Return new complete list.

func NewAddPoolsByGroupID

func NewAddPoolsByGroupID(ctx *middleware.Context, handler AddPoolsByGroupIDHandler) *AddPoolsByGroupID

NewAddPoolsByGroupID creates a new http.Handler for the add pools by group ID operation

func (*AddPoolsByGroupID) ServeHTTP

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

type AddPoolsByGroupIDHandler

type AddPoolsByGroupIDHandler interface {
	Handle(AddPoolsByGroupIDParams, interface{}) middleware.Responder
}

AddPoolsByGroupIDHandler interface for that can handle valid add pools by group ID params

type AddPoolsByGroupIDHandlerFunc

type AddPoolsByGroupIDHandlerFunc func(AddPoolsByGroupIDParams, interface{}) middleware.Responder

AddPoolsByGroupIDHandlerFunc turns a function with the right signature into a add pools by group ID handler

func (AddPoolsByGroupIDHandlerFunc) Handle

func (fn AddPoolsByGroupIDHandlerFunc) Handle(params AddPoolsByGroupIDParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type AddPoolsByGroupIDInternalServerError

type AddPoolsByGroupIDInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

AddPoolsByGroupIDInternalServerError add pools by group Id internal server error

swagger:response addPoolsByGroupIdInternalServerError

func NewAddPoolsByGroupIDInternalServerError

func NewAddPoolsByGroupIDInternalServerError() *AddPoolsByGroupIDInternalServerError

NewAddPoolsByGroupIDInternalServerError creates AddPoolsByGroupIDInternalServerError with default headers values

func (*AddPoolsByGroupIDInternalServerError) SetPayload

func (o *AddPoolsByGroupIDInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the add pools by group Id internal server error response

func (*AddPoolsByGroupIDInternalServerError) WithPayload

WithPayload adds the payload to the add pools by group Id internal server error response

func (*AddPoolsByGroupIDInternalServerError) WriteResponse

WriteResponse to the client

type AddPoolsByGroupIDNotFound

type AddPoolsByGroupIDNotFound struct {
}

AddPoolsByGroupIDNotFound Not Found

swagger:response addPoolsByGroupIdNotFound

func NewAddPoolsByGroupIDNotFound

func NewAddPoolsByGroupIDNotFound() *AddPoolsByGroupIDNotFound

NewAddPoolsByGroupIDNotFound creates AddPoolsByGroupIDNotFound with default headers values

func (*AddPoolsByGroupIDNotFound) WriteResponse

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

WriteResponse to the client

type AddPoolsByGroupIDOK

type AddPoolsByGroupIDOK struct {

	/*
	  In: Body
	*/
	Payload models.IDList `json:"body,omitempty"`
}

AddPoolsByGroupIDOK add pools by group Id o k

swagger:response addPoolsByGroupIdOK

func NewAddPoolsByGroupIDOK

func NewAddPoolsByGroupIDOK() *AddPoolsByGroupIDOK

NewAddPoolsByGroupIDOK creates AddPoolsByGroupIDOK with default headers values

func (*AddPoolsByGroupIDOK) SetPayload

func (o *AddPoolsByGroupIDOK) SetPayload(payload models.IDList)

SetPayload sets the payload to the add pools by group Id o k response

func (*AddPoolsByGroupIDOK) WithPayload

func (o *AddPoolsByGroupIDOK) WithPayload(payload models.IDList) *AddPoolsByGroupIDOK

WithPayload adds the payload to the add pools by group Id o k response

func (*AddPoolsByGroupIDOK) WriteResponse

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

WriteResponse to the client

type AddPoolsByGroupIDParams

type AddPoolsByGroupIDParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	GroupID string
	/*
	  Required: true
	  In: body
	*/
	Pools models.IDList
}

AddPoolsByGroupIDParams contains all the bound params for the add pools by group ID operation typically these are obtained from a http.Request

swagger:parameters addPoolsByGroupID

func NewAddPoolsByGroupIDParams

func NewAddPoolsByGroupIDParams() AddPoolsByGroupIDParams

NewAddPoolsByGroupIDParams creates a new AddPoolsByGroupIDParams object

There are no default values defined in the spec.

func (*AddPoolsByGroupIDParams) BindRequest

func (o *AddPoolsByGroupIDParams) 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 NewAddPoolsByGroupIDParams() beforehand.

type AddPoolsByGroupIDURL

type AddPoolsByGroupIDURL struct {
	GroupID string
	// contains filtered or unexported fields
}

AddPoolsByGroupIDURL generates an URL for the add pools by group ID operation

func (*AddPoolsByGroupIDURL) Build

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

Build a url path and query string

func (*AddPoolsByGroupIDURL) BuildFull

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

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

func (*AddPoolsByGroupIDURL) Must

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

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

func (*AddPoolsByGroupIDURL) SetBasePath

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

func (o *AddPoolsByGroupIDURL) String() string

String returns the string representation of the path with query string

func (*AddPoolsByGroupIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddPoolsByGroupIDURL) WithBasePath

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

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 AddPoolsByGroupIDUnauthorized

type AddPoolsByGroupIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

AddPoolsByGroupIDUnauthorized Unauthorized

swagger:response addPoolsByGroupIdUnauthorized

func NewAddPoolsByGroupIDUnauthorized

func NewAddPoolsByGroupIDUnauthorized() *AddPoolsByGroupIDUnauthorized

NewAddPoolsByGroupIDUnauthorized creates AddPoolsByGroupIDUnauthorized with default headers values

func (*AddPoolsByGroupIDUnauthorized) SetPayload

func (o *AddPoolsByGroupIDUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the add pools by group Id unauthorized response

func (*AddPoolsByGroupIDUnauthorized) WithPayload

func (o *AddPoolsByGroupIDUnauthorized) WithPayload(payload interface{}) *AddPoolsByGroupIDUnauthorized

WithPayload adds the payload to the add pools by group Id unauthorized response

func (*AddPoolsByGroupIDUnauthorized) WriteResponse

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

WriteResponse to the client

type DeleteGroup

type DeleteGroup struct {
	Context *middleware.Context
	Handler DeleteGroupHandler
}
DeleteGroup swagger:route DELETE /groups/{group_id} groups deleteGroup

groups

Delete this group, but not the pools associated with it.

func NewDeleteGroup

func NewDeleteGroup(ctx *middleware.Context, handler DeleteGroupHandler) *DeleteGroup

NewDeleteGroup creates a new http.Handler for the delete group operation

func (*DeleteGroup) ServeHTTP

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

type DeleteGroupHandler

type DeleteGroupHandler interface {
	Handle(DeleteGroupParams, interface{}) middleware.Responder
}

DeleteGroupHandler interface for that can handle valid delete group params

type DeleteGroupHandlerFunc

type DeleteGroupHandlerFunc func(DeleteGroupParams, interface{}) middleware.Responder

DeleteGroupHandlerFunc turns a function with the right signature into a delete group handler

func (DeleteGroupHandlerFunc) Handle

func (fn DeleteGroupHandlerFunc) Handle(params DeleteGroupParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteGroupInternalServerError

type DeleteGroupInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

DeleteGroupInternalServerError delete group internal server error

swagger:response deleteGroupInternalServerError

func NewDeleteGroupInternalServerError

func NewDeleteGroupInternalServerError() *DeleteGroupInternalServerError

NewDeleteGroupInternalServerError creates DeleteGroupInternalServerError with default headers values

func (*DeleteGroupInternalServerError) SetPayload

func (o *DeleteGroupInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the delete group internal server error response

func (*DeleteGroupInternalServerError) WithPayload

func (o *DeleteGroupInternalServerError) WithPayload(payload interface{}) *DeleteGroupInternalServerError

WithPayload adds the payload to the delete group internal server error response

func (*DeleteGroupInternalServerError) WriteResponse

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

WriteResponse to the client

type DeleteGroupNotFound

type DeleteGroupNotFound struct {
}

DeleteGroupNotFound Not Found

swagger:response deleteGroupNotFound

func NewDeleteGroupNotFound

func NewDeleteGroupNotFound() *DeleteGroupNotFound

NewDeleteGroupNotFound creates DeleteGroupNotFound with default headers values

func (*DeleteGroupNotFound) WriteResponse

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

WriteResponse to the client

type DeleteGroupParams

type DeleteGroupParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	GroupID string
}

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

swagger:parameters deleteGroup

func NewDeleteGroupParams

func NewDeleteGroupParams() DeleteGroupParams

NewDeleteGroupParams creates a new DeleteGroupParams object

There are no default values defined in the spec.

func (*DeleteGroupParams) BindRequest

func (o *DeleteGroupParams) 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 NewDeleteGroupParams() beforehand.

type DeleteGroupURL

type DeleteGroupURL struct {
	GroupID string
	// contains filtered or unexported fields
}

DeleteGroupURL generates an URL for the delete group operation

func (*DeleteGroupURL) Build

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

Build a url path and query string

func (*DeleteGroupURL) BuildFull

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

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

func (*DeleteGroupURL) Must

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

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

func (*DeleteGroupURL) SetBasePath

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

func (o *DeleteGroupURL) String() string

String returns the string representation of the path with query string

func (*DeleteGroupURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteGroupURL) WithBasePath

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

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 DeleteGroupUnauthorized

type DeleteGroupUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

DeleteGroupUnauthorized Unauthorized

swagger:response deleteGroupUnauthorized

func NewDeleteGroupUnauthorized

func NewDeleteGroupUnauthorized() *DeleteGroupUnauthorized

NewDeleteGroupUnauthorized creates DeleteGroupUnauthorized with default headers values

func (*DeleteGroupUnauthorized) SetPayload

func (o *DeleteGroupUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the delete group unauthorized response

func (*DeleteGroupUnauthorized) WithPayload

func (o *DeleteGroupUnauthorized) WithPayload(payload interface{}) *DeleteGroupUnauthorized

WithPayload adds the payload to the delete group unauthorized response

func (*DeleteGroupUnauthorized) WriteResponse

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

WriteResponse to the client

type DeletePoolsByGroupID

type DeletePoolsByGroupID struct {
	Context *middleware.Context
	Handler DeletePoolsByGroupIDHandler
}
DeletePoolsByGroupID swagger:route DELETE /groups/{group_id}/pools groups deletePoolsByGroupId

groups

Delete one or more pool_ids in the group. Return new complete list.

func NewDeletePoolsByGroupID

func NewDeletePoolsByGroupID(ctx *middleware.Context, handler DeletePoolsByGroupIDHandler) *DeletePoolsByGroupID

NewDeletePoolsByGroupID creates a new http.Handler for the delete pools by group ID operation

func (*DeletePoolsByGroupID) ServeHTTP

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

type DeletePoolsByGroupIDHandler

type DeletePoolsByGroupIDHandler interface {
	Handle(DeletePoolsByGroupIDParams, interface{}) middleware.Responder
}

DeletePoolsByGroupIDHandler interface for that can handle valid delete pools by group ID params

type DeletePoolsByGroupIDHandlerFunc

type DeletePoolsByGroupIDHandlerFunc func(DeletePoolsByGroupIDParams, interface{}) middleware.Responder

DeletePoolsByGroupIDHandlerFunc turns a function with the right signature into a delete pools by group ID handler

func (DeletePoolsByGroupIDHandlerFunc) Handle

func (fn DeletePoolsByGroupIDHandlerFunc) Handle(params DeletePoolsByGroupIDParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeletePoolsByGroupIDInternalServerError

type DeletePoolsByGroupIDInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

DeletePoolsByGroupIDInternalServerError delete pools by group Id internal server error

swagger:response deletePoolsByGroupIdInternalServerError

func NewDeletePoolsByGroupIDInternalServerError

func NewDeletePoolsByGroupIDInternalServerError() *DeletePoolsByGroupIDInternalServerError

NewDeletePoolsByGroupIDInternalServerError creates DeletePoolsByGroupIDInternalServerError with default headers values

func (*DeletePoolsByGroupIDInternalServerError) SetPayload

func (o *DeletePoolsByGroupIDInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the delete pools by group Id internal server error response

func (*DeletePoolsByGroupIDInternalServerError) WithPayload

WithPayload adds the payload to the delete pools by group Id internal server error response

func (*DeletePoolsByGroupIDInternalServerError) WriteResponse

WriteResponse to the client

type DeletePoolsByGroupIDNotFound

type DeletePoolsByGroupIDNotFound struct {
}

DeletePoolsByGroupIDNotFound Not Found

swagger:response deletePoolsByGroupIdNotFound

func NewDeletePoolsByGroupIDNotFound

func NewDeletePoolsByGroupIDNotFound() *DeletePoolsByGroupIDNotFound

NewDeletePoolsByGroupIDNotFound creates DeletePoolsByGroupIDNotFound with default headers values

func (*DeletePoolsByGroupIDNotFound) WriteResponse

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

WriteResponse to the client

type DeletePoolsByGroupIDOK

type DeletePoolsByGroupIDOK struct {

	/*
	  In: Body
	*/
	Payload models.IDList `json:"body,omitempty"`
}

DeletePoolsByGroupIDOK delete pools by group Id o k

swagger:response deletePoolsByGroupIdOK

func NewDeletePoolsByGroupIDOK

func NewDeletePoolsByGroupIDOK() *DeletePoolsByGroupIDOK

NewDeletePoolsByGroupIDOK creates DeletePoolsByGroupIDOK with default headers values

func (*DeletePoolsByGroupIDOK) SetPayload

func (o *DeletePoolsByGroupIDOK) SetPayload(payload models.IDList)

SetPayload sets the payload to the delete pools by group Id o k response

func (*DeletePoolsByGroupIDOK) WithPayload

WithPayload adds the payload to the delete pools by group Id o k response

func (*DeletePoolsByGroupIDOK) WriteResponse

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

WriteResponse to the client

type DeletePoolsByGroupIDParams

type DeletePoolsByGroupIDParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	GroupID string
	/*
	  Required: true
	  In: body
	*/
	Pools models.IDList
}

DeletePoolsByGroupIDParams contains all the bound params for the delete pools by group ID operation typically these are obtained from a http.Request

swagger:parameters deletePoolsByGroupID

func NewDeletePoolsByGroupIDParams

func NewDeletePoolsByGroupIDParams() DeletePoolsByGroupIDParams

NewDeletePoolsByGroupIDParams creates a new DeletePoolsByGroupIDParams object

There are no default values defined in the spec.

func (*DeletePoolsByGroupIDParams) BindRequest

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 NewDeletePoolsByGroupIDParams() beforehand.

type DeletePoolsByGroupIDURL

type DeletePoolsByGroupIDURL struct {
	GroupID string
	// contains filtered or unexported fields
}

DeletePoolsByGroupIDURL generates an URL for the delete pools by group ID operation

func (*DeletePoolsByGroupIDURL) Build

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

Build a url path and query string

func (*DeletePoolsByGroupIDURL) BuildFull

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

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

func (*DeletePoolsByGroupIDURL) Must

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

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

func (*DeletePoolsByGroupIDURL) SetBasePath

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

func (o *DeletePoolsByGroupIDURL) String() string

String returns the string representation of the path with query string

func (*DeletePoolsByGroupIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeletePoolsByGroupIDURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeletePoolsByGroupIDUnauthorized

type DeletePoolsByGroupIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

DeletePoolsByGroupIDUnauthorized Unauthorized

swagger:response deletePoolsByGroupIdUnauthorized

func NewDeletePoolsByGroupIDUnauthorized

func NewDeletePoolsByGroupIDUnauthorized() *DeletePoolsByGroupIDUnauthorized

NewDeletePoolsByGroupIDUnauthorized creates DeletePoolsByGroupIDUnauthorized with default headers values

func (*DeletePoolsByGroupIDUnauthorized) SetPayload

func (o *DeletePoolsByGroupIDUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the delete pools by group Id unauthorized response

func (*DeletePoolsByGroupIDUnauthorized) WithPayload

func (o *DeletePoolsByGroupIDUnauthorized) WithPayload(payload interface{}) *DeletePoolsByGroupIDUnauthorized

WithPayload adds the payload to the delete pools by group Id unauthorized response

func (*DeletePoolsByGroupIDUnauthorized) WriteResponse

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

WriteResponse to the client

type GetGroupDescriptionByID

type GetGroupDescriptionByID struct {
	Context *middleware.Context
	Handler GetGroupDescriptionByIDHandler
}
GetGroupDescriptionByID swagger:route GET /groups/{group_id} groups getGroupDescriptionById

groups

Gets a description of a group

func NewGetGroupDescriptionByID

func NewGetGroupDescriptionByID(ctx *middleware.Context, handler GetGroupDescriptionByIDHandler) *GetGroupDescriptionByID

NewGetGroupDescriptionByID creates a new http.Handler for the get group description by ID operation

func (*GetGroupDescriptionByID) ServeHTTP

type GetGroupDescriptionByIDHandler

type GetGroupDescriptionByIDHandler interface {
	Handle(GetGroupDescriptionByIDParams, interface{}) middleware.Responder
}

GetGroupDescriptionByIDHandler interface for that can handle valid get group description by ID params

type GetGroupDescriptionByIDHandlerFunc

type GetGroupDescriptionByIDHandlerFunc func(GetGroupDescriptionByIDParams, interface{}) middleware.Responder

GetGroupDescriptionByIDHandlerFunc turns a function with the right signature into a get group description by ID handler

func (GetGroupDescriptionByIDHandlerFunc) Handle

Handle executing the request and returning a response

type GetGroupDescriptionByIDInternalServerError

type GetGroupDescriptionByIDInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetGroupDescriptionByIDInternalServerError get group description by Id internal server error

swagger:response getGroupDescriptionByIdInternalServerError

func NewGetGroupDescriptionByIDInternalServerError

func NewGetGroupDescriptionByIDInternalServerError() *GetGroupDescriptionByIDInternalServerError

NewGetGroupDescriptionByIDInternalServerError creates GetGroupDescriptionByIDInternalServerError with default headers values

func (*GetGroupDescriptionByIDInternalServerError) SetPayload

func (o *GetGroupDescriptionByIDInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the get group description by Id internal server error response

func (*GetGroupDescriptionByIDInternalServerError) WithPayload

WithPayload adds the payload to the get group description by Id internal server error response

func (*GetGroupDescriptionByIDInternalServerError) WriteResponse

WriteResponse to the client

type GetGroupDescriptionByIDNotFound

type GetGroupDescriptionByIDNotFound struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetGroupDescriptionByIDNotFound Not Found

swagger:response getGroupDescriptionByIdNotFound

func NewGetGroupDescriptionByIDNotFound

func NewGetGroupDescriptionByIDNotFound() *GetGroupDescriptionByIDNotFound

NewGetGroupDescriptionByIDNotFound creates GetGroupDescriptionByIDNotFound with default headers values

func (*GetGroupDescriptionByIDNotFound) SetPayload

func (o *GetGroupDescriptionByIDNotFound) SetPayload(payload interface{})

SetPayload sets the payload to the get group description by Id not found response

func (*GetGroupDescriptionByIDNotFound) WithPayload

func (o *GetGroupDescriptionByIDNotFound) WithPayload(payload interface{}) *GetGroupDescriptionByIDNotFound

WithPayload adds the payload to the get group description by Id not found response

func (*GetGroupDescriptionByIDNotFound) WriteResponse

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

WriteResponse to the client

type GetGroupDescriptionByIDOK

type GetGroupDescriptionByIDOK struct {

	/*
	  In: Body
	*/
	Payload *models.Description `json:"body,omitempty"`
}

GetGroupDescriptionByIDOK get group description by Id o k

swagger:response getGroupDescriptionByIdOK

func NewGetGroupDescriptionByIDOK

func NewGetGroupDescriptionByIDOK() *GetGroupDescriptionByIDOK

NewGetGroupDescriptionByIDOK creates GetGroupDescriptionByIDOK with default headers values

func (*GetGroupDescriptionByIDOK) SetPayload

func (o *GetGroupDescriptionByIDOK) SetPayload(payload *models.Description)

SetPayload sets the payload to the get group description by Id o k response

func (*GetGroupDescriptionByIDOK) WithPayload

WithPayload adds the payload to the get group description by Id o k response

func (*GetGroupDescriptionByIDOK) WriteResponse

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

WriteResponse to the client

type GetGroupDescriptionByIDParams

type GetGroupDescriptionByIDParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	GroupID string
}

GetGroupDescriptionByIDParams contains all the bound params for the get group description by ID operation typically these are obtained from a http.Request

swagger:parameters getGroupDescriptionByID

func NewGetGroupDescriptionByIDParams

func NewGetGroupDescriptionByIDParams() GetGroupDescriptionByIDParams

NewGetGroupDescriptionByIDParams creates a new GetGroupDescriptionByIDParams object

There are no default values defined in the spec.

func (*GetGroupDescriptionByIDParams) BindRequest

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 NewGetGroupDescriptionByIDParams() beforehand.

type GetGroupDescriptionByIDURL

type GetGroupDescriptionByIDURL struct {
	GroupID string
	// contains filtered or unexported fields
}

GetGroupDescriptionByIDURL generates an URL for the get group description by ID operation

func (*GetGroupDescriptionByIDURL) Build

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

Build a url path and query string

func (*GetGroupDescriptionByIDURL) BuildFull

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

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

func (*GetGroupDescriptionByIDURL) Must

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

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

func (*GetGroupDescriptionByIDURL) SetBasePath

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

func (o *GetGroupDescriptionByIDURL) String() string

String returns the string representation of the path with query string

func (*GetGroupDescriptionByIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetGroupDescriptionByIDURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetGroupDescriptionByIDUnauthorized

type GetGroupDescriptionByIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetGroupDescriptionByIDUnauthorized Unauthorized

swagger:response getGroupDescriptionByIdUnauthorized

func NewGetGroupDescriptionByIDUnauthorized

func NewGetGroupDescriptionByIDUnauthorized() *GetGroupDescriptionByIDUnauthorized

NewGetGroupDescriptionByIDUnauthorized creates GetGroupDescriptionByIDUnauthorized with default headers values

func (*GetGroupDescriptionByIDUnauthorized) SetPayload

func (o *GetGroupDescriptionByIDUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the get group description by Id unauthorized response

func (*GetGroupDescriptionByIDUnauthorized) WithPayload

func (o *GetGroupDescriptionByIDUnauthorized) WithPayload(payload interface{}) *GetGroupDescriptionByIDUnauthorized

WithPayload adds the payload to the get group description by Id unauthorized response

func (*GetGroupDescriptionByIDUnauthorized) WriteResponse

WriteResponse to the client

type GetGroupIDByName

type GetGroupIDByName struct {
	Context *middleware.Context
	Handler GetGroupIDByNameHandler
}
GetGroupIDByName swagger:route GET /groups groups getGroupIdByName

groups

Gets group id for a given group name

func NewGetGroupIDByName

func NewGetGroupIDByName(ctx *middleware.Context, handler GetGroupIDByNameHandler) *GetGroupIDByName

NewGetGroupIDByName creates a new http.Handler for the get group ID by name operation

func (*GetGroupIDByName) ServeHTTP

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

type GetGroupIDByNameHandler

type GetGroupIDByNameHandler interface {
	Handle(GetGroupIDByNameParams, interface{}) middleware.Responder
}

GetGroupIDByNameHandler interface for that can handle valid get group ID by name params

type GetGroupIDByNameHandlerFunc

type GetGroupIDByNameHandlerFunc func(GetGroupIDByNameParams, interface{}) middleware.Responder

GetGroupIDByNameHandlerFunc turns a function with the right signature into a get group ID by name handler

func (GetGroupIDByNameHandlerFunc) Handle

func (fn GetGroupIDByNameHandlerFunc) Handle(params GetGroupIDByNameParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetGroupIDByNameInternalServerError

type GetGroupIDByNameInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetGroupIDByNameInternalServerError get group Id by name internal server error

swagger:response getGroupIdByNameInternalServerError

func NewGetGroupIDByNameInternalServerError

func NewGetGroupIDByNameInternalServerError() *GetGroupIDByNameInternalServerError

NewGetGroupIDByNameInternalServerError creates GetGroupIDByNameInternalServerError with default headers values

func (*GetGroupIDByNameInternalServerError) SetPayload

func (o *GetGroupIDByNameInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the get group Id by name internal server error response

func (*GetGroupIDByNameInternalServerError) WithPayload

func (o *GetGroupIDByNameInternalServerError) WithPayload(payload interface{}) *GetGroupIDByNameInternalServerError

WithPayload adds the payload to the get group Id by name internal server error response

func (*GetGroupIDByNameInternalServerError) WriteResponse

WriteResponse to the client

type GetGroupIDByNameOK

type GetGroupIDByNameOK struct {

	/*
	  In: Body
	*/
	Payload []string `json:"body,omitempty"`
}

GetGroupIDByNameOK get group Id by name o k

swagger:response getGroupIdByNameOK

func NewGetGroupIDByNameOK

func NewGetGroupIDByNameOK() *GetGroupIDByNameOK

NewGetGroupIDByNameOK creates GetGroupIDByNameOK with default headers values

func (*GetGroupIDByNameOK) SetPayload

func (o *GetGroupIDByNameOK) SetPayload(payload []string)

SetPayload sets the payload to the get group Id by name o k response

func (*GetGroupIDByNameOK) WithPayload

func (o *GetGroupIDByNameOK) WithPayload(payload []string) *GetGroupIDByNameOK

WithPayload adds the payload to the get group Id by name o k response

func (*GetGroupIDByNameOK) WriteResponse

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

WriteResponse to the client

type GetGroupIDByNameParams

type GetGroupIDByNameParams struct {

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

	/*Search by group name
	  Required: true
	  In: query
	*/
	Name string
}

GetGroupIDByNameParams contains all the bound params for the get group ID by name operation typically these are obtained from a http.Request

swagger:parameters getGroupIDByName

func NewGetGroupIDByNameParams

func NewGetGroupIDByNameParams() GetGroupIDByNameParams

NewGetGroupIDByNameParams creates a new GetGroupIDByNameParams object

There are no default values defined in the spec.

func (*GetGroupIDByNameParams) BindRequest

func (o *GetGroupIDByNameParams) 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 NewGetGroupIDByNameParams() beforehand.

type GetGroupIDByNameURL

type GetGroupIDByNameURL struct {
	Name string
	// contains filtered or unexported fields
}

GetGroupIDByNameURL generates an URL for the get group ID by name operation

func (*GetGroupIDByNameURL) Build

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

Build a url path and query string

func (*GetGroupIDByNameURL) BuildFull

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

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

func (*GetGroupIDByNameURL) Must

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

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

func (*GetGroupIDByNameURL) SetBasePath

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

func (o *GetGroupIDByNameURL) String() string

String returns the string representation of the path with query string

func (*GetGroupIDByNameURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetGroupIDByNameURL) WithBasePath

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

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 GetGroupIDByNameUnauthorized

type GetGroupIDByNameUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetGroupIDByNameUnauthorized Unauthorized

swagger:response getGroupIdByNameUnauthorized

func NewGetGroupIDByNameUnauthorized

func NewGetGroupIDByNameUnauthorized() *GetGroupIDByNameUnauthorized

NewGetGroupIDByNameUnauthorized creates GetGroupIDByNameUnauthorized with default headers values

func (*GetGroupIDByNameUnauthorized) SetPayload

func (o *GetGroupIDByNameUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the get group Id by name unauthorized response

func (*GetGroupIDByNameUnauthorized) WithPayload

func (o *GetGroupIDByNameUnauthorized) WithPayload(payload interface{}) *GetGroupIDByNameUnauthorized

WithPayload adds the payload to the get group Id by name unauthorized response

func (*GetGroupIDByNameUnauthorized) WriteResponse

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

WriteResponse to the client

type GetPoolsByGroupID

type GetPoolsByGroupID struct {
	Context *middleware.Context
	Handler GetPoolsByGroupIDHandler
}
GetPoolsByGroupID swagger:route GET /groups/{group_id}/pools groups getPoolsByGroupId

groups

Gets a list of pool_ids in the group

func NewGetPoolsByGroupID

func NewGetPoolsByGroupID(ctx *middleware.Context, handler GetPoolsByGroupIDHandler) *GetPoolsByGroupID

NewGetPoolsByGroupID creates a new http.Handler for the get pools by group ID operation

func (*GetPoolsByGroupID) ServeHTTP

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

type GetPoolsByGroupIDHandler

type GetPoolsByGroupIDHandler interface {
	Handle(GetPoolsByGroupIDParams, interface{}) middleware.Responder
}

GetPoolsByGroupIDHandler interface for that can handle valid get pools by group ID params

type GetPoolsByGroupIDHandlerFunc

type GetPoolsByGroupIDHandlerFunc func(GetPoolsByGroupIDParams, interface{}) middleware.Responder

GetPoolsByGroupIDHandlerFunc turns a function with the right signature into a get pools by group ID handler

func (GetPoolsByGroupIDHandlerFunc) Handle

func (fn GetPoolsByGroupIDHandlerFunc) Handle(params GetPoolsByGroupIDParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetPoolsByGroupIDInternalServerError

type GetPoolsByGroupIDInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetPoolsByGroupIDInternalServerError get pools by group Id internal server error

swagger:response getPoolsByGroupIdInternalServerError

func NewGetPoolsByGroupIDInternalServerError

func NewGetPoolsByGroupIDInternalServerError() *GetPoolsByGroupIDInternalServerError

NewGetPoolsByGroupIDInternalServerError creates GetPoolsByGroupIDInternalServerError with default headers values

func (*GetPoolsByGroupIDInternalServerError) SetPayload

func (o *GetPoolsByGroupIDInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the get pools by group Id internal server error response

func (*GetPoolsByGroupIDInternalServerError) WithPayload

WithPayload adds the payload to the get pools by group Id internal server error response

func (*GetPoolsByGroupIDInternalServerError) WriteResponse

WriteResponse to the client

type GetPoolsByGroupIDNotFound

type GetPoolsByGroupIDNotFound struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetPoolsByGroupIDNotFound Not Found

swagger:response getPoolsByGroupIdNotFound

func NewGetPoolsByGroupIDNotFound

func NewGetPoolsByGroupIDNotFound() *GetPoolsByGroupIDNotFound

NewGetPoolsByGroupIDNotFound creates GetPoolsByGroupIDNotFound with default headers values

func (*GetPoolsByGroupIDNotFound) SetPayload

func (o *GetPoolsByGroupIDNotFound) SetPayload(payload interface{})

SetPayload sets the payload to the get pools by group Id not found response

func (*GetPoolsByGroupIDNotFound) WithPayload

func (o *GetPoolsByGroupIDNotFound) WithPayload(payload interface{}) *GetPoolsByGroupIDNotFound

WithPayload adds the payload to the get pools by group Id not found response

func (*GetPoolsByGroupIDNotFound) WriteResponse

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

WriteResponse to the client

type GetPoolsByGroupIDOK

type GetPoolsByGroupIDOK struct {

	/*
	  In: Body
	*/
	Payload models.IDList `json:"body,omitempty"`
}

GetPoolsByGroupIDOK get pools by group Id o k

swagger:response getPoolsByGroupIdOK

func NewGetPoolsByGroupIDOK

func NewGetPoolsByGroupIDOK() *GetPoolsByGroupIDOK

NewGetPoolsByGroupIDOK creates GetPoolsByGroupIDOK with default headers values

func (*GetPoolsByGroupIDOK) SetPayload

func (o *GetPoolsByGroupIDOK) SetPayload(payload models.IDList)

SetPayload sets the payload to the get pools by group Id o k response

func (*GetPoolsByGroupIDOK) WithPayload

func (o *GetPoolsByGroupIDOK) WithPayload(payload models.IDList) *GetPoolsByGroupIDOK

WithPayload adds the payload to the get pools by group Id o k response

func (*GetPoolsByGroupIDOK) WriteResponse

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

WriteResponse to the client

type GetPoolsByGroupIDParams

type GetPoolsByGroupIDParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	GroupID string
}

GetPoolsByGroupIDParams contains all the bound params for the get pools by group ID operation typically these are obtained from a http.Request

swagger:parameters getPoolsByGroupID

func NewGetPoolsByGroupIDParams

func NewGetPoolsByGroupIDParams() GetPoolsByGroupIDParams

NewGetPoolsByGroupIDParams creates a new GetPoolsByGroupIDParams object

There are no default values defined in the spec.

func (*GetPoolsByGroupIDParams) BindRequest

func (o *GetPoolsByGroupIDParams) 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 NewGetPoolsByGroupIDParams() beforehand.

type GetPoolsByGroupIDURL

type GetPoolsByGroupIDURL struct {
	GroupID string
	// contains filtered or unexported fields
}

GetPoolsByGroupIDURL generates an URL for the get pools by group ID operation

func (*GetPoolsByGroupIDURL) Build

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

Build a url path and query string

func (*GetPoolsByGroupIDURL) BuildFull

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

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

func (*GetPoolsByGroupIDURL) Must

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

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

func (*GetPoolsByGroupIDURL) SetBasePath

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

func (o *GetPoolsByGroupIDURL) String() string

String returns the string representation of the path with query string

func (*GetPoolsByGroupIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetPoolsByGroupIDURL) WithBasePath

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

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 GetPoolsByGroupIDUnauthorized

type GetPoolsByGroupIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetPoolsByGroupIDUnauthorized Unauthorized

swagger:response getPoolsByGroupIdUnauthorized

func NewGetPoolsByGroupIDUnauthorized

func NewGetPoolsByGroupIDUnauthorized() *GetPoolsByGroupIDUnauthorized

NewGetPoolsByGroupIDUnauthorized creates GetPoolsByGroupIDUnauthorized with default headers values

func (*GetPoolsByGroupIDUnauthorized) SetPayload

func (o *GetPoolsByGroupIDUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the get pools by group Id unauthorized response

func (*GetPoolsByGroupIDUnauthorized) WithPayload

func (o *GetPoolsByGroupIDUnauthorized) WithPayload(payload interface{}) *GetPoolsByGroupIDUnauthorized

WithPayload adds the payload to the get pools by group Id unauthorized response

func (*GetPoolsByGroupIDUnauthorized) WriteResponse

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

WriteResponse to the client

type ReplacePoolsByGroupID

type ReplacePoolsByGroupID struct {
	Context *middleware.Context
	Handler ReplacePoolsByGroupIDHandler
}
ReplacePoolsByGroupID swagger:route PUT /groups/{group_id}/pools groups replacePoolsByGroupId

groups

Update list of pool_ids in the group (replace existing). Return new complete list.

func NewReplacePoolsByGroupID

func NewReplacePoolsByGroupID(ctx *middleware.Context, handler ReplacePoolsByGroupIDHandler) *ReplacePoolsByGroupID

NewReplacePoolsByGroupID creates a new http.Handler for the replace pools by group ID operation

func (*ReplacePoolsByGroupID) ServeHTTP

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

type ReplacePoolsByGroupIDHandler

type ReplacePoolsByGroupIDHandler interface {
	Handle(ReplacePoolsByGroupIDParams, interface{}) middleware.Responder
}

ReplacePoolsByGroupIDHandler interface for that can handle valid replace pools by group ID params

type ReplacePoolsByGroupIDHandlerFunc

type ReplacePoolsByGroupIDHandlerFunc func(ReplacePoolsByGroupIDParams, interface{}) middleware.Responder

ReplacePoolsByGroupIDHandlerFunc turns a function with the right signature into a replace pools by group ID handler

func (ReplacePoolsByGroupIDHandlerFunc) Handle

func (fn ReplacePoolsByGroupIDHandlerFunc) Handle(params ReplacePoolsByGroupIDParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type ReplacePoolsByGroupIDInternalServerError

type ReplacePoolsByGroupIDInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

ReplacePoolsByGroupIDInternalServerError replace pools by group Id internal server error

swagger:response replacePoolsByGroupIdInternalServerError

func NewReplacePoolsByGroupIDInternalServerError

func NewReplacePoolsByGroupIDInternalServerError() *ReplacePoolsByGroupIDInternalServerError

NewReplacePoolsByGroupIDInternalServerError creates ReplacePoolsByGroupIDInternalServerError with default headers values

func (*ReplacePoolsByGroupIDInternalServerError) SetPayload

func (o *ReplacePoolsByGroupIDInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the replace pools by group Id internal server error response

func (*ReplacePoolsByGroupIDInternalServerError) WithPayload

WithPayload adds the payload to the replace pools by group Id internal server error response

func (*ReplacePoolsByGroupIDInternalServerError) WriteResponse

WriteResponse to the client

type ReplacePoolsByGroupIDNotFound

type ReplacePoolsByGroupIDNotFound struct {
}

ReplacePoolsByGroupIDNotFound Not Found

swagger:response replacePoolsByGroupIdNotFound

func NewReplacePoolsByGroupIDNotFound

func NewReplacePoolsByGroupIDNotFound() *ReplacePoolsByGroupIDNotFound

NewReplacePoolsByGroupIDNotFound creates ReplacePoolsByGroupIDNotFound with default headers values

func (*ReplacePoolsByGroupIDNotFound) WriteResponse

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

WriteResponse to the client

type ReplacePoolsByGroupIDOK

type ReplacePoolsByGroupIDOK struct {

	/*
	  In: Body
	*/
	Payload models.IDList `json:"body,omitempty"`
}

ReplacePoolsByGroupIDOK replace pools by group Id o k

swagger:response replacePoolsByGroupIdOK

func NewReplacePoolsByGroupIDOK

func NewReplacePoolsByGroupIDOK() *ReplacePoolsByGroupIDOK

NewReplacePoolsByGroupIDOK creates ReplacePoolsByGroupIDOK with default headers values

func (*ReplacePoolsByGroupIDOK) SetPayload

func (o *ReplacePoolsByGroupIDOK) SetPayload(payload models.IDList)

SetPayload sets the payload to the replace pools by group Id o k response

func (*ReplacePoolsByGroupIDOK) WithPayload

WithPayload adds the payload to the replace pools by group Id o k response

func (*ReplacePoolsByGroupIDOK) WriteResponse

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

WriteResponse to the client

type ReplacePoolsByGroupIDParams

type ReplacePoolsByGroupIDParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	GroupID string
	/*
	  Required: true
	  In: body
	*/
	Pools models.IDList
}

ReplacePoolsByGroupIDParams contains all the bound params for the replace pools by group ID operation typically these are obtained from a http.Request

swagger:parameters replacePoolsByGroupID

func NewReplacePoolsByGroupIDParams

func NewReplacePoolsByGroupIDParams() ReplacePoolsByGroupIDParams

NewReplacePoolsByGroupIDParams creates a new ReplacePoolsByGroupIDParams object

There are no default values defined in the spec.

func (*ReplacePoolsByGroupIDParams) BindRequest

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 NewReplacePoolsByGroupIDParams() beforehand.

type ReplacePoolsByGroupIDURL

type ReplacePoolsByGroupIDURL struct {
	GroupID string
	// contains filtered or unexported fields
}

ReplacePoolsByGroupIDURL generates an URL for the replace pools by group ID operation

func (*ReplacePoolsByGroupIDURL) Build

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

Build a url path and query string

func (*ReplacePoolsByGroupIDURL) BuildFull

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

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

func (*ReplacePoolsByGroupIDURL) Must

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

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

func (*ReplacePoolsByGroupIDURL) SetBasePath

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

func (o *ReplacePoolsByGroupIDURL) String() string

String returns the string representation of the path with query string

func (*ReplacePoolsByGroupIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ReplacePoolsByGroupIDURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ReplacePoolsByGroupIDUnauthorized

type ReplacePoolsByGroupIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

ReplacePoolsByGroupIDUnauthorized Unauthorized

swagger:response replacePoolsByGroupIdUnauthorized

func NewReplacePoolsByGroupIDUnauthorized

func NewReplacePoolsByGroupIDUnauthorized() *ReplacePoolsByGroupIDUnauthorized

NewReplacePoolsByGroupIDUnauthorized creates ReplacePoolsByGroupIDUnauthorized with default headers values

func (*ReplacePoolsByGroupIDUnauthorized) SetPayload

func (o *ReplacePoolsByGroupIDUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the replace pools by group Id unauthorized response

func (*ReplacePoolsByGroupIDUnauthorized) WithPayload

func (o *ReplacePoolsByGroupIDUnauthorized) WithPayload(payload interface{}) *ReplacePoolsByGroupIDUnauthorized

WithPayload adds the payload to the replace pools by group Id unauthorized response

func (*ReplacePoolsByGroupIDUnauthorized) WriteResponse

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