Documentation ¶
Overview ¶
Package testcommon implements common helpers that can be used throughout the gRIBIgo package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TLSCred ¶
type TLSCred struct {
C credentials.TransportCredentials
}
TLSCreds returns TLS credentials that can be used for a device.
func TLSCredsFromFile ¶
TLSCredsFromFile loads the credentials from the specified cert and key file and returns them such that they can be used for the gNMI and gRIBI servers.
Click to show internal directories.
Click to hide internal directories.