Documentation ¶
Index ¶
Constants ¶
View Source
const IMClusterTemplate = `` /* 4567-byte string literal not displayed */
IMClusterTemplate : template TOSCA for IM
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfCloud ¶
type ConfCloud struct { ID string `yaml:"id"` Type string `yaml:"type"` Username string `yaml:"username"` Password string `yaml:"password"` Host string `yaml:"host"` Tenant string `yaml:"tenant"` AuthURL string `yaml:"auth_url,omitempty"` AuthVersion string `yaml:"auth_version"` Domain string `yaml:"domain,omitempty"` ServiceRegion string `yaml:"service_region,omitempty"` }
ConfCloud ...
type ConfIM ¶
type ConfIM struct { ID string `yaml:"id"` Type string `yaml:"type"` Host string `yaml:"host"` Username string `yaml:"username,omitempty"` Password string `yaml:"password,omitempty"` Token string `yaml:"token,omitempty"` }
ConfIM : configuration for Indigo InfrastructureManager auth
type IMClient ¶
type IMClient struct { ConfigIM ConfIM ConfigCloud ConfCloud Context core.InfrastructureConfig State core.InfrastructureState }
IMClient : Indigo-dc InfrastructureManager client
type IMClientFactory ¶
type IMClientFactory struct {
// contains filtered or unexported fields
}
IMClientFactory : Indigo-dc InfrastructureManager client factory
func (IMClientFactory) Init ¶
func (t IMClientFactory) Init() (*IMClient, error)
Init : initialize IMClient
type IndigoIAMConfig ¶
type IndigoIAMConfig struct { CredPath string Name string AccessToken string ClientSecret string ClientID string Endpoint string }
IndigoIAMConfig : configuration for Indigo-IAM
func (IndigoIAMConfig) GetAccessToken ¶
func (IndigoIAMConfig) GetAccessToken() (string, error)
GetAccessToken initialize Indigo IAM configuration. As per core.IAMConfig interface
func (IndigoIAMConfig) Init ¶
func (IndigoIAMConfig) Init() error
Init initialize Indigo IAM configuration. As per core.IAMConfig interface
func (IndigoIAMConfig) RefreshAccessToken ¶
func (IndigoIAMConfig) RefreshAccessToken() (string, error)
RefreshAccessToken initialize Indigo IAM configuration. As per core.IAMConfig interface
Click to show internal directories.
Click to hide internal directories.