floatingips

package
v0.0.0-...-0fce7b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	ID               string
	Binary           string
	Host             string
	AdminStateUp     bool
	Configurations   interface{}
	Alive            bool
	AgentType        string
	AvailabilityZone string
	Topic            string
}

type Floatingip

type Floatingip struct {
	RouterID          string        `json:"router_id"`
	Description       string        `json:"description"`
	DNSDomain         string        `json:"dns_domain"`
	DNSName           string        `json:"dns_name"`
	CreatedAt         time.Time     `json:"created_at"`
	UpdatedAt         time.Time     `json:"updated_at"`
	RevisionNumber    int           `json:"revision_number"`
	ProjectID         string        `json:"project_id"`
	TenantID          string        `json:"tenant_id"`
	FloatingNetworkID string        `json:"floating_network_id"`
	FixedIPAddress    string        `json:"fixed_ip_address"`
	FloatingIPAddress string        `json:"floating_ip_address"`
	PortID            string        `json:"port_id"`
	ID                string        `json:"id"`
	Status            string        `json:"status"`
	PortDetails       Port          `json:"port_details,omitempty"`
	Tags              []string      `json:"tags"`
	PortForwardings   []interface{} `json:"port_forwardings"`
}

func List

func List(client *v2.NetworkClient) ([]Floatingip, error)

type ListFloatingIpRequest

type ListFloatingIpRequest struct {
}

type ListFloatingIpResponse

type ListFloatingIpResponse struct {
	Floatingips []Floatingip `json:"floatingips"`
}

type Port

type Port struct {
	Status       string `json:"status"`
	Name         string `json:"name"`
	AdminStateUp bool   `json:"admin_state_up"`
	NetworkID    string `json:"network_id"`
	DeviceOwner  string `json:"device_owner"`
	MacAddress   string `json:"mac_address"`
	DeviceID     string `json:"device_id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL