Documentation ¶
Overview ¶
Package sshtrustedca implement the sshd trusted ca cert pipe events watcher.
Index ¶
Constants ¶
View Source
const ( // WatcherID is the sshtrustedca watcher's ID. WatcherID = "ssh-trusted-ca-pipe-watcher" // ReadEvent is the sshtrustedca's read event type ID. ReadEvent = "ssh-trusted-ca-pipe-watcher,read" // DefaultPipePath defines the default ssh trusted ca pipe path. DefaultPipePath = "/etc/ssh/oslogin_trustedca.pub" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PipeData ¶
type PipeData struct { // File is the writeonly pipe's file descriptor. The user/handler must // make sure to close it after processing the event. File *os.File // Finished is a callback used by the event handler to inform the write to // the pipe is finished. Finished func() }
PipeData wraps the pipe event data.
Click to show internal directories.
Click to hide internal directories.