Documentation
¶
Index ¶
- Constants
- func CreateCloudModel(c echo.Context) error
- func CreateOnPremModel(c echo.Context) error
- func CreateSourceSoftwareModel(c echo.Context) error
- func CreateTargetSoftwareModel(c echo.Context) error
- func DeleteCloudModel(c echo.Context) error
- func DeleteOnPremModel(c echo.Context) error
- func DeleteSourceSoftwareModel(c echo.Context) error
- func DeleteTargetSoftwareModel(c echo.Context) error
- func GetCloudModel(c echo.Context) error
- func GetCloudModels(c echo.Context) error
- func GetModels(c echo.Context) error
- func GetModelsVersion(c echo.Context) error
- func GetOnPremModel(c echo.Context) error
- func GetOnPremModels(c echo.Context) error
- func GetSourceSoftwareModel(c echo.Context) error
- func GetSourceSoftwareModels(c echo.Context) error
- func GetTargetSoftwareModel(c echo.Context) error
- func GetTargetSoftwareModels(c echo.Context) error
- func RestCheckHTTPVersion(c echo.Context) error
- func RestGetReadyz(c echo.Context) error
- func UpdateCloudModel(c echo.Context) error
- func UpdateOnPremModel(c echo.Context) error
- func UpdateSourceSoftwareModel(c echo.Context) error
- func UpdateTargetSoftwareModel(c echo.Context) error
- type CloudModelReqInfo
- type CloudModelRespInfo
- type CreateCloudModelReq
- type CreateCloudModelResp
- type CreateOnPremModelReq
- type CreateOnPremModelResp
- type CreateSourceSoftwareModelReq
- type CreateSourceSoftwareModelResp
- type CreateTargetSoftwareModelReq
- type CreateTargetSoftwareModelResp
- type GetCloudModelResp
- type GetCloudModelsResp
- type GetModelsResp
- type GetModelsVersionResp
- type GetOnPremModelResp
- type GetOnPremModelsResp
- type GetSourceSoftwareModelResp
- type GetSourceSoftwareModelsResp
- type GetTargetSoftwareModelResp
- type GetTargetSoftwareModelsResp
- type ModelRespInfo
- type ModelsVersionRespInfo
- type OnPremModelReqInfo
- type OnPremModelRespInfo
- type Release
- type ResHTTPVersion
- type ResReadyz
- type SourceSoftwareModelReqInfo
- type SourceSoftwareModelRespInfo
- type TargetSoftwareModelReqInfo
- type TargetSoftwareModelRespInfo
- type UpdateCloudModelReq
- type UpdateCloudModelResp
- type UpdateOnPremModelReq
- type UpdateOnPremModelResp
- type UpdateSourceSoftwareModelReq
- type UpdateSourceSoftwareModelResp
- type UpdateTargetSoftwareModelReq
- type UpdateTargetSoftwareModelResp
Constants ¶
const ( OnPremModel string = "OnPremiseModel" CloudModel string = "CloudModel" SWModel string = "SoftwareModel" )
Variables ¶
This section is empty.
Functions ¶
func CreateCloudModel ¶
CreateCloudModel godoc @ID CreateCloudModel @Summary Create a new cloud user model @Description Create a new cloud user model with the given information. @Tags [API] Cloud Migration User Models @Accept json @Produce json @Param Model body CreateCloudModelReq true "model information" @Success 201 {object} CreateCloudModelResp "Successfully Created the Cloud Migration User Model" @Failure 400 {object} object "Invalid Request" @Failure 404 {object} model.Response "Model Not Found" @Failure 500 {object} model.Response @Router /cloudmodel [post]
func CreateOnPremModel ¶
CreateOnPremModel godoc @ID CreateOnPremModel @Summary Create a new on-premise model @Description Create a new on-premise model with the given information. @Tags [API] On-Premise Migration User Models @Accept json @Produce json @Param Model body CreateOnPremModelReq true "model information" @Success 201 {object} CreateOnPremModelResp "Successfully Created the On-Premise Migration User Model" @Failure 400 {object} object "Invalid Request" @Failure 404 {object} model.Response "Model Not Found" @Failure 500 {object} model.Response @Router /onpremmodel [post]
func CreateSourceSoftwareModel ¶ added in v0.3.3
CreateSourceSoftwareModel godoc @ID CreateSourceSoftwareModel @Summary Create a new source software user model @Description Create a new source software user model with the given information. @Tags [API] Source Software Migration User Models @Accept json @Produce json @Param Model body CreateSourceSoftwareModelReq true "model information" @Success 201 {object} CreateSourceSoftwareModelResp "Successfully Created the Source Software Migration User Model" @Failure 400 {object} object "Invalid Request" @Router /softwaremodel/source [post]
func CreateTargetSoftwareModel ¶ added in v0.3.3
CreateTargetSoftwareModel godoc @ID CreateTargetSoftwareModel @Summary Create a new target software user model @Description Create a new target software user model with the given information. @Tags [API] Target Software Migration User Models @Accept json @Produce json @Param Model body CreateTargetSoftwareModelReq true "model information" @Success 201 {object} CreateTargetSoftwareModelResp "Successfully Created the Target Software Migration User Model" @Failure 400 {object} object "Invalid Request" @Router /softwaremodel/target [post]
func DeleteCloudModel ¶
DeleteCloudModel godoc @ID DeleteCloudModel @Summary Delete a cloud user model @Description Delete a cloud user model with the given information. @Tags [API] Cloud Migration User Models @Accept json @Produce json @Param id path string true "Model ID" @Success 200 {string} string "Successfully Deleted the Cloud Migration User Model" @Failure 400 {object} object "Invalid Request" @Failure 404 {object} model.Response "Model Not Found" @Failure 500 {object} model.Response @Router /cloudmodel/{id} [delete]
func DeleteOnPremModel ¶
DeleteOnPremModel godoc @ID DeleteOnPremModel @Summary Delete a on-premise model @Description Delete a on-premise model with the given information. @Tags [API] On-Premise Migration User Models @Accept json @Produce json @Param id path string true "Model ID" @Success 200 {string} string "Successfully Deleted the On-Premise Migration User Model" @Failure 400 {object} object "Invalid Request" @Failure 404 {object} model.Response "Model Not Found" @Failure 500 {object} model.Response @Router /onpremmodel/{id} [delete]
func DeleteSourceSoftwareModel ¶ added in v0.3.3
DeleteSourceSoftwareModel godoc @ID DeleteSourceSoftwareModel @Summary Delete a source software user model @Description Delete a source software user model with the given information. @Tags [API] Source Software Migration User Models @Accept json @Produce json @Param id path string true "Model ID" @Success 200 {string} string "Successfully Deleted the Source Software Migration User Model" @Failure 400 {object} object "Invalid Request" @Failure 404 {object} object "Model Not Found" @Failure 500 {object} model.Response @Router /softwaremodel/source/{id} [delete]
func DeleteTargetSoftwareModel ¶ added in v0.3.3
DeleteTargetSoftwareModel godoc @ID DeleteTargetSoftwareModel @Summary Delete a target software user model @Description Delete a target software user model with the given information. @Tags [API] Target Software Migration User Models @Accept json @Produce json @Param id path string true "Model ID" @Success 200 {string} string "Successfully Deleted the Target Software Migration User Model" @Failure 400 {object} object "Invalid Request" @Failure 404 {object} object "Model Not Found" @Failure 500 {object} model.Response @Router /softwaremodel/target/{id} [delete]
func GetCloudModel ¶
GetCloudModel godoc @ID GetCloudModel @Summary Get a specific cloud user model @Description Get a specific cloud user model. @Tags [API] Cloud Migration User Models @Accept json @Produce json @Param id path string true "Model ID" @Success 200 {object} GetCloudModelResp "Successfully Obtained the Cloud Migration User Model" @Failure 400 {object} object "Invalid Request" @Failure 404 {object} model.Response "Model Not Found" @Failure 500 {object} model.Response @Router /cloudmodel/{id} [get]
func GetCloudModels ¶
GetCloudModels godoc @ID GetCloudModels @Summary Get a list of cloud user models @Description Get a list of cloud user models. @Tags [API] Cloud Migration User Models @Accept json @Produce json @Success 200 {object} GetCloudModelsResp "Successfully Obtained Cloud Migration User Models" @Failure 400 {object} object "Invalid Request" @Failure 404 {object} model.Response "Model Not Found" @Failure 500 {object} model.Response @Router /cloudmodel [get]
func GetModels ¶
GetModels godoc @ID GetModels @Summary Get a list of all user models @Description Get a list of all user models. @Tags [API] Migration User Models @Accept json @Produce json @Param isTargetModel path bool true "Is TargetModel ?" @Success 200 {object} GetModelsResp "Successfully Obtained Migration User Models." @Failure 404 {object} model.Response "Model Not Found" @Failure 500 {object} model.Response @Router /model/{isTargetModel} [get]
func GetModelsVersion ¶
GetModelsVersion godoc @ID GetModelsVersion @Summary Get the versions of all models(schemata of on-premise/cloud/software migration models) @Description Get the versions of all models(schemata of on-premise/cloud/software migration models) @Tags [API] Migration Models @Accept json @Produce json @Success 200 {object} GetModelsVersionResp "This is the versions of all models(schemata)" @Failure 404 {object} model.Response "Model Not Found" @Failure 500 {object} model.Response @Router /model/version [get]
func GetOnPremModel ¶
GetOnPremModel godoc @ID GetOnPremModel @Summary Get a specific on-premise model @Description Get a specific on-premise model. @Tags [API] On-Premise Migration User Models @Accept json @Produce json @Param id path string true "Model ID" @Success 200 {object} GetOnPremModelResp "Successfully Obtained the On-Premise Migration User Model" @Failure 400 {object} object "Invalid Request" @Failure 404 {object} model.Response "Model Not Found" @Failure 500 {object} model.Response @Router /onpremmodel/{id} [get]
func GetOnPremModels ¶
GetOnPremModels godoc @ID GetOnPremModels @Summary Get a list of on-premise models @Description Get a list of on-premise models. @Tags [API] On-Premise Migration User Models @Accept json @Produce json @Success 200 {object} GetOnPremModelsResp "Successfully Obtained On-Premise Migration User Models" @Failure 404 {object} model.Response "Model Not Found" @Failure 500 {object} model.Response @Router /onpremmodel [get]
func GetSourceSoftwareModel ¶ added in v0.3.3
GetSourceSoftwareModel godoc @ID GetSourceSoftwareModel @Summary Get a specific source software user model @Description Get a specific source software user model. @Tags [API] Source Software Migration User Models @Accept json @Produce json @Param id path string true "Model ID" @Success 200 {object} GetSourceSoftwareModelResp "Successfully Obtained the Source Software Migration User Model" @Failure 400 {object} object "Invalid Request" @Failure 404 {object} object "Model Not Found" @Router /softwaremodel/source/{id} [get]
func GetSourceSoftwareModels ¶ added in v0.3.3
GetSourceSoftwareModels godoc @ID GetSourceSoftwareModels @Summary Get a list of source software user models @Description Get a list of source software user models. @Tags [API] Source Software Migration User Models @Accept json @Produce json @Success 200 {object} GetSourceSoftwareModelsResp "Successfully Obtained Source Software Migration User Models" @Failure 404 {object} model.Response @Router /softwaremodel/source [get]
func GetTargetSoftwareModel ¶ added in v0.3.3
GetTargetSoftwareModel godoc @ID GetTargetSoftwareModel @Summary Get a specific target software user model @Description Get a specific target software user model. @Tags [API] Target Software Migration User Models @Accept json @Produce json @Param id path string true "Model ID" @Success 200 {object} GetTargetSoftwareModelResp "Successfully Obtained the Target Software Migration User Model" @Failure 400 {object} object "Invalid Request" @Failure 404 {object} object "Model Not Found" @Router /softwaremodel/target/{id} [get]
func GetTargetSoftwareModels ¶ added in v0.3.3
GetTargetSoftwareModels godoc @ID GetTargetSoftwareModels @Summary Get a list of target software user models @Description Get a list of target software user models. @Tags [API] Target Software Migration User Models @Accept json @Produce json @Success 200 {object} GetTargetSoftwareModelsResp "Successfully Obtained Target Software Migration User Models" @Failure 404 {object} model.Response @Router /softwaremodel/target [get]
func RestCheckHTTPVersion ¶
RestCheckHTTPVersion godoc @ID RestCheckHTTPVersion @Summary Check HTTP version of incoming request @Description Checks and logs the HTTP version of the incoming request to the server console. @Tags [Admin] System management @Accept json @Produce json @Success 200 {object} ResHTTPVersion @Failure 404 {object} ResHTTPVersion @Failure 500 {object} ResHTTPVersion @Router /httpVersion [get]
func RestGetReadyz ¶
RestGetReadyz func check if CM-Damselfly server is ready or not. RestGetReadyz godoc @ID RestGetReadyz @Summary Check Damselfly is ready @Description Check Damselfly is ready @Tags [Admin] System management @Accept json @Produce json @Success 200 {object} ResReadyz @Failure 503 {object} ResReadyz @Router /readyz [get]
func UpdateCloudModel ¶
UpdateCloudModel godoc @ID UpdateCloudModel @Summary Update a cloud user model @Description Update a cloud user model with the given information. @Tags [API] Cloud Migration User Models @Accept json @Produce json @Param id path string true "Model ID" @Param Model body UpdateCloudModelReq true "Model information to update" @Success 201 {object} UpdateCloudModelResp "Successfully Updated the Cloud Migration User Model" @Failure 400 {object} object "Invalid Request" @Failure 404 {object} model.Response "Model Not Found" @Failure 500 {object} model.Response @Router /cloudmodel/{id} [put]
func UpdateOnPremModel ¶
UpdateOnPremModel godoc @ID UpdateOnPremModel @Summary Update a on-premise model @Description Update a on-premise model with the given information. @Tags [API] On-Premise Migration User Models @Accept json @Produce json @Param id path string true "Model ID" @Param Model body UpdateOnPremModelReq true "Model information to update" @Success 201 {object} UpdateOnPremModelResp "Successfully Updated the On-Premise Migration User Model" @Failure 404 {object} model.Response "Model Not Found" @Failure 500 {object} model.Response @Router /onpremmodel/{id} [put]
func UpdateSourceSoftwareModel ¶ added in v0.3.3
UpdateSourceSoftwareModel godoc @ID UpdateSourceSoftwareModel @Summary Update a source software user model @Description Update a source software user model with the given information. @Tags [API] Source Software Migration User Models @Accept json @Produce json @Param id path string true "Model ID" @Param Model body UpdateSourceSoftwareModelReq true "Model information to update" @Success 201 {object} UpdateSourceSoftwareModelResp "Successfully Updated the Source Software Migration User Model" @Failure 400 {object} object "Invalid Request" @Failure 404 {object} object "Model Not Found" @Failure 500 {object} model.Response @Router /softwaremodel/source/{id} [put]
func UpdateTargetSoftwareModel ¶ added in v0.3.3
UpdateTargetSoftwareModel godoc @ID UpdateTargetSoftwareModel @Summary Update a target software user model @Description Update a target software user model with the given information. @Tags [API] Target Software Migration User Models @Accept json @Produce json @Param id path string true "Model ID" @Param Model body UpdateTargetSoftwareModelReq true "Model information to update" @Success 201 {object} UpdateTargetSoftwareModelResp "Successfully Updated the Target Software Migration User Model" @Failure 400 {object} object "Invalid Request" @Failure 404 {object} object "Model Not Found" @Failure 500 {object} model.Response @Router /softwaremodel/target/{id} [put]
Types ¶
type CloudModelReqInfo ¶
type CloudModelReqInfo struct {
UserId string `json:"userId"`
IsTargetModel bool `json:"isTargetModel"`
IsInitUserModel bool `json:"isInitUserModel"`
UserModelName string `json:"userModelName"`
Description string `json:"description"`
UserModelVer string `json:"userModelVersion"`
CSP string `json:"csp"`
Region string `json:"region"`
Zone string `json:"zone"`
CloudInfraModel cloudmodel.RecommendedVmInfra `json:"cloudInfraModel" validate:"required"`
}
type CloudModelRespInfo ¶
type CloudModelRespInfo struct {
Id string `json:"id"`
UserId string `json:"userId"`
IsTargetModel bool `json:"isTargetModel"`
IsInitUserModel bool `json:"isInitUserModel"`
UserModelName string `json:"userModelName"`
Description string `json:"description"`
UserModelVer string `json:"userModelVersion"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
CSP string `json:"csp"`
Region string `json:"region"`
Zone string `json:"zone"`
IsCloudModel bool `json:"isCloudModel"`
CloudModelVer string `json:"cloudModelVersion"`
ModelType string `json:"modelType"`
CloudInfraModel cloudmodel.RecommendedVmInfra `json:"cloudInfraModel" validate:"required"`
}
type CreateCloudModelReq ¶
type CreateCloudModelReq struct {
CloudModelReqInfo
}
[Note] Struct Embedding is used to inherit the fields of CloudModel
type CreateCloudModelResp ¶
type CreateCloudModelResp struct {
CloudModelRespInfo
}
[Note] Struct Embedding is used to inherit the fields of CloudModel
type CreateOnPremModelReq ¶
type CreateOnPremModelReq struct {
OnPremModelReqInfo
}
[Note] Struct Embedding is used to inherit the fields of OnPremModel
type CreateOnPremModelResp ¶
type CreateOnPremModelResp struct {
OnPremModelRespInfo
}
[Note] Struct Embedding is used to inherit the fields of OnPremModel
type CreateSourceSoftwareModelReq ¶ added in v0.3.3
type CreateSourceSoftwareModelReq struct {
SourceSoftwareModelReqInfo
}
[Note] Struct Embedding is used to inherit the fields of SoftwareModel
type CreateSourceSoftwareModelResp ¶ added in v0.3.3
type CreateSourceSoftwareModelResp struct {
SourceSoftwareModelRespInfo
}
[Note] Struct Embedding is used to inherit the fields of SoftwareModel
type CreateTargetSoftwareModelReq ¶ added in v0.3.3
type CreateTargetSoftwareModelReq struct {
TargetSoftwareModelReqInfo
}
[Note] Struct Embedding is used to inherit the fields of SoftwareModel
type CreateTargetSoftwareModelResp ¶ added in v0.3.3
type CreateTargetSoftwareModelResp struct {
TargetSoftwareModelRespInfo
}
[Note] Struct Embedding is used to inherit the fields of SoftwareModel
type GetCloudModelResp ¶
type GetCloudModelResp struct {
CloudModelRespInfo
}
type GetCloudModelsResp ¶
type GetCloudModelsResp struct {
Models []CloudModelRespInfo `json:"models"`
}
type GetModelsResp ¶
type GetModelsResp struct {
Models []ModelRespInfo `json:"models"`
}
type GetModelsVersionResp ¶
type GetModelsVersionResp struct {
ModelsVersion ModelsVersionRespInfo `json:"modelsVersion"`
}
type GetOnPremModelResp ¶
type GetOnPremModelResp struct {
OnPremModelRespInfo
}
type GetOnPremModelsResp ¶
type GetOnPremModelsResp struct {
Models []OnPremModelRespInfo `json:"models"`
}
type GetSourceSoftwareModelResp ¶ added in v0.3.3
type GetSourceSoftwareModelResp struct {
SourceSoftwareModelRespInfo
}
type GetSourceSoftwareModelsResp ¶ added in v0.3.3
type GetSourceSoftwareModelsResp struct {
Models []SourceSoftwareModelRespInfo `json:"models"`
}
type GetTargetSoftwareModelResp ¶ added in v0.3.3
type GetTargetSoftwareModelResp struct {
TargetSoftwareModelRespInfo
}
type GetTargetSoftwareModelsResp ¶ added in v0.3.3
type GetTargetSoftwareModelsResp struct {
Models []TargetSoftwareModelRespInfo `json:"models"`
}
type ModelRespInfo ¶
type ModelRespInfo struct {
Id string `json:"id"`
UserId string `json:"userId"`
IsInitUserModel bool `json:"isInitUserModel"`
UserModelName string `json:"userModelName"`
Description string `json:"description"`
UserModelVer string `json:"userModelVersion"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
IsTargetModel bool `json:"isTargetModel"`
IsCloudModel bool `json:"isCloudModel"`
IsSoftwareModel bool `json:"isSoftwareModel"`
ModelType string `json:"modelType"`
OnPremModelVer string `json:"onpremModelVersion"`
CloudModelVer string `json:"cloudModelVersion"`
SoftwareModelVer string `json:"softwareModelVersion"`
CSP string `json:"csp"`
Region string `json:"region"`
Zone string `json:"zone"`
OnpremInfraModel onpremisemodel.OnpremInfra `json:"onpremiseInfraModel" validate:"required"`
CloudInfraModel cloudmodel.RecommendedVmInfra `json:"cloudInfraModel" validate:"required"`
SourceSoftwareModel softwaremodel.SourceGroupSoftwareProperty `json:"sourceSoftwareModel" validate:"required"`
TargetSoftwareModel softwaremodel.TargetGroupSoftwareProperty `json:"targetSoftwareModel" validate:"required"`
}
type ModelsVersionRespInfo ¶
type OnPremModelReqInfo ¶
type OnPremModelReqInfo struct {
UserId string `json:"userId"`
IsInitUserModel bool `json:"isInitUserModel"`
UserModelName string `json:"userModelName"`
UserModelVer string `json:"userModelVersion"`
Description string `json:"description"`
OnpremInfraModel onpremisemodel.OnpremInfra `json:"onpremiseInfraModel" validate:"required"`
}
type OnPremModelRespInfo ¶
type OnPremModelRespInfo struct {
Id string `json:"id"`
UserId string `json:"userId"`
IsInitUserModel bool `json:"isInitUserModel"`
UserModelName string `json:"userModelName"`
UserModelVer string `json:"userModelVersion"`
Description string `json:"description"`
OnPremModelVer string `json:"onpremModelVersion"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
IsTargetModel bool `json:"isTargetModel"`
IsCloudModel bool `json:"isCloudModel"`
ModelType string `json:"modelType"`
OnpremInfraModel onpremisemodel.OnpremInfra `json:"onpremiseInfraModel" validate:"required"`
}
type ResHTTPVersion ¶
type ResHTTPVersion struct {
model.SimpleMessage
}
type ResReadyz ¶
type ResReadyz struct {
model.SimpleMessage
}
type SourceSoftwareModelReqInfo ¶ added in v0.3.3
type SourceSoftwareModelReqInfo struct {
UserId string `json:"userId"`
IsInitUserModel bool `json:"isInitUserModel"`
UserModelName string `json:"userModelName"`
UserModelVer string `json:"userModelVersion"`
Description string `json:"description"`
SourceSoftwareModel softwaremodel.SourceGroupSoftwareProperty `json:"sourceSoftwareModel" validate:"required"`
}
type SourceSoftwareModelRespInfo ¶ added in v0.3.3
type SourceSoftwareModelRespInfo struct {
Id string `json:"id"`
UserId string `json:"userId"`
IsInitUserModel bool `json:"isInitUserModel"`
UserModelName string `json:"userModelName"`
UserModelVer string `json:"userModelVersion"`
Description string `json:"description"`
SoftwareModelVer string `json:"softwareModelVersion"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
IsSoftwareModel bool `json:"isSoftwareModel"`
IsTargetModel bool `json:"isTargetModel"`
ModelType string `json:"modelType"`
SourceSoftwareModel softwaremodel.SourceGroupSoftwareProperty `json:"sourceSoftwareModel" validate:"required"`
}
type TargetSoftwareModelReqInfo ¶ added in v0.3.3
type TargetSoftwareModelReqInfo struct {
UserId string `json:"userId"`
IsInitUserModel bool `json:"isInitUserModel"`
UserModelName string `json:"userModelName"`
UserModelVer string `json:"userModelVersion"`
Description string `json:"description"`
TargetSoftwareModel softwaremodel.TargetGroupSoftwareProperty `json:"targetSoftwareModel" validate:"required"`
}
type TargetSoftwareModelRespInfo ¶ added in v0.3.3
type TargetSoftwareModelRespInfo struct {
Id string `json:"id"`
UserId string `json:"userId"`
IsInitUserModel bool `json:"isInitUserModel"`
UserModelName string `json:"userModelName"`
UserModelVer string `json:"userModelVersion"`
Description string `json:"description"`
SoftwareModelVer string `json:"softwareModelVersion"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
IsSoftwareModel bool `json:"isSoftwareModel"`
IsTargetModel bool `json:"isTargetModel"`
ModelType string `json:"modelType"`
TargetSoftwareModel softwaremodel.TargetGroupSoftwareProperty `json:"targetSoftwareModel" validate:"required"`
}
type UpdateCloudModelReq ¶
type UpdateCloudModelReq struct {
CloudModelReqInfo
}
[Note] Struct Embedding is used to inherit the fields of CloudModel
type UpdateCloudModelResp ¶
type UpdateCloudModelResp struct {
CloudModelRespInfo
}
[Note] Struct Embedding is used to inherit the fields of CloudModel
type UpdateOnPremModelReq ¶
type UpdateOnPremModelReq struct {
OnPremModelReqInfo
}
[Note] Struct Embedding is used to inherit the fields of OnPremModel
type UpdateOnPremModelResp ¶
type UpdateOnPremModelResp struct {
OnPremModelRespInfo
}
[Note] Struct Embedding is used to inherit the fields of OnPremModel
type UpdateSourceSoftwareModelReq ¶ added in v0.3.3
type UpdateSourceSoftwareModelReq struct {
SourceSoftwareModelReqInfo
}
[Note] Struct Embedding is used to inherit the fields of SourceSoftwareModel
type UpdateSourceSoftwareModelResp ¶ added in v0.3.3
type UpdateSourceSoftwareModelResp struct {
SourceSoftwareModelRespInfo
}
[Note] Struct Embedding is used to inherit the fields of SourceSoftwareModel
type UpdateTargetSoftwareModelReq ¶ added in v0.3.3
type UpdateTargetSoftwareModelReq struct {
TargetSoftwareModelReqInfo
}
[Note] Struct Embedding is used to inherit the fields of TargetSoftwareModel
type UpdateTargetSoftwareModelResp ¶ added in v0.3.3
type UpdateTargetSoftwareModelResp struct {
TargetSoftwareModelRespInfo
}
[Note] Struct Embedding is used to inherit the fields of TargetSoftwareModel