Documentation ¶
Index ¶
Constants ¶
View Source
const AdministratratorOwnerAndGroupSID = "AQAAgBQAAAAkAAAAAAAAAAAAAAABAgAAAAAABSAAAAAgAgAAAQIAAAAAAAUgAAAAIAIAAA=="
owner: BUILTIN/Administrators group: BUILTIN/Administrators ($sddlValue="O:BAG:BA")
View Source
const UserOwnerAndGroupSID = "AQAAgBQAAAAkAAAAAAAAAAAAAAABAgAAAAAABSAAAAAhAgAAAQIAAAAAAAUgAAAAIQIAAA=="
owner: BUILTIN/Users group: BUILTIN/Users ($sddlValue="O:BUG:BU")
Variables ¶
This section is empty.
Functions ¶
func BaseLayerBCD ¶
func WindowsBaseLayer ¶
Windows base layers must follow this pattern:
\-> UtilityVM/Files/EFI/Microsoft/Boot/BCD (file must exist and a valid BCD format - from bcdhive_gen) \-> Files/Windows/System32/config/DEFAULT (file and must exist but can be empty) \-> Files/Windows/System32/config/SAM (file must exist but can be empty) \-> Files/Windows/System32/config/SECURITY (file must exist but can be empty) \-> Files/Windows/System32/config/SOFTWARE (file must exist but can be empty) \-> Files/Windows/System32/config/SYSTEM (file must exist but can be empty)
Refs: https://github.com/microsoft/hcsshim/blob/master/internal/wclayer/legacy.go https://github.com/moby/moby/blob/master/daemon/graphdriver/windows/windows.go#L48
Types ¶
type WindowsWriter ¶
type WindowsWriter struct {
// contains filtered or unexported fields
}
func NewWindowsWriter ¶
func NewWindowsWriter(fileWriter io.Writer) *WindowsWriter
func (*WindowsWriter) Close ¶
func (w *WindowsWriter) Close() (err error)
func (*WindowsWriter) Flush ¶
func (w *WindowsWriter) Flush() error
func (*WindowsWriter) WriteHeader ¶
func (w *WindowsWriter) WriteHeader(header *tar.Header) error
Click to show internal directories.
Click to hide internal directories.