openstack

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const (
	OctaviaFeatureTags   = 0
	OctaviaFeatureVIPACL = 1
)

Variables

This section is empty.

Functions

func CreateListener

func CreateListener(client *gophercloud.ServiceClient, lbID string, opts listeners.CreateOpts) (*listeners.Listener, error)

CreateListener creates a new listener

func GetFloatingIPByPortID

func GetFloatingIPByPortID(client *gophercloud.ServiceClient, portID string) (*floatingips.FloatingIP, error)

GetFloatingIPByPortID get the floating IP of the given port.

func GetFloatingIPs

func GetFloatingIPs(client *gophercloud.ServiceClient, opts floatingips.ListOpts) ([]floatingips.FloatingIP, error)

GetFloatingIPs returns all the filtered floating IPs

func IsOctaviaFeatureSupported

func IsOctaviaFeatureSupported(client *gophercloud.ServiceClient, feature int) bool

IsOctaviaFeatureSupported returns true if the given feature is supported in the deployed Octavia version.

func UpdateListener

func UpdateListener(client *gophercloud.ServiceClient, lbID string, listenerID string, opts listeners.UpdateOpts) error

UpdateListener updates a listener and wait for the lb active

Types

This section is empty.

Jump to

Keyboard shortcuts

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