Documentation ¶
Overview ¶
Package gnoi contains required services for running a gnoi server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents a target.
func NewServer ¶
func NewServer(certSettings *cert.Settings, resetSettings *reset.Settings, notifyReset reset.Notifier, osSettings *os.Settings) (*Server, error)
NewServer returns a new server that can be used by the mock target.
func (*Server) PrepareAuthenticated ¶
PrepareAuthenticated prepares a gRPC server with the CertificateManagement service running with full encryption and authentication.
func (*Server) PrepareEncrypted ¶
PrepareEncrypted prepares a gRPC server with the CertificateManagement service running with encryption but without authentication.
func (*Server) RegCertificateManagement ¶
RegCertificateManagement registers only the Certificate Management service in the gRPC Server.
func (*Server) RegisterCertNotifier ¶
RegisterCertNotifier registers a function that will be called everytime the number of Certificates or CA Certificates changes.