operations

package
v1.11.7 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const BlockConfigBadRequestCode int = 400

BlockConfigBadRequestCode is the HTTP code returned for type BlockConfigBadRequest

View Source
const BlockConfigInternalServerErrorCode int = 500

BlockConfigInternalServerErrorCode is the HTTP code returned for type BlockConfigInternalServerError

View Source
const BlockConfigNotFoundCode int = 404

BlockConfigNotFoundCode is the HTTP code returned for type BlockConfigNotFound

View Source
const BlockConfigOKCode int = 200

BlockConfigOKCode is the HTTP code returned for type BlockConfigOK

View Source
const BlockConfigServiceUnavailableCode int = 503

BlockConfigServiceUnavailableCode is the HTTP code returned for type BlockConfigServiceUnavailable

View Source
const BlockConfigUnauthorizedCode int = 401

BlockConfigUnauthorizedCode is the HTTP code returned for type BlockConfigUnauthorized

View Source
const CreateConfigBadRequestCode int = 400

CreateConfigBadRequestCode is the HTTP code returned for type CreateConfigBadRequest

View Source
const CreateConfigCreatedCode int = 201

CreateConfigCreatedCode is the HTTP code returned for type CreateConfigCreated

View Source
const CreateConfigInsufficientStorageCode int = 507

CreateConfigInsufficientStorageCode is the HTTP code returned for type CreateConfigInsufficientStorage

View Source
const CreateConfigInternalServerErrorCode int = 500

CreateConfigInternalServerErrorCode is the HTTP code returned for type CreateConfigInternalServerError

View Source
const CreateConfigServiceUnavailableCode int = 503

CreateConfigServiceUnavailableCode is the HTTP code returned for type CreateConfigServiceUnavailable

View Source
const CreateConfigUnauthorizedCode int = 401

CreateConfigUnauthorizedCode is the HTTP code returned for type CreateConfigUnauthorized

View Source
const DeleteConfigBadRequestCode int = 400

DeleteConfigBadRequestCode is the HTTP code returned for type DeleteConfigBadRequest

View Source
const DeleteConfigInternalServerErrorCode int = 500

DeleteConfigInternalServerErrorCode is the HTTP code returned for type DeleteConfigInternalServerError

View Source
const DeleteConfigNotFoundCode int = 404

DeleteConfigNotFoundCode is the HTTP code returned for type DeleteConfigNotFound

View Source
const DeleteConfigOKCode int = 200

DeleteConfigOKCode is the HTTP code returned for type DeleteConfigOK

View Source
const DeleteConfigServiceUnavailableCode int = 503

DeleteConfigServiceUnavailableCode is the HTTP code returned for type DeleteConfigServiceUnavailable

View Source
const DeleteConfigUnauthorizedCode int = 401

DeleteConfigUnauthorizedCode is the HTTP code returned for type DeleteConfigUnauthorized

View Source
const GetBrigadeActivityBadRequestCode int = 400

GetBrigadeActivityBadRequestCode is the HTTP code returned for type GetBrigadeActivityBadRequest

View Source
const GetBrigadeActivityInternalServerErrorCode int = 500

GetBrigadeActivityInternalServerErrorCode is the HTTP code returned for type GetBrigadeActivityInternalServerError

View Source
const GetBrigadeActivityOKCode int = 200

GetBrigadeActivityOKCode is the HTTP code returned for type GetBrigadeActivityOK

View Source
const GetBrigadeActivityServiceUnavailableCode int = 503

GetBrigadeActivityServiceUnavailableCode is the HTTP code returned for type GetBrigadeActivityServiceUnavailable

View Source
const GetBrigadeActivityUnauthorizedCode int = 401

GetBrigadeActivityUnauthorizedCode is the HTTP code returned for type GetBrigadeActivityUnauthorized

View Source
const GetBrigadeSlotsBadRequestCode int = 400

GetBrigadeSlotsBadRequestCode is the HTTP code returned for type GetBrigadeSlotsBadRequest

View Source
const GetBrigadeSlotsInternalServerErrorCode int = 500

GetBrigadeSlotsInternalServerErrorCode is the HTTP code returned for type GetBrigadeSlotsInternalServerError

View Source
const GetBrigadeSlotsOKCode int = 200

GetBrigadeSlotsOKCode is the HTTP code returned for type GetBrigadeSlotsOK

View Source
const GetBrigadeSlotsServiceUnavailableCode int = 503

GetBrigadeSlotsServiceUnavailableCode is the HTTP code returned for type GetBrigadeSlotsServiceUnavailable

View Source
const GetBrigadeSlotsUnauthorizedCode int = 401

GetBrigadeSlotsUnauthorizedCode is the HTTP code returned for type GetBrigadeSlotsUnauthorized

View Source
const UnblockConfigBadRequestCode int = 400

UnblockConfigBadRequestCode is the HTTP code returned for type UnblockConfigBadRequest

View Source
const UnblockConfigInternalServerErrorCode int = 500

UnblockConfigInternalServerErrorCode is the HTTP code returned for type UnblockConfigInternalServerError

View Source
const UnblockConfigNotFoundCode int = 404

UnblockConfigNotFoundCode is the HTTP code returned for type UnblockConfigNotFound

View Source
const UnblockConfigOKCode int = 200

UnblockConfigOKCode is the HTTP code returned for type UnblockConfigOK

View Source
const UnblockConfigServiceUnavailableCode int = 503

UnblockConfigServiceUnavailableCode is the HTTP code returned for type UnblockConfigServiceUnavailable

View Source
const UnblockConfigUnauthorizedCode int = 401

UnblockConfigUnauthorizedCode is the HTTP code returned for type UnblockConfigUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockConfig added in v1.11.2

type BlockConfig struct {
	Context *middleware.Context
	Handler BlockConfigHandler
}
BlockConfig swagger:route PATCH /config/{config_id}/block blockConfig

Block VPN config

func NewBlockConfig added in v1.11.2

func NewBlockConfig(ctx *middleware.Context, handler BlockConfigHandler) *BlockConfig

NewBlockConfig creates a new http.Handler for the block config operation

func (*BlockConfig) ServeHTTP added in v1.11.2

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

type BlockConfigBadRequest added in v1.11.2

type BlockConfigBadRequest struct {

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

BlockConfigBadRequest Bad Request

swagger:response blockConfigBadRequest

func NewBlockConfigBadRequest added in v1.11.2

func NewBlockConfigBadRequest() *BlockConfigBadRequest

NewBlockConfigBadRequest creates BlockConfigBadRequest with default headers values

func (*BlockConfigBadRequest) SetPayload added in v1.11.2

func (o *BlockConfigBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the block config bad request response

func (*BlockConfigBadRequest) WithPayload added in v1.11.2

func (o *BlockConfigBadRequest) WithPayload(payload *models.Error) *BlockConfigBadRequest

WithPayload adds the payload to the block config bad request response

func (*BlockConfigBadRequest) WriteResponse added in v1.11.2

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

WriteResponse to the client

type BlockConfigBody added in v1.11.2

type BlockConfigBody struct {

	// Brigade ID
	// Required: true
	// Format: uuid
	BrigadeID *strfmt.UUID `json:"brigade_id"`
}

BlockConfigBody block config body

swagger:model BlockConfigBody

func (*BlockConfigBody) ContextValidate added in v1.11.2

func (o *BlockConfigBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this block config body based on context it is used

func (*BlockConfigBody) MarshalBinary added in v1.11.2

func (o *BlockConfigBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlockConfigBody) UnmarshalBinary added in v1.11.2

func (o *BlockConfigBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlockConfigBody) Validate added in v1.11.2

func (o *BlockConfigBody) Validate(formats strfmt.Registry) error

Validate validates this block config body

type BlockConfigHandler added in v1.11.2

type BlockConfigHandler interface {
	Handle(BlockConfigParams, *models.Principal) middleware.Responder
}

BlockConfigHandler interface for that can handle valid block config params

type BlockConfigHandlerFunc added in v1.11.2

type BlockConfigHandlerFunc func(BlockConfigParams, *models.Principal) middleware.Responder

BlockConfigHandlerFunc turns a function with the right signature into a block config handler

func (BlockConfigHandlerFunc) Handle added in v1.11.2

Handle executing the request and returning a response

type BlockConfigInternalServerError added in v1.11.2

type BlockConfigInternalServerError struct {

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

BlockConfigInternalServerError Internal Server Error

swagger:response blockConfigInternalServerError

func NewBlockConfigInternalServerError added in v1.11.2

func NewBlockConfigInternalServerError() *BlockConfigInternalServerError

NewBlockConfigInternalServerError creates BlockConfigInternalServerError with default headers values

func (*BlockConfigInternalServerError) SetPayload added in v1.11.2

func (o *BlockConfigInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the block config internal server error response

func (*BlockConfigInternalServerError) WithPayload added in v1.11.2

WithPayload adds the payload to the block config internal server error response

func (*BlockConfigInternalServerError) WriteResponse added in v1.11.2

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

WriteResponse to the client

type BlockConfigNotFound added in v1.11.2

type BlockConfigNotFound struct {

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

BlockConfigNotFound Not Found

swagger:response blockConfigNotFound

func NewBlockConfigNotFound added in v1.11.2

func NewBlockConfigNotFound() *BlockConfigNotFound

NewBlockConfigNotFound creates BlockConfigNotFound with default headers values

func (*BlockConfigNotFound) SetPayload added in v1.11.2

func (o *BlockConfigNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the block config not found response

func (*BlockConfigNotFound) WithPayload added in v1.11.2

func (o *BlockConfigNotFound) WithPayload(payload *models.Error) *BlockConfigNotFound

WithPayload adds the payload to the block config not found response

func (*BlockConfigNotFound) WriteResponse added in v1.11.2

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

WriteResponse to the client

type BlockConfigOK added in v1.11.2

type BlockConfigOK struct {

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

BlockConfigOK OK

swagger:response blockConfigOK

func NewBlockConfigOK added in v1.11.2

func NewBlockConfigOK() *BlockConfigOK

NewBlockConfigOK creates BlockConfigOK with default headers values

func (*BlockConfigOK) SetPayload added in v1.11.2

func (o *BlockConfigOK) SetPayload(payload *models.FreeSlots)

SetPayload sets the payload to the block config o k response

func (*BlockConfigOK) WithPayload added in v1.11.2

func (o *BlockConfigOK) WithPayload(payload *models.FreeSlots) *BlockConfigOK

WithPayload adds the payload to the block config o k response

func (*BlockConfigOK) WriteResponse added in v1.11.2

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

WriteResponse to the client

type BlockConfigParams added in v1.11.2

type BlockConfigParams struct {

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

	/*Brigade ID
	  Required: true
	  In: body
	*/
	Body BlockConfigBody
	/*Config ID
	  Required: true
	  In: path
	*/
	ConfigID string
}

BlockConfigParams contains all the bound params for the block config operation typically these are obtained from a http.Request

swagger:parameters blockConfig

func NewBlockConfigParams added in v1.11.2

func NewBlockConfigParams() BlockConfigParams

NewBlockConfigParams creates a new BlockConfigParams object

There are no default values defined in the spec.

func (*BlockConfigParams) BindRequest added in v1.11.2

func (o *BlockConfigParams) 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 NewBlockConfigParams() beforehand.

type BlockConfigServiceUnavailable added in v1.11.2

type BlockConfigServiceUnavailable struct {

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

BlockConfigServiceUnavailable Service Temporarily Unavailable

swagger:response blockConfigServiceUnavailable

func NewBlockConfigServiceUnavailable added in v1.11.2

func NewBlockConfigServiceUnavailable() *BlockConfigServiceUnavailable

NewBlockConfigServiceUnavailable creates BlockConfigServiceUnavailable with default headers values

func (*BlockConfigServiceUnavailable) SetPayload added in v1.11.2

SetPayload sets the payload to the block config service unavailable response

func (*BlockConfigServiceUnavailable) WithPayload added in v1.11.2

WithPayload adds the payload to the block config service unavailable response

func (*BlockConfigServiceUnavailable) WriteResponse added in v1.11.2

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

WriteResponse to the client

type BlockConfigURL added in v1.11.2

type BlockConfigURL struct {
	ConfigID string
	// contains filtered or unexported fields
}

BlockConfigURL generates an URL for the block config operation

func (*BlockConfigURL) Build added in v1.11.2

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

Build a url path and query string

func (*BlockConfigURL) BuildFull added in v1.11.2

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

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

func (*BlockConfigURL) Must added in v1.11.2

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

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

func (*BlockConfigURL) SetBasePath added in v1.11.2

func (o *BlockConfigURL) 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 (*BlockConfigURL) String added in v1.11.2

func (o *BlockConfigURL) String() string

String returns the string representation of the path with query string

func (*BlockConfigURL) StringFull added in v1.11.2

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

StringFull returns the string representation of a complete url

func (*BlockConfigURL) WithBasePath added in v1.11.2

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

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 BlockConfigUnauthorized added in v1.11.2

type BlockConfigUnauthorized struct {

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

BlockConfigUnauthorized Unauthorized

swagger:response blockConfigUnauthorized

func NewBlockConfigUnauthorized added in v1.11.2

func NewBlockConfigUnauthorized() *BlockConfigUnauthorized

NewBlockConfigUnauthorized creates BlockConfigUnauthorized with default headers values

func (*BlockConfigUnauthorized) SetPayload added in v1.11.2

func (o *BlockConfigUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the block config unauthorized response

func (*BlockConfigUnauthorized) WithPayload added in v1.11.2

func (o *BlockConfigUnauthorized) WithPayload(payload *models.Error) *BlockConfigUnauthorized

WithPayload adds the payload to the block config unauthorized response

func (*BlockConfigUnauthorized) WriteResponse added in v1.11.2

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

WriteResponse to the client

type CreateConfig added in v1.9.2

type CreateConfig struct {
	Context *middleware.Context
	Handler CreateConfigHandler
}
CreateConfig swagger:route POST /config createConfig

Create VPN config

func NewCreateConfig added in v1.9.2

func NewCreateConfig(ctx *middleware.Context, handler CreateConfigHandler) *CreateConfig

NewCreateConfig creates a new http.Handler for the create config operation

func (*CreateConfig) ServeHTTP added in v1.9.2

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

type CreateConfigBadRequest added in v1.9.2

type CreateConfigBadRequest struct {

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

CreateConfigBadRequest Bad Request

swagger:response createConfigBadRequest

func NewCreateConfigBadRequest added in v1.9.2

func NewCreateConfigBadRequest() *CreateConfigBadRequest

NewCreateConfigBadRequest creates CreateConfigBadRequest with default headers values

func (*CreateConfigBadRequest) SetPayload added in v1.9.2

func (o *CreateConfigBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the create config bad request response

func (*CreateConfigBadRequest) WithPayload added in v1.9.2

func (o *CreateConfigBadRequest) WithPayload(payload *models.Error) *CreateConfigBadRequest

WithPayload adds the payload to the create config bad request response

func (*CreateConfigBadRequest) WriteResponse added in v1.9.2

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

WriteResponse to the client

type CreateConfigCreated added in v1.9.2

type CreateConfigCreated struct {

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

CreateConfigCreated Created

swagger:response createConfigCreated

func NewCreateConfigCreated added in v1.9.2

func NewCreateConfigCreated() *CreateConfigCreated

NewCreateConfigCreated creates CreateConfigCreated with default headers values

func (*CreateConfigCreated) SetPayload added in v1.9.2

func (o *CreateConfigCreated) SetPayload(payload *models.VPNConfigResponse)

SetPayload sets the payload to the create config created response

func (*CreateConfigCreated) WithPayload added in v1.9.2

WithPayload adds the payload to the create config created response

func (*CreateConfigCreated) WriteResponse added in v1.9.2

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

WriteResponse to the client

type CreateConfigHandler added in v1.9.2

type CreateConfigHandler interface {
	Handle(CreateConfigParams, *models.Principal) middleware.Responder
}

CreateConfigHandler interface for that can handle valid create config params

type CreateConfigHandlerFunc added in v1.9.2

type CreateConfigHandlerFunc func(CreateConfigParams, *models.Principal) middleware.Responder

CreateConfigHandlerFunc turns a function with the right signature into a create config handler

func (CreateConfigHandlerFunc) Handle added in v1.9.2

Handle executing the request and returning a response

type CreateConfigInsufficientStorage added in v1.11.4

type CreateConfigInsufficientStorage struct {
}

CreateConfigInsufficientStorage Not Enough Free Slots

swagger:response createConfigInsufficientStorage

func NewCreateConfigInsufficientStorage added in v1.11.4

func NewCreateConfigInsufficientStorage() *CreateConfigInsufficientStorage

NewCreateConfigInsufficientStorage creates CreateConfigInsufficientStorage with default headers values

func (*CreateConfigInsufficientStorage) WriteResponse added in v1.11.4

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

WriteResponse to the client

type CreateConfigInternalServerError added in v1.9.2

type CreateConfigInternalServerError struct {

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

CreateConfigInternalServerError Internal Server Error

swagger:response createConfigInternalServerError

func NewCreateConfigInternalServerError added in v1.9.2

func NewCreateConfigInternalServerError() *CreateConfigInternalServerError

NewCreateConfigInternalServerError creates CreateConfigInternalServerError with default headers values

func (*CreateConfigInternalServerError) SetPayload added in v1.9.2

func (o *CreateConfigInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the create config internal server error response

func (*CreateConfigInternalServerError) WithPayload added in v1.9.2

WithPayload adds the payload to the create config internal server error response

func (*CreateConfigInternalServerError) WriteResponse added in v1.9.2

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

WriteResponse to the client

type CreateConfigParams added in v1.9.2

type CreateConfigParams struct {

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

	/*Config data
	  Required: true
	  In: body
	*/
	Body *models.CreateConfigRequest
}

CreateConfigParams contains all the bound params for the create config operation typically these are obtained from a http.Request

swagger:parameters createConfig

func NewCreateConfigParams added in v1.9.2

func NewCreateConfigParams() CreateConfigParams

NewCreateConfigParams creates a new CreateConfigParams object

There are no default values defined in the spec.

func (*CreateConfigParams) BindRequest added in v1.9.2

func (o *CreateConfigParams) 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 NewCreateConfigParams() beforehand.

type CreateConfigServiceUnavailable added in v1.9.2

type CreateConfigServiceUnavailable struct {

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

CreateConfigServiceUnavailable Service Temporarily Unavailable

swagger:response createConfigServiceUnavailable

func NewCreateConfigServiceUnavailable added in v1.9.2

func NewCreateConfigServiceUnavailable() *CreateConfigServiceUnavailable

NewCreateConfigServiceUnavailable creates CreateConfigServiceUnavailable with default headers values

func (*CreateConfigServiceUnavailable) SetPayload added in v1.9.2

SetPayload sets the payload to the create config service unavailable response

func (*CreateConfigServiceUnavailable) WithPayload added in v1.9.2

WithPayload adds the payload to the create config service unavailable response

func (*CreateConfigServiceUnavailable) WriteResponse added in v1.9.2

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

WriteResponse to the client

type CreateConfigURL added in v1.9.2

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

CreateConfigURL generates an URL for the create config operation

func (*CreateConfigURL) Build added in v1.9.2

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

Build a url path and query string

func (*CreateConfigURL) BuildFull added in v1.9.2

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

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

func (*CreateConfigURL) Must added in v1.9.2

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

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

func (*CreateConfigURL) SetBasePath added in v1.9.2

func (o *CreateConfigURL) 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 (*CreateConfigURL) String added in v1.9.2

func (o *CreateConfigURL) String() string

String returns the string representation of the path with query string

func (*CreateConfigURL) StringFull added in v1.9.2

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

StringFull returns the string representation of a complete url

func (*CreateConfigURL) WithBasePath added in v1.9.2

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

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 CreateConfigUnauthorized added in v1.9.2

type CreateConfigUnauthorized struct {

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

CreateConfigUnauthorized Unauthorized

swagger:response createConfigUnauthorized

func NewCreateConfigUnauthorized added in v1.9.2

func NewCreateConfigUnauthorized() *CreateConfigUnauthorized

NewCreateConfigUnauthorized creates CreateConfigUnauthorized with default headers values

func (*CreateConfigUnauthorized) SetPayload added in v1.9.2

func (o *CreateConfigUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the create config unauthorized response

func (*CreateConfigUnauthorized) WithPayload added in v1.9.2

WithPayload adds the payload to the create config unauthorized response

func (*CreateConfigUnauthorized) WriteResponse added in v1.9.2

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

WriteResponse to the client

type DeleteConfig added in v1.9.2

type DeleteConfig struct {
	Context *middleware.Context
	Handler DeleteConfigHandler
}
DeleteConfig swagger:route DELETE /config/{config_id} deleteConfig

Delete VPN config

func NewDeleteConfig added in v1.9.2

func NewDeleteConfig(ctx *middleware.Context, handler DeleteConfigHandler) *DeleteConfig

NewDeleteConfig creates a new http.Handler for the delete config operation

func (*DeleteConfig) ServeHTTP added in v1.9.2

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

type DeleteConfigBadRequest added in v1.9.2

type DeleteConfigBadRequest struct {

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

DeleteConfigBadRequest Bad Request

swagger:response deleteConfigBadRequest

func NewDeleteConfigBadRequest added in v1.9.2

func NewDeleteConfigBadRequest() *DeleteConfigBadRequest

NewDeleteConfigBadRequest creates DeleteConfigBadRequest with default headers values

func (*DeleteConfigBadRequest) SetPayload added in v1.9.2

func (o *DeleteConfigBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete config bad request response

func (*DeleteConfigBadRequest) WithPayload added in v1.9.2

func (o *DeleteConfigBadRequest) WithPayload(payload *models.Error) *DeleteConfigBadRequest

WithPayload adds the payload to the delete config bad request response

func (*DeleteConfigBadRequest) WriteResponse added in v1.9.2

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

WriteResponse to the client

type DeleteConfigBody added in v1.9.2

type DeleteConfigBody struct {

	// Brigade ID
	// Required: true
	// Format: uuid
	BrigadeID *strfmt.UUID `json:"brigade_id"`
}

DeleteConfigBody delete config body

swagger:model DeleteConfigBody

func (*DeleteConfigBody) ContextValidate added in v1.9.2

func (o *DeleteConfigBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete config body based on context it is used

func (*DeleteConfigBody) MarshalBinary added in v1.9.2

func (o *DeleteConfigBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteConfigBody) UnmarshalBinary added in v1.9.2

func (o *DeleteConfigBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteConfigBody) Validate added in v1.9.2

func (o *DeleteConfigBody) Validate(formats strfmt.Registry) error

Validate validates this delete config body

type DeleteConfigHandler added in v1.9.2

type DeleteConfigHandler interface {
	Handle(DeleteConfigParams, *models.Principal) middleware.Responder
}

DeleteConfigHandler interface for that can handle valid delete config params

type DeleteConfigHandlerFunc added in v1.9.2

type DeleteConfigHandlerFunc func(DeleteConfigParams, *models.Principal) middleware.Responder

DeleteConfigHandlerFunc turns a function with the right signature into a delete config handler

func (DeleteConfigHandlerFunc) Handle added in v1.9.2

Handle executing the request and returning a response

type DeleteConfigInternalServerError added in v1.9.2

type DeleteConfigInternalServerError struct {

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

DeleteConfigInternalServerError Internal Server Error

swagger:response deleteConfigInternalServerError

func NewDeleteConfigInternalServerError added in v1.9.2

func NewDeleteConfigInternalServerError() *DeleteConfigInternalServerError

NewDeleteConfigInternalServerError creates DeleteConfigInternalServerError with default headers values

func (*DeleteConfigInternalServerError) SetPayload added in v1.9.2

func (o *DeleteConfigInternalServerError) SetPayload(payload *models.Error)

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

func (*DeleteConfigInternalServerError) WithPayload added in v1.9.2

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

func (*DeleteConfigInternalServerError) WriteResponse added in v1.9.2

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

WriteResponse to the client

type DeleteConfigNotFound added in v1.9.17

type DeleteConfigNotFound struct {

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

DeleteConfigNotFound Not Found

swagger:response deleteConfigNotFound

func NewDeleteConfigNotFound added in v1.9.17

func NewDeleteConfigNotFound() *DeleteConfigNotFound

NewDeleteConfigNotFound creates DeleteConfigNotFound with default headers values

func (*DeleteConfigNotFound) SetPayload added in v1.9.17

func (o *DeleteConfigNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete config not found response

func (*DeleteConfigNotFound) WithPayload added in v1.9.17

func (o *DeleteConfigNotFound) WithPayload(payload *models.Error) *DeleteConfigNotFound

WithPayload adds the payload to the delete config not found response

func (*DeleteConfigNotFound) WriteResponse added in v1.9.17

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

WriteResponse to the client

type DeleteConfigOK added in v1.9.16

type DeleteConfigOK struct {

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

DeleteConfigOK OK

swagger:response deleteConfigOK

func NewDeleteConfigOK added in v1.9.16

func NewDeleteConfigOK() *DeleteConfigOK

NewDeleteConfigOK creates DeleteConfigOK with default headers values

func (*DeleteConfigOK) SetPayload added in v1.9.16

func (o *DeleteConfigOK) SetPayload(payload *models.FreeSlots)

SetPayload sets the payload to the delete config o k response

func (*DeleteConfigOK) WithPayload added in v1.9.16

func (o *DeleteConfigOK) WithPayload(payload *models.FreeSlots) *DeleteConfigOK

WithPayload adds the payload to the delete config o k response

func (*DeleteConfigOK) WriteResponse added in v1.9.16

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

WriteResponse to the client

type DeleteConfigParams added in v1.9.2

type DeleteConfigParams struct {

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

	/*Brigade ID
	  Required: true
	  In: body
	*/
	Body DeleteConfigBody
	/*Config ID
	  Required: true
	  In: path
	*/
	ConfigID string
}

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

swagger:parameters deleteConfig

func NewDeleteConfigParams added in v1.9.2

func NewDeleteConfigParams() DeleteConfigParams

NewDeleteConfigParams creates a new DeleteConfigParams object

There are no default values defined in the spec.

func (*DeleteConfigParams) BindRequest added in v1.9.2

func (o *DeleteConfigParams) 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 NewDeleteConfigParams() beforehand.

type DeleteConfigServiceUnavailable added in v1.9.2

type DeleteConfigServiceUnavailable struct {

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

DeleteConfigServiceUnavailable Service Temporarily Unavailable

swagger:response deleteConfigServiceUnavailable

func NewDeleteConfigServiceUnavailable added in v1.9.2

func NewDeleteConfigServiceUnavailable() *DeleteConfigServiceUnavailable

NewDeleteConfigServiceUnavailable creates DeleteConfigServiceUnavailable with default headers values

func (*DeleteConfigServiceUnavailable) SetPayload added in v1.9.2

SetPayload sets the payload to the delete config service unavailable response

func (*DeleteConfigServiceUnavailable) WithPayload added in v1.9.2

WithPayload adds the payload to the delete config service unavailable response

func (*DeleteConfigServiceUnavailable) WriteResponse added in v1.9.2

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

WriteResponse to the client

type DeleteConfigURL added in v1.9.2

type DeleteConfigURL struct {
	ConfigID string
	// contains filtered or unexported fields
}

DeleteConfigURL generates an URL for the delete config operation

func (*DeleteConfigURL) Build added in v1.9.2

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

Build a url path and query string

func (*DeleteConfigURL) BuildFull added in v1.9.2

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

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

func (*DeleteConfigURL) Must added in v1.9.2

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

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

func (*DeleteConfigURL) SetBasePath added in v1.9.2

func (o *DeleteConfigURL) 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 (*DeleteConfigURL) String added in v1.9.2

func (o *DeleteConfigURL) String() string

String returns the string representation of the path with query string

func (*DeleteConfigURL) StringFull added in v1.9.2

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

StringFull returns the string representation of a complete url

func (*DeleteConfigURL) WithBasePath added in v1.9.2

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

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 DeleteConfigUnauthorized added in v1.9.2

type DeleteConfigUnauthorized struct {

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

DeleteConfigUnauthorized Unauthorized

swagger:response deleteConfigUnauthorized

func NewDeleteConfigUnauthorized added in v1.9.2

func NewDeleteConfigUnauthorized() *DeleteConfigUnauthorized

NewDeleteConfigUnauthorized creates DeleteConfigUnauthorized with default headers values

func (*DeleteConfigUnauthorized) SetPayload added in v1.9.2

func (o *DeleteConfigUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete config unauthorized response

func (*DeleteConfigUnauthorized) WithPayload added in v1.9.2

WithPayload adds the payload to the delete config unauthorized response

func (*DeleteConfigUnauthorized) WriteResponse added in v1.9.2

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

WriteResponse to the client

type GetBrigadeActivity added in v1.9.11

type GetBrigadeActivity struct {
	Context *middleware.Context
	Handler GetBrigadeActivityHandler
}
GetBrigadeActivity swagger:route GET /brigade/{brigade_id}/activity getBrigadeActivity

Get VPN socket brigade activity stats

func NewGetBrigadeActivity added in v1.9.11

func NewGetBrigadeActivity(ctx *middleware.Context, handler GetBrigadeActivityHandler) *GetBrigadeActivity

NewGetBrigadeActivity creates a new http.Handler for the get brigade activity operation

func (*GetBrigadeActivity) ServeHTTP added in v1.9.11

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

type GetBrigadeActivityBadRequest added in v1.9.11

type GetBrigadeActivityBadRequest struct {

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

GetBrigadeActivityBadRequest Bad Request

swagger:response getBrigadeActivityBadRequest

func NewGetBrigadeActivityBadRequest added in v1.9.11

func NewGetBrigadeActivityBadRequest() *GetBrigadeActivityBadRequest

NewGetBrigadeActivityBadRequest creates GetBrigadeActivityBadRequest with default headers values

func (*GetBrigadeActivityBadRequest) SetPayload added in v1.9.11

func (o *GetBrigadeActivityBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the get brigade activity bad request response

func (*GetBrigadeActivityBadRequest) WithPayload added in v1.9.11

WithPayload adds the payload to the get brigade activity bad request response

func (*GetBrigadeActivityBadRequest) WriteResponse added in v1.9.11

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

WriteResponse to the client

type GetBrigadeActivityHandler added in v1.9.11

type GetBrigadeActivityHandler interface {
	Handle(GetBrigadeActivityParams, *models.Principal) middleware.Responder
}

GetBrigadeActivityHandler interface for that can handle valid get brigade activity params

type GetBrigadeActivityHandlerFunc added in v1.9.11

type GetBrigadeActivityHandlerFunc func(GetBrigadeActivityParams, *models.Principal) middleware.Responder

GetBrigadeActivityHandlerFunc turns a function with the right signature into a get brigade activity handler

func (GetBrigadeActivityHandlerFunc) Handle added in v1.9.11

Handle executing the request and returning a response

type GetBrigadeActivityInternalServerError added in v1.9.11

type GetBrigadeActivityInternalServerError struct {

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

GetBrigadeActivityInternalServerError Internal Server Error

swagger:response getBrigadeActivityInternalServerError

func NewGetBrigadeActivityInternalServerError added in v1.9.11

func NewGetBrigadeActivityInternalServerError() *GetBrigadeActivityInternalServerError

NewGetBrigadeActivityInternalServerError creates GetBrigadeActivityInternalServerError with default headers values

func (*GetBrigadeActivityInternalServerError) SetPayload added in v1.9.11

func (o *GetBrigadeActivityInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the get brigade activity internal server error response

func (*GetBrigadeActivityInternalServerError) WithPayload added in v1.9.11

WithPayload adds the payload to the get brigade activity internal server error response

func (*GetBrigadeActivityInternalServerError) WriteResponse added in v1.9.11

WriteResponse to the client

type GetBrigadeActivityOK added in v1.9.11

type GetBrigadeActivityOK struct {

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

GetBrigadeActivityOK OK

swagger:response getBrigadeActivityOK

func NewGetBrigadeActivityOK added in v1.9.11

func NewGetBrigadeActivityOK() *GetBrigadeActivityOK

NewGetBrigadeActivityOK creates GetBrigadeActivityOK with default headers values

func (*GetBrigadeActivityOK) SetPayload added in v1.9.11

func (o *GetBrigadeActivityOK) SetPayload(payload models.BrigadeActivity)

SetPayload sets the payload to the get brigade activity o k response

func (*GetBrigadeActivityOK) WithPayload added in v1.9.11

WithPayload adds the payload to the get brigade activity o k response

func (*GetBrigadeActivityOK) WriteResponse added in v1.9.11

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

WriteResponse to the client

type GetBrigadeActivityParams added in v1.9.11

type GetBrigadeActivityParams struct {

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

	/*Brigade ID
	  Required: true
	  In: path
	*/
	BrigadeID string
}

GetBrigadeActivityParams contains all the bound params for the get brigade activity operation typically these are obtained from a http.Request

swagger:parameters getBrigadeActivity

func NewGetBrigadeActivityParams added in v1.9.11

func NewGetBrigadeActivityParams() GetBrigadeActivityParams

NewGetBrigadeActivityParams creates a new GetBrigadeActivityParams object

There are no default values defined in the spec.

func (*GetBrigadeActivityParams) BindRequest added in v1.9.11

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

type GetBrigadeActivityServiceUnavailable added in v1.9.11

type GetBrigadeActivityServiceUnavailable struct {
}

GetBrigadeActivityServiceUnavailable Service Temporarily Unavailable

swagger:response getBrigadeActivityServiceUnavailable

func NewGetBrigadeActivityServiceUnavailable added in v1.9.11

func NewGetBrigadeActivityServiceUnavailable() *GetBrigadeActivityServiceUnavailable

NewGetBrigadeActivityServiceUnavailable creates GetBrigadeActivityServiceUnavailable with default headers values

func (*GetBrigadeActivityServiceUnavailable) WriteResponse added in v1.9.11

WriteResponse to the client

type GetBrigadeActivityURL added in v1.9.11

type GetBrigadeActivityURL struct {
	BrigadeID string
	// contains filtered or unexported fields
}

GetBrigadeActivityURL generates an URL for the get brigade activity operation

func (*GetBrigadeActivityURL) Build added in v1.9.11

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

Build a url path and query string

func (*GetBrigadeActivityURL) BuildFull added in v1.9.11

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

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

func (*GetBrigadeActivityURL) Must added in v1.9.11

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

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

func (*GetBrigadeActivityURL) SetBasePath added in v1.9.11

func (o *GetBrigadeActivityURL) 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 (*GetBrigadeActivityURL) String added in v1.9.11

func (o *GetBrigadeActivityURL) String() string

String returns the string representation of the path with query string

func (*GetBrigadeActivityURL) StringFull added in v1.9.11

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

StringFull returns the string representation of a complete url

func (*GetBrigadeActivityURL) WithBasePath added in v1.9.11

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

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 GetBrigadeActivityUnauthorized added in v1.9.11

type GetBrigadeActivityUnauthorized struct {

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

GetBrigadeActivityUnauthorized Unauthorized

swagger:response getBrigadeActivityUnauthorized

func NewGetBrigadeActivityUnauthorized added in v1.9.11

func NewGetBrigadeActivityUnauthorized() *GetBrigadeActivityUnauthorized

NewGetBrigadeActivityUnauthorized creates GetBrigadeActivityUnauthorized with default headers values

func (*GetBrigadeActivityUnauthorized) SetPayload added in v1.9.11

func (o *GetBrigadeActivityUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the get brigade activity unauthorized response

func (*GetBrigadeActivityUnauthorized) WithPayload added in v1.9.11

WithPayload adds the payload to the get brigade activity unauthorized response

func (*GetBrigadeActivityUnauthorized) WriteResponse added in v1.9.11

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

WriteResponse to the client

type GetBrigadeSlots added in v1.9.11

type GetBrigadeSlots struct {
	Context *middleware.Context
	Handler GetBrigadeSlotsHandler
}
GetBrigadeSlots swagger:route GET /brigade/{brigade_id}/slots getBrigadeSlots

Get VPN socket brigade slots stats

func NewGetBrigadeSlots added in v1.9.11

func NewGetBrigadeSlots(ctx *middleware.Context, handler GetBrigadeSlotsHandler) *GetBrigadeSlots

NewGetBrigadeSlots creates a new http.Handler for the get brigade slots operation

func (*GetBrigadeSlots) ServeHTTP added in v1.9.11

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

type GetBrigadeSlotsBadRequest added in v1.9.11

type GetBrigadeSlotsBadRequest struct {

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

GetBrigadeSlotsBadRequest Bad Request

swagger:response getBrigadeSlotsBadRequest

func NewGetBrigadeSlotsBadRequest added in v1.9.11

func NewGetBrigadeSlotsBadRequest() *GetBrigadeSlotsBadRequest

NewGetBrigadeSlotsBadRequest creates GetBrigadeSlotsBadRequest with default headers values

func (*GetBrigadeSlotsBadRequest) SetPayload added in v1.9.11

func (o *GetBrigadeSlotsBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the get brigade slots bad request response

func (*GetBrigadeSlotsBadRequest) WithPayload added in v1.9.11

WithPayload adds the payload to the get brigade slots bad request response

func (*GetBrigadeSlotsBadRequest) WriteResponse added in v1.9.11

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

WriteResponse to the client

type GetBrigadeSlotsHandler added in v1.9.11

type GetBrigadeSlotsHandler interface {
	Handle(GetBrigadeSlotsParams, *models.Principal) middleware.Responder
}

GetBrigadeSlotsHandler interface for that can handle valid get brigade slots params

type GetBrigadeSlotsHandlerFunc added in v1.9.11

type GetBrigadeSlotsHandlerFunc func(GetBrigadeSlotsParams, *models.Principal) middleware.Responder

GetBrigadeSlotsHandlerFunc turns a function with the right signature into a get brigade slots handler

func (GetBrigadeSlotsHandlerFunc) Handle added in v1.9.11

Handle executing the request and returning a response

type GetBrigadeSlotsInternalServerError added in v1.9.11

type GetBrigadeSlotsInternalServerError struct {

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

GetBrigadeSlotsInternalServerError Internal Server Error

swagger:response getBrigadeSlotsInternalServerError

func NewGetBrigadeSlotsInternalServerError added in v1.9.11

func NewGetBrigadeSlotsInternalServerError() *GetBrigadeSlotsInternalServerError

NewGetBrigadeSlotsInternalServerError creates GetBrigadeSlotsInternalServerError with default headers values

func (*GetBrigadeSlotsInternalServerError) SetPayload added in v1.9.11

func (o *GetBrigadeSlotsInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the get brigade slots internal server error response

func (*GetBrigadeSlotsInternalServerError) WithPayload added in v1.9.11

WithPayload adds the payload to the get brigade slots internal server error response

func (*GetBrigadeSlotsInternalServerError) WriteResponse added in v1.9.11

WriteResponse to the client

type GetBrigadeSlotsOK added in v1.9.11

type GetBrigadeSlotsOK struct {

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

GetBrigadeSlotsOK OK

swagger:response getBrigadeSlotsOK

func NewGetBrigadeSlotsOK added in v1.9.11

func NewGetBrigadeSlotsOK() *GetBrigadeSlotsOK

NewGetBrigadeSlotsOK creates GetBrigadeSlotsOK with default headers values

func (*GetBrigadeSlotsOK) SetPayload added in v1.9.11

func (o *GetBrigadeSlotsOK) SetPayload(payload *models.BrigadeSlots)

SetPayload sets the payload to the get brigade slots o k response

func (*GetBrigadeSlotsOK) WithPayload added in v1.9.11

func (o *GetBrigadeSlotsOK) WithPayload(payload *models.BrigadeSlots) *GetBrigadeSlotsOK

WithPayload adds the payload to the get brigade slots o k response

func (*GetBrigadeSlotsOK) WriteResponse added in v1.9.11

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

WriteResponse to the client

type GetBrigadeSlotsParams added in v1.9.11

type GetBrigadeSlotsParams struct {

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

	/*Brigade ID
	  Required: true
	  In: path
	*/
	BrigadeID string
}

GetBrigadeSlotsParams contains all the bound params for the get brigade slots operation typically these are obtained from a http.Request

swagger:parameters getBrigadeSlots

func NewGetBrigadeSlotsParams added in v1.9.11

func NewGetBrigadeSlotsParams() GetBrigadeSlotsParams

NewGetBrigadeSlotsParams creates a new GetBrigadeSlotsParams object

There are no default values defined in the spec.

func (*GetBrigadeSlotsParams) BindRequest added in v1.9.11

func (o *GetBrigadeSlotsParams) 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 NewGetBrigadeSlotsParams() beforehand.

type GetBrigadeSlotsServiceUnavailable added in v1.9.11

type GetBrigadeSlotsServiceUnavailable struct {
}

GetBrigadeSlotsServiceUnavailable Service Temporarily Unavailable

swagger:response getBrigadeSlotsServiceUnavailable

func NewGetBrigadeSlotsServiceUnavailable added in v1.9.11

func NewGetBrigadeSlotsServiceUnavailable() *GetBrigadeSlotsServiceUnavailable

NewGetBrigadeSlotsServiceUnavailable creates GetBrigadeSlotsServiceUnavailable with default headers values

func (*GetBrigadeSlotsServiceUnavailable) WriteResponse added in v1.9.11

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

WriteResponse to the client

type GetBrigadeSlotsURL added in v1.9.11

type GetBrigadeSlotsURL struct {
	BrigadeID string
	// contains filtered or unexported fields
}

GetBrigadeSlotsURL generates an URL for the get brigade slots operation

func (*GetBrigadeSlotsURL) Build added in v1.9.11

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

Build a url path and query string

func (*GetBrigadeSlotsURL) BuildFull added in v1.9.11

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

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

func (*GetBrigadeSlotsURL) Must added in v1.9.11

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

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

func (*GetBrigadeSlotsURL) SetBasePath added in v1.9.11

func (o *GetBrigadeSlotsURL) 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 (*GetBrigadeSlotsURL) String added in v1.9.11

func (o *GetBrigadeSlotsURL) String() string

String returns the string representation of the path with query string

func (*GetBrigadeSlotsURL) StringFull added in v1.9.11

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

StringFull returns the string representation of a complete url

func (*GetBrigadeSlotsURL) WithBasePath added in v1.9.11

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

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 GetBrigadeSlotsUnauthorized added in v1.9.11

type GetBrigadeSlotsUnauthorized struct {

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

GetBrigadeSlotsUnauthorized Unauthorized

swagger:response getBrigadeSlotsUnauthorized

func NewGetBrigadeSlotsUnauthorized added in v1.9.11

func NewGetBrigadeSlotsUnauthorized() *GetBrigadeSlotsUnauthorized

NewGetBrigadeSlotsUnauthorized creates GetBrigadeSlotsUnauthorized with default headers values

func (*GetBrigadeSlotsUnauthorized) SetPayload added in v1.9.11

func (o *GetBrigadeSlotsUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the get brigade slots unauthorized response

func (*GetBrigadeSlotsUnauthorized) WithPayload added in v1.9.11

WithPayload adds the payload to the get brigade slots unauthorized response

func (*GetBrigadeSlotsUnauthorized) WriteResponse added in v1.9.11

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

WriteResponse to the client

type UnblockConfig added in v1.11.2

type UnblockConfig struct {
	Context *middleware.Context
	Handler UnblockConfigHandler
}
UnblockConfig swagger:route PATCH /config/{config_id}/unblock unblockConfig

Unblock VPN config

func NewUnblockConfig added in v1.11.2

func NewUnblockConfig(ctx *middleware.Context, handler UnblockConfigHandler) *UnblockConfig

NewUnblockConfig creates a new http.Handler for the unblock config operation

func (*UnblockConfig) ServeHTTP added in v1.11.2

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

type UnblockConfigBadRequest added in v1.11.2

type UnblockConfigBadRequest struct {

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

UnblockConfigBadRequest Bad Request

swagger:response unblockConfigBadRequest

func NewUnblockConfigBadRequest added in v1.11.2

func NewUnblockConfigBadRequest() *UnblockConfigBadRequest

NewUnblockConfigBadRequest creates UnblockConfigBadRequest with default headers values

func (*UnblockConfigBadRequest) SetPayload added in v1.11.2

func (o *UnblockConfigBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the unblock config bad request response

func (*UnblockConfigBadRequest) WithPayload added in v1.11.2

func (o *UnblockConfigBadRequest) WithPayload(payload *models.Error) *UnblockConfigBadRequest

WithPayload adds the payload to the unblock config bad request response

func (*UnblockConfigBadRequest) WriteResponse added in v1.11.2

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

WriteResponse to the client

type UnblockConfigBody added in v1.11.2

type UnblockConfigBody struct {

	// Brigade ID
	// Required: true
	// Format: uuid
	BrigadeID *strfmt.UUID `json:"brigade_id"`
}

UnblockConfigBody unblock config body

swagger:model UnblockConfigBody

func (*UnblockConfigBody) ContextValidate added in v1.11.2

func (o *UnblockConfigBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unblock config body based on context it is used

func (*UnblockConfigBody) MarshalBinary added in v1.11.2

func (o *UnblockConfigBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnblockConfigBody) UnmarshalBinary added in v1.11.2

func (o *UnblockConfigBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnblockConfigBody) Validate added in v1.11.2

func (o *UnblockConfigBody) Validate(formats strfmt.Registry) error

Validate validates this unblock config body

type UnblockConfigHandler added in v1.11.2

type UnblockConfigHandler interface {
	Handle(UnblockConfigParams, *models.Principal) middleware.Responder
}

UnblockConfigHandler interface for that can handle valid unblock config params

type UnblockConfigHandlerFunc added in v1.11.2

type UnblockConfigHandlerFunc func(UnblockConfigParams, *models.Principal) middleware.Responder

UnblockConfigHandlerFunc turns a function with the right signature into a unblock config handler

func (UnblockConfigHandlerFunc) Handle added in v1.11.2

Handle executing the request and returning a response

type UnblockConfigInternalServerError added in v1.11.2

type UnblockConfigInternalServerError struct {

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

UnblockConfigInternalServerError Internal Server Error

swagger:response unblockConfigInternalServerError

func NewUnblockConfigInternalServerError added in v1.11.2

func NewUnblockConfigInternalServerError() *UnblockConfigInternalServerError

NewUnblockConfigInternalServerError creates UnblockConfigInternalServerError with default headers values

func (*UnblockConfigInternalServerError) SetPayload added in v1.11.2

func (o *UnblockConfigInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the unblock config internal server error response

func (*UnblockConfigInternalServerError) WithPayload added in v1.11.2

WithPayload adds the payload to the unblock config internal server error response

func (*UnblockConfigInternalServerError) WriteResponse added in v1.11.2

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

WriteResponse to the client

type UnblockConfigNotFound added in v1.11.2

type UnblockConfigNotFound struct {

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

UnblockConfigNotFound Not Found

swagger:response unblockConfigNotFound

func NewUnblockConfigNotFound added in v1.11.2

func NewUnblockConfigNotFound() *UnblockConfigNotFound

NewUnblockConfigNotFound creates UnblockConfigNotFound with default headers values

func (*UnblockConfigNotFound) SetPayload added in v1.11.2

func (o *UnblockConfigNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the unblock config not found response

func (*UnblockConfigNotFound) WithPayload added in v1.11.2

func (o *UnblockConfigNotFound) WithPayload(payload *models.Error) *UnblockConfigNotFound

WithPayload adds the payload to the unblock config not found response

func (*UnblockConfigNotFound) WriteResponse added in v1.11.2

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

WriteResponse to the client

type UnblockConfigOK added in v1.11.2

type UnblockConfigOK struct {

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

UnblockConfigOK OK

swagger:response unblockConfigOK

func NewUnblockConfigOK added in v1.11.2

func NewUnblockConfigOK() *UnblockConfigOK

NewUnblockConfigOK creates UnblockConfigOK with default headers values

func (*UnblockConfigOK) SetPayload added in v1.11.2

func (o *UnblockConfigOK) SetPayload(payload *models.FreeSlots)

SetPayload sets the payload to the unblock config o k response

func (*UnblockConfigOK) WithPayload added in v1.11.2

func (o *UnblockConfigOK) WithPayload(payload *models.FreeSlots) *UnblockConfigOK

WithPayload adds the payload to the unblock config o k response

func (*UnblockConfigOK) WriteResponse added in v1.11.2

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

WriteResponse to the client

type UnblockConfigParams added in v1.11.2

type UnblockConfigParams struct {

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

	/*Brigade ID
	  Required: true
	  In: body
	*/
	Body UnblockConfigBody
	/*Config ID
	  Required: true
	  In: path
	*/
	ConfigID string
}

UnblockConfigParams contains all the bound params for the unblock config operation typically these are obtained from a http.Request

swagger:parameters unblockConfig

func NewUnblockConfigParams added in v1.11.2

func NewUnblockConfigParams() UnblockConfigParams

NewUnblockConfigParams creates a new UnblockConfigParams object

There are no default values defined in the spec.

func (*UnblockConfigParams) BindRequest added in v1.11.2

func (o *UnblockConfigParams) 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 NewUnblockConfigParams() beforehand.

type UnblockConfigServiceUnavailable added in v1.11.2

type UnblockConfigServiceUnavailable struct {

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

UnblockConfigServiceUnavailable Service Temporarily Unavailable

swagger:response unblockConfigServiceUnavailable

func NewUnblockConfigServiceUnavailable added in v1.11.2

func NewUnblockConfigServiceUnavailable() *UnblockConfigServiceUnavailable

NewUnblockConfigServiceUnavailable creates UnblockConfigServiceUnavailable with default headers values

func (*UnblockConfigServiceUnavailable) SetPayload added in v1.11.2

SetPayload sets the payload to the unblock config service unavailable response

func (*UnblockConfigServiceUnavailable) WithPayload added in v1.11.2

WithPayload adds the payload to the unblock config service unavailable response

func (*UnblockConfigServiceUnavailable) WriteResponse added in v1.11.2

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

WriteResponse to the client

type UnblockConfigURL added in v1.11.2

type UnblockConfigURL struct {
	ConfigID string
	// contains filtered or unexported fields
}

UnblockConfigURL generates an URL for the unblock config operation

func (*UnblockConfigURL) Build added in v1.11.2

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

Build a url path and query string

func (*UnblockConfigURL) BuildFull added in v1.11.2

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

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

func (*UnblockConfigURL) Must added in v1.11.2

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

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

func (*UnblockConfigURL) SetBasePath added in v1.11.2

func (o *UnblockConfigURL) 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 (*UnblockConfigURL) String added in v1.11.2

func (o *UnblockConfigURL) String() string

String returns the string representation of the path with query string

func (*UnblockConfigURL) StringFull added in v1.11.2

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

StringFull returns the string representation of a complete url

func (*UnblockConfigURL) WithBasePath added in v1.11.2

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

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 UnblockConfigUnauthorized added in v1.11.2

type UnblockConfigUnauthorized struct {

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

UnblockConfigUnauthorized Unauthorized

swagger:response unblockConfigUnauthorized

func NewUnblockConfigUnauthorized added in v1.11.2

func NewUnblockConfigUnauthorized() *UnblockConfigUnauthorized

NewUnblockConfigUnauthorized creates UnblockConfigUnauthorized with default headers values

func (*UnblockConfigUnauthorized) SetPayload added in v1.11.2

func (o *UnblockConfigUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the unblock config unauthorized response

func (*UnblockConfigUnauthorized) WithPayload added in v1.11.2

WithPayload adds the payload to the unblock config unauthorized response

func (*UnblockConfigUnauthorized) WriteResponse added in v1.11.2

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

WriteResponse to the client

type VGSocketRealmAPI

type VGSocketRealmAPI struct {
	Middleware func(middleware.Builder) http.Handler

	// BasicAuthenticator generates a runtime.Authenticator from the supplied basic auth function.
	// It has a default implementation in the security package, however you can replace it for your particular usage.
	BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator

	// APIKeyAuthenticator generates a runtime.Authenticator from the supplied token auth function.
	// It has a default implementation in the security package, however you can replace it for your particular usage.
	APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator

	// BearerAuthenticator generates a runtime.Authenticator from the supplied bearer token auth function.
	// It has a default implementation in the security package, however you can replace it for your particular usage.
	BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator

	// JSONConsumer registers a consumer for the following mime types:
	//   - application/json
	JSONConsumer runtime.Consumer

	// JSONProducer registers a producer for the following mime types:
	//   - application/json
	JSONProducer runtime.Producer

	// JWTAuth registers a function that takes an access token and a collection of required scopes and returns a principal
	// it performs authentication based on an oauth2 bearer token provided in the request
	JWTAuth func(string, []string) (*models.Principal, error)

	// APIAuthorizer provides access control (ACL/RBAC/ABAC) by providing access to the request and authenticated principal
	APIAuthorizer runtime.Authorizer

	// BlockConfigHandler sets the operation handler for the block config operation
	BlockConfigHandler BlockConfigHandler
	// CreateConfigHandler sets the operation handler for the create config operation
	CreateConfigHandler CreateConfigHandler
	// DeleteConfigHandler sets the operation handler for the delete config operation
	DeleteConfigHandler DeleteConfigHandler
	// GetBrigadeActivityHandler sets the operation handler for the get brigade activity operation
	GetBrigadeActivityHandler GetBrigadeActivityHandler
	// GetBrigadeSlotsHandler sets the operation handler for the get brigade slots operation
	GetBrigadeSlotsHandler GetBrigadeSlotsHandler
	// UnblockConfigHandler sets the operation handler for the unblock config operation
	UnblockConfigHandler UnblockConfigHandler

	// ServeError is called when an error is received, there is a default handler
	// but you can set your own with this
	ServeError func(http.ResponseWriter, *http.Request, error)

	// PreServerShutdown is called before the HTTP(S) server is shutdown
	// This allows for custom functions to get executed before the HTTP(S) server stops accepting traffic
	PreServerShutdown func()

	// ServerShutdown is called when the HTTP(S) server is shut down and done
	// handling all active connections and does not accept connections any more
	ServerShutdown func()

	// Custom command line argument groups with their descriptions
	CommandLineOptionsGroups []swag.CommandLineOptionsGroup

	// User defined logger function.
	Logger func(string, ...interface{})
	// contains filtered or unexported fields
}

VGSocketRealmAPI VPN Generator socket datacenter API

func NewVGSocketRealmAPI

func NewVGSocketRealmAPI(spec *loads.Document) *VGSocketRealmAPI

NewVGSocketRealmAPI creates a new VGSocketRealm instance

func (*VGSocketRealmAPI) AddMiddlewareFor

func (o *VGSocketRealmAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)

AddMiddlewareFor adds a http middleware to existing handler

func (*VGSocketRealmAPI) AuthenticatorsFor

func (o *VGSocketRealmAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator

AuthenticatorsFor gets the authenticators for the specified security schemes

func (*VGSocketRealmAPI) Authorizer

func (o *VGSocketRealmAPI) Authorizer() runtime.Authorizer

Authorizer returns the registered authorizer

func (*VGSocketRealmAPI) ConsumersFor

func (o *VGSocketRealmAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer

ConsumersFor gets the consumers for the specified media types. MIME type parameters are ignored here.

func (*VGSocketRealmAPI) Context

func (o *VGSocketRealmAPI) Context() *middleware.Context

Context returns the middleware context for the v g socket realm API

func (*VGSocketRealmAPI) DefaultConsumes

func (o *VGSocketRealmAPI) DefaultConsumes() string

DefaultConsumes returns the default consumes media type

func (*VGSocketRealmAPI) DefaultProduces

func (o *VGSocketRealmAPI) DefaultProduces() string

DefaultProduces returns the default produces media type

func (*VGSocketRealmAPI) Formats

func (o *VGSocketRealmAPI) Formats() strfmt.Registry

Formats returns the registered string formats

func (*VGSocketRealmAPI) HandlerFor

func (o *VGSocketRealmAPI) HandlerFor(method, path string) (http.Handler, bool)

HandlerFor gets a http.Handler for the provided operation method and path

func (*VGSocketRealmAPI) Init

func (o *VGSocketRealmAPI) Init()

Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit

func (*VGSocketRealmAPI) ProducersFor

func (o *VGSocketRealmAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer

ProducersFor gets the producers for the specified media types. MIME type parameters are ignored here.

func (*VGSocketRealmAPI) RegisterConsumer

func (o *VGSocketRealmAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)

RegisterConsumer allows you to add (or override) a consumer for a media type.

func (*VGSocketRealmAPI) RegisterFormat

func (o *VGSocketRealmAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)

RegisterFormat registers a custom format validator

func (*VGSocketRealmAPI) RegisterProducer

func (o *VGSocketRealmAPI) RegisterProducer(mediaType string, producer runtime.Producer)

RegisterProducer allows you to add (or override) a producer for a media type.

func (*VGSocketRealmAPI) Serve

func (o *VGSocketRealmAPI) Serve(builder middleware.Builder) http.Handler

Serve creates a http handler to serve the API over HTTP can be used directly in http.ListenAndServe(":8000", api.Serve(nil))

func (*VGSocketRealmAPI) ServeErrorFor

func (o *VGSocketRealmAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)

ServeErrorFor gets a error handler for a given operation id

func (*VGSocketRealmAPI) SetDefaultConsumes

func (o *VGSocketRealmAPI) SetDefaultConsumes(mediaType string)

SetDefaultConsumes returns the default consumes media type

func (*VGSocketRealmAPI) SetDefaultProduces

func (o *VGSocketRealmAPI) SetDefaultProduces(mediaType string)

SetDefaultProduces sets the default produces media type

func (*VGSocketRealmAPI) SetSpec

func (o *VGSocketRealmAPI) SetSpec(spec *loads.Document)

SetSpec sets a spec that will be served for the clients.

func (*VGSocketRealmAPI) UseRedoc

func (o *VGSocketRealmAPI) UseRedoc()

UseRedoc for documentation at /docs

func (*VGSocketRealmAPI) UseSwaggerUI

func (o *VGSocketRealmAPI) UseSwaggerUI()

UseSwaggerUI for documentation at /docs

func (*VGSocketRealmAPI) Validate

func (o *VGSocketRealmAPI) Validate() error

Validate validates the registrations in the VGSocketRealmAPI

Jump to

Keyboard shortcuts

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