Documentation ¶
Index ¶
Constants ¶
View Source
const ( SCHEME_HTTPS = "https" SCHEME_HTTP = "http" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBMPILogger ¶ added in v1.0.86
type IBMPILogger struct{}
func (IBMPILogger) Debugf ¶ added in v1.0.86
func (IBMPILogger) Debugf(format string, args ...interface{})
func (IBMPILogger) Printf ¶ added in v1.0.86
func (IBMPILogger) Printf(format string, args ...interface{})
type IBMPIOptions ¶ added in v1.1.0
type IBMPIOptions struct { // The authenticator implementation to be used by the // service instance to authenticate outbound requests // Required Authenticator core.Authenticator // Enable/Disable http transport debugging log Debug bool // Region of the Power Cloud Service Instance // For generating the default endpoint // Deprecated: Region is deprecated, the URL is auto generated based on Zone when not provided. Region string // Power Virtual Server host or URL endpoint // This will be used instead of generating the default host // eg: dal.power-iaas.cloud.ibm.com URL string // Account id of the Power Cloud Service Instance // It will be part of the CRN string // Required UserAccount string // Zone of the Power Cloud Service Instance // It will be part of the CRN string // Required Zone string }
PIOptions
type IBMPISession ¶
type IBMPISession struct { CRNFormat string Power *client.PowerIaasAPI Options *IBMPIOptions }
IBMPISession ...
func NewIBMPISession ¶ added in v1.1.0
func NewIBMPISession(o *IBMPIOptions) (*IBMPISession, error)
Create a IBMPISession
func (*IBMPISession) AuthInfo ¶ added in v1.1.0
func (s *IBMPISession) AuthInfo(cloudInstanceID string) runtime.ClientAuthInfoWriter
authInfo ...
Click to show internal directories.
Click to hide internal directories.