Documentation
¶
Index ¶
- Variables
- type Relation
- type Selector
- func AccessKind(n string) Selector
- func And(operands ...Selector) Selector
- func ArtifactType(n string) Selector
- func Executable(name string) Selector
- func ExtraIdentity(id v1.Identity) Selector
- func ExtraIdentityByKeyPairs(extra ...string) Selector
- func Identity(id v1.Identity) Selector
- func IdentityByKeyPairs(name string, extras ...string) Selector
- func Label(sel ...selectors.LabelSelector) Selector
- func LabelName(n string) Selector
- func LabelValue(v interface{}) Selector
- func LabelVersion(n string) Selector
- func Name(n string) Selector
- func Not(operand Selector) Selector
- func Or(operands ...Selector) Selector
- func PartialIdentityByKeyPairs(attrs ...string) Selector
- func Partialdentity(id v1.Identity) Selector
- func ResourceType(n string) Selector
- func Version(n string) Selector
- func VersionConstraint(expr string) Selector
- type SelectorFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Local = Relation(v1.LocalRelation) External = Relation(v1.ExternalRelation) )
Functions ¶
This section is empty.
Types ¶
type Relation ¶
type Relation v1.ResourceRelation
func (Relation) MatchResource ¶
func (r Relation) MatchResource(list accessors.ElementListAccessor, res accessors.ResourceAccessor) bool
type Selector ¶
type Selector = selectors.ResourceSelector
func AccessKind ¶
func ArtifactType ¶
func Executable ¶
func ExtraIdentity ¶ added in v0.15.0
func ExtraIdentityByKeyPairs ¶ added in v0.15.0
func IdentityByKeyPairs ¶
func Label ¶
func Label(sel ...selectors.LabelSelector) Selector
func LabelValue ¶ added in v0.15.0
func LabelValue(v interface{}) Selector
func LabelVersion ¶ added in v0.15.0
func PartialIdentityByKeyPairs ¶ added in v0.15.0
func Partialdentity ¶ added in v0.15.0
func ResourceType ¶ added in v0.15.0
func VersionConstraint ¶
type SelectorFunc ¶
type SelectorFunc = selectors.ResourceSelectorFunc
Click to show internal directories.
Click to hide internal directories.