openstack

package
v0.0.0-...-3f8b88b Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticate

func Authenticate(endpoint, user, password, tenant, domain_name, domain_id string) (*gophercloud.ProviderClient, error)

Authenticate is used to authenticate user for given tenant. Request is send to provided Keystone endpoint Returns authenticated provider client, which is used as a base for service clients.

func GetAllEndpoints

func GetAllEndpoints(provider *gophercloud.ProviderClient) ([]types.Endpoint, error)

GetAllServices is used to retrieve list of available services for authenticated admin

func GetAllServices

func GetAllServices(provider *gophercloud.ProviderClient) ([]types.Service, error)

GetAllServices is used to retrieve list of available services for authenticated admin

func GetAllTenants

func GetAllTenants(provider *gophercloud.ProviderClient) ([]types.Tenant, error)

GetTenants is used to retrieve list of available tenant for authenticated user

func GetAllUsers

func GetAllUsers(provider *gophercloud.ProviderClient) ([]types.User, error)

GetAllUsers is used to retrieve list of available users

func GetUsersPerTenant

func GetUsersPerTenant(provider *gophercloud.ProviderClient, tenantList []types.Tenant) (map[string]int, error)

Types

This section is empty.

Directories

Path Synopsis
http://www.apache.org/licenses/LICENSE-2.0.txt Copyright 2016 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
http://www.apache.org/licenses/LICENSE-2.0.txt Copyright 2016 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

Jump to

Keyboard shortcuts

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