Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capabilities ¶
type Capabilities map[string]interface{}
Capabilities - represents of capabilities set.
type Comparator ¶
type Comparator struct {
// contains filtered or unexported fields
}
func (*Comparator) Compare ¶
func (c *Comparator) Compare(desired Capabilities, available Capabilities) bool
Compare - compare two set of capabilities.
func (*Comparator) Register ¶
func (c *Comparator) Register(caps Capabilities)
Register - registers capabilities for filtration.
type ComparatorInterface ¶
type ComparatorInterface interface { Compare(desired Capabilities, available Capabilities) bool Register(Capabilities) }
ComparatorInterface - interface of capabilities comparator.
type ComparatorMock ¶
ComparatorMock - mock of comparator.
func (*ComparatorMock) Compare ¶
func (c *ComparatorMock) Compare(desired Capabilities, available Capabilities) bool
ComparatorMock - mock of compare capabilities.
func (*ComparatorMock) Register ¶
func (c *ComparatorMock) Register(caps Capabilities)
Register - mock of register capabilities for filtration.
Click to show internal directories.
Click to hide internal directories.