simpletextparser

package
v0.55.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleTextDockerfileParser

type SimpleTextDockerfileParser struct {
	Keyword      string `yaml:"keyword,omitempty"`
	Matcher      string `yaml:"matcher,omitempty"`
	KeywordLogic keywords.Logic
}

func NewSimpleTextDockerfileParser

func NewSimpleTextDockerfileParser(input map[string]string) (SimpleTextDockerfileParser, error)

func (SimpleTextDockerfileParser) FindInstruction

func (s SimpleTextDockerfileParser) FindInstruction(dockerfileContent []byte) bool

func (SimpleTextDockerfileParser) ReplaceInstructions

func (s SimpleTextDockerfileParser) ReplaceInstructions(dockerfileContent []byte, sourceValue string) ([]byte, types.ChangedLines, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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