Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CrunchyData/crunchy-proxy
/ functions
Functions
254 in github.com/CrunchyData/crunchy-proxy
⨍
Functions
254
◇
Types & classes
45
↓ 97 callers
Method
Println
(args ...interface{})
util/grpcutil/log.go:51
↓ 73 callers
Method
Error
()
protocol/error.go:73
↓ 18 callers
Method
Printf
(format string, args ...interface{})
util/grpcutil/log.go:47
↓ 15 callers
Function
stringFlag
(f *pflag.FlagSet, valPtr *string, flagInfo flagInfoString)
cli/flags.go:78
↓ 13 callers
Method
String
()
proxy/annotation.go:37
↓ 13 callers
Method
WriteString
WriteString will write a NULL terminated string to the buffer. It is assumed that the incoming string has *NOT* been NULL terminated.
protocol/message.go:137
↓ 11 callers
Method
WriteByte
WriteByte will write the specified byte to the message buffer.
protocol/message.go:108
↓ 10 callers
Method
Fatal
(args ...interface{})
util/grpcutil/log.go:31
↓ 8 callers
Function
Connect
()
tests/common.go:23
↓ 6 callers
Method
Bytes
Bytes gets the contents of the message buffer. This function is only useful after 'Write' operations as the underlying implementation will return the
protocol/message.go:158
↓ 6 callers
Function
Send
(connection net.Conn, message []byte)
connect/connect.go:25
↓ 6 callers
Method
WriteInt32
WriteInt32 will write a 4 byte int32 to the message buffer.
protocol/message.go:129
↓ 5 callers
Method
Fatalf
(format string, args ...interface{})
util/grpcutil/log.go:35
↓ 5 callers
Method
GetNodes
()
server/serverpb/admin.pb.go:67
↓ 5 callers
Method
ReadString
ReadString reads a string from the message buffer. This function will read and return the next Null terminated string from the message buffer.
protocol/message.go:102
↓ 5 callers
Function
callback
()
docs/bootstrap.js:58
↓ 4 callers
Method
Do
([]byte, int)
adapter/adapter.go:17
↓ 4 callers
Function
NewMessageBuffer
NewMessageBuffer creates and intializes a new MessageBuffer using message as its initial contents.
protocol/message.go:40
↓ 4 callers
Function
Receive
(connection net.Conn)
connect/connect.go:29
↓ 4 callers
Method
Send
(*ShutdownResponse)
server/serverpb/admin.pb.go:413
↓ 3 callers
Method
Add
(connection net.Conn)
pool/pool.go:35
↓ 3 callers
Method
Health
(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption)
server/serverpb/admin.pb.go:226
↓ 3 callers
Method
Next
()
pool/pool.go:39
↓ 3 callers
Method
Nodes
(ctx context.Context, in *NodeRequest, opts ...grpc.CallOption)
server/serverpb/admin.pb.go:224
↓ 3 callers
Method
ReadByte
ReadByte reads a byte from the message buffer. This function will read and return the next available byte from the message buffer.
protocol/message.go:80
↓ 3 callers
Method
ResetLength
ResetLength will reset the message length for the message. offset should be one of the PGMessageLengthOffset* constants.
protocol/message.go:144
↓ 3 callers
Method
Statistics
(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption)
server/serverpb/admin.pb.go:227
↓ 3 callers
Method
Version
(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption)
server/serverpb/admin.pb.go:229
↓ 3 callers
Function
getParent
($this)
docs/bootstrap.js:768
↓ 2 callers
Method
GetHealth
()
server/serverpb/admin.pb.go:117
↓ 2 callers
Method
Pools
(ctx context.Context, in *PoolRequest, opts ...grpc.CallOption)
server/serverpb/admin.pb.go:225
↓ 2 callers
Method
Seek
Seek moves the current position of the buffer.
protocol/message.go:168
↓ 2 callers
Method
Serve
(l net.Listener)
server/proxy.go:39
↓ 2 callers
Method
Shutdown
(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption)
server/serverpb/admin.pb.go:228
↓ 2 callers
Method
Start
()
server/server.go:43
↓ 2 callers
Method
Stop
()
server/proxy.go:68
↓ 2 callers
Method
WriteBytes
WriteBytes writes a variable size byte array specified by 'value' to the message buffer. This function will return the number of bytes written, if th
protocol/message.go:117
↓ 2 callers
Function
complete
()
docs/bootstrap.js:610
↓ 2 callers
Function
getTargetFromTrigger
($trigger)
docs/bootstrap.js:689
↓ 1 callers
Function
Connect
(host string)
connect/connect.go:35
↓ 1 callers
Function
GetDBConnection
(dbHost string, userid string, dbPort string, database string, password string)
tests/common.go:42
↓ 1 callers
Function
GetDBConnection
(dbHost string, userid string, dbPort string, database string, password string)
testclient/testclient.go:122
↓ 1 callers
Method
GetMessage
()
protocol/error.go:77
↓ 1 callers
Function
GetMessageLength
* * Get the message length of the provided message. * * message - the message */
protocol/protocol.go:83
↓ 1 callers
Function
GetMessageType
* * Get the message type the provided message. * * message - the message */
protocol/protocol.go:74
↓ 1 callers
Method
GetQueries
()
server/serverpb/admin.pb.go:141
↓ 1 callers
Method
GetVersion
()
server/serverpb/admin.pb.go:191
↓ 1 callers
Method
HandleConnection
HandleConnection handle an incoming connection to the proxy
proxy/proxy.go:124
↓ 1 callers
Function
NewAdminServer
(s *Server)
server/admin.go:40
↓ 1 callers
Function
NewProxyServer
(s *Server)
server/proxy.go:31
↓ 1 callers
Function
OneRow
(conn *sql.DB)
testclient/testclient.go:86
↓ 1 callers
Method
ReadInt32
ReadInt32 reads an int32 from the message buffer. This function will read the next 4 available bytes from the message buffer and return them as an in
protocol/message.go:51
↓ 1 callers
Method
Reset
Reset resets the buffer to empty.
protocol/message.go:163
↓ 1 callers
Method
Return
(connection net.Conn)
pool/pool.go:43
↓ 1 callers
Function
Run
(args []string)
cli/cli.go:50
↓ 1 callers
Method
Stats
()
server/proxy.go:64
↓ 1 callers
Function
TwoRows
(conn *sql.DB)
testclient/testclient.go:99
↓ 1 callers
Function
UpgradeClientConnection
* * */
connect/ssl.go:67
↓ 1 callers
Function
boolFlag
(f *pflag.FlagSet, valPtr *bool, flagInfo flagInfoBool)
cli/flags.go:86
↓ 1 callers
Function
callbackRemove
()
docs/bootstrap.js:1130
↓ 1 callers
Function
checkError
(err error)
testclient/testclient.go:115
↓ 1 callers
Function
clearMenus
(e)
docs/bootstrap.js:781
↓ 1 callers
Function
createFile
(metadata map[string]interface{}, l *log.Logger)
adapter/audit.go:25
↓ 1 callers
Function
createMD5Password
(username string, password string, salt string)
connect/auth.go:75
↓ 1 callers
Function
formatPlain
(hc map[string]bool)
cli/health.go:85
↓ 1 callers
Function
getAnnotations
GetAnnotations the annotation approach assume a write if there is no comment in the SQL or if there are no keywords in the comment return (write, star
proxy/parse.go:28
↓ 1 callers
Function
getDBConnection
(node common.Node)
server/admin.go:156
↓ 1 callers
Method
getPool
Get the next pool. If read is set to true, then a 'read-only' pool will be returned. Otherwise, a 'read-write' pool will be returned.
proxy/proxy.go:105
↓ 1 callers
Function
handleAuthClearText
(connection net.Conn)
connect/auth.go:120
↓ 1 callers
Function
handleAuthMD5
(connection net.Conn, message []byte)
connect/auth.go:87
↓ 1 callers
Function
next
()
docs/bootstrap.js:2117
↓ 1 callers
Function
removeElement
()
docs/bootstrap.js:126
↓ 1 callers
Method
returnPool
Return the pool. If read is 'true' then, the pool will be returned to the 'read-only' collection of pools. Otherwise, it will be returned to the 'read
proxy/proxy.go:115
↓ 1 callers
Method
setupPools
()
proxy/proxy.go:50
↓ 1 callers
Method
startHealthCheck
()
server/admin.go:121
↓ 1 callers
Function
transitionEnd
()
docs/bootstrap.js:34
↓ 1 callers
Function
verifyCertificateAuthority
* * This function will perform a TLS handshake with the server and to verify the * certificates against the CA. * * client - the TLS client connec
connect/ssl.go:138
Function
Affix
(element, options)
docs/bootstrap.js:2217
Function
Alert
(el)
docs/bootstrap.js:95
Function
Audit
Audit will create a adapter decorator with auditing concerns.
adapter/audit.go:42
Function
AuthenticateClient
AuthenticateClient - Establish and authenticate client connection to the backend. This function simply handles the passing of messages from the clien
connect/auth.go:149
Function
Button
(element, options)
docs/bootstrap.js:189
Function
Carousel
(element, options)
docs/bootstrap.js:310
Function
Collapse
(element, options)
docs/bootstrap.js:548
Function
CreatePasswordMessage
(password string)
protocol/auth.go:17
Function
CreateStartupMessage
CreateStartupMessage creates a PG startup message. This message is used to startup all connections with a PG backend.
protocol/startup.go:19
Function
Debug
(msg string)
util/log/logger.go:38
Function
Debugf
(format string, args ...interface{})
util/log/logger.go:42
Function
Decorate
Decorate will decorate a adapter with a slice of passed decorators
adapter/decorate.go:20
Method
Descriptor
()
server/serverpb/admin.pb.go:55
Method
Descriptor
()
server/serverpb/admin.pb.go:65
Method
Descriptor
()
server/serverpb/admin.pb.go:81
Method
Descriptor
()
server/serverpb/admin.pb.go:91
Method
Descriptor
()
server/serverpb/admin.pb.go:106
Method
Descriptor
()
server/serverpb/admin.pb.go:115
Method
Descriptor
()
server/serverpb/admin.pb.go:130
Method
Descriptor
()
server/serverpb/admin.pb.go:139
Method
Descriptor
()
server/serverpb/admin.pb.go:155
Method
Descriptor
()
server/serverpb/admin.pb.go:165
Method
Descriptor
()
server/serverpb/admin.pb.go:180
next →
1–100 of 254, ranked by callers