keywords

package
v0.84.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arg

type Arg struct{}

func (Arg) GetValue added in v0.84.0

func (a Arg) GetValue(originalLine, matcher string) (string, error)

func (Arg) IsLineMatching

func (a Arg) IsLineMatching(originalLine, matcher string) bool

func (Arg) ReplaceLine

func (a Arg) ReplaceLine(source, originalLine, matcher string) string

type Env

type Env struct{}

func (Env) GetValue added in v0.84.0

func (a Env) GetValue(originalLine, matcher string) (string, error)

func (Env) IsLineMatching

func (a Env) IsLineMatching(originalLine, matcher string) bool

func (Env) ReplaceLine

func (a Env) ReplaceLine(source, originalLine, matcher string) string

type From

type From struct {
}

func (From) GetStageName added in v0.84.0

func (f From) GetStageName(originalLine string) (string, error)

func (From) GetValue added in v0.84.0

func (f From) GetValue(originalLine, matcher string) (string, error)

func (From) IsLineMatching

func (f From) IsLineMatching(originalLine, matcher string) bool

func (From) ReplaceLine

func (f From) ReplaceLine(source, originalLine, matcher string) string

type Label added in v0.84.0

type Label struct{}

func (Label) GetValue added in v0.84.0

func (a Label) GetValue(originalLine, matcher string) (string, error)

func (Label) IsLineMatching added in v0.84.0

func (a Label) IsLineMatching(originalLine, matcher string) bool

func (Label) ReplaceLine added in v0.84.0

func (a Label) ReplaceLine(source, originalLine, matcher string) string

type Logic

type Logic interface {
	IsLineMatching(originalLine, matcher string) bool
	ReplaceLine(source, originalLine, matcher string) string
	GetValue(originalLine, matcher string) (string, error)
}

Jump to

Keyboard shortcuts

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