Documentation ¶
Index ¶
- type Assignment
- func (assignment *Assignment) HasKnownTokenPrefix() bool
- func (assignment *Assignment) IsArrayAssignment() bool
- func (assignment *Assignment) IsCommandLineArg() bool
- func (assignment *Assignment) IsConfigAssignment() bool
- func (assignment *Assignment) IsDictAssignment() bool
- func (assignment *Assignment) IsKnownSecretAssignmentType() bool
- func (assignment *Assignment) IsReflected() bool
- func (assignment *Assignment) IsSecret() bool
- func (assignment *Assignment) IsStringLiteral() bool
- func (assignment *Assignment) IsTokenAssignment() 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) HasKnownTokenPrefix ¶
func (assignment *Assignment) HasKnownTokenPrefix() bool
HasKnownTokenPrefix returns whether or not the value has a known token prefix
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) IsKnownSecretAssignmentType ¶
func (assignment *Assignment) IsKnownSecretAssignmentType() bool
IsKnownSecretAssignmentType returns whether or not the assignment is a known secret assignment type
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) IsTokenAssignment ¶
func (assignment *Assignment) IsTokenAssignment() bool
IsTokenAssignment checks that the name matches 'token' and the value 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)