netutil

package
v0.9.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 RestPostUtilToDesignNetworkReponse

type RestPostUtilToDesignNetworkReponse struct {
	netutil.Network
}

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL