Documentation
¶
Index ¶
- func NewRequestIds(isGlobal bool, ids ...string) *[]IdentifierWithIsGlobal
- type BaseDisplay
- type BaseIdDisplayType
- type BaseIdentifier
- func (identifier *BaseIdentifier) Clone() *BaseIdentifier
- func (identifier *BaseIdentifier) IdString() string
- func (identifier *BaseIdentifier) IsId(id string) bool
- func (identifier *BaseIdentifier) IsIdCaseInsensitive(idInsensitive string) bool
- func (identifier *BaseIdentifier) IsIdContains(idContains string) bool
- func (identifier *BaseIdentifier) IsIdEmpty() bool
- func (identifier *BaseIdentifier) IsIdRegexMatches(regex *regexp.Regexp) bool
- func (identifier *BaseIdentifier) IsIdWhitespace() bool
- type BaseIsContinueOnError
- type BaseIsGlobal
- type BaseIsRunAll
- type BaseIsSkipOnError
- type BaseLineIdentifier
- type BaseRequestIds
- func (b *BaseRequestIds) AddIds(isGlobal bool, ids ...string) *BaseRequestIds
- func (b *BaseRequestIds) AddReqId(requestId IdentifierWithIsGlobal) *BaseRequestIds
- func (b *BaseRequestIds) Clone() *BaseRequestIds
- func (b *BaseRequestIds) HasRequestIds() bool
- func (b *BaseRequestIds) IsEmptyRequestIds() bool
- func (b *BaseRequestIds) RequestIdsLength() int
- type BaseSpecPlusRequestIds
- type BaseSpecification
- type BaseTags
- func (receiver BaseTags) HasAllTags(tags ...string) bool
- func (receiver BaseTags) HasAnyTags(tags ...string) bool
- func (receiver BaseTags) IsAnyTagMatchesRegex(regexp2 *regexp.Regexp) bool
- func (receiver BaseTags) IsTagsEmpty() bool
- func (receiver BaseTags) TagsHashset() *corestr.Hashset
- func (receiver BaseTags) TagsLength() int
- type BaseType
- type BaseTypeDotFilter
- type FlatSpecification
- func (receiver *FlatSpecification) BaseDisplay() BaseDisplay
- func (receiver *FlatSpecification) BaseIdentifier() BaseIdentifier
- func (receiver *FlatSpecification) BaseIsGlobal() BaseIsGlobal
- func (receiver *FlatSpecification) BaseTags() BaseTags
- func (receiver *FlatSpecification) BaseType() BaseType
- func (receiver *FlatSpecification) Clone() *FlatSpecification
- func (receiver *FlatSpecification) Spec() *Specification
- type IdentifierWithIsGlobal
- type Identifiers
- func (it *Identifiers) Add(id string) *Identifiers
- func (it *Identifiers) Adds(ids ...string) *Identifiers
- func (it *Identifiers) Clone() *Identifiers
- func (it *Identifiers) GetById(id string) *BaseIdentifier
- func (it *Identifiers) HasAnyItem() bool
- func (it *Identifiers) IndexOf(id string) int
- func (it *Identifiers) IsEmpty() bool
- func (it *Identifiers) Length() int
- type IdentifiersWithGlobals
- func (receiver *IdentifiersWithGlobals) Add(isGlobal bool, id string) *IdentifiersWithGlobals
- func (receiver *IdentifiersWithGlobals) Adds(isGlobal bool, ids ...string) *IdentifiersWithGlobals
- func (receiver *IdentifiersWithGlobals) Clone() *IdentifiersWithGlobals
- func (receiver *IdentifiersWithGlobals) GetById(id string) *IdentifierWithIsGlobal
- func (receiver *IdentifiersWithGlobals) HasAnyItem() bool
- func (receiver *IdentifiersWithGlobals) IndexOf(id string) int
- func (receiver *IdentifiersWithGlobals) IsEmpty() bool
- func (receiver *IdentifiersWithGlobals) Length() int
- type LineIdentifier
- func (it *LineIdentifier) Clone() *LineIdentifier
- func (it *LineIdentifier) HasLineNumber() bool
- func (it *LineIdentifier) IsAddNewOrModifyLineRequest() bool
- func (it *LineIdentifier) IsDeleteLineRequest() bool
- func (it *LineIdentifier) IsInvalidLineNumber() bool
- func (it *LineIdentifier) IsInvalidLineNumberUsingLastLineNumber(lastLineNumber int) bool
- func (it *LineIdentifier) IsModifyLineRequest() bool
- func (it *LineIdentifier) IsNewLineRequest() bool
- func (it *LineIdentifier) ToBaseLineIdentifier() *BaseLineIdentifier
- type RequestSpecification
- type Specification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRequestIds ¶ added in v0.6.0
func NewRequestIds( isGlobal bool, ids ...string, ) *[]IdentifierWithIsGlobal
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 NewIdentifier ¶ added in v0.5.7
func NewIdentifier(id string) *BaseIdentifier
func (*BaseIdentifier) Clone ¶ added in v0.5.7
func (identifier *BaseIdentifier) Clone() *BaseIdentifier
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 BaseLineIdentifier ¶ added in v0.6.5
type BaseLineIdentifier struct {
LineIdentifier
}
func NewBaseLineIdentifier ¶ added in v0.6.5
func NewBaseLineIdentifier(lineNumber int, modifyAs reqtype.Request) *BaseLineIdentifier
func (*BaseLineIdentifier) Clone ¶ added in v0.6.5
func (it *BaseLineIdentifier) Clone() *BaseLineIdentifier
func (*BaseLineIdentifier) ToNewLineIdentifier ¶ added in v0.6.5
func (it *BaseLineIdentifier) ToNewLineIdentifier() *LineIdentifier
type BaseRequestIds ¶ added in v0.6.0
type BaseRequestIds struct {
RequestIds []IdentifierWithIsGlobal `json:"RequestIds,omitempty"`
}
func NewBaseRequestIds ¶ added in v0.6.0
func NewBaseRequestIds( isGlobal bool, ids ...string, ) *BaseRequestIds
func (*BaseRequestIds) AddIds ¶ added in v0.6.0
func (b *BaseRequestIds) AddIds( isGlobal bool, ids ...string, ) *BaseRequestIds
func (*BaseRequestIds) AddReqId ¶ added in v0.6.0
func (b *BaseRequestIds) AddReqId( requestId IdentifierWithIsGlobal, ) *BaseRequestIds
func (*BaseRequestIds) Clone ¶ added in v0.6.0
func (b *BaseRequestIds) Clone() *BaseRequestIds
func (*BaseRequestIds) HasRequestIds ¶ added in v0.6.0
func (b *BaseRequestIds) HasRequestIds() bool
func (*BaseRequestIds) IsEmptyRequestIds ¶ added in v0.6.0
func (b *BaseRequestIds) IsEmptyRequestIds() bool
func (*BaseRequestIds) RequestIdsLength ¶ added in v0.6.0
func (b *BaseRequestIds) RequestIdsLength() int
type BaseSpecPlusRequestIds ¶ added in v0.5.9
type BaseSpecPlusRequestIds struct { BaseSpecification BaseRequestIds }
func NewBaseSpecPlusRequestIds ¶ added in v0.5.9
func NewBaseSpecPlusRequestIds( spec *Specification, reqIds []IdentifierWithIsGlobal, ) *BaseSpecPlusRequestIds
func NewBaseSpecPlusRequestIdsUsingSpecOnly ¶ added in v0.6.0
func NewBaseSpecPlusRequestIdsUsingSpecOnly( spec *Specification, ) *BaseSpecPlusRequestIds
func (*BaseSpecPlusRequestIds) Clone ¶ added in v0.5.9
func (b *BaseSpecPlusRequestIds) Clone() *BaseSpecPlusRequestIds
type BaseSpecification ¶ added in v0.6.0
type BaseSpecification struct {
Specification *Specification `json:"Specification,omitempty"`
}
func NewBaseSpecification ¶ added in v0.6.0
func NewBaseSpecification( id, display, typeName string, tags []string, isGlobal bool, ) *BaseSpecification
func (*BaseSpecification) Clone ¶ added in v0.6.0
func (b *BaseSpecification) Clone() *BaseSpecification
func (*BaseSpecification) Display ¶ added in v0.6.0
func (b *BaseSpecification) Display() BaseDisplay
func (*BaseSpecification) HasSpec ¶ added in v0.6.0
func (b *BaseSpecification) HasSpec() bool
func (*BaseSpecification) Identifier ¶ added in v0.6.0
func (b *BaseSpecification) Identifier() BaseIdentifier
func (*BaseSpecification) IsEmptySpec ¶ added in v0.6.0
func (b *BaseSpecification) IsEmptySpec() bool
func (*BaseSpecification) Type ¶ added in v0.6.0
func (b *BaseSpecification) Type() BaseType
type BaseTags ¶ added in v0.4.7
type BaseTags struct { Tags *[]string `json:"Tags,omitempty"` // contains filtered or unexported fields }
func NewTagsPtr ¶ added in v0.5.9
func (BaseTags) HasAllTags ¶ added in v0.4.7
func (BaseTags) HasAnyTags ¶ added in v0.4.7
func (BaseTags) IsAnyTagMatchesRegex ¶ added in v0.4.7
func (BaseTags) IsTagsEmpty ¶ added in v0.4.7
func (BaseTags) TagsHashset ¶ added in v0.4.7
func (BaseTags) TagsLength ¶ added in v0.4.7
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 IdentifierWithIsGlobal ¶ added in v0.5.7
type IdentifierWithIsGlobal struct { BaseIdentifier IsGlobal bool `json:"IsGlobal"` }
func NewIdentifierWithIsGlobal ¶ added in v0.5.7
func NewIdentifierWithIsGlobal( id string, isGlobal bool, ) *IdentifierWithIsGlobal
func NewRequestId ¶ added in v0.6.0
func NewRequestId( isGlobal bool, id string, ) *IdentifierWithIsGlobal
func (*IdentifierWithIsGlobal) Clone ¶ added in v0.5.7
func (receiver *IdentifierWithIsGlobal) Clone() *IdentifierWithIsGlobal
type Identifiers ¶ added in v0.5.7
type Identifiers struct {
Ids []BaseIdentifier `json:"Ids,omitempty"`
}
func EmptyIdentifiers ¶ added in v0.5.7
func EmptyIdentifiers() *Identifiers
func NewIdentifiers ¶ added in v0.5.7
func NewIdentifiers( ids ...string, ) *Identifiers
func NewIdentifiersUsingCap ¶ added in v0.6.5
func NewIdentifiersUsingCap( capacity int, ) *Identifiers
func (*Identifiers) Add ¶ added in v0.5.7
func (it *Identifiers) Add( id string, ) *Identifiers
func (*Identifiers) Adds ¶ added in v0.5.7
func (it *Identifiers) Adds( ids ...string, ) *Identifiers
func (*Identifiers) Clone ¶ added in v0.5.7
func (it *Identifiers) Clone() *Identifiers
func (*Identifiers) GetById ¶ added in v0.5.7
func (it *Identifiers) GetById(id string) *BaseIdentifier
func (*Identifiers) HasAnyItem ¶ added in v0.5.7
func (it *Identifiers) HasAnyItem() bool
func (*Identifiers) IndexOf ¶ added in v0.5.7
func (it *Identifiers) IndexOf(id string) int
func (*Identifiers) IsEmpty ¶ added in v0.5.7
func (it *Identifiers) IsEmpty() bool
func (*Identifiers) Length ¶ added in v0.5.7
func (it *Identifiers) Length() int
type IdentifiersWithGlobals ¶ added in v0.6.5
type IdentifiersWithGlobals struct {
IdentifierWithIsGlobals []IdentifierWithIsGlobal `json:"IdentifierWithIsGlobals"`
}
func EmptyIdentifiersWithGlobals ¶ added in v0.6.5
func EmptyIdentifiersWithGlobals() *IdentifiersWithGlobals
func NewIdentifiersWithGlobals ¶ added in v0.6.5
func NewIdentifiersWithGlobals( isGlobal bool, ids ...string, ) *IdentifiersWithGlobals
func (*IdentifiersWithGlobals) Add ¶ added in v0.6.5
func (receiver *IdentifiersWithGlobals) Add( isGlobal bool, id string, ) *IdentifiersWithGlobals
func (*IdentifiersWithGlobals) Adds ¶ added in v0.6.5
func (receiver *IdentifiersWithGlobals) Adds( isGlobal bool, ids ...string, ) *IdentifiersWithGlobals
func (*IdentifiersWithGlobals) Clone ¶ added in v0.6.5
func (receiver *IdentifiersWithGlobals) Clone() *IdentifiersWithGlobals
func (*IdentifiersWithGlobals) GetById ¶ added in v0.6.5
func (receiver *IdentifiersWithGlobals) GetById(id string) *IdentifierWithIsGlobal
func (*IdentifiersWithGlobals) HasAnyItem ¶ added in v0.6.5
func (receiver *IdentifiersWithGlobals) HasAnyItem() bool
func (*IdentifiersWithGlobals) IndexOf ¶ added in v0.6.5
func (receiver *IdentifiersWithGlobals) IndexOf(id string) int
func (*IdentifiersWithGlobals) IsEmpty ¶ added in v0.6.5
func (receiver *IdentifiersWithGlobals) IsEmpty() bool
func (*IdentifiersWithGlobals) Length ¶ added in v0.6.5
func (receiver *IdentifiersWithGlobals) Length() int
type LineIdentifier ¶ added in v0.6.5
type LineIdentifier struct { LineNumber int `json:"LineNumber,omitempty"` LineModifyAs reqtype.Request `json:"LineModifyAs,omitempty"` }
func (*LineIdentifier) Clone ¶ added in v0.6.5
func (it *LineIdentifier) Clone() *LineIdentifier
func (*LineIdentifier) HasLineNumber ¶ added in v0.6.5
func (it *LineIdentifier) HasLineNumber() bool
func (*LineIdentifier) IsAddNewOrModifyLineRequest ¶ added in v0.6.5
func (it *LineIdentifier) IsAddNewOrModifyLineRequest() bool
func (*LineIdentifier) IsDeleteLineRequest ¶ added in v0.6.5
func (it *LineIdentifier) IsDeleteLineRequest() bool
func (*LineIdentifier) IsInvalidLineNumber ¶ added in v0.6.5
func (it *LineIdentifier) IsInvalidLineNumber() bool
func (*LineIdentifier) IsInvalidLineNumberUsingLastLineNumber ¶ added in v0.6.5
func (it *LineIdentifier) IsInvalidLineNumberUsingLastLineNumber(lastLineNumber int) bool
func (*LineIdentifier) IsModifyLineRequest ¶ added in v0.6.5
func (it *LineIdentifier) IsModifyLineRequest() bool
func (*LineIdentifier) IsNewLineRequest ¶ added in v0.6.5
func (it *LineIdentifier) IsNewLineRequest() bool
func (*LineIdentifier) ToBaseLineIdentifier ¶ added in v0.6.5
func (it *LineIdentifier) ToBaseLineIdentifier() *BaseLineIdentifier
type RequestSpecification ¶
type RequestSpecification struct { BaseIdentifier BaseTypeDotFilter BaseTags BaseIsGlobal BaseIsContinueOnError BaseIsRunAll }
func (RequestSpecification) Clone ¶ added in v0.5.7
func (r RequestSpecification) Clone() *RequestSpecification
type Specification ¶
type Specification struct { BaseIdDisplayType BaseTags BaseIsGlobal // contains filtered or unexported fields }
func NewSpecification ¶ added in v0.5.9
func NewSpecification( id, display, typeName string, tags []string, isGlobal bool, ) *Specification
func NewSpecificationSimple ¶ added in v0.5.9
func NewSpecificationSimple( id, display, typeName string, ) *Specification
func NewSpecificationSimpleGlobal ¶ added in v0.5.9
func NewSpecificationSimpleGlobal( id, display, typeName string, ) *Specification
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
Source Files
¶
- BaseDisplay.go
- BaseIdDisplayType.go
- BaseIdentifier.go
- BaseIsContinueOnError.go
- BaseIsGlobal.go
- BaseIsRunAll.go
- BaseIsSkipOnError.go
- BaseLineIdentifier.go
- BaseRequestIds.go
- BaseSpecPlusRequestIds.go
- BaseSpecification.go
- BaseTags.go
- BaseType.go
- BaseTypeDotFilter.go
- FlatSpecification.go
- IdentifierWithIsGlobal.go
- Identifiers.go
- IdentifiersWithGlobals.go
- LineIdentifier.go
- RequestSpecification.go
- Specification.go
Click to show internal directories.
Click to hide internal directories.