Documentation ¶
Index ¶
- Constants
- type ContextCredentialsFactory
- func (ccf *ContextCredentialsFactory) ForIAMAPIKey(iamAccountID, apiKey string, logger *zap.Logger) (provider.ContextCredentials, error)
- func (ccf *ContextCredentialsFactory) ForIAMAccessToken(apiKey string, logger *zap.Logger) (provider.ContextCredentials, error)
- func (ccf *ContextCredentialsFactory) ForIaaSAPIKey(iamAccountID, userid, apikey string, logger *zap.Logger) (provider.ContextCredentials, error)
- func (ccf *ContextCredentialsFactory) ForRefreshToken(refreshToken string, logger *zap.Logger) (provider.ContextCredentials, error)
Constants ¶
View Source
const ( // IMSToken is an IMS user ID and token IMSToken = provider.AuthType("IMS_TOKEN") // IAMAccessToken ... IAMAccessToken = provider.AuthType("IAM_ACCESS_TOKEN") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextCredentialsFactory ¶
type ContextCredentialsFactory struct {
// contains filtered or unexported fields
}
ContextCredentialsFactory ...
func NewContextCredentialsFactory ¶
func NewContextCredentialsFactory(bluemixConfig *config.BluemixConfig, softlayerConfig *config.SoftlayerConfig, vpcConfig *config.VPCProviderConfig) (*ContextCredentialsFactory, error)
NewContextCredentialsFactory ...
func (*ContextCredentialsFactory) ForIAMAPIKey ¶
func (ccf *ContextCredentialsFactory) ForIAMAPIKey(iamAccountID, apiKey string, logger *zap.Logger) (provider.ContextCredentials, error)
ForIAMAPIKey ...
func (*ContextCredentialsFactory) ForIAMAccessToken ¶
func (ccf *ContextCredentialsFactory) ForIAMAccessToken(apiKey string, logger *zap.Logger) (provider.ContextCredentials, error)
ForIAMAccessToken ...
func (*ContextCredentialsFactory) ForIaaSAPIKey ¶
func (ccf *ContextCredentialsFactory) ForIaaSAPIKey(iamAccountID, userid, apikey string, logger *zap.Logger) (provider.ContextCredentials, error)
ForIaaSAPIKey ...
func (*ContextCredentialsFactory) ForRefreshToken ¶
func (ccf *ContextCredentialsFactory) ForRefreshToken(refreshToken string, logger *zap.Logger) (provider.ContextCredentials, error)
ForRefreshToken ...
Click to show internal directories.
Click to hide internal directories.