Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
Cmd string
SubCmd string
Flags []string
Value []string
Original string
JSON bool
Stage int
Path string
StartLine int
EndLine int
}
Command is the struct for each dockerfile command
type Dockerfile ¶
type Dockerfile struct {
Stages []Stage
}
Dockerfile represents a parsed Dockerfile
func (Dockerfile) ToRego ¶
func (d Dockerfile) ToRego() interface{}
Click to show internal directories.
Click to hide internal directories.