MCPcopy Index your code
hub / github.com/aws/aws-node-termination-handler / Write

Method Write

pkg/node/node.go:943–947  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

941}
942
943func (w *StdWriter) Write(p []byte) (n int, err error) {
944 msg := strings.TrimRight(string(p), "\n")
945 w.logger.Info().Msg(msg)
946 return len(p), nil
947}
948
949func (w *ErrWriter) Write(p []byte) (n int, err error) {
950 msg := strings.TrimRight(string(p), "\n")

Callers 15

livenessHandlerFunction · 0.45
TestWriteFunction · 0.45
WriteLevelMethod · 0.45
TestMonitor_SuccessFunction · 0.45
TestMonitor_SuccessFunction · 0.45
TestMonitor_SuccessFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestWriteFunction · 0.36
TestMonitor_SuccessFunction · 0.36
TestMonitor_SuccessFunction · 0.36
TestMonitor_SuccessFunction · 0.36
TestMonitor_SuccessFunction · 0.36
TestGetV2TokenFunction · 0.36