Documentation
¶
Overview ¶
Package file implements the "file" surfacer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Surfacer ¶ added in v0.11.0
type Surfacer struct {
// contains filtered or unexported fields
}
Surfacer structures for writing onto a GCE instance's serial port. Keeps track of an output file which the incoming data is serialized onto (one entry per line).
func New ¶
func New(ctx context.Context, config *configpb.SurfacerConf, opts *options.Options, l *logger.Logger) (*Surfacer, error)
New initializes a Surfacer for serializing data into a file (usually set as a GCE instance's serial port). This Surfacer does not utilize the Google cloud logger because it is unlikely to fail reportably after the call to New.
Click to show internal directories.
Click to hide internal directories.