istio: Index | Files

package util

import ""


Package Files


func GetMetricsCounterValue Uses

func GetMetricsCounterValue(metricName string) (float64, error)

GetMetricsCounterValue returns counter value in float64. For test purpose only.

func ParseCertAndGetExpiryTimestamp Uses

func ParseCertAndGetExpiryTimestamp(certByte []byte) (time.Time, error)

parseCertAndGetExpiryTimestamp parses certificate and returns cert expire time, or return error if fails to parse certificate.

Package util imports 5 packages (graph) and is imported by 2 packages. Updated 2019-09-13. Refresh now. Tools for package owners.