package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Nov 22, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CreateReq struct {
DataCenter string `json:"-" valid:"required" URIParam:"yes"`
DestinationAccount string `valid:"required"`
Sources []string `json:"Source"`
Destinations []string `json:"Destination"`
Ports []string
}
type DeleteReq struct {
DataCenter string `valid:"required" URIParam:"yes" json:"-"`
FirewallPolicy string `valid:"required" URIParam:"yes" json:"-"`
}
type GetReq struct {
DataCenter string `valid:"required" URIParam:"yes"`
FirewallPolicy string `valid:"required" URIParam:"yes"`
}
type ListReq struct {
DataCenter string `valid:"required" URIParam:"yes"`
DestinationAccountAlias string `URIParam:"yes"`
}
type UpdateReq struct {
DataCenter string `json:"-" valid:"required" URIParam:"yes"`
FirewallPolicy string `json:"-" valid:"required" URIParam:"yes"`
Enabled bool
Sources []string `json:"Source"`
Destinations []string `json:"Destination"`
Ports []string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.