assignment

package
v0.0.0-...-a3af1b0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assignment

type Assignment struct {
	Type      string
	Name      string
	Separator string
	Value     string
}

Assignment is an externally visible struct to aid in deconstructing complex assignment statements into their conceptual base form

func (*Assignment) HasHighEntropyArgument

func (assignment *Assignment) HasHighEntropyArgument() bool

func (*Assignment) HasWhitespace

func (assignment *Assignment) HasWhitespace() bool

HasWhitespace returns whether or not the assignment value contains whitespace

func (*Assignment) IsArrayAssignment

func (assignment *Assignment) IsArrayAssignment() bool

IsArrayAssignment checks if the assignment value is an array

func (*Assignment) IsCommandLineArg

func (assignment *Assignment) IsCommandLineArg() bool

IsCommandLineArg returns whether or not the Assignment is a command line argument

func (*Assignment) IsConfigAssignment

func (assignment *Assignment) IsConfigAssignment() bool

IsConfigAssignment returns whether or not the assignment matches a configuration value

func (*Assignment) IsDictAssignment

func (assignment *Assignment) IsDictAssignment() bool

IsDictAssignment checks if the assignment is a dictionary

func (*Assignment) IsHighEntropy

func (assignment *Assignment) IsHighEntropy() bool

IsHighEntropy returns whether or not the assignment value is considered high entropy

func (*Assignment) IsInvalidAssignment

func (assignment *Assignment) IsInvalidAssignment() bool

IsInvalidAssignment returns whether or not the secret has an invalid assignment target (such as a function declaration or a password field value)

func (*Assignment) IsInvalidType

func (assignment *Assignment) IsInvalidType() bool

IsInvalidType returns whether or not the assignment has an invalid type

func (*Assignment) IsKnownSecretAssignmentType

func (assignment *Assignment) IsKnownSecretAssignmentType() bool

IsKnownSecretAssignmentType returns whether or not the assignment is a known secret assignment type

func (*Assignment) IsLowEditDistance

func (assignment *Assignment) IsLowEditDistance() bool

IsLowEditDistance returns whether or not the assignment is a low edit distance from the value

func (*Assignment) IsMethodCall

func (assignment *Assignment) IsMethodCall() bool

func (*Assignment) IsReflected

func (assignment *Assignment) IsReflected() bool

IsReflected returns whether or not the assignment is reflected

func (*Assignment) IsSecret

func (assignment *Assignment) IsSecret() bool

IsSecret returns whether or not the Assignment is considered to be a secret assignment

func (*Assignment) IsStringLiteral

func (assignment *Assignment) IsStringLiteral() bool

IsStringLiteral checks if the assignment is a string literal

func (*Assignment) IsURLCredential

func (assignment *Assignment) IsURLCredential() bool

IsURLCredential returns whether or not the assignment matches a url credential

func (*Assignment) IsUnquotedString

func (assignment *Assignment) IsUnquotedString() bool

IsUnquotedString checks if the assignment is an unquoted string

func (*Assignment) IsValidValue

func (assignment *Assignment) IsValidValue() bool

IsValidValue returns whether or not the value is invalid (true, false, or empty object/string)

Jump to

Keyboard shortcuts

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