mgragt

package
v0.0.0-...-9649b88 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatePortInfo

type CreatePortInfo struct {
	Name       string     `json:"name"`
	NetworkID  string     `json:"network_id"`
	MacAddress string     `json:"mac_address"`
	FixedIps   []ports.IP `json:"fixed_ips"`
	GatewayIP  string     `json:"gateway_ip"`
	Cidr       string     `json:"cidr"`
	PortID     string     `json:"id"`
}

type CreatePortResp

type CreatePortResp struct {
	Port CreatePortInfo `json:"port"`
}

type CreatePortsResp

type CreatePortsResp struct {
	Ports []CreatePortInfo `json:"ports"`
}

type PaasNetwork

type PaasNetwork struct {
	Name            string                         `json:"name"`
	ID              string                         `json:"network_id"`
	GateWay         string                         `json:"gateway"`
	Cidr            string                         `json:"cidr"`
	CreateTime      string                         `json:"create_time"`
	Status          string                         `json:"state"`
	Public          bool                           `json:"public"`
	ExternalNet     bool                           `json:"external"`
	Owner           string                         `json:"owner"`
	Description     string                         `json:"description"`
	SubnetID        string                         `json:"subnet_id"`
	Provider        iaasaccessor.NetworkExtenAttrs `json:"provider"`
	AllocationPools []subnets.AllocationPool       `json:"allocation_pools"`
}

Jump to

Keyboard shortcuts

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