Documentation ¶
Index ¶
- func AddUserToGroup(group_id string, user_id string, token string, keystone_url string) (string, error)
- func Backend() *backend
- func CreateCredential(blob string, thetype string, user_id string, project_id string, token string, ...) ([]string, error)
- func CreateDomain(name string, description string, enabled bool, token string, ...) ([]string, error)
- func CreateGroup(name string, description string, domain_id string, token string, ...) ([]string, error)
- func CreateProject(name string, description string, domain_id string, enabled bool, ...) ([]string, error)
- func CreateRegion(id string, description string, parentRegionID string, keystoneUrl string, ...) ([]string, error)
- func CreateRole(name string, domain_id string, token string, keystone_url string) ([]string, error)
- func CreateUser(default_project_id string, name string, password string, enabled bool, ...) ([]string, error)
- func DeleteCredential(credential_id string, token string, keystone_url string) (string, error)
- func DeleteDomain(domain_id string, token string, keystone_url string) (string, error)
- func DeleteGroup(group_id string, token string, keystone_url string) (string, error)
- func DeleteProject(keystone_url string, token string, name string) (string, error)
- func DeleteRegion(regionID string, token string, keystoneURL string) (string, error)
- func DeleteUser(user_id string, token string, keystone_url string) (string, error)
- func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)
- func FactoryType(backendType logical.BackendType) func(*logical.BackendConfig) (logical.Backend, error)
- func GroupOnDomain(domain_id string, group_id string, role_id string, token string, ...) (string, error)
- func GroupOnProject(group_id string, project_id string, role_id string, token string, ...) (string, error)
- func ListAllOpenStackUsers(name string, token string, keystone_url string) (map[string]string, error)
- func New() (interface{}, error)
- func UserEC2(user_id string, tenant_id string, token string, keystone_url string) ([]string, error)
- func UserOnDomain(user_id string, domain_id string, role_id string, token string, ...) (string, error)
- func UserOnProject(user_id string, project_id string, role_id string, token string, ...) (string, error)
- type CCredential
- type CreateResponsStructRegion
- type Create_reponse_struct_credential
- type Create_reponse_struct_domain
- type Create_reponse_struct_group
- type Create_reponse_struct_project
- type Create_reponse_struct_role
- type Create_reponse_struct_user
- type Credential
- type Domain
- type Group
- type LinksCredential
- type LinksDomain
- type LinksGroup
- type LinksProject
- type LinksRegion
- type LinksRole
- type LinksUser
- type Project
- type ProjectResponse
- type Region
- type Role
- type User
- type UserEC2response
- type UsersResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddUserToGroup ¶
func Backend ¶
func Backend() *backend
Backend returns a private embedded struct of framework.Backend.
func CreateCredential ¶
func CreateDomain ¶
func CreateGroup ¶
func CreateProject ¶
func CreateRegion ¶
func CreateRole ¶
func CreateUser ¶
func DeleteCredential ¶
func DeleteDomain ¶
func DeleteGroup ¶
func DeleteProject ¶
func DeleteRegion ¶
func DeleteUser ¶
func FactoryType ¶
func FactoryType(backendType logical.BackendType) func(*logical.BackendConfig) (logical.Backend, error)
FactoryType is a wrapper func that allows the Factory func to specify the backend type for the mock backend plugin instance.
func GroupOnDomain ¶
func GroupOnProject ¶
func ListAllOpenStackUsers ¶
func New ¶
func New() (interface{}, error)
New returns a new backend as an interface. This func is only necessary for builtin backend plugins.
func UserOnDomain ¶
Types ¶
type CCredential ¶
type CreateResponsStructRegion ¶
type CreateResponsStructRegion struct {
Region *Region
}
type Create_reponse_struct_credential ¶
type Create_reponse_struct_credential struct {
CCredential *CCredential
}
type Create_reponse_struct_domain ¶
type Create_reponse_struct_domain struct {
Domain *Domain
}
type Create_reponse_struct_group ¶
type Create_reponse_struct_group struct {
Group *Group
}
type Create_reponse_struct_project ¶
type Create_reponse_struct_project struct {
Project *Project
}
type Create_reponse_struct_role ¶
type Create_reponse_struct_role struct {
Role *Role
}
type Create_reponse_struct_user ¶
type Create_reponse_struct_user struct {
User *User
}
type Credential ¶
type Domain ¶
type Domain struct { Description string Links *LinksDomain Enabled bool Id string Name string }
type Group ¶
type Group struct { Name string Links *LinksGroup Domain_id string Description string Id string }
type LinksCredential ¶
type LinksCredential struct {
Self string
}
type LinksDomain ¶
type LinksDomain struct {
Self string
}
type LinksGroup ¶
type LinksGroup struct {
Self string
}
type LinksProject ¶
type LinksProject struct {
Self string
}
type LinksRegion ¶
type LinksRegion struct {
Self string
}
type ProjectResponse ¶
type Region ¶
type Region struct { ID string Description string Links *LinksRegion ParentRegionID string }
Region represents OpenStack region domain model
type UserEC2response ¶
type UserEC2response struct {
Credential *Credential
}
type UsersResponse ¶
Click to show internal directories.
Click to hide internal directories.