Documentation ¶
Index ¶
- func RestPostUtilToDesignNetwork(c echo.Context) error
- func RestPostUtilToDesignVNet(c echo.Context) error
- func RestPostUtilToValidateNetwork(c echo.Context) error
- type RestPostUtilToDesignNetworkReponse
- type RestPostUtilToDesignNetworkRequest
- type RestPostUtilToDesignVNetReponse
- type RestPostUtilToDesignVNetRequest
- type RestPostUtilToValidateNetworkRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RestPostUtilToDesignNetwork ¶
func RestPostUtilToDesignNetwork(c echo.Context) error
RestPostUtilToDesignNetwork godoc @ID PostUtilToDesignNetwork @Summary Design a multi-cloud network configuration @Description Design a hierarchical network configuration of a VPC network or multi-cloud network consisting of multiple VPC networks @Tags [Infra Resource] Network Management @Accept json @Produce json @Param subnettingReq body RestPostUtilToDesignNetworkRequest true "A root/main network CIDR block and subnetting rules" @Success 201 {object} RestPostUtilToDesignNetworkReponse @Failure 400 {object} model.SimpleMsg @Failure 500 {object} model.SimpleMsg @Router /util/net/design [post]
func RestPostUtilToDesignVNet ¶ added in v0.9.10
func RestPostUtilToDesignVNet(c echo.Context) error
RestPostUtilToDesignVNet godoc @ID PostUtilToDesignVNet @Summary Design VNet and subnets based on user-friendly properties @Description Design VNet and subnets based on user-friendly properties @Tags [Infra Resource] Network Management @Accept json @Produce json @Param vNetDesignReq body RestPostUtilToDesignVNetRequest true "User-friendly properties to design VNet and subnets" @Success 201 {object} RestPostUtilToDesignVNetReponse @Failure 400 {object} model.SimpleMsg @Failure 500 {object} model.SimpleMsg @Router /util/vNet/design [post]
func RestPostUtilToValidateNetwork ¶
func RestPostUtilToValidateNetwork(c echo.Context) error
RestPostUtilToValidateNetwork godoc @ID PostUtilToValidateNetwork @Summary Validate a multi-cloud network configuration @Description Validate a hierarchical configuration of a VPC network or multi-cloud network consisting of multiple VPC networks @Tags [Infra Resource] Network Management @Accept json @Produce json @Param subnettingReq body RestPostUtilToValidateNetworkRequest true "A hierarchical network configuration" @Success 200 {object} model.SimpleMsg @Failure 400 {object} model.SimpleMsg @Failure 500 {object} model.SimpleMsg @Router /util/net/validate [post]
Types ¶
type RestPostUtilToDesignNetworkRequest ¶
type RestPostUtilToDesignNetworkRequest struct {
netutil.SubnettingRequest
}
type RestPostUtilToDesignVNetReponse ¶ added in v0.9.10
type RestPostUtilToDesignVNetReponse struct {
model.VNetDesignResponse
}
type RestPostUtilToDesignVNetRequest ¶ added in v0.9.10
type RestPostUtilToDesignVNetRequest struct {
model.VNetDesignRequest
}
type RestPostUtilToValidateNetworkRequest ¶
type RestPostUtilToValidateNetworkRequest struct {
netutil.NetworkConfig
}