reader

package
v0.0.0-...-371bc73 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

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

Reader structure to list resources and retrieve info for specific resource from Openstack.

func CreateReader

func CreateReader(client *gophercloud.ServiceClient) *Reader

CreateReader creates reader with gophercloud service client.

func (*Reader) GetUser

func (r *Reader) GetUser(id string) (result.Result, error)

GetUser get user from Openstack. // todo is this method used?

func (*Reader) ListAllFlavors

func (r *Reader) ListAllFlavors() (pagination.Pager, error)

ListAllFlavors lists all flavors from Openstack.

func (*Reader) ListAllImages

func (r *Reader) ListAllImages(id string) (pagination.Pager, error)

ListAllImages lists all images from Openstack.

func (*Reader) ListAllServers

func (r *Reader) ListAllServers(id string) (pagination.Pager, error)

ListAllServers lists all servers from Openstack.

func (*Reader) ListAllShares

func (r *Reader) ListAllShares(id string) (pagination.Pager, error)

ListAllShares lists all shares from Openstack.

func (*Reader) ListAllSwiftContainers

func (r *Reader) ListAllSwiftContainers() (pagination.Pager, error)

ListAllSwiftContainers lists all volumes.

func (*Reader) ListAllUsers

func (r *Reader) ListAllUsers() (pagination.Pager, error)

ListAllUsers lists all users from Openstack.

func (*Reader) ListAllVolumes

func (r *Reader) ListAllVolumes(id string) (pagination.Pager, error)

ListAllVolumes lists all volumes.

func (*Reader) ListAvailableProjects

func (r *Reader) ListAvailableProjects() (pagination.Pager, error)

ListAvailableProjects lists all available projects.

func (*Reader) ListFlavorExtraSpecs

func (r *Reader) ListFlavorExtraSpecs(id string) (result.Result, error)

ListFlavorExtraSpecs lists flavor extra specs.

func (*Reader) ListFloatingIPs

func (r *Reader) ListFloatingIPs() (pagination.Pager, error)

ListFloatingIPs lists all floating ips.

Jump to

Keyboard shortcuts

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