sds

package
v0.0.0-...-dea2efb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 31 Imported by: 4

Documentation

Overview

Package sds implements secret discovery service in NodeAgent.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewXdsServer

func NewXdsServer(stop chan struct{}, gen model.XdsResourceGenerator) *xds.DiscoveryServer

NewXdsServer builds a minimal DiscoveryServer for istio-agent SDS only. The DiscoveryServer was originally designed for Istiod, so a lot of this is plugging in fake empty information.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is the gPRC server that exposes SDS through UDS.

func NewServer

func NewServer(options *security.Options, workloadSecretCache security.SecretManager, pkpConf *mesh.PrivateKeyProvider) *Server

NewServer creates and starts the Grpc server for SDS.

func (*Server) OnSecretUpdate

func (s *Server) OnSecretUpdate(resourceName string)

func (*Server) Stop

func (s *Server) Stop()

Stop closes the gRPC server and debug server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL