capability

package
v0.0.0-...-70b9595 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Capability

type Capability interface {
	fmt.Stringer
	utils.Serializable
	// contains filtered or unexported methods
}

func NewCapability

func NewCapability(options ...Option) Capability

type Collector

type Collector interface {
	fmt.Stringer
	utils.Serializable
	CapabilityFunctions(fn string) iter.Seq[GenericFunction]
	SearchCapability(subs ...CollectorOrCapability) []Capability
	AddCapability(cls Capability)
}

func NewCollector

func NewCollector(localLog zerolog.Logger, subs ...CollectorOrCapability) (_collector Collector, init func())

type CollectorOrCapability

type CollectorOrCapability struct {
	Collector    *Collector
	IsCollector  bool
	Capability   *Capability
	IsCapability bool
}

func CoCCo

func (CollectorOrCapability) String

func (c CollectorOrCapability) String() string

Jump to

Keyboard shortcuts

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