package
0.9.0
Repository: https://github.com/ibm/go-sdk-core.git
Documentation: pkg.go.dev

# Functions

BoolPtr : return pointer to boolean literal.
Float32Ptr : return pointer to float32 literal.
Float64Ptr : return pointer to float64 literal.
GetAuthenticatorFromEnvironment: instantiates an Authenticator using service properties retrieved from external config sources.
GetCurrentTime :.
HasBadFirstOrLastChar checks if the string starts with `{` or `"` or ends with `}` or `"`.
Int64Ptr : return pointer to int64 literal.
IsJSONMimeType : Returns true iff the specified mimeType value represents a "JSON" mimetype.
IsJSONPatchMimeType : Returns true iff the specified mimeType value represents a "JSON Patch" mimetype.
NewBaseService : This function will construct a new instance of the BaseService struct, while performing validation on input parameters and service options.
NewBasicAuthenticator: Constructs a new BasicAuthenticator instance.
NewBearerTokenAuthenticator: Constructs a new BearerTokenAuthenticator instance.
NewCloudPakForDataAuthenticator : Constructs a new CloudPakForDataAuthenticator instance.
NewIamAuthenticator : Constructs a new IamAuthenticator instance.
No description provided by the author
NewRequestBuilder : Initiates a new request.
PrettyPrint print pretty.
StringNilMapper - de-references the parameter 's' and returns the result, or "" if 's' is nil.
StringPtr : return pointer to string literal.
SystemInfo : returns the system information.
UserHomeDir returns the user home directory.
ValidateNotNil - returns the specified error if 'object' is nil, nil otherwise.
ValidateStruct - validates 'param' (assumed to be a struct) according to the annotations attached to its fields.

# Constants

common headers.
common headers.
Supported authentication types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
common headers.
common headers.
IamAuthenticator-related constants.
No description provided by the author
IamAuthenticator-related constants.
common HTTP methods.
No description provided by the author
No description provided by the author
No description provided by the author
Common error messages.
No description provided by the author
common headers.
common headers.
No description provided by the author
common headers.
common HTTP methods.
No description provided by the author
common HTTP methods.
POST
common HTTP methods.
Constants for CP4D.
No description provided by the author
No description provided by the author
Authenticator properties.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Service client properties.
No description provided by the author
common HTTP methods.
IamAuthenticator-related constants.
IamAuthenticator-related constants.
SSL error.

# Variables

Validate single instance of Validate, it caches struct info.

# Structs

BaseService : This struct defines a common "service" object that is used by each generated service to manage requests and responses, perform authentication, etc.
The BasicAuthenticator will perform authentication on outbound requests by adding a "Basic" type Authorization header that contains the base64-encoded username and password.
The BearerTokenAuthenticator will authenticate requests by adding a "Bearer"-type Authorization header that contains the configured bearer token value.
CloudPakForDataAuthenticator : This authenticator will automatically fetch an access token for the user-specified username and password.
DetailedResponse : Each generated service method will return an instance of this struct.
Error : specifies the error.
Errors : a struct for errors array.
A FormData stores information for form data.
IamAuthenticator : This authenticator will automatically fetch an access token for the configured apikey.
No description provided by the author
A RequestBuilder is an HTTP request to be sent to the service.
ServiceOptions : This struct contains the options supported by the BaseService methods.

# Interfaces

Authenticator: each authenticator implements this set of methods.