SYMBOL INDEX (253 symbols across 49 files) FILE: api/private/v1/configtype.go type WaitConfig (line 3) | type WaitConfig struct type Webhook (line 15) | type Webhook struct type SlackBot (line 20) | type SlackBot struct FILE: api/private/v1/service.pb.go constant _ (line 21) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 23) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ExtendRequest (line 26) | type ExtendRequest struct method Reset (line 34) | func (x *ExtendRequest) Reset() { method String (line 43) | func (x *ExtendRequest) String() string { method ProtoMessage (line 47) | func (*ExtendRequest) ProtoMessage() {} method ProtoReflect (line 49) | func (x *ExtendRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*ExtendRequest) Descriptor() ([]byte, []int) { method GetWaitFor (line 66) | func (x *ExtendRequest) GetWaitFor() *durationpb.Duration { type ExtendResponse (line 73) | type ExtendResponse struct method Reset (line 81) | func (x *ExtendResponse) Reset() { method String (line 90) | func (x *ExtendResponse) String() string { method ProtoMessage (line 94) | func (*ExtendResponse) ProtoMessage() {} method ProtoReflect (line 96) | func (x *ExtendResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 109) | func (*ExtendResponse) Descriptor() ([]byte, []int) { method GetExpiration (line 113) | func (x *ExtendResponse) GetExpiration() *timestamppb.Timestamp { type StatusResponse (line 120) | type StatusResponse struct method Reset (line 130) | func (x *StatusResponse) Reset() { method String (line 139) | func (x *StatusResponse) String() string { method ProtoMessage (line 143) | func (*StatusResponse) ProtoMessage() {} method ProtoReflect (line 145) | func (x *StatusResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 158) | func (*StatusResponse) Descriptor() ([]byte, []int) { method GetExpiration (line 162) | func (x *StatusResponse) GetExpiration() *timestamppb.Timestamp { method GetEndpoint (line 169) | func (x *StatusResponse) GetEndpoint() string { method GetNumConnections (line 176) | func (x *StatusResponse) GetNumConnections() uint32 { function file_api_private_v1_service_proto_rawDescGZIP (line 242) | func file_api_private_v1_service_proto_rawDescGZIP() []byte { function init (line 275) | func init() { file_api_private_v1_service_proto_init() } function file_api_private_v1_service_proto_init (line 276) | func file_api_private_v1_service_proto_init() { FILE: api/private/v1/service_grpc.pb.go constant _ (line 20) | _ = grpc.SupportPackageIsVersion7 constant ControlService_Resume_FullMethodName (line 23) | ControlService_Resume_FullMethodName = "/namespacelabs.breakpoint.privat... constant ControlService_Extend_FullMethodName (line 24) | ControlService_Extend_FullMethodName = "/namespacelabs.breakpoint.privat... constant ControlService_Status_FullMethodName (line 25) | ControlService_Status_FullMethodName = "/namespacelabs.breakpoint.privat... type ControlServiceClient (line 31) | type ControlServiceClient interface type controlServiceClient (line 37) | type controlServiceClient struct method Resume (line 45) | func (c *controlServiceClient) Resume(ctx context.Context, in *emptypb... method Extend (line 54) | func (c *controlServiceClient) Extend(ctx context.Context, in *ExtendR... method Status (line 63) | func (c *controlServiceClient) Status(ctx context.Context, in *emptypb... function NewControlServiceClient (line 41) | func NewControlServiceClient(cc grpc.ClientConnInterface) ControlService... type ControlServiceServer (line 75) | type ControlServiceServer interface type UnimplementedControlServiceServer (line 83) | type UnimplementedControlServiceServer struct method Resume (line 86) | func (UnimplementedControlServiceServer) Resume(context.Context, *empt... method Extend (line 89) | func (UnimplementedControlServiceServer) Extend(context.Context, *Exte... method Status (line 92) | func (UnimplementedControlServiceServer) Status(context.Context, *empt... method mustEmbedUnimplementedControlServiceServer (line 95) | func (UnimplementedControlServiceServer) mustEmbedUnimplementedControl... type UnsafeControlServiceServer (line 100) | type UnsafeControlServiceServer interface function RegisterControlServiceServer (line 104) | func RegisterControlServiceServer(s grpc.ServiceRegistrar, srv ControlSe... function _ControlService_Resume_Handler (line 108) | func _ControlService_Resume_Handler(srv interface{}, ctx context.Context... function _ControlService_Extend_Handler (line 126) | func _ControlService_Extend_Handler(srv interface{}, ctx context.Context... function _ControlService_Status_Handler (line 144) | func _ControlService_Status_Handler(srv interface{}, ctx context.Context... FILE: api/public/v1/service.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterRequest (line 23) | type RegisterRequest struct method Reset (line 29) | func (x *RegisterRequest) Reset() { method String (line 38) | func (x *RegisterRequest) String() string { method ProtoMessage (line 42) | func (*RegisterRequest) ProtoMessage() {} method ProtoReflect (line 44) | func (x *RegisterRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*RegisterRequest) Descriptor() ([]byte, []int) { type RegisterResponse (line 61) | type RegisterResponse struct method Reset (line 69) | func (x *RegisterResponse) Reset() { method String (line 78) | func (x *RegisterResponse) String() string { method ProtoMessage (line 82) | func (*RegisterResponse) ProtoMessage() {} method ProtoReflect (line 84) | func (x *RegisterResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 97) | func (*RegisterResponse) Descriptor() ([]byte, []int) { method GetEndpoint (line 101) | func (x *RegisterResponse) GetEndpoint() string { function file_api_public_v1_service_proto_rawDescGZIP (line 137) | func file_api_public_v1_service_proto_rawDescGZIP() []byte { function init (line 159) | func init() { file_api_public_v1_service_proto_init() } function file_api_public_v1_service_proto_init (line 160) | func file_api_public_v1_service_proto_init() { FILE: api/public/v1/service_grpc.pb.go constant _ (line 19) | _ = grpc.SupportPackageIsVersion7 constant ProxyService_Register_FullMethodName (line 22) | ProxyService_Register_FullMethodName = "/namespacelabs.breakpoint.ProxyS... type ProxyServiceClient (line 28) | type ProxyServiceClient interface type proxyServiceClient (line 33) | type proxyServiceClient struct method Register (line 41) | func (c *proxyServiceClient) Register(ctx context.Context, in *Registe... function NewProxyServiceClient (line 37) | func NewProxyServiceClient(cc grpc.ClientConnInterface) ProxyServiceClie... type ProxyService_RegisterClient (line 56) | type ProxyService_RegisterClient interface type proxyServiceRegisterClient (line 61) | type proxyServiceRegisterClient struct method Recv (line 65) | func (x *proxyServiceRegisterClient) Recv() (*RegisterResponse, error) { type ProxyServiceServer (line 76) | type ProxyServiceServer interface type UnimplementedProxyServiceServer (line 83) | type UnimplementedProxyServiceServer struct method Register (line 86) | func (UnimplementedProxyServiceServer) Register(*RegisterRequest, Prox... method mustEmbedUnimplementedProxyServiceServer (line 89) | func (UnimplementedProxyServiceServer) mustEmbedUnimplementedProxyServ... type UnsafeProxyServiceServer (line 94) | type UnsafeProxyServiceServer interface function RegisterProxyServiceServer (line 98) | func RegisterProxyServiceServer(s grpc.ServiceRegistrar, srv ProxyServic... function _ProxyService_Register_Handler (line 102) | func _ProxyService_Register_Handler(srv interface{}, stream grpc.ServerS... type ProxyService_RegisterServer (line 110) | type ProxyService_RegisterServer interface type proxyServiceRegisterServer (line 115) | type proxyServiceRegisterServer struct method Send (line 119) | func (x *proxyServiceRegisterServer) Send(m *RegisterResponse) error { FILE: api/public/v1/types.go constant QuicProto (line 4) | QuicProto = "breakpoint-grpc" constant GitHubOIDCTokenHeader (line 6) | GitHubOIDCTokenHeader = "x-breakpoint-github-oidc-token" constant GitHubOIDCAudience (line 8) | GitHubOIDCAudience = "namespacelabs.dev/breakpoint" FILE: cmd/breakpoint/attach.go function newAttachCmd (line 13) | func newAttachCmd() *cobra.Command { function init (line 45) | func init() { FILE: cmd/breakpoint/extend.go function newExtendCmd (line 16) | func newExtendCmd() *cobra.Command { function init (line 61) | func init() { FILE: cmd/breakpoint/hold.go function init (line 18) | func init() { constant extendBy (line 23) | extendBy = 30 * time.Second function newHoldCmd (line 26) | func newHoldCmd() *cobra.Command { function holdForDuration (line 69) | func holdForDuration(ctx context.Context, duration time.Duration) error { function holdWhileConnected (line 92) | func holdWhileConnected(ctx context.Context) error { function tryExtendBreakpoint (line 145) | func tryExtendBreakpoint(ctx context.Context, currentExpiration time.Tim... function stopBreakpoint (line 158) | func stopBreakpoint(ctx context.Context) error { FILE: cmd/breakpoint/main.go function main (line 19) | func main() { FILE: cmd/breakpoint/resume.go function newResumeCmd (line 11) | func newResumeCmd() *cobra.Command { function init (line 36) | func init() { FILE: cmd/breakpoint/start.go function init (line 19) | func init() { function newStartCmd (line 23) | func newStartCmd() *cobra.Command { function waitForReady (line 66) | func waitForReady(ctx context.Context, timeoutDuration time.Duration) (*... function getStatus (line 93) | func getStatus(ctx context.Context) (*v1.StatusResponse, error) { FILE: cmd/breakpoint/status.go function init (line 13) | func init() { function newStatusCmd (line 17) | func newStatusCmd() *cobra.Command { FILE: cmd/breakpoint/wait.go function init (line 22) | func init() { function newWaitCmd (line 26) | func newWaitCmd() *cobra.Command { function cancelIsOK (line 118) | func cancelIsOK(err error) error { type dummyAddr (line 126) | type dummyAddr struct method Network (line 128) | func (dummyAddr) Network() string { return "internal" } method String (line 129) | func (dummyAddr) String() string { return "quic-revproxy" } FILE: cmd/rendezvous/main.go type frontendConfig (line 33) | type frontendConfig struct function main (line 40) | func main() { function flagOrEnv (line 68) | func flagOrEnv(env, flag string) string { function flagOrEnvBool (line 76) | func flagOrEnvBool(env string, flag bool) bool { type Config (line 80) | type Config struct function run (line 90) | func run(opts Config) error { function makeFrontend (line 157) | func makeFrontend(fcfg frontendConfig, pub string) quicproxy.ProxyFronte... FILE: pkg/bcontrol/client.go function SocketPath (line 15) | func SocketPath() (string, error) { function Connect (line 24) | func Connect(ctx context.Context) (pb.ControlServiceClient, *grpc.Client... FILE: pkg/bgrpc/bgrpc.go function DialContext (line 11) | func DialContext(ctx context.Context, target string, opts ...grpc.DialOp... function clientInterceptors (line 22) | func clientInterceptors() ([]grpc.UnaryClientInterceptor, []grpc.StreamC... FILE: pkg/blog/blog.go function init (line 10) | func init() { function New (line 14) | func New() zerolog.Logger { FILE: pkg/config/config.go function LoadConfig (line 20) | func LoadConfig(ctx context.Context, file string) (ParsedConfig, error) { type ParsedConfig (line 102) | type ParsedConfig struct FILE: pkg/execbackground/bg_unix.go function SetCreateSession (line 10) | func SetCreateSession(cmd *exec.Cmd) { FILE: pkg/execbackground/bg_windows.go function SetCreateSession (line 7) | func SetCreateSession(cmd *exec.Cmd) { FILE: pkg/github/sshkeys.go function ResolveSSHKeys (line 14) | func ResolveSSHKeys(ctx context.Context, usernames []string) (map[string... function fetchKeys (line 39) | func fetchKeys(username string) ([]string, error) { FILE: pkg/githuboidc/claims.go type Claims (line 5) | type Claims struct FILE: pkg/githuboidc/gh.go constant userAgent (line 18) | userAgent = "actions/oidc-client" type Token (line 21) | type Token struct function OIDCAvailable (line 25) | func OIDCAvailable() bool { function JWT (line 30) | func JWT(ctx context.Context, audience string) (*Token, error) { function oidcConf (line 68) | func oidcConf() (string, string) { FILE: pkg/githuboidc/verifier.go constant githubJWKSURL (line 15) | githubJWKSURL = "https://token.actions.githubusercontent.com/.well-known... function ProvideVerifier (line 18) | func ProvideVerifier(ctx context.Context) (*keyfunc.JWKS, error) { function Validate (line 33) | func Validate(ctx context.Context, jwks *keyfunc.JWKS, tokenStr string) ... FILE: pkg/httperrors/httperrors.go type HttpError (line 9) | type HttpError struct method Error (line 14) | func (he HttpError) Error() string { function MaybeError (line 22) | func MaybeError(resp *http.Response) error { FILE: pkg/internalserver/internalserver.go type waiterService (line 19) | type waiterService struct method Extend (line 66) | func (g waiterService) Extend(ctx context.Context, req *pb.ExtendReque... method Status (line 73) | func (g waiterService) Status(ctx context.Context, req *emptypb.Empty)... method Resume (line 82) | func (g waiterService) Resume(ctx context.Context, req *emptypb.Empty)... function ListenAndServe (line 24) | func ListenAndServe(ctx context.Context, mgr *waiter.Manager) error { FILE: pkg/jsonfile/load.go function Load (line 8) | func Load(filename string, target any) error { FILE: pkg/passthrough/listener.go type Listener (line 11) | type Listener struct method Accept (line 22) | func (pl Listener) Accept() (net.Conn, error) { method Addr (line 35) | func (pl Listener) Addr() net.Addr { method Close (line 39) | func (pl Listener) Close() error { method Offer (line 48) | func (pl Listener) Offer(conn net.Conn) error { function NewListener (line 18) | func NewListener(ctx context.Context, addr net.Addr) Listener { FILE: pkg/quicgrpc/grpccreds.go type QuicCreds (line 12) | type QuicCreds struct method ClientHandshake (line 18) | func (m QuicCreds) ClientHandshake(ctx context.Context, addr string, c... method ServerHandshake (line 22) | func (m QuicCreds) ServerHandshake(conn net.Conn) (net.Conn, credentia... method Info (line 30) | func (m QuicCreds) Info() credentials.ProtocolInfo { method Clone (line 34) | func (m QuicCreds) Clone() credentials.TransportCredentials { method OverrideServerName (line 38) | func (m QuicCreds) OverrideServerName(string) error { type QuicAuthInfo (line 42) | type QuicAuthInfo struct method AuthType (line 47) | func (QuicAuthInfo) AuthType() string { FILE: pkg/quicnet/conn.go type Conn (line 10) | type Conn struct method LocalAddr (line 15) | func (cw Conn) LocalAddr() net.Addr { method RemoteAddr (line 19) | func (cw Conn) RemoteAddr() net.Addr { function OpenStream (line 23) | func OpenStream(ctx context.Context, conn quic.Connection) (Conn, error) { FILE: pkg/quicnet/listener.go type Listener (line 19) | type Listener struct method loop (line 36) | func (l *Listener) loop() { method closeWithErr (line 48) | func (l *Listener) closeWithErr(err error) error { method waitForStream (line 72) | func (l *Listener) waitForStream(conn quic.Connection) { method queue (line 88) | func (l *Listener) queue(conn quic.Connection, stream quic.Stream) { method Accept (line 104) | func (l *Listener) Accept() (net.Conn, error) { method Close (line 125) | func (l *Listener) Close() error { method Addr (line 129) | func (l *Listener) Addr() net.Addr { function NewListener (line 29) | func NewListener(ctx context.Context, l quic.Listener) *Listener { FILE: pkg/quicproxy/proxyproto.go type ProxyProtoFrontend (line 15) | type ProxyProtoFrontend struct method ListenAndServe (line 24) | func (pf *ProxyProtoFrontend) ListenAndServe(ctx context.Context) error { method allocate (line 74) | func (pf *ProxyProtoFrontend) allocate(ctx context.Context, handler fu... method Handle (line 97) | func (pf *ProxyProtoFrontend) Handle(ctx context.Context, handlers Han... FILE: pkg/quicproxy/rawproto.go type RawFrontend (line 11) | type RawFrontend struct method ListenAndServe (line 15) | func (rf RawFrontend) ListenAndServe(ctx context.Context) error { method Handle (line 19) | func (rf RawFrontend) Handle(ctx context.Context, handlers Handlers) e... FILE: pkg/quicproxy/serve.go type Allocation (line 15) | type Allocation struct type ProxyFrontend (line 19) | type ProxyFrontend interface type Handlers (line 24) | type Handlers struct function ServeProxy (line 30) | func ServeProxy(ctx context.Context, frontend ProxyFrontend, conn quic.C... function cancelIsOK (line 50) | func cancelIsOK(err error) error { FILE: pkg/quicproxy/service.go type Server (line 27) | type Server struct method Close (line 79) | func (srv *Server) Close() error { method Serve (line 83) | func (srv *Server) Serve(ctx context.Context) error { type ServerOpts (line 33) | type ServerOpts struct function NewServer (line 40) | func NewServer(ctx context.Context, opts ServerOpts) (*Server, error) { type server (line 95) | type server struct method Register (line 106) | func (srv server) Register(req *apipb.RegisterRequest, server apipb.Pr... function validateGitHubOIDC (line 132) | func validateGitHubOIDC(ctx context.Context, logger zerolog.Logger, jwks... FILE: pkg/quicproxyclient/client.go type Handlers (line 27) | type Handlers struct function Serve (line 32) | func Serve(ctx context.Context, endpoint string, md metadata.MD, handler... FILE: pkg/sshd/keepalive.go function keepAlive (line 13) | func keepAlive(ctx context.Context, logger zerolog.Logger, session ssh.S... FILE: pkg/sshd/pty_unix.go function handlePty (line 17) | func handlePty(session io.ReadWriter, ptyReq ssh.Pty, winCh <-chan ssh.W... function syncWinSize (line 35) | func syncWinSize(ptyFile *os.File, winCh <-chan ssh.Window) { function setWinsize (line 41) | func setWinsize(f *os.File, w, h int) { FILE: pkg/sshd/pty_windows.go function handlePty (line 13) | func handlePty(session io.ReadWriter, ptyReq ssh.Pty, winCh <-chan ssh.W... FILE: pkg/sshd/sftp.go function makeSftpHandler (line 11) | func makeSftpHandler(logger zerolog.Logger) ssh.SubsystemHandler { FILE: pkg/sshd/sshd.go type SSHServerOpts (line 22) | type SSHServerOpts struct type sshKey (line 32) | type sshKey struct type SSHServer (line 37) | type SSHServer struct function MakeServer (line 42) | func MakeServer(ctx context.Context, opts SSHServerOpts) (*SSHServer, er... function lookupKey (line 177) | func lookupKey(allowed []sshKey, key ssh.PublicKey) (sshKey, bool) { FILE: pkg/tlscerts/tlscerts.go type Subjects (line 14) | type Subjects struct function GenerateECDSAPair (line 19) | func GenerateECDSAPair(subjects Subjects, duration time.Duration) ([]byt... function newSerialNumber (line 57) | func newSerialNumber() (*big.Int, error) { FILE: pkg/waiter/output.go function PrintConnectionInfo (line 14) | func PrintConnectionInfo(endpoint string, deadline time.Time, output io.... FILE: pkg/waiter/slackbot.go type botInstance (line 18) | type botInstance struct method Close (line 48) | func (b *botInstance) Close() error { method makeBlocks (line 55) | func (b *botInstance) makeBlocks(leaving bool) slack.MsgOption { method sendUpdate (line 63) | func (b *botInstance) sendUpdate(ctx context.Context, leaving bool) er... method loop (line 68) | func (b *botInstance) loop(ctx context.Context) error { function startBot (line 27) | func startBot(ctx context.Context, m *Manager, conf v1.SlackBot) *botIns... type renderGitHubProps (line 85) | type renderGitHubProps struct function prepareGitHubProps (line 95) | func prepareGitHubProps(ctx context.Context) renderGitHubProps { function renderGitHubMessage (line 117) | func renderGitHubMessage(props renderGitHubProps, endpoint string, exp t... function maybeCommitURL (line 164) | func maybeCommitURL(repo string, event github.PushEvent) string { FILE: pkg/waiter/template.go function execTemplate (line 7) | func execTemplate(value any, mapping func(string) string) any { function execMapTemplate (line 32) | func execMapTemplate(input map[string]any, mapping func(string) string) ... FILE: pkg/waiter/template_test.go function TestExecTemplate (line 11) | func TestExecTemplate(t *testing.T) { FILE: pkg/waiter/waiter.go constant logTickInterval (line 20) | logTickInterval = 1 * time.Minute constant Stamp (line 22) | Stamp = time.Stamp + " MST" type ManagerOpts (line 25) | type ManagerOpts struct type ManagerStatus (line 32) | type ManagerStatus struct type Manager (line 38) | type Manager struct method Wait (line 84) | func (m *Manager) Wait() error { method loop (line 89) | func (m *Manager) loop(ctx context.Context) { method ExtendWait (line 133) | func (m *Manager) ExtendWait(dur time.Duration) time.Time { method StopWait (line 148) | func (m *Manager) StopWait() { method Expiration (line 153) | func (m *Manager) Expiration() time.Time { method Endpoint (line 159) | func (m *Manager) Endpoint() string { method Status (line 165) | func (m *Manager) Status() ManagerStatus { method SetEndpoint (line 175) | func (m *Manager) SetEndpoint(addr string) { method SetConnectionCountCallback (line 210) | func (m *Manager) SetConnectionCountCallback(callback func() uint32) { method announce (line 241) | func (m *Manager) announce() { function NewManager (line 52) | func NewManager(ctx context.Context, opts ManagerOpts) (*Manager, contex... function logTick (line 124) | func logTick() time.Duration { function expand (line 216) | func expand(addr string, exp time.Time) func(key string) string { function nchars (line 246) | func nchars(ch rune, n int) string { FILE: pkg/webhook/notifier.go constant userAgent (line 13) | userAgent = "Breakpoint/1.0" function Notify (line 16) | func Notify(ctx context.Context, endpoint string, payload any) error {