Documentation ¶
Index ¶
- func ApplyJsonPatch(patch []byte) (err error)
- func GenerateCorrelationId(min int, max int) (id int)
- func Get(df, tf, location string) (string, error)
- func GetAllEnvironmentVariablesSet()
- func GetMD5Hash(text string) string
- func GetMD5Uid(text string) string
- func GetUserInputs() (*types.UserInput, error)
- func HomeDir() string
- func ReadConfigFile(filename string) *types.Config
- func ReadConfigMap()
- type TmaaSAnnotations
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyJsonPatch ¶
func GenerateCorrelationId ¶
func Get ¶
Get function is responsible for taking date format, time format and location as args for time and return time in string format and return error if any else nil.
func GetAllEnvironmentVariablesSet ¶
func GetAllEnvironmentVariablesSet()
GetAllEnvironmentVariablesSet get the env values
func GetMD5Hash ¶
GetMD5Hash returns the md5sum hash of an input string
func GetMD5Uid ¶
GetMD5Uid returns the md5sum hash of an input string in the form of UUID, i.e., in the format - xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
func ReadConfigFile ¶
func ReadConfigMap ¶
func ReadConfigMap()
Types ¶
type TmaaSAnnotations ¶
type TmaaSAnnotations struct { VendorID string `json:"vendorId"` XGVelaID string `json:"xgvelaId"` NfClass string `json:"nfClass"` NfType string `json:"nfType"` NfID string `json:"nfId"` NfServiceID string `json:"nfServiceId"` NfServiceType string `json:"nfServiceType"` }
func GetAnnotations ¶
func GetAnnotations() (*TmaaSAnnotations, error)
Directories ¶
Path | Synopsis |
---|---|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
Click to show internal directories.
Click to hide internal directories.