Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUserExists ¶
Checks to see if the user exists on openstack
func RefreshClientsIfNeeded ¶ added in v1.1.0
func RefreshClientsIfNeeded()
RefreshClientsIfNeeded() will check if the token has expired and refresh the clients To be used before making any openstack API calls
Types ¶
type NetworkOpts ¶ added in v1.1.0
type NetworkOpts struct {
FloatingIP int
Network int
Port int
Router int
Subnet int
SecurityGroup int
SecurityGroupRule int
}
networkOpts is a struct for the quotas to be applied in network service
func NewNetworkOpts ¶ added in v1.1.0
func NewNetworkOpts() NetworkOpts
type QuotaOpts ¶ added in v1.1.0
type QuotaOpts struct {
InjectedFileContentBytes int
InjectedFilePathBytes int
InjectedFiles int
KeyPairs int
RAM int
Cores int
Instances int
ServerGroups int
ServerGroupMembers int
}
QuotaOpts defines the quota options for a compute resource in OpenStack.
func NewQuotaOpts ¶ added in v1.1.0
func NewQuotaOpts() QuotaOpts
type StorageOpts ¶
StorageOpts defines the quota options for block storage resources in OpenStack.
func NewStorageOpts ¶ added in v1.1.0
func NewStorageOpts() StorageOpts
Click to show internal directories.
Click to hide internal directories.