Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential interface{}
type DomainScope ¶
type DomainScope struct {
Scope `json:",omitempty,inline"`
Domain domain `json:"domain"`
}
func NewDomainScope ¶
func NewDomainScope(id *string, name *string) *DomainScope
type ExplicitUnScoped ¶
type ExplicitUnScoped = string
type PasswordCredential ¶
type PasswordCredential struct {
Credential `json:",omitempty,inline"`
User user `json:"user"`
}
func NewPasswordCredential ¶
func NewPasswordCredential( userID *string, userName *string, password string, domainID *string, domainName *string, ) *PasswordCredential
NewPasswordCredential creates a password credential.
func NewPasswordCredentialByEmail ¶ added in v0.2.19
func NewPasswordCredentialByEmail( email string, password string, domainID *string, domainName *string, ) *PasswordCredential
NewPasswordCredentialByEmail creates a password credential by email. This feature is supported by easystack cloud only.
type ProjectScope ¶
type ProjectScope struct {
Scope `json:",omitempty,inline"`
Project project `json:"project"`
}
func NewProjectScope ¶
func NewProjectScope( projectID *string, ProjectName *string, domainID *string, domainName *string, ) *ProjectScope
type ServiceProviderScope ¶ added in v0.2.23
type ServiceProviderScope struct {
Scope `json:",omitempty,inline"`
ServiceProvider serviceProvider `json:"service_provider"`
}
func NewServiceProviderScope ¶ added in v0.2.23
func NewServiceProviderScope(id *string, name *string) *ServiceProviderScope
type SystemScope ¶
type SystemScope struct {
Scope `json:",omitempty,inline"`
System system `json:"system"`
}
func NewSystemScope ¶
func NewSystemScope() *SystemScope
type TokenCredential ¶
type TokenCredential struct {
Credential `json:",omitempty,inline"`
ID string `json:"id"`
}
func NewTokenCredential ¶
func NewTokenCredential(id string) *TokenCredential
type TokenRequestData ¶
type TokenRequestData struct {
Auth auth `json:"auth"`
}
Click to show internal directories.
Click to hide internal directories.