coreinstruction

package
v1.3.55 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: MIT Imports: 12 Imported by: 4

Documentation

Index

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 BaseByIds added in v0.6.8

type BaseByIds struct {
	ByIds []ById `json:"ByIds,omitempty"`
}

type BaseContinueOnError added in v1.0.0

type BaseContinueOnError struct {
	IsContinueOnError bool
}

func (*BaseContinueOnError) IsExitOnError added in v1.0.0

func (it *BaseContinueOnError) IsExitOnError() bool

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 BaseEnabler added in v0.6.8

type BaseEnabler struct {
	IsEnabled bool `json:"IsEnabled"`
}

func (*BaseEnabler) SetDisable added in v0.6.8

func (b *BaseEnabler) SetDisable()

func (*BaseEnabler) SetEnable added in v0.6.8

func (b *BaseEnabler) SetEnable()

func (*BaseEnabler) SetEnableVal added in v0.6.8

func (b *BaseEnabler) SetEnableVal(v bool)

type BaseFromTo added in v0.6.8

type BaseFromTo struct {
	FromTo
}

func NewBaseFromTo added in v1.1.9

func NewBaseFromTo(
	from, to string,
) BaseFromTo

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 BaseIsLatest added in v0.6.8

type BaseIsLatest struct {
	IsLatest bool `json:"IsLatest"`
}

type BaseIsRecursive added in v0.6.8

type BaseIsRecursive struct {
	IsRecursive bool `json:"IsRecursive"`
}

type BaseIsRename added in v0.6.8

type BaseIsRename struct {
	IsRename bool `json:"IsRename"`
}

func NewRename added in v0.6.8

func NewRename(isRename bool) BaseIsRename

type BaseIsRunAll added in v0.4.7

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

type BaseIsSecure added in v1.3.29

type BaseIsSecure struct {
	IsSecure bool // indicates secure text, invert means log payload, plain text. it will not log payload
}

func NewPlain added in v1.3.29

func NewPlain() BaseIsSecure

func NewSecure added in v1.3.29

func NewSecure() BaseIsSecure

func (*BaseIsSecure) IsIncludePayload added in v1.3.29

func (it *BaseIsSecure) IsIncludePayload() bool

func (*BaseIsSecure) IsPlainText added in v1.3.29

func (it *BaseIsSecure) IsPlainText() bool

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 (*BaseLineIdentifier) ToNewLineIdentifier added in v0.6.5

func (it *BaseLineIdentifier) ToNewLineIdentifier() *LineIdentifier

type BaseModifyAs added in v0.6.8

type BaseModifyAs struct {
	ModifyAs reqtype.Request `json:"ModifyAs"`
}

func NewModifyAs added in v0.6.8

func NewModifyAs(modifyAs reqtype.Request) BaseModifyAs

func (*BaseModifyAs) SetModifyAs added in v0.6.8

func (b *BaseModifyAs) SetModifyAs(modifyAs reqtype.Request)

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 BaseSourceDestination added in v1.1.8

type BaseSourceDestination struct {
	SourceDestination
}

func NewBaseSourceDestination added in v1.1.9

func NewBaseSourceDestination(
	src, dst string,
) BaseSourceDestination

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

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 (*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 NewTags added in v0.4.7

func NewTags(tags []string) *BaseTags

func NewTagsPtr added in v0.5.9

func NewTagsPtr(tags *[]string) *BaseTags

func (BaseTags) HasAllTags added in v0.4.7

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

func (BaseTags) HasAnyTags added in v0.4.7

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

func (BaseTags) IsAnyTagMatchesRegex added in v0.4.7

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

func (BaseTags) IsTagsEmpty added in v0.4.7

func (it BaseTags) IsTagsEmpty() bool

func (BaseTags) TagsHashset added in v0.4.7

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

func (BaseTags) TagsLength added in v0.4.7

func (it 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 BaseUsername added in v0.9.5

type BaseUsername struct {
	Username string `json:"Username"`
}

func NewUsername added in v0.9.5

func NewUsername(user string) *BaseUsername

func (BaseUsername) Clone added in v0.9.5

func (it BaseUsername) Clone() BaseUsername

func (*BaseUsername) ClonePtr added in v0.9.5

func (it *BaseUsername) ClonePtr() *BaseUsername

func (*BaseUsername) IsEqual added in v0.9.5

func (it *BaseUsername) IsEqual(right *BaseUsername) bool

func (*BaseUsername) IsNotEqual added in v0.9.5

func (it *BaseUsername) IsNotEqual(right *BaseUsername) bool

func (*BaseUsername) IsUsername added in v0.9.5

func (it *BaseUsername) IsUsername(user string) bool

func (*BaseUsername) IsUsernameCaseInsensitive added in v0.9.5

func (it *BaseUsername) IsUsernameCaseInsensitive(usernameInsensitive string) bool

func (*BaseUsername) IsUsernameContains added in v0.9.5

func (it *BaseUsername) IsUsernameContains(usernameContains string) bool

func (*BaseUsername) IsUsernameEmpty added in v0.9.5

func (it *BaseUsername) IsUsernameEmpty() bool

func (*BaseUsername) IsUsernameRegexMatches added in v0.9.5

func (it *BaseUsername) IsUsernameRegexMatches(regex *regexp.Regexp) bool

func (*BaseUsername) IsUsernameWhitespace added in v0.9.5

func (it *BaseUsername) IsUsernameWhitespace() bool

func (*BaseUsername) UsernameString added in v0.9.5

func (it *BaseUsername) UsernameString() string

type ById added in v0.6.8

type ById struct {
	Id string `json:"Id,omitempty"`
}

type DependencyName added in v0.6.8

type DependencyName struct {
	Name string `json:"Name"`
}

type DependsOn added in v0.6.8

type DependsOn struct {
	SpecificVersion
	DependencyName
	BaseIsLatest
}

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 (it *FlatSpecification) BaseDisplay() BaseDisplay

func (*FlatSpecification) BaseIdentifier added in v0.5.1

func (it *FlatSpecification) BaseIdentifier() BaseIdentifier

func (*FlatSpecification) BaseIsGlobal added in v0.5.1

func (it *FlatSpecification) BaseIsGlobal() BaseIsGlobal

func (*FlatSpecification) BaseTags added in v0.5.1

func (it *FlatSpecification) BaseTags() BaseTags

func (*FlatSpecification) BaseType added in v0.5.1

func (it *FlatSpecification) BaseType() BaseType

func (*FlatSpecification) Clone added in v0.5.1

func (it *FlatSpecification) Clone() *FlatSpecification

func (*FlatSpecification) Spec added in v0.5.1

func (it *FlatSpecification) Spec() *Specification

type FromTo added in v1.1.8

type FromTo struct {
	From string `json:"From,omitempty"`
	To   string `json:"To,omitempty"`
}

func (FromTo) Clone added in v1.1.8

func (it FromTo) Clone() FromTo

func (*FromTo) ClonePtr added in v1.3.13

func (it *FromTo) ClonePtr() *FromTo

func (FromTo) FromName added in v1.3.13

func (it FromTo) FromName() string

func (*FromTo) IsFromEmpty added in v1.1.8

func (it *FromTo) IsFromEmpty() bool

func (*FromTo) IsNull added in v1.1.8

func (it *FromTo) IsNull() bool

func (*FromTo) IsToEmpty added in v1.1.8

func (it *FromTo) IsToEmpty() bool

func (*FromTo) Rename added in v1.1.8

func (it *FromTo) Rename() *Rename

func (*FromTo) SetFromName added in v1.3.13

func (it *FromTo) SetFromName(form string)

func (*FromTo) SetToName added in v1.3.13

func (it *FromTo) SetToName(to string)

func (*FromTo) SourceDestination added in v1.1.8

func (it *FromTo) SourceDestination() *SourceDestination

func (FromTo) String added in v1.1.8

func (it FromTo) String() string

func (FromTo) ToName added in v1.3.13

func (it FromTo) ToName() string

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

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 (*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 NameList added in v1.1.8

type NameList struct {
	Name string               `json:"Name,omitempty"`
	List *corestr.SimpleSlice `json:"List,omitempty"`
}

func (*NameList) Clone added in v1.1.8

func (it *NameList) Clone(
	isDeepClone bool,
) *NameList

func (*NameList) DeepClone added in v1.1.8

func (it *NameList) DeepClone() *NameList

func (*NameList) HasName added in v1.1.8

func (it *NameList) HasName() bool

func (*NameList) IsAnyNull added in v1.1.8

func (it *NameList) IsAnyNull() bool

func (*NameList) IsNameEmpty added in v1.1.8

func (it *NameList) IsNameEmpty() bool

func (*NameList) IsNull added in v1.1.8

func (it *NameList) IsNull() bool

func (NameList) String added in v1.1.8

func (it NameList) String() string

type NameListCollection added in v1.1.8

type NameListCollection struct {
	NameLists []NameList
}

func (*NameListCollection) HasAnyItem added in v1.1.8

func (it *NameListCollection) HasAnyItem() bool

func (*NameListCollection) IsAnyNull added in v1.1.8

func (it *NameListCollection) IsAnyNull() bool

func (*NameListCollection) IsEmpty added in v1.1.8

func (it *NameListCollection) IsEmpty() bool

func (*NameListCollection) IsNull added in v1.1.8

func (it *NameListCollection) IsNull() bool

func (*NameListCollection) Length added in v1.1.8

func (it *NameListCollection) Length() int

func (NameListCollection) String added in v1.1.8

func (it NameListCollection) String() string

type NameRequests added in v1.1.8

type NameRequests struct {
	Name     string               `json:"Name,omitempty"`
	Requests *corestr.SimpleSlice `json:"Requests,omitempty"`
}

type NameRequestsCollection added in v1.1.8

type NameRequestsCollection struct {
	NameRequestsList []NameRequests
}

type ParentIdentifier added in v0.8.0

type ParentIdentifier struct {
	ParentId      string `json:"ParentId,omitempty"`
	ParentName    string `json:"ParentName,omitempty"`
	ParentVersion string `json:"ParentVersion,omitempty"`
}

type Rename added in v1.1.8

type Rename struct {
	Existing string `json:"Existing,omitempty"`
	New      string `json:"New,omitempty"`
}

func (*Rename) Clone added in v1.1.8

func (it *Rename) Clone() *Rename

func (Rename) ExistingName added in v1.3.13

func (it Rename) ExistingName() string

func (Rename) FromName added in v1.3.13

func (it Rename) FromName() string

func (*Rename) FromTo added in v1.1.8

func (it *Rename) FromTo() *FromTo

func (*Rename) IsExistingEmpty added in v1.1.8

func (it *Rename) IsExistingEmpty() bool

func (*Rename) IsNewEmpty added in v1.1.8

func (it *Rename) IsNewEmpty() bool

func (*Rename) IsNull added in v1.1.8

func (it *Rename) IsNull() bool

func (Rename) NewName added in v1.3.13

func (it Rename) NewName() string

func (*Rename) SetFromName added in v1.3.13

func (it *Rename) SetFromName(form string)

func (*Rename) SetToName added in v1.3.13

func (it *Rename) SetToName(to string)

func (*Rename) SourceDestination added in v1.1.8

func (it *Rename) SourceDestination() *SourceDestination

func (Rename) String added in v1.1.8

func (it Rename) String() string

func (Rename) ToName added in v1.3.13

func (it Rename) ToName() string

type RequestSpecification

func (RequestSpecification) Clone added in v0.5.7

type SourceDestination added in v1.1.8

type SourceDestination struct {
	Source      string `json:"Source,omitempty"`
	Destination string `json:"Destination,omitempty"`
}

func (*SourceDestination) Clone added in v1.1.8

func (it *SourceDestination) Clone() *SourceDestination

func (SourceDestination) FromName added in v1.3.13

func (it SourceDestination) FromName() string

func (*SourceDestination) FromTo added in v1.1.8

func (it *SourceDestination) FromTo() *FromTo

func (*SourceDestination) IsDestinationEmpty added in v1.1.8

func (it *SourceDestination) IsDestinationEmpty() bool

func (*SourceDestination) IsNull added in v1.1.8

func (it *SourceDestination) IsNull() bool

func (*SourceDestination) IsSourceEmpty added in v1.1.8

func (it *SourceDestination) IsSourceEmpty() bool

func (*SourceDestination) Rename added in v1.1.8

func (it *SourceDestination) Rename() *Rename

func (*SourceDestination) SetFromName added in v1.3.13

func (it *SourceDestination) SetFromName(form string)

func (*SourceDestination) SetToName added in v1.3.13

func (it *SourceDestination) SetToName(to string)

func (SourceDestination) String added in v1.1.8

func (it SourceDestination) String() string

func (SourceDestination) ToName added in v1.3.13

func (it SourceDestination) ToName() string

type SpecificVersion added in v0.6.8

type SpecificVersion struct {
	Version    string `json:"SpecificVersion"`
	IsSpecific bool   `json:"IsSpecific"`
}

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

type StringCompare added in v0.7.6

type StringCompare struct {
	StringSearch
	Content string
}

func NewStringCompare added in v0.7.6

func NewStringCompare(
	method stringcompareas.Variant,
	isIgnoreCase bool,
	search,
	content string,
) *StringCompare

func NewStringCompareContains added in v0.7.6

func NewStringCompareContains(
	isIgnoreCase bool,
	search,
	content string,
) *StringCompare

func NewStringCompareEndsWith added in v0.7.6

func NewStringCompareEndsWith(
	isIgnoreCase bool,
	search,
	content string,
) *StringCompare

func NewStringCompareEqual added in v0.7.6

func NewStringCompareEqual(
	search,
	content string,
) *StringCompare

func NewStringCompareRegex added in v0.7.6

func NewStringCompareRegex(
	regex,
	content string,
) *StringCompare

func NewStringCompareStartsWith added in v0.7.6

func NewStringCompareStartsWith(
	isIgnoreCase bool,
	search,
	content string,
) *StringCompare

func (*StringCompare) IsDefined added in v0.8.0

func (it *StringCompare) IsDefined() bool

func (*StringCompare) IsInvalid added in v0.8.0

func (it *StringCompare) IsInvalid() bool

func (*StringCompare) IsMatch added in v0.7.6

func (it *StringCompare) IsMatch() bool

func (*StringCompare) IsMatchFailed added in v0.8.0

func (it *StringCompare) IsMatchFailed() bool

func (*StringCompare) VerifyError added in v0.7.6

func (it *StringCompare) VerifyError() error

type StringSearch added in v0.7.6

type StringSearch struct {
	corecomparator.BaseIsIgnoreCase
	CompareMethod stringcompareas.Variant
	Search        string
}

func (*StringSearch) Has added in v0.7.6

func (it *StringSearch) Has() bool

func (*StringSearch) IsAllMatch added in v0.8.0

func (it *StringSearch) IsAllMatch(contents ...string) bool

func (*StringSearch) IsAnyMatchFailed added in v0.8.0

func (it *StringSearch) IsAnyMatchFailed(contents ...string) bool

func (*StringSearch) IsEmpty added in v0.7.6

func (it *StringSearch) IsEmpty() bool

func (*StringSearch) IsExist added in v0.7.6

func (it *StringSearch) IsExist() bool

func (*StringSearch) IsMatch added in v0.7.6

func (it *StringSearch) IsMatch(content string) bool

func (*StringSearch) IsMatchFailed added in v0.8.0

func (it *StringSearch) IsMatchFailed(content string) bool

func (*StringSearch) VerifyError added in v0.7.6

func (it *StringSearch) VerifyError(content string) error

Jump to

Keyboard shortcuts

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