sse

package
v0.0.0-...-c022f84 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HeadersMiddleware

func HeadersMiddleware() gin.HandlerFunc

Types

type ProxyChan

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

func NewProxyChan

func NewProxyChan(ctx context.Context, input <-chan watch.Event, interval time.Duration) ProxyChan

func (ProxyChan) Events

func (p ProxyChan) Events() chan any

type Server

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

func NewServer

func NewServer(k8sClient k8sclient.IKubernetesClient) *Server

Initialize event and Start procnteessing requests

func (*Server) ReleaseResources

func (s *Server) ReleaseResources(ctx *gin.Context)

func (*Server) Resources

func (s *Server) Resources(ctx *gin.Context)

func (*Server) SingleResource

func (s *Server) SingleResource(ctx *gin.Context)

Jump to

Keyboard shortcuts

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