Documentation ¶
Index ¶
- func Handler(bootstrap *config.ControlRuntimeBootstrap) http.Handler
- func ObjToMap(obj interface{}) (map[string]string, error)
- func ReadFromDisk(w io.Writer, bootstrap *config.ControlRuntimeBootstrap) error
- func WriteToDiskFromStorage(files PathsDataformat, bootstrap *config.ControlRuntimeBootstrap) error
- type File
- type PathsDataformat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadFromDisk ¶
func ReadFromDisk(w io.Writer, bootstrap *config.ControlRuntimeBootstrap) error
ReadFromDisk reads the bootstrap data from the files on disk and writes their content in JSON form to the given io.Writer.
func WriteToDiskFromStorage ¶
func WriteToDiskFromStorage(files PathsDataformat, bootstrap *config.ControlRuntimeBootstrap) error
WriteToDiskFromStorage writes the contents of the given reader to the paths derived from within the ControlRuntimeBootstrap.
Types ¶
type File ¶
File is a representation of a certificate or key file within the bootstrap context that contains the contents of the file as well as a timestamp from when the file was last modified.
type PathsDataformat ¶
Click to show internal directories.
Click to hide internal directories.