Documentation ¶
Index ¶
- type Assignment
- func (assignment *Assignment) HasHighEntropyArgument() bool
- func (assignment *Assignment) HasWhitespace() bool
- func (assignment *Assignment) IsArrayAssignment() bool
- func (assignment *Assignment) IsCommandLineArg() bool
- func (assignment *Assignment) IsConfigAssignment() bool
- func (assignment *Assignment) IsDictAssignment() bool
- func (assignment *Assignment) IsHighEntropy() bool
- func (assignment *Assignment) IsInvalidAssignment() bool
- func (assignment *Assignment) IsInvalidType() bool
- func (assignment *Assignment) IsKnownSecretAssignmentType() bool
- func (assignment *Assignment) IsLowEditDistance() bool
- func (assignment *Assignment) IsMethodCall() bool
- func (assignment *Assignment) IsReflected() bool
- func (assignment *Assignment) IsSecret() bool
- func (assignment *Assignment) IsStringLiteral() bool
- func (assignment *Assignment) IsURLCredential() bool
- func (assignment *Assignment) IsUnquotedString() bool
- func (assignment *Assignment) IsValidValue() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assignment ¶
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)