package
1.11.4
Repository: https://github.com/vpngen/dc-mgmt.git
Documentation: pkg.go.dev

# Functions

NewBlockConfig creates a new http.Handler for the block config operation.
NewBlockConfigBadRequest creates BlockConfigBadRequest with default headers values.
NewBlockConfigInternalServerError creates BlockConfigInternalServerError with default headers values.
NewBlockConfigNotFound creates BlockConfigNotFound with default headers values.
NewBlockConfigOK creates BlockConfigOK with default headers values.
NewBlockConfigParams creates a new BlockConfigParams object There are no default values defined in the spec.
NewBlockConfigServiceUnavailable creates BlockConfigServiceUnavailable with default headers values.
NewBlockConfigUnauthorized creates BlockConfigUnauthorized with default headers values.
NewCreateConfig creates a new http.Handler for the create config operation.
NewCreateConfigBadRequest creates CreateConfigBadRequest with default headers values.
NewCreateConfigCreated creates CreateConfigCreated with default headers values.
NewCreateConfigInsufficientStorage creates CreateConfigInsufficientStorage with default headers values.
NewCreateConfigInternalServerError creates CreateConfigInternalServerError with default headers values.
NewCreateConfigParams creates a new CreateConfigParams object There are no default values defined in the spec.
NewCreateConfigServiceUnavailable creates CreateConfigServiceUnavailable with default headers values.
NewCreateConfigUnauthorized creates CreateConfigUnauthorized with default headers values.
NewDeleteConfig creates a new http.Handler for the delete config operation.
NewDeleteConfigBadRequest creates DeleteConfigBadRequest with default headers values.
NewDeleteConfigInternalServerError creates DeleteConfigInternalServerError with default headers values.
NewDeleteConfigNotFound creates DeleteConfigNotFound with default headers values.
NewDeleteConfigOK creates DeleteConfigOK with default headers values.
NewDeleteConfigParams creates a new DeleteConfigParams object There are no default values defined in the spec.
NewDeleteConfigServiceUnavailable creates DeleteConfigServiceUnavailable with default headers values.
NewDeleteConfigUnauthorized creates DeleteConfigUnauthorized with default headers values.
NewGetBrigadeActivity creates a new http.Handler for the get brigade activity operation.
NewGetBrigadeActivityBadRequest creates GetBrigadeActivityBadRequest with default headers values.
NewGetBrigadeActivityInternalServerError creates GetBrigadeActivityInternalServerError with default headers values.
NewGetBrigadeActivityOK creates GetBrigadeActivityOK with default headers values.
NewGetBrigadeActivityParams creates a new GetBrigadeActivityParams object There are no default values defined in the spec.
NewGetBrigadeActivityServiceUnavailable creates GetBrigadeActivityServiceUnavailable with default headers values.
NewGetBrigadeActivityUnauthorized creates GetBrigadeActivityUnauthorized with default headers values.
NewGetBrigadeSlots creates a new http.Handler for the get brigade slots operation.
NewGetBrigadeSlotsBadRequest creates GetBrigadeSlotsBadRequest with default headers values.
NewGetBrigadeSlotsInternalServerError creates GetBrigadeSlotsInternalServerError with default headers values.
NewGetBrigadeSlotsOK creates GetBrigadeSlotsOK with default headers values.
NewGetBrigadeSlotsParams creates a new GetBrigadeSlotsParams object There are no default values defined in the spec.
NewGetBrigadeSlotsServiceUnavailable creates GetBrigadeSlotsServiceUnavailable with default headers values.
NewGetBrigadeSlotsUnauthorized creates GetBrigadeSlotsUnauthorized with default headers values.
NewUnblockConfig creates a new http.Handler for the unblock config operation.
NewUnblockConfigBadRequest creates UnblockConfigBadRequest with default headers values.
NewUnblockConfigInternalServerError creates UnblockConfigInternalServerError with default headers values.
NewUnblockConfigNotFound creates UnblockConfigNotFound with default headers values.
NewUnblockConfigOK creates UnblockConfigOK with default headers values.
NewUnblockConfigParams creates a new UnblockConfigParams object There are no default values defined in the spec.
NewUnblockConfigServiceUnavailable creates UnblockConfigServiceUnavailable with default headers values.
NewUnblockConfigUnauthorized creates UnblockConfigUnauthorized with default headers values.
NewVGSocketRealmAPI creates a new VGSocketRealm instance.

# Constants

BlockConfigBadRequestCode is the HTTP code returned for type BlockConfigBadRequest.
BlockConfigInternalServerErrorCode is the HTTP code returned for type BlockConfigInternalServerError.
BlockConfigNotFoundCode is the HTTP code returned for type BlockConfigNotFound.
BlockConfigOKCode is the HTTP code returned for type BlockConfigOK.
BlockConfigServiceUnavailableCode is the HTTP code returned for type BlockConfigServiceUnavailable.
BlockConfigUnauthorizedCode is the HTTP code returned for type BlockConfigUnauthorized.
CreateConfigBadRequestCode is the HTTP code returned for type CreateConfigBadRequest.
CreateConfigCreatedCode is the HTTP code returned for type CreateConfigCreated.
CreateConfigInsufficientStorageCode is the HTTP code returned for type CreateConfigInsufficientStorage.
CreateConfigInternalServerErrorCode is the HTTP code returned for type CreateConfigInternalServerError.
CreateConfigServiceUnavailableCode is the HTTP code returned for type CreateConfigServiceUnavailable.
CreateConfigUnauthorizedCode is the HTTP code returned for type CreateConfigUnauthorized.
DeleteConfigBadRequestCode is the HTTP code returned for type DeleteConfigBadRequest.
DeleteConfigInternalServerErrorCode is the HTTP code returned for type DeleteConfigInternalServerError.
DeleteConfigNotFoundCode is the HTTP code returned for type DeleteConfigNotFound.
DeleteConfigOKCode is the HTTP code returned for type DeleteConfigOK.
DeleteConfigServiceUnavailableCode is the HTTP code returned for type DeleteConfigServiceUnavailable.
DeleteConfigUnauthorizedCode is the HTTP code returned for type DeleteConfigUnauthorized.
GetBrigadeActivityBadRequestCode is the HTTP code returned for type GetBrigadeActivityBadRequest.
GetBrigadeActivityInternalServerErrorCode is the HTTP code returned for type GetBrigadeActivityInternalServerError.
GetBrigadeActivityOKCode is the HTTP code returned for type GetBrigadeActivityOK.
GetBrigadeActivityServiceUnavailableCode is the HTTP code returned for type GetBrigadeActivityServiceUnavailable.
GetBrigadeActivityUnauthorizedCode is the HTTP code returned for type GetBrigadeActivityUnauthorized.
GetBrigadeSlotsBadRequestCode is the HTTP code returned for type GetBrigadeSlotsBadRequest.
GetBrigadeSlotsInternalServerErrorCode is the HTTP code returned for type GetBrigadeSlotsInternalServerError.
GetBrigadeSlotsOKCode is the HTTP code returned for type GetBrigadeSlotsOK.
GetBrigadeSlotsServiceUnavailableCode is the HTTP code returned for type GetBrigadeSlotsServiceUnavailable.
GetBrigadeSlotsUnauthorizedCode is the HTTP code returned for type GetBrigadeSlotsUnauthorized.
UnblockConfigBadRequestCode is the HTTP code returned for type UnblockConfigBadRequest.
UnblockConfigInternalServerErrorCode is the HTTP code returned for type UnblockConfigInternalServerError.
UnblockConfigNotFoundCode is the HTTP code returned for type UnblockConfigNotFound.
UnblockConfigOKCode is the HTTP code returned for type UnblockConfigOK.
UnblockConfigServiceUnavailableCode is the HTTP code returned for type UnblockConfigServiceUnavailable.
UnblockConfigUnauthorizedCode is the HTTP code returned for type UnblockConfigUnauthorized.

# Structs

BlockConfig swagger:route PATCH /config/{config_id}/block blockConfig Block VPN config */.
BlockConfigBadRequest Bad Request swagger:response blockConfigBadRequest */.
BlockConfigBody block config body swagger:model BlockConfigBody.
BlockConfigInternalServerError Internal Server Error swagger:response blockConfigInternalServerError */.
BlockConfigNotFound Not Found swagger:response blockConfigNotFound */.
BlockConfigOK OK swagger:response blockConfigOK */.
BlockConfigParams contains all the bound params for the block config operation typically these are obtained from a http.Request swagger:parameters blockConfig.
BlockConfigServiceUnavailable Service Temporarily Unavailable swagger:response blockConfigServiceUnavailable */.
BlockConfigUnauthorized Unauthorized swagger:response blockConfigUnauthorized */.
BlockConfigURL generates an URL for the block config operation.
CreateConfig swagger:route POST /config createConfig Create VPN config */.
CreateConfigBadRequest Bad Request swagger:response createConfigBadRequest */.
CreateConfigCreated Created swagger:response createConfigCreated */.
CreateConfigInsufficientStorage Not Enough Free Slots swagger:response createConfigInsufficientStorage */.
CreateConfigInternalServerError Internal Server Error swagger:response createConfigInternalServerError */.
CreateConfigParams contains all the bound params for the create config operation typically these are obtained from a http.Request swagger:parameters createConfig.
CreateConfigServiceUnavailable Service Temporarily Unavailable swagger:response createConfigServiceUnavailable */.
CreateConfigUnauthorized Unauthorized swagger:response createConfigUnauthorized */.
CreateConfigURL generates an URL for the create config operation.
DeleteConfig swagger:route DELETE /config/{config_id} deleteConfig Delete VPN config */.
DeleteConfigBadRequest Bad Request swagger:response deleteConfigBadRequest */.
DeleteConfigBody delete config body swagger:model DeleteConfigBody.
DeleteConfigInternalServerError Internal Server Error swagger:response deleteConfigInternalServerError */.
DeleteConfigNotFound Not Found swagger:response deleteConfigNotFound */.
DeleteConfigOK OK swagger:response deleteConfigOK */.
DeleteConfigParams contains all the bound params for the delete config operation typically these are obtained from a http.Request swagger:parameters deleteConfig.
DeleteConfigServiceUnavailable Service Temporarily Unavailable swagger:response deleteConfigServiceUnavailable */.
DeleteConfigUnauthorized Unauthorized swagger:response deleteConfigUnauthorized */.
DeleteConfigURL generates an URL for the delete config operation.
GetBrigadeActivity swagger:route GET /brigade/{brigade_id}/activity getBrigadeActivity Get VPN socket brigade activity stats */.
GetBrigadeActivityBadRequest Bad Request swagger:response getBrigadeActivityBadRequest */.
GetBrigadeActivityInternalServerError Internal Server Error swagger:response getBrigadeActivityInternalServerError */.
GetBrigadeActivityOK OK swagger:response getBrigadeActivityOK */.
GetBrigadeActivityParams contains all the bound params for the get brigade activity operation typically these are obtained from a http.Request swagger:parameters getBrigadeActivity.
GetBrigadeActivityServiceUnavailable Service Temporarily Unavailable swagger:response getBrigadeActivityServiceUnavailable */.
GetBrigadeActivityUnauthorized Unauthorized swagger:response getBrigadeActivityUnauthorized */.
GetBrigadeActivityURL generates an URL for the get brigade activity operation.
GetBrigadeSlots swagger:route GET /brigade/{brigade_id}/slots getBrigadeSlots Get VPN socket brigade slots stats */.
GetBrigadeSlotsBadRequest Bad Request swagger:response getBrigadeSlotsBadRequest */.
GetBrigadeSlotsInternalServerError Internal Server Error swagger:response getBrigadeSlotsInternalServerError */.
GetBrigadeSlotsOK OK swagger:response getBrigadeSlotsOK */.
GetBrigadeSlotsParams contains all the bound params for the get brigade slots operation typically these are obtained from a http.Request swagger:parameters getBrigadeSlots.
GetBrigadeSlotsServiceUnavailable Service Temporarily Unavailable swagger:response getBrigadeSlotsServiceUnavailable */.
GetBrigadeSlotsUnauthorized Unauthorized swagger:response getBrigadeSlotsUnauthorized */.
GetBrigadeSlotsURL generates an URL for the get brigade slots operation.
UnblockConfig swagger:route PATCH /config/{config_id}/unblock unblockConfig Unblock VPN config */.
UnblockConfigBadRequest Bad Request swagger:response unblockConfigBadRequest */.
UnblockConfigBody unblock config body swagger:model UnblockConfigBody.
UnblockConfigInternalServerError Internal Server Error swagger:response unblockConfigInternalServerError */.
UnblockConfigNotFound Not Found swagger:response unblockConfigNotFound */.
UnblockConfigOK OK swagger:response unblockConfigOK */.
UnblockConfigParams contains all the bound params for the unblock config operation typically these are obtained from a http.Request swagger:parameters unblockConfig.
UnblockConfigServiceUnavailable Service Temporarily Unavailable swagger:response unblockConfigServiceUnavailable */.
UnblockConfigUnauthorized Unauthorized swagger:response unblockConfigUnauthorized */.
UnblockConfigURL generates an URL for the unblock config operation.
VGSocketRealmAPI VPN Generator socket datacenter API */.

# Interfaces

BlockConfigHandler interface for that can handle valid block config params.
CreateConfigHandler interface for that can handle valid create config params.
DeleteConfigHandler interface for that can handle valid delete config params.
GetBrigadeActivityHandler interface for that can handle valid get brigade activity params.
GetBrigadeSlotsHandler interface for that can handle valid get brigade slots params.
UnblockConfigHandler interface for that can handle valid unblock config params.

# Type aliases

BlockConfigHandlerFunc turns a function with the right signature into a block config handler.
CreateConfigHandlerFunc turns a function with the right signature into a create config handler.
DeleteConfigHandlerFunc turns a function with the right signature into a delete config handler.
GetBrigadeActivityHandlerFunc turns a function with the right signature into a get brigade activity handler.
GetBrigadeSlotsHandlerFunc turns a function with the right signature into a get brigade slots handler.
UnblockConfigHandlerFunc turns a function with the right signature into a unblock config handler.