Documentation
¶
Index ¶
Constants ¶
View Source
const ( SCHEME_HTTPS = "https" SCHEME_HTTP = "http" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBMPPCLogger ¶
type IBMPPCLogger struct{}
func (IBMPPCLogger) Debugf ¶
func (IBMPPCLogger) Debugf(format string, args ...interface{})
func (IBMPPCLogger) Printf ¶
func (IBMPPCLogger) Printf(format string, args ...interface{})
type IBMPPCOptions ¶
type IBMPPCOptions 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.ppc-aas.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 }
SPOptions
type IBMPPCSession ¶
type IBMPPCSession struct { CRNFormat string Power *client.PowerPrivateCloudAsaServiceAPI Options *IBMPPCOptions }
IBMPPCSession ...
func NewIBMPPCSession ¶
func NewIBMPPCSession(o *IBMPPCOptions) (*IBMPPCSession, error)
Create a IBMPPCSession
func (*IBMPPCSession) AuthInfo ¶
func (s *IBMPPCSession) AuthInfo(cloudInstanceID string) runtime.ClientAuthInfoWriter
authInfo ...
Click to show internal directories.
Click to hide internal directories.