Documentation ¶
Overview ¶
Package sds implements secret discovery service in NodeAgent.
Index ¶
- type Context
- type Server
- type Watch
- func (w *Watch) DeleteWatchedResource(string)
- func (w *Watch) GetID() string
- func (w *Watch) GetWatchedResource(string) *xds.WatchedResource
- func (w *Watch) NewWatchedResource(typeURL string, names []string)
- func (w *Watch) UpdateWatchedResource(_ string, f func(*xds.WatchedResource) *xds.WatchedResource)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { BaseConnection xds.Connection // contains filtered or unexported fields }
func (*Context) XdsConnection ¶
func (c *Context) XdsConnection() *xds.Connection
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 ¶
type Watch ¶
func (*Watch) DeleteWatchedResource ¶
func (*Watch) GetWatchedResource ¶
func (w *Watch) GetWatchedResource(string) *xds.WatchedResource
func (*Watch) NewWatchedResource ¶
func (*Watch) UpdateWatchedResource ¶
func (w *Watch) UpdateWatchedResource(_ string, f func(*xds.WatchedResource) *xds.WatchedResource)
Click to show internal directories.
Click to hide internal directories.