package
2.0.0-20241209100706-e3a3b7c07d26
Repository: https://github.com/gophercloud/utils.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AuthenticatedClient is a convenience function to get a new provider client based on a clouds.yaml entry.
AuthOptions creates a gophercloud.AuthOptions structure with the settings found in a specific cloud entry of a clouds.yaml file or based on authentication settings given in ClientOpts.
FindAndReadCloudsYAML attempts to locate a clouds.yaml file in the following locations:
1.
No description provided by the author
No description provided by the author
No description provided by the author
GetCloudFromYAML will return a cloud entry from a clouds.yaml file.
GetEndpointType is a helper method to determine the endpoint type requested by the user.
LoadCloudsYAML will load a clouds.yaml file and return the full config.
LoadPublicCloudsYAML will load a public-clouds.yaml file and return the full config.
LoadSecureCloudsYAML will load a secure.yaml file and return the full config.
NewServiceClient is a convenience function to get a new service client.
# Constants
AuthPassword defines an unknown version of the password.
AuthToken defined an unknown version of the token.
AuthV2Password defines version 2 of the password.
AuthV2Token defines version 2 of the token.
AuthV3ApplicationCredential defines version 3 of the application credential.
AuthV3Password defines version 3 of the password.
AuthV3Token defines version 3 of the token.
# Structs
AuthInfo represents the auth section of a cloud entry or auth options entered explicitly in ClientOpts.
ClientOpts represents options to customize the way a client is configured.
Cloud represents an entry in a clouds.yaml/public-clouds.yaml/secure.yaml file.
Clouds represents a collection of Cloud entries in a clouds.yaml file.
PublicClouds represents a collection of PublicCloud entries in clouds-public.yaml file.
Region represents a region included as part of cloud in clouds.yaml According to Python-based openstacksdk, this can be either a struct (as defined) or a plain string.
YAMLOpts represents options and methods to load a clouds.yaml file.
# Interfaces
YAMLOptsBuilder defines an interface for customization when loading a clouds.yaml file.
# Type aliases
AuthType respresents a valid method of authentication.