Versions in this module Expand all Collapse all v1 v1.1.6 Jan 14, 2025 v1.1.5 Aug 23, 2024 Changes in this version + var Magic = packer.Magic + var Version = packer.Version(0x01) + type Body map[string]interface + type Command struct + Body Body + Command string + func Decode(conn streams.Connection, r io.Reader) (*Command, error) + func New(command string, body Body) *Command + func (c *Command) Connection() (streams.Connection, error) + func (c *Command) Delete(key string) + func (c *Command) Encode(s io.Writer) error + func (c *Command) Get(key string) (interface{}, bool) + func (c *Command) Name() string + func (c *Command) Raw() map[string]interface{} + func (c *Command) Set(key, value string) + func (c *Command) SetName(value interface{}) error