Documentation ¶
Index ¶
- Variables
- func FilterByGroupName(name string) func(p *Provider) bool
- func FilterUngrouped(p *Provider) bool
- func GroupByFQN() func(p *Provider) string
- func GroupByName() func(p *Provider) string
- func GroupByPackage(p *Provider) string
- func Main() (int, error)
- type Artifact
- type Group
- type Module
- type Provider
- type ProviderList
- func (list ProviderList) Filter(filter func(p *Provider) bool) ProviderList
- func (list ProviderList) Find(predicate func(p *Provider) bool) (*Provider, bool)
- func (list ProviderList) First() (*Provider, bool)
- func (list ProviderList) GroupBy(groupBy func(p *Provider) string) *orderedmap.OrderedMap[string, ProviderList]
- func (list ProviderList) Len() int
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IsKibu = decorators.HasPrefix("kibu") IsKibuProvider = decorators.HasPrefix("kibu:provider") IsKibuWorkflow = decorators.HasPrefix("kibu:workflow") IsKibuWorkflowUpdate = decorators.HasPrefix("kibu:workflow:update") IsKibuWorkflowQuery = decorators.HasPrefix("kibu:workflow:query") IsKibuWorkflowSignal = decorators.HasPrefix("kibu:workflow:signal") IsKibuWorkflowExec = decorators.HasPrefix("kibu:workflow:execute") IsKibuActivity = decorators.HasPrefix("kibu:activity") IsKibuActivityMethod = decorators.HasPrefix("kibu:activity:method") IsKibuService = decorators.HasPrefix("kibu:service") IsKibuServiceMethod = decorators.HasPrefix("kibu:service:method") )
Functions ¶
func FilterByGroupName ¶
func FilterUngrouped ¶
func GroupByFQN ¶
func GroupByName ¶
func GroupByPackage ¶
Types ¶
type Artifact ¶
type Artifact struct { Providers ProviderList *modspecv2.PackageArtifact }
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func (*Module) OutputPath ¶
type Provider ¶
type Provider struct { Symbol ast.Decl ProviderLine decorators.Line Decorators decorators.List GoPackage *types.Package Group *Group }
func (*Provider) SymbolName ¶
type ProviderList ¶
type ProviderList []*Provider
func (ProviderList) Filter ¶
func (list ProviderList) Filter(filter func(p *Provider) bool) ProviderList
func (ProviderList) Find ¶
func (list ProviderList) Find(predicate func(p *Provider) bool) (*Provider, bool)
func (ProviderList) First ¶
func (list ProviderList) First() (*Provider, bool)
func (ProviderList) GroupBy ¶
func (list ProviderList) GroupBy(groupBy func(p *Provider) string) *orderedmap.OrderedMap[string, ProviderList]
func (ProviderList) Len ¶
func (list ProviderList) Len() int
Click to show internal directories.
Click to hide internal directories.