istio: istio.io/istio/security/pkg/nodeagent/util Index | Files

package util

import "istio.io/istio/security/pkg/nodeagent/util"

Index

Package Files

util.go

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.