Documentation ¶
Index ¶
- func CreateIPAddress(c gotransip.Client, ipAddress net.IP, reverseDNS string) error
- func DeleteIPAddress(c gotransip.Client, ipAddress net.IP) error
- func GetColoNames(c gotransip.Client) ([]string, error)
- func GetIPAddresses(c gotransip.Client, coloName string) ([]net.IP, error)
- func GetIPRanges(c gotransip.Client, coloName string) ([]net.IPNet, error)
- func GetReverseDNS(c gotransip.Client, ipAddress net.IP) (string, error)
- func RequestRemoteHands(c gotransip.Client, coloName, contactName, phoneNumber string, ...) error
- func SetReverseDNS(c gotransip.Client, ipAddress net.IP, reverseDNS string) error
- type DatacenterVisitor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIPAddress ¶
CreateIPAddress adds a new IpAddress, either an ipv6 or an ipv4 address
func DeleteIPAddress ¶
DeleteIPAddress deletes an IpAddress currently in use this account
func GetColoNames ¶
GetColoNames get coloNames for customer
func GetIPAddresses ¶
GetIPAddresses get IpAddresses that are active and assigned to a Colo
func GetIPRanges ¶
GetIPRanges Get ipranges that are assigned to a Colo
func GetReverseDNS ¶
GetReverseDNS get the Reverse DNS for an IpAddress assigned to the user
Types ¶
type DatacenterVisitor ¶
type DatacenterVisitor struct { Name string `xml:"name"` ReservationNumber string `xml:"reservationNumber"` AccessCode string `xml:"accessCode"` HasBeenRegisteredBefore bool `xml:"hasBeenRegisteredBefore"` }
DatacenterVisitor represents a Transip_DataCenterVisitor object as described at https://api.transip.nl/docs/transip.nl/class-Transip_DataCenterVisitor.html
func RequestAccess ¶
func RequestAccess(c gotransip.Client, when string, duration int, visitors []string, phoneNumber string) ([]DatacenterVisitor, error)
RequestAccess requests access to the data-center
Click to show internal directories.
Click to hide internal directories.