floatingip

package
v0.0.0-...-eb548cc Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FloatingIP

type FloatingIP struct {
	ID string
	IP string
}

type OpenStackComputeFloatingIPService

type OpenStackComputeFloatingIPService struct {
	// contains filtered or unexported fields
}

func NewOpenStackComputeFloatingIPService

func NewOpenStackComputeFloatingIPService(
	computeService *gophercloud.ServiceClient,
	logger boshlog.Logger,
) OpenStackComputeFloatingIPService

func (OpenStackComputeFloatingIPService) Associate

func (fip OpenStackComputeFloatingIPService) Associate(ipAddress string, serverID string) error

func (OpenStackComputeFloatingIPService) Disassociate

func (fip OpenStackComputeFloatingIPService) Disassociate(ipAddress string, serverID string) error

func (OpenStackComputeFloatingIPService) Find

func (OpenStackComputeFloatingIPService) FindByIP

func (fip OpenStackComputeFloatingIPService) FindByIP(ipAddress string) (FloatingIP, bool, error)

type OpenStackNetworkFloatingIPService

type OpenStackNetworkFloatingIPService struct {
	// contains filtered or unexported fields
}

func NewOpenStackNetworkFloatingIPService

func NewOpenStackNetworkFloatingIPService(
	networkService *gophercloud.ServiceClient,
	computeService *gophercloud.ServiceClient,
	logger boshlog.Logger,
) OpenStackNetworkFloatingIPService

func (OpenStackNetworkFloatingIPService) Associate

func (fip OpenStackNetworkFloatingIPService) Associate(ipAddress string, serverID string) error

func (OpenStackNetworkFloatingIPService) Disassociate

func (fip OpenStackNetworkFloatingIPService) Disassociate(ipAddress string, portID string) error

func (OpenStackNetworkFloatingIPService) Find

func (OpenStackNetworkFloatingIPService) FindByIP

func (fip OpenStackNetworkFloatingIPService) FindByIP(ipAddress string) (FloatingIP, bool, error)

type Service

type Service interface {
	Associate(ipAddress string, serverID string) error
	Disassociate(ipAddress string, serverID string) error
	Find(id string) (FloatingIP, bool, error)
	FindByIP(ipAddress string) (FloatingIP, bool, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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