Documentation ¶
Overview ¶
OpenStack Client with Golang
Index ¶
- Constants
- Variables
- type Openstack
- func (o *Openstack) CinderV2() *internal.CinderV2
- func (o *Openstack) GlanceV2() *internal.GlanceV2
- func (o *Openstack) KeystoneV3() *internal.KeystoneV3
- func (o *Openstack) NeutronV2() *internal.NeutronV2
- func (o *Openstack) NovaV2(microVersion ...string) *internal.NovaV2
- func (o Openstack) ProjectId() (string, error)
- func (o Openstack) PrunePorts(ports []neutron.Port)
- func (o Openstack) PruneServers(query url.Values, yes bool, waitDeleted bool)
- func (o Openstack) PruneVolumes(query url.Values, matchName string, volumeType string, yes bool)
- func (o Openstack) Region() string
- func (o *Openstack) WithRegion(region string) *Openstack
Constants ¶
View Source
const ( V2 = "v2" V2_0 = "v2.0" V2_1 = "v2.1" V3 = "v3" IDENTITY = "identity" NETWORK = "network" VOLUME = "volume" VOLUME_V2 = "volumev2" VOLUME_V3 = "volumev3" STORAGE = "storage" COMPUTE = "compute" IMAGE = "image" KEYSTONE = "keystone" NOVA = "nova" CINDER = "cinder" CINDER_V2 = "cinderv2" CINDER_V3 = "cinderv3" GLANCE = "glance" NEUTRON = "neutron" PUBLIC = "public" INTERNAL = "internal" ADMIN = "admin" )
Variables ¶
View Source
var COMPUTE_API_VERSION string
Functions ¶
This section is empty.
Types ¶
type Openstack ¶
type Openstack struct { AuthPlugin auth_plugin.AuthPlugin ComputeApiVersion string // contains filtered or unexported fields }
func ClientWithRegion ¶
func DefaultClient ¶
func DefaultClient() *Openstack
func (*Openstack) KeystoneV3 ¶
func (o *Openstack) KeystoneV3() *internal.KeystoneV3
func (Openstack) PrunePorts ¶
func (Openstack) PruneServers ¶
func (Openstack) PruneVolumes ¶
func (*Openstack) WithRegion ¶
Click to show internal directories.
Click to hide internal directories.