Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Instruction ¶ added in v0.3.2
func Instruction(node *parser.Node) (commands.DockerCommand, string)
Instruction extracts the commands.DockerCommand and instruction text from a Docker instruction
Types ¶
type Location ¶
Location is the start and end Position of a docker instruction.
func FromParserRanges ¶
FromParserRanges converts Docker sdk parser.Range into a tool specific Location
Click to show internal directories.
Click to hide internal directories.