Documentation

Overview

    Package sds implements secret discovery service in NodeAgent.

    Index

    Constants

    View Source
    const (
    	// SecretType is used for secret discovery service to construct response.
    	SecretTypeV3 = "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.Secret"
    )

    Variables

    This section is empty.

    Functions

    func NewXdsServer

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

    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) (*Server, error)

        NewServer creates and starts the Grpc server for SDS.

        func (*Server) Stop

        func (s *Server) Stop()

          Stop closes the gRPC server and debug server.

          func (*Server) UpdateCallback

          func (s *Server) UpdateCallback(resourceName string)