Documentation ¶
Overview ¶
Package instructions contains all implemented syntax in Raccoon. Every command is separated on a single file and all must implement the CommandExecutor interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADD ¶
type ADD struct { //Source path of the file SourcePath string //Destination path of the file in host DestPath string Command raccoon.Command }
ADD copies a single file to the destination host folder
func (*ADD) Execute ¶
Execute is the implementation of the Instruction interface for a ADD instruction
func (*ADD) GetCommand ¶
type ENV ¶
func (*ENV) GetCommand ¶
type MAINTAINER ¶
func (*MAINTAINER) Execute ¶
func (m *MAINTAINER) Execute(h raccoon.Host)
Execute is the implementation of the Instruction interface for a MAINTAINER instruction TODO
func (*MAINTAINER) GetCommand ¶
func (m *MAINTAINER) GetCommand() *raccoon.Command
type RUN ¶
RUN is a instruction that in the recipe file correspond to the CMD instruction. It will execute the "Command" on every machine. Ideally, every command must be bash
func (*RUN) Execute ¶
Execute is the implementation of the Instruction interface for a RUN instruction