Documentation
¶
Index ¶
- type Server
- func (s *Server) AttachContainer(name string, uid types.UID, container string, in io.Reader, ...) error
- func (s *Server) ExecInContainer(name string, uid types.UID, container string, cmd []string, in io.Reader, ...) error
- func (s *Server) GetContainerLogs(name, container string, logOptions *corev1.PodLogOptions, ...) error
- func (s *Server) InstallDebuggingDisabledHandlers()
- func (s *Server) InstallDebuggingHandlers()
- func (s *Server) InstallHealthz()
- func (s *Server) InstallMetrics()
- func (s *Server) InstallProfilingHandler(enableProfilingLogHandler bool, enableContentionProfiling bool)
- func (s *Server) PortForward(name string, uid types.UID, port int32, stream io.ReadWriteCloser) error
- func (s *Server) Run(ctx context.Context, address string, certFile, privateKeyFile string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AttachContainer ¶
func (s *Server) AttachContainer(name string, uid types.UID, container string, in io.Reader, out, err io.WriteCloser, tty bool, resize <-chan clientremotecommand.TerminalSize) error
func (*Server) ExecInContainer ¶
func (*Server) GetContainerLogs ¶
func (*Server) InstallDebuggingDisabledHandlers ¶
func (s *Server) InstallDebuggingDisabledHandlers()
InstallDebuggingDisabledHandlers registers the HTTP request patterns that provide better error message
func (*Server) InstallDebuggingHandlers ¶
func (s *Server) InstallDebuggingHandlers()
func (*Server) InstallHealthz ¶
func (s *Server) InstallHealthz()
func (*Server) InstallMetrics ¶
func (s *Server) InstallMetrics()
func (*Server) InstallProfilingHandler ¶
func (s *Server) InstallProfilingHandler(enableProfilingLogHandler bool, enableContentionProfiling bool)
InstallProfilingHandler registers the HTTP request patterns for /debug/pprof endpoint.
func (*Server) PortForward ¶
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
Package portforward contains server-side logic for handling port forwarding requests.
|
Package portforward contains server-side logic for handling port forwarding requests. |
Package remotecommand contains functions related to executing commands in and attaching to pods.
|
Package remotecommand contains functions related to executing commands in and attaching to pods. |
Click to show internal directories.
Click to hide internal directories.