assignment

package
v0.0.0-...-961fe65 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: MIT Imports: 3 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) 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)

Jump to

Keyboard shortcuts

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