shell

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PosixCommand

type PosixCommand struct {
	Name string
	Args []string
}

PosixCommand is a simple representation of a command - the name of the command and any args passed to it

func NewPosixCommand

func NewPosixCommand(input string) ([]PosixCommand, error)

NewPosixCommand parses input into an array of commands represented within that input

func NewPosixCommandFromNode added in v0.3.2

func NewPosixCommandFromNode(node *d.Node) ([]PosixCommand, error)

NewPosixCommandFromNode extracts the "command" part of a Docker instruction.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL