Documentation ¶
Index ¶
- func Delete(ctx context.Context, service *zscaler.Service, serviceID int) (*http.Response, error)
- type NetworkPorts
- type NetworkServices
- func Create(ctx context.Context, service *zscaler.Service, networkService *NetworkServices) (*NetworkServices, error)
- func Get(ctx context.Context, service *zscaler.Service, serviceID int) (*NetworkServices, error)
- func GetAllNetworkServices(ctx context.Context, service *zscaler.Service) ([]NetworkServices, error)
- func GetByName(ctx context.Context, service *zscaler.Service, networkServiceName string) (*NetworkServices, error)
- func Update(ctx context.Context, service *zscaler.Service, serviceID int, ...) (*NetworkServices, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NetworkPorts ¶
type NetworkServices ¶
type NetworkServices struct { ID int `json:"id"` Name string `json:"name,omitempty"` Tag string `json:"tag,omitempty"` SrcTCPPorts []NetworkPorts `json:"srcTcpPorts,omitempty"` DestTCPPorts []NetworkPorts `json:"destTcpPorts,omitempty"` SrcUDPPorts []NetworkPorts `json:"srcUdpPorts,omitempty"` DestUDPPorts []NetworkPorts `json:"destUdpPorts,omitempty"` Type string `json:"type,omitempty"` Description string `json:"description,omitempty"` Protocol string `json:"protocol,omitempty"` IsNameL10nTag bool `json:"isNameL10nTag,omitempty"` }
func Create ¶
func Create(ctx context.Context, service *zscaler.Service, networkService *NetworkServices) (*NetworkServices, error)
func GetAllNetworkServices ¶
Click to show internal directories.
Click to hide internal directories.