Documentation ¶
Index ¶
- type IP
- type Network
- type Service
- func (s *Service) Claim(dc string) (*status.QueuedOperation, error)
- func (s *Service) Get(dc, id string) (*Network, error)
- func (s *Service) GetAddresses(dc, id string) (*[]IP, error)
- func (s *Service) List(dc string) (*[]Network, error)
- func (s *Service) Release(dc, id string) error
- func (s *Service) Update(dc, id, name, description string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network struct { ID string `json:"id"` CIDR string `json:"cidr"` Description string `json:"description"` Gateway string `json:"gateway"` Name string `json:"name"` Netmask string `json:"netmask"` Type string `json:"type"` VLAN int `json:"vlan"` IPAddresses []IP `json:"ipAddresses"` Links api.Links `json:"links"` }
Click to show internal directories.
Click to hide internal directories.