gofmt: normalize internal/localapi (whitespace only)
Swept up by gofmt -w on the package while adding the guest-power observable. No semantic change; 3 of 5 files are tests.
This commit is contained in:
@@ -41,12 +41,12 @@ type netStorageAddRequest struct {
|
||||
Name string `json:"name"`
|
||||
Protocol string `json:"protocol"` // "nfs" | "smb"
|
||||
Server string `json:"server"`
|
||||
Export string `json:"export"` // NFS export path | SMB share name
|
||||
MappedUID int `json:"mapped_uid"` // container uid (e.g. 1000)
|
||||
MappedGID int `json:"mapped_gid"` // container gid
|
||||
IdleTimeoutSec int `json:"idle_timeout_sec"` // automount idle-unmount window; 0 → default
|
||||
Username string `json:"username,omitempty"` // SMB only (secret — written to creds file)
|
||||
Password string `json:"password,omitempty"` // SMB only (secret — written to creds file)
|
||||
Export string `json:"export"` // NFS export path | SMB share name
|
||||
MappedUID int `json:"mapped_uid"` // container uid (e.g. 1000)
|
||||
MappedGID int `json:"mapped_gid"` // container gid
|
||||
IdleTimeoutSec int `json:"idle_timeout_sec"` // automount idle-unmount window; 0 → default
|
||||
Username string `json:"username,omitempty"` // SMB only (secret — written to creds file)
|
||||
Password string `json:"password,omitempty"` // SMB only (secret — written to creds file)
|
||||
}
|
||||
|
||||
// handleNetStorageAdd installs a NAS share host-side — verify-before-commit (SPIKE-nas-verify).
|
||||
|
||||
Reference in New Issue
Block a user