Documentation
¶
Index ¶
- func DeleteNetworkServiceGroups(service *services.Service, serviceGroupID int) (*http.Response, error)
- type NetworkServiceGroups
- func CreateNetworkServiceGroups(service *services.Service, networkServiceGroups *NetworkServiceGroups) (*NetworkServiceGroups, error)
- func GetAllNetworkServiceGroups(service *services.Service) ([]NetworkServiceGroups, error)
- func GetNetworkServiceGroups(service *services.Service, serviceGroupID int) (*NetworkServiceGroups, error)
- func GetNetworkServiceGroupsByName(service *services.Service, serviceGroupsName string) (*NetworkServiceGroups, error)
- func UpdateNetworkServiceGroups(service *services.Service, serviceGroupID int, ...) (*NetworkServiceGroups, *http.Response, error)
- type Services
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NetworkServiceGroups ¶
type NetworkServiceGroups struct { ID int `json:"id"` Name string `json:"name,omitempty"` Services []Services `json:"services,omitempty"` Description string `json:"description,omitempty"` }
func CreateNetworkServiceGroups ¶ added in v2.61.0
func CreateNetworkServiceGroups(service *services.Service, networkServiceGroups *NetworkServiceGroups) (*NetworkServiceGroups, error)
func GetAllNetworkServiceGroups ¶ added in v2.61.0
func GetAllNetworkServiceGroups(service *services.Service) ([]NetworkServiceGroups, error)
func GetNetworkServiceGroups ¶ added in v2.61.0
func GetNetworkServiceGroups(service *services.Service, serviceGroupID int) (*NetworkServiceGroups, error)
func GetNetworkServiceGroupsByName ¶ added in v2.61.0
func GetNetworkServiceGroupsByName(service *services.Service, serviceGroupsName string) (*NetworkServiceGroups, error)
func UpdateNetworkServiceGroups ¶ added in v2.61.0
func UpdateNetworkServiceGroups(service *services.Service, serviceGroupID int, networkServiceGroups *NetworkServiceGroups) (*NetworkServiceGroups, *http.Response, error)
type Services ¶
type Services struct { ID int `json:"id"` Name string `json:"name,omitempty"` Tag string `json:"tag,omitempty"` SrcTCPPorts []networkservices.NetworkPorts `json:"srcTcpPorts,omitempty"` DestTCPPorts []networkservices.NetworkPorts `json:"destTcpPorts,omitempty"` SrcUDPPorts []networkservices.NetworkPorts `json:"srcUdpPorts,omitempty"` DestUDPPorts []networkservices.NetworkPorts `json:"destUdpPorts,omitempty"` Type string `json:"type,omitempty"` Description string `json:"description,omitempty"` IsNameL10nTag bool `json:"isNameL10nTag,omitempty"` }
Click to show internal directories.
Click to hide internal directories.