Documentation
¶
Index ¶
- func DestroyIPAddress(ctx context.Context, id int32) error
- func GetIPRangesID(ctx context.Context, filter string) (iprangesID []int32, err error)
- func Login(host string, token string) error
- type AssignedObject
- type AvailableIP
- type IPAddress
- func GetAssignedIPFromPrefix(ctx context.Context, filter string, mac string) (ipnet *IPAddress, err error)
- func GetAvailableIPFromIPRangeID(ctx context.Context, id int32, mac string, dryRun bool) (ip *IPAddress, err error)
- func GetIPsFromInterface(ctx context.Context, interfaceFilter string, interfaceID int32, prefix string) (ips []*IPAddress, err error)
- type IPAddressResponse
- type IPRange
- type IPRangeResponse
- type Interface
- type InterfaceResponse
- type Prefix
- type PrefixResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIPRangesID ¶
Types ¶
type AssignedObject ¶
type AssignedObject interface{}
type AvailableIP ¶
type IPAddress ¶
type IPAddress struct { ID int32 `json:"id"` Address string `json:"address"` Description string `json:"description"` Comments string `json:"comments"` DNSName string `json:"dns_name"` AssignedObjectType string `json:"assigned_object_type"` AssignedObject `json:"assigned_object"` }
func GetAssignedIPFromPrefix ¶
type IPAddressResponse ¶
type IPRangeResponse ¶
type Interface ¶
type InterfaceResponse ¶
Click to show internal directories.
Click to hide internal directories.