Documentation ¶
Overview ¶
Package router Kube-Importer
Resource-Service is service for importing kubernetes resources to other services.
Version: 0.0.1 Consumes: - application/json Produces: - application/json
swagger:meta
Index ¶
- func CreateMissingLimitsHandler(ctx *gin.Context)
- func ExportConfigMapsListHandler(ctx *gin.Context)
- func ExportDeploymentsListHandler(ctx *gin.Context)
- func ExportIngressesListHandler(ctx *gin.Context)
- func ExportNamespacesListHandler(ctx *gin.Context)
- func ExportServicesListHandler(ctx *gin.Context)
- func ExportStoragesListHandler(ctx *gin.Context)
- func ExportVolumesListHandler(ctx *gin.Context)
- func ImportAllHandler(ctx *gin.Context)
- func ImportAllWSHandler(ctx *gin.Context)
- func ImportConfigMapsListHandler(ctx *gin.Context)
- func ImportDeploymentsListHandler(ctx *gin.Context)
- func ImportIngressesListHandler(ctx *gin.Context)
- func ImportNamespacesListHandler(ctx *gin.Context)
- func ImportServicesListHandler(ctx *gin.Context)
- func ImportStoragesListHandler(ctx *gin.Context)
- func ImportVolumesListHandler(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMissingLimitsHandler ¶ added in v0.0.3
swagger:operation POST /limits Import CreateMissingLimits Create missing LimitRange and ResourceQuota in Kubernetes namespaces.
--- x-method-visibility: public responses:
'202': description: creation result schema: $ref: '#/definitions/ImportResponse' default: $ref: '#/responses/error'
func ExportConfigMapsListHandler ¶
swagger:operation GET /configmaps Export ExportConfigMapsList Export config maps.
--- x-method-visibility: public responses:
'200': description: export result schema: $ref: '#/definitions/ConfigMapsList' default: $ref: '#/responses/error'
func ExportDeploymentsListHandler ¶
swagger:operation GET /deployments Export ExportDeploymentsList Export namespaces.
--- x-method-visibility: public responses:
'200': description: export result schema: $ref: '#/definitions/DeploymentsList' default: $ref: '#/responses/error'
func ExportIngressesListHandler ¶
swagger:operation GET /ingresses Export ExportIngressesList Export ingresses.
--- x-method-visibility: public responses:
'200': description: export result schema: $ref: '#/definitions/ServiceWithParamList' default: $ref: '#/responses/error'
func ExportNamespacesListHandler ¶
swagger:operation GET /namespaces Export ExportNamespacesList Export namespaces.
--- x-method-visibility: public responses:
'200': description: export result schema: $ref: '#/definitions/NamespacesList' default: $ref: '#/responses/error'
func ExportServicesListHandler ¶
swagger:operation GET /services Export ExportServicesList Export services.
--- x-method-visibility: public responses:
'200': description: export result schema: $ref: '#/definitions/ServiceWithParamList' default: $ref: '#/responses/error'
func ExportStoragesListHandler ¶
swagger:operation GET /storages Export ExportStoragesList Export storages.
--- x-method-visibility: public responses:
'200': description: export result schema: $ref: '#/definitions/StorageList' default: $ref: '#/responses/error'
func ExportVolumesListHandler ¶
swagger:operation GET /volumes Export ExportVolumesList Export volumes.
--- x-method-visibility: public responses:
'200': description: export result schema: $ref: '#/definitions/VolumesList' default: $ref: '#/responses/error'
func ImportAllHandler ¶
swagger:operation POST /all Import ImportAllHandler Import all resources.
--- x-method-visibility: public responses:
'202': description: import result schema: $ref: '#/definitions/ImportResponseTotal' default: $ref: '#/responses/error'
func ImportAllWSHandler ¶
swagger:operation GET /all/ws Import ImportAllWS Import all resources with websockets response.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UpgradeHeader'
- $ref: '#/parameters/ConnectionHeader'
- $ref: '#/parameters/SecWebSocketKeyHeader'
- $ref: '#/parameters/SecWebsocketVersionHeader'
responses:
'101': description: import response default: $ref: '#/responses/error'
func ImportConfigMapsListHandler ¶
swagger:operation POST /configmaps Import ImportConfigMapsList Import configmaps.
--- x-method-visibility: public responses:
'202': description: import result schema: $ref: '#/definitions/ImportResponse' default: $ref: '#/responses/error'
func ImportDeploymentsListHandler ¶
swagger:operation POST /deployments Import ImportDeploymentsList Import deployments.
--- x-method-visibility: public responses:
'202': description: import result schema: $ref: '#/definitions/ImportResponse' default: $ref: '#/responses/error'
func ImportIngressesListHandler ¶
swagger:operation POST /ingresses Import ImportIngressesList Import ingresses.
--- x-method-visibility: public responses:
'202': description: import result schema: $ref: '#/definitions/ImportResponse' default: $ref: '#/responses/error'
func ImportNamespacesListHandler ¶
swagger:operation POST /namespaces Import ImportNamespacesList Import namespaces.
--- x-method-visibility: public responses:
'202': description: import result schema: $ref: '#/definitions/ImportResponse' default: $ref: '#/responses/error'
func ImportServicesListHandler ¶
swagger:operation POST /services Import ImportServicesList Import services.
--- x-method-visibility: public responses:
'202': description: import result schema: $ref: '#/definitions/ImportResponse' default: $ref: '#/responses/error'
func ImportStoragesListHandler ¶
swagger:operation POST /storages Import ImportStoragesList Import storages.
--- x-method-visibility: public responses:
'202': description: import result schema: $ref: '#/definitions/ImportResponse' default: $ref: '#/responses/error'
func ImportVolumesListHandler ¶
swagger:operation POST /volumes Import ImportVolumesList Import volumes.
--- x-method-visibility: public responses:
'202': description: import result schema: $ref: '#/definitions/ImportResponse' default: $ref: '#/responses/error'
Types ¶
This section is empty.