modulepackage
0.1.1
Repository: https://github.com/ionos-cloud/sdk-go-bundle.git
Documentation: pkg.go.dev
# Functions
All returns true if all elements of a slice satisfy a given predicate function, and false otherwise.
Any returns true if at least one element of a slice satisfies a given predicate function, and false otherwise.
ApplyAndAggregateErrors applies the provided function for each element of the slice If the function returns an error, it accumulates the error and continues execution After all elements are processed, it returns the aggregated errors if any.
ApplyOrFail tries applying the provided function for each element of the slice If the function returns an error, we break execution and return the error.
Filter applies a function to each element of a slice, returning a new slice with only the elements for which the function returns true.
Fold (aka Reduce) accumulates the result of f into acc and returns acc by applying f over each element in the slice.
IsNil checks if an input is nil.
Map applies a function to each element of a slice and returns the modified slice without considering the index of each element.
MapIdx applies a function to each element and index of a slice, returning the modified slice with consideration of the index.
NewAPIResponse returns a new APIResonse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewConfiguration returns a new shared.Configuration object.
No description provided by the author
NewGenericOpenAPIError - constructor for GenericOpenAPIError.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ToPtr - returns a pointer to the given value.
ToValue - returns the value of the bool pointer passed in.
ToValueDefault - returns the value of the pointer passed in, or the default type value if the pointer is nil.
# Constants
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
No description provided by the author
No description provided by the author
No description provided by the author
Trace We recommend you only set this field for debugging purposes.
# Variables
ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAPIKeys takes a string apikey as authentication for the request.
ContextBasicAuth takes BasicAuth as authentication for the request.
ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextServerIndex uses a server configuration from the index.
ContextServerVariables overrides a server configuration variables.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
APIResponse stores the API response returned by the server.
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
shared.Configuration stores the configuration of the API client.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
No description provided by the author
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
ServerConfigurations stores multiple ServerConfiguration items.