MCPcopy Create free account

hub / github.com/CrunchyData/crunchy-proxy / functions

Functions254 in github.com/CrunchyData/crunchy-proxy

↓ 97 callersMethodPrintln
(args ...interface{})
util/grpcutil/log.go:51
↓ 73 callersMethodError
()
protocol/error.go:73
↓ 18 callersMethodPrintf
(format string, args ...interface{})
util/grpcutil/log.go:47
↓ 15 callersFunctionstringFlag
(f *pflag.FlagSet, valPtr *string, flagInfo flagInfoString)
cli/flags.go:78
↓ 13 callersMethodString
()
proxy/annotation.go:37
↓ 13 callersMethodWriteString
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 callersMethodWriteByte
WriteByte will write the specified byte to the message buffer.
protocol/message.go:108
↓ 10 callersMethodFatal
(args ...interface{})
util/grpcutil/log.go:31
↓ 8 callersFunctionConnect
()
tests/common.go:23
↓ 6 callersMethodBytes
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 callersFunctionSend
(connection net.Conn, message []byte)
connect/connect.go:25
↓ 6 callersMethodWriteInt32
WriteInt32 will write a 4 byte int32 to the message buffer.
protocol/message.go:129
↓ 5 callersMethodFatalf
(format string, args ...interface{})
util/grpcutil/log.go:35
↓ 5 callersMethodGetNodes
()
server/serverpb/admin.pb.go:67
↓ 5 callersMethodReadString
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 callersFunctioncallback
()
docs/bootstrap.js:58
↓ 4 callersMethodDo
([]byte, int)
adapter/adapter.go:17
↓ 4 callersFunctionNewMessageBuffer
NewMessageBuffer creates and intializes a new MessageBuffer using message as its initial contents.
protocol/message.go:40
↓ 4 callersFunctionReceive
(connection net.Conn)
connect/connect.go:29
↓ 4 callersMethodSend
(*ShutdownResponse)
server/serverpb/admin.pb.go:413
↓ 3 callersMethodAdd
(connection net.Conn)
pool/pool.go:35
↓ 3 callersMethodHealth
(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption)
server/serverpb/admin.pb.go:226
↓ 3 callersMethodNext
()
pool/pool.go:39
↓ 3 callersMethodNodes
(ctx context.Context, in *NodeRequest, opts ...grpc.CallOption)
server/serverpb/admin.pb.go:224
↓ 3 callersMethodReadByte
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 callersMethodResetLength
ResetLength will reset the message length for the message. offset should be one of the PGMessageLengthOffset* constants.
protocol/message.go:144
↓ 3 callersMethodStatistics
(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption)
server/serverpb/admin.pb.go:227
↓ 3 callersMethodVersion
(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption)
server/serverpb/admin.pb.go:229
↓ 3 callersFunctiongetParent
($this)
docs/bootstrap.js:768
↓ 2 callersMethodGetHealth
()
server/serverpb/admin.pb.go:117
↓ 2 callersMethodPools
(ctx context.Context, in *PoolRequest, opts ...grpc.CallOption)
server/serverpb/admin.pb.go:225
↓ 2 callersMethodSeek
Seek moves the current position of the buffer.
protocol/message.go:168
↓ 2 callersMethodServe
(l net.Listener)
server/proxy.go:39
↓ 2 callersMethodShutdown
(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption)
server/serverpb/admin.pb.go:228
↓ 2 callersMethodStart
()
server/server.go:43
↓ 2 callersMethodStop
()
server/proxy.go:68
↓ 2 callersMethodWriteBytes
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 callersFunctioncomplete
()
docs/bootstrap.js:610
↓ 2 callersFunctiongetTargetFromTrigger
($trigger)
docs/bootstrap.js:689
↓ 1 callersFunctionConnect
(host string)
connect/connect.go:35
↓ 1 callersFunctionGetDBConnection
(dbHost string, userid string, dbPort string, database string, password string)
tests/common.go:42
↓ 1 callersFunctionGetDBConnection
(dbHost string, userid string, dbPort string, database string, password string)
testclient/testclient.go:122
↓ 1 callersMethodGetMessage
()
protocol/error.go:77
↓ 1 callersFunctionGetMessageLength
* * Get the message length of the provided message. * * message - the message */
protocol/protocol.go:83
↓ 1 callersFunctionGetMessageType
* * Get the message type the provided message. * * message - the message */
protocol/protocol.go:74
↓ 1 callersMethodGetQueries
()
server/serverpb/admin.pb.go:141
↓ 1 callersMethodGetVersion
()
server/serverpb/admin.pb.go:191
↓ 1 callersMethodHandleConnection
HandleConnection handle an incoming connection to the proxy
proxy/proxy.go:124
↓ 1 callersFunctionNewAdminServer
(s *Server)
server/admin.go:40
↓ 1 callersFunctionNewProxyServer
(s *Server)
server/proxy.go:31
↓ 1 callersFunctionOneRow
(conn *sql.DB)
testclient/testclient.go:86
↓ 1 callersMethodReadInt32
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 callersMethodReset
Reset resets the buffer to empty.
protocol/message.go:163
↓ 1 callersMethodReturn
(connection net.Conn)
pool/pool.go:43
↓ 1 callersFunctionRun
(args []string)
cli/cli.go:50
↓ 1 callersMethodStats
()
server/proxy.go:64
↓ 1 callersFunctionTwoRows
(conn *sql.DB)
testclient/testclient.go:99
↓ 1 callersFunctionUpgradeClientConnection
* * */
connect/ssl.go:67
↓ 1 callersFunctionboolFlag
(f *pflag.FlagSet, valPtr *bool, flagInfo flagInfoBool)
cli/flags.go:86
↓ 1 callersFunctioncallbackRemove
()
docs/bootstrap.js:1130
↓ 1 callersFunctioncheckError
(err error)
testclient/testclient.go:115
↓ 1 callersFunctionclearMenus
(e)
docs/bootstrap.js:781
↓ 1 callersFunctioncreateFile
(metadata map[string]interface{}, l *log.Logger)
adapter/audit.go:25
↓ 1 callersFunctioncreateMD5Password
(username string, password string, salt string)
connect/auth.go:75
↓ 1 callersFunctionformatPlain
(hc map[string]bool)
cli/health.go:85
↓ 1 callersFunctiongetAnnotations
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 callersFunctiongetDBConnection
(node common.Node)
server/admin.go:156
↓ 1 callersMethodgetPool
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 callersFunctionhandleAuthClearText
(connection net.Conn)
connect/auth.go:120
↓ 1 callersFunctionhandleAuthMD5
(connection net.Conn, message []byte)
connect/auth.go:87
↓ 1 callersFunctionnext
()
docs/bootstrap.js:2117
↓ 1 callersFunctionremoveElement
()
docs/bootstrap.js:126
↓ 1 callersMethodreturnPool
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 callersMethodsetupPools
()
proxy/proxy.go:50
↓ 1 callersMethodstartHealthCheck
()
server/admin.go:121
↓ 1 callersFunctiontransitionEnd
()
docs/bootstrap.js:34
↓ 1 callersFunctionverifyCertificateAuthority
* * 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
FunctionAffix
(element, options)
docs/bootstrap.js:2217
FunctionAlert
(el)
docs/bootstrap.js:95
FunctionAudit
Audit will create a adapter decorator with auditing concerns.
adapter/audit.go:42
FunctionAuthenticateClient
AuthenticateClient - Establish and authenticate client connection to the backend. This function simply handles the passing of messages from the clien
connect/auth.go:149
FunctionButton
(element, options)
docs/bootstrap.js:189
FunctionCarousel
(element, options)
docs/bootstrap.js:310
FunctionCollapse
(element, options)
docs/bootstrap.js:548
FunctionCreatePasswordMessage
(password string)
protocol/auth.go:17
FunctionCreateStartupMessage
CreateStartupMessage creates a PG startup message. This message is used to startup all connections with a PG backend.
protocol/startup.go:19
FunctionDebug
(msg string)
util/log/logger.go:38
FunctionDebugf
(format string, args ...interface{})
util/log/logger.go:42
FunctionDecorate
Decorate will decorate a adapter with a slice of passed decorators
adapter/decorate.go:20
MethodDescriptor
()
server/serverpb/admin.pb.go:55
MethodDescriptor
()
server/serverpb/admin.pb.go:65
MethodDescriptor
()
server/serverpb/admin.pb.go:81
MethodDescriptor
()
server/serverpb/admin.pb.go:91
MethodDescriptor
()
server/serverpb/admin.pb.go:106
MethodDescriptor
()
server/serverpb/admin.pb.go:115
MethodDescriptor
()
server/serverpb/admin.pb.go:130
MethodDescriptor
()
server/serverpb/admin.pb.go:139
MethodDescriptor
()
server/serverpb/admin.pb.go:155
MethodDescriptor
()
server/serverpb/admin.pb.go:165
MethodDescriptor
()
server/serverpb/admin.pb.go:180
next →1–100 of 254, ranked by callers