commons

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package commons assemble all functions used in other packages

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDSN

func BuildDSN() string

BuildDSN permit to retrieve string url to connect to the sql instance

func GetAPIUrl

func GetAPIUrl() string

GetAPIUrl permit to retrieve OS env variable

func GetKubernetesJobsNamespace

func GetKubernetesJobsNamespace() string

GetKubernetesJobsNamespace permit to retrieve OS env variable

func GetKubernetesKubeConfig

func GetKubernetesKubeConfig() string

GetKubernetesKubeConfig permit to retrieve OS env variable

func GetKubernetesMode

func GetKubernetesMode() string

GetKubernetesMode permit to retrieve OS env variable

func GetMaxSpecs

func GetMaxSpecs() int

GetMaxSpecs permit to retrieve OS env variable

func GetRangeLimit

func GetRangeLimit() int

GetRangeLimit return de max range limit for postgresSQL queries

func GetRedisURI

func GetRedisURI() string

GetRedisURI permit to retrieve OS env variable

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL