Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ServiceTypesFilename is the name of the service types file. ServiceTypesFilename = "service_types.yml" // IntegrationTypesFilename is the name of the integration types file. IntegrationTypesFilename = "integration_types.yml" // IntegrationEndpointTypesFilename is the name of the integration endpoint types file. IntegrationEndpointTypesFilename = "integration_endpoint_types.yml" )
View Source
const EnvAivenProjectName = "AIVEN_PROJECT_NAME"
EnvAivenProjectName is the environment variable for the Aiven project name.
Variables ¶
This section is empty.
Functions ¶
func MeasureExecutionTime ¶
func MeasureExecutionTime(logger *Logger) func()
MeasureExecutionTime prints the execution time of the caller when deferred.
func Min ¶
func Min[T constraints.Ordered](a, b T) T
Min is a function that returns the minimum of two comparable values. It is advised to use this function instead of the built-in math.Min function if the values are not of type float64.
func SetupClient ¶
func SetupClient(client *aiven.Client) error
SetupClient sets up the Aiven client.
Types ¶
Click to show internal directories.
Click to hide internal directories.