Documentation
¶
Overview ¶
Package common is to handle REST API for common funcitonalities
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
type Handlers struct {
}
func (*Handlers) RecommendInfra ¶
RecommendInfra godoc @Summary Recommend an appropriate infrastructure for cloud migration @Description It recommends a cloud infrastructure most similar to the input. Infrastructure includes network, storage, compute, and so on. @Tags [Recommendation] Infrastructure @Accept json @Produce json @Param UserInfrastructure body RecommendInfraRequest true "Specify network, disk, compute, security group, virtual machine, etc." @Success 200 {object} RecommendInfraResponse "Successfully recommended an appropriate infrastructure for cloud migration" @Failure 404 {object} common.SimpleMsg @Failure 500 {object} common.SimpleMsg @Router /recommendation/infra [post]
type Infrastructure ¶
type RecommendInfraRequest ¶
type RecommendInfraRequest struct {
Infrastructure
}
type RecommendInfraResponse ¶
type RecommendInfraResponse struct {
Infrastructure
}