Documentation ¶
Index ¶
- func ChecksumSHA256(filePath string) ([]byte, error)
- func GetAccountFromMMID(mmid string) string
- func GetDateTime(t *datetime.DateTime) (int64, error)
- func GetNetworkFromMMID(mmid string) string
- func GetNodeFromMMID(mmid string) *network.Node
- func GetNodeIDFromMMID(mmid string) string
- func GetTenantFromMMID(mmid string) string
- func GetVRFFromMMID(mmid string) string
- func NewMMID(accountID, tenantID, netID, vrfID, nodeID string) string
- func RandString(length int) string
- func ReadJsonFile(jsonFile string) ([]byte, error)
- func WaitForCtrlC()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandString ¶
RandString generates a random ASCII string with at least one digit and one special character.
func ReadJsonFile ¶
ReadJsonFile parse json data from a file
func WaitForCtrlC ¶
func WaitForCtrlC()
WaitForCtrlC waits until an os.Interrupt signal is sent (ctrl + c)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.