coreinstruction

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: MIT Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseDisplay added in v0.4.7

type BaseDisplay struct {
	Display string `json:"Display"`
}

func (BaseDisplay) IsDisplay added in v0.4.7

func (receiver BaseDisplay) IsDisplay(display string) bool

func (BaseDisplay) IsDisplayCaseInsensitive added in v0.4.8

func (receiver BaseDisplay) IsDisplayCaseInsensitive(display string) bool

func (BaseDisplay) IsDisplayContains added in v0.4.7

func (receiver BaseDisplay) IsDisplayContains(displayContains string) bool

func (BaseDisplay) IsDisplayRegexMatches added in v0.4.7

func (receiver BaseDisplay) IsDisplayRegexMatches(regex *regexp.Regexp) bool

type BaseIdDisplayType added in v0.4.7

type BaseIdDisplayType struct {
	BaseIdentifier
	BaseDisplay
	BaseType
}

type BaseIdentifier added in v0.4.7

type BaseIdentifier struct {
	Id string `json:"Id"`
}

func (BaseIdentifier) IdString added in v0.4.7

func (identifier BaseIdentifier) IdString() string

func (BaseIdentifier) IsId added in v0.4.7

func (identifier BaseIdentifier) IsId(id string) bool

func (BaseIdentifier) IsIdCaseInsensitive added in v0.4.7

func (identifier BaseIdentifier) IsIdCaseInsensitive(idInsensitive string) bool

func (BaseIdentifier) IsIdContains added in v0.4.7

func (identifier BaseIdentifier) IsIdContains(idContains string) bool

func (BaseIdentifier) IsIdEmpty added in v0.4.7

func (identifier BaseIdentifier) IsIdEmpty() bool

func (BaseIdentifier) IsIdRegexMatches added in v0.4.7

func (identifier BaseIdentifier) IsIdRegexMatches(regex *regexp.Regexp) bool

func (BaseIdentifier) IsIdWhitespace added in v0.4.7

func (identifier BaseIdentifier) IsIdWhitespace() bool

type BaseIsContinueOnError added in v0.4.7

type BaseIsContinueOnError struct {
	IsContinueOnError bool `json:"IsContinueOnError"`
}

type BaseIsGlobal added in v0.4.7

type BaseIsGlobal struct {
	IsGlobal bool `json:"IsGlobal"`
}

type BaseIsRunAll added in v0.4.7

type BaseIsRunAll struct {
	IsRunAll bool `json:"IsRunAll"`
}

type BaseIsSkipOnError added in v0.4.7

type BaseIsSkipOnError struct {
	IsSkipOnError bool `json:"IsSkipOnError"`
}

type BaseTags added in v0.4.7

type BaseTags struct {
	Tags *[]string `json:"Tags,omitempty"`
	// contains filtered or unexported fields
}

func NewTags added in v0.4.7

func NewTags(tags *[]string) *BaseTags

func (BaseTags) HasAllTags added in v0.4.7

func (receiver BaseTags) HasAllTags(tags ...string) bool

func (BaseTags) HasAnyTags added in v0.4.7

func (receiver BaseTags) HasAnyTags(tags ...string) bool

func (BaseTags) IsAnyTagMatchesRegex added in v0.4.7

func (receiver BaseTags) IsAnyTagMatchesRegex(regexp2 *regexp.Regexp) bool

func (BaseTags) IsTagsEmpty added in v0.4.7

func (receiver BaseTags) IsTagsEmpty() bool

func (BaseTags) TagsHashset added in v0.4.7

func (receiver BaseTags) TagsHashset() *corestr.Hashset

func (BaseTags) TagsLength added in v0.4.7

func (receiver BaseTags) TagsLength() int

type BaseType added in v0.4.7

type BaseType struct {
	Type string `json:"Type"`
}

type BaseTypeDotFilter added in v0.4.7

type BaseTypeDotFilter struct {
	TypeDotFilter string `json:"TypeDotFilter"`
	// contains filtered or unexported fields
}

func (BaseTypeDotFilter) GetDotSplitTypes added in v0.4.8

func (receiver BaseTypeDotFilter) GetDotSplitTypes() []string

type FlatSpecification added in v0.5.1

type FlatSpecification struct {
	Id       string    `json:"Id"`
	Display  string    `json:"Display"`
	Type     string    `json:"Type"`
	IsGlobal bool      `json:"IsGlobal"`
	Tags     *[]string `json:"Tags,omitempty"`
	IsValid  bool      `json:"IsValid,omitempty"`
	// contains filtered or unexported fields
}

func InvalidFlatSpecification added in v0.5.1

func InvalidFlatSpecification() *FlatSpecification

func NewFlatSpecificationUsingSpec added in v0.5.1

func NewFlatSpecificationUsingSpec(spec *Specification, isValid bool) *FlatSpecification

func (*FlatSpecification) BaseDisplay added in v0.5.1

func (receiver *FlatSpecification) BaseDisplay() BaseDisplay

func (*FlatSpecification) BaseIdentifier added in v0.5.1

func (receiver *FlatSpecification) BaseIdentifier() BaseIdentifier

func (*FlatSpecification) BaseIsGlobal added in v0.5.1

func (receiver *FlatSpecification) BaseIsGlobal() BaseIsGlobal

func (*FlatSpecification) BaseTags added in v0.5.1

func (receiver *FlatSpecification) BaseTags() BaseTags

func (*FlatSpecification) BaseType added in v0.5.1

func (receiver *FlatSpecification) BaseType() BaseType

func (*FlatSpecification) Clone added in v0.5.1

func (receiver *FlatSpecification) Clone() *FlatSpecification

func (*FlatSpecification) Spec added in v0.5.1

func (receiver *FlatSpecification) Spec() *Specification

type RequestSpecification

func (RequestSpecification) ClonePtr added in v0.4.7

type Specification

type Specification struct {
	BaseIdDisplayType
	BaseTags
	BaseIsGlobal
	// contains filtered or unexported fields
}

func (*Specification) Clone added in v0.5.1

func (r *Specification) Clone() *Specification

func (*Specification) FlatSpecification added in v0.5.1

func (r *Specification) FlatSpecification() *FlatSpecification

Jump to

Keyboard shortcuts

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