Documentation
¶
Index ¶
- func AddressRange(network *net.IPNet) (net.IP, net.IP)
- func Dec(IP net.IP) net.IP
- func GenSubnetsInNetwork(netCIDR string, subnetMaskSize int) ([]string, error)
- func GenerateGpoBkupInfoFiles(gpoBackupPath string)
- func GenerateGpoBkupInfoToStdOut(gpoName string, gpoGuid string, backupId string, domain string, ...)
- func GeneratePassword(length int, includeUpper bool, includeNumbers bool, includeSpecial bool) string
- func Inc(IP net.IP) net.IP
- func NextSubnet(network *net.IPNet, prefixLen int) (*net.IPNet, bool)
- func PreviousSubnet(network *net.IPNet, prefixLen int) (*net.IPNet, bool)
- type GroupPolicyObjectBackupInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddressRange ¶ added in v0.1.21
AddressRange returns the first and last addresses in the given CIDR range.
func GenSubnetsInNetwork ¶ added in v0.1.21
func GenerateGpoBkupInfoFiles ¶ added in v0.1.15
func GenerateGpoBkupInfoFiles(gpoBackupPath string)
func GenerateGpoBkupInfoToStdOut ¶ added in v0.1.15
func GeneratePassword ¶
func NextSubnet ¶ added in v0.1.21
NextSubnet returns the next available subnet of the desired mask size starting for the maximum IP of the offset subnet If the IP exceeds the maxium IP then the second return value is true
func PreviousSubnet ¶ added in v0.1.21
https://github.com/apparentlymart/go-cidr/tree/master PreviousSubnet returns the subnet of the desired mask in the IP space just lower than the start of IPNet provided. If the IP space rolls over then the second return value is true
Types ¶
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
From https://github.com/twpayne/go-jsonstruct
|
From https://github.com/twpayne/go-jsonstruct |
Click to show internal directories.
Click to hide internal directories.