Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Release ¶
func (*Release) DownloadBinaryFromGitHub ¶
type SnapshotManager ¶
type SnapshotManager struct {
// contains filtered or unexported fields
}
SnapshotManager is responsible for managing the Envoy snapshot cache.
func NewSnapshotManager ¶
func NewSnapshotManager( ctx context.Context, mSvc middlewarev1.MiddlewareServiceClient, eSvc endpointv1.EndpointServiceClient, buildBaseDir string, host string, port int, syncInterval time.Duration) *SnapshotManager
NewSnapshotManager returns a new *SnapshotManager.
func (*SnapshotManager) RegisterXDS ¶
func (m *SnapshotManager) RegisterXDS(srv *grpc.Server)
func (*SnapshotManager) Run ¶
func (s *SnapshotManager) Run(ctx context.Context) error
Run starts a blocking sync loop that updates the snapshot cache at the configured interval.
func (*SnapshotManager) Shutdown ¶
func (s *SnapshotManager) Shutdown()
Click to show internal directories.
Click to hide internal directories.