Versions in this module Expand all Collapse all v0 v0.16.0 Dec 31, 2020 Changes in this version + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type Agent struct + AdminStateUp bool + AgentType string + Alive bool + AvailabilityZone string + Binary string + Configurations map[string]interface{} + CreatedAt time.Time + Description string + HeartbeatTimestamp time.Time + Host string + ID string + ResourcesSynced bool + StartedAt time.Time + Topic string + func ExtractAgents(r pagination.Page) ([]Agent, error) + func (r *Agent) UnmarshalJSON(b []byte) error + type AgentPage struct + func (r AgentPage) IsEmpty() (bool, error) + func (r AgentPage) NextPageURL() (string, error) + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetResult struct + func Get(c *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Agent, error) + type ListDHCPNetworksResult struct + func ListDHCPNetworks(c *gophercloud.ServiceClient, id string) (r ListDHCPNetworksResult) + func (r ListDHCPNetworksResult) Extract() ([]networks.Network, error) + type ListOpts struct + AgentType string + Alive *bool + AvailabilityZone string + Binary string + Description string + Host string + ID string + Limit int + Marker string + SortDir string + SortKey string + Topic string + func (opts ListOpts) ToAgentListQuery() (string, error) + type ListOptsBuilder interface + ToAgentListQuery func() (string, error) + type RemoveDHCPNetworkResult struct + func RemoveDHCPNetwork(c *gophercloud.ServiceClient, id string, networkID string) (r RemoveDHCPNetworkResult) + type ScheduleDHCPNetworkOpts struct + NetworkID string + func (opts ScheduleDHCPNetworkOpts) ToAgentScheduleDHCPNetworkMap() (map[string]interface{}, error) + type ScheduleDHCPNetworkOptsBuilder interface + ToAgentScheduleDHCPNetworkMap func() (map[string]interface{}, error) + type ScheduleDHCPNetworkResult struct + func ScheduleDHCPNetwork(c *gophercloud.ServiceClient, id string, opts ScheduleDHCPNetworkOptsBuilder) (r ScheduleDHCPNetworkResult) + type UpdateOpts struct + AdminStateUp *bool + Description *string + func (opts UpdateOpts) ToAgentUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToAgentUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Agent, error)