Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Credentials struct { // IdentityEndpoint is an API endpoint to authorization. It is OS_AUTH_URL variable from rc.sh. IdentityEndpoint string // AccountID is Selectel account ID of the user. It is OS_PROJECT_DOMAIN_NAME variable from rc.sh. AccountID string // ProjectID is Selectel project ID of the user. It is OS_PROJECT_ID variable from rc.sh. ProjectID string // Username is service user's name. It is OS_USERNAME variable from rc.sh. Username string // Password is service user's password. It is OS_PASSWORD variable from rc.sh. Password string }
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider(logger *zap.Logger, credentials Credentials) *Provider
Click to show internal directories.
Click to hide internal directories.