Documentation ¶
Index ¶
Constants ¶
View Source
const ( NodeIDTag = "marin3r.3scale.net/node-id" VersionTag = "marin3r.3scale.net/config-version" EnvoyAPITag = "marin3r.3scale.net/envoy-api" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvoyAPIFilter ¶
type EnvoyAPIFilter struct {
Value string
}
EnvoyAPIFilter is a struct used to filter revisions by theis version
func (*EnvoyAPIFilter) ApplyToLabelSelector ¶
func (ef *EnvoyAPIFilter) ApplyToLabelSelector(selector client.MatchingLabels)
ApplyToLabelSelector applies the VersionFilter to the given MatchingLabels selector
type NodeIDFilter ¶
type NodeIDFilter struct {
Value string
}
NodeIDFilter is a struct used to filter revisions by theis version
func (*NodeIDFilter) ApplyToLabelSelector ¶
func (nf *NodeIDFilter) ApplyToLabelSelector(selector client.MatchingLabels)
ApplyToLabelSelector applies the VersionFilter to the given MatchingLabels selector
type RevisionFilter ¶
type RevisionFilter interface {
ApplyToLabelSelector(client.MatchingLabels)
}
RevisionFilter is an interface that revision label selectors implement
func ByEnvoyAPI ¶
func ByEnvoyAPI(envoyAPI envoy.APIVersion) RevisionFilter
ByEnvoyAPI returns a NodeIDFilter
type VersionFilter ¶
type VersionFilter struct {
Value string
}
VersionFilter is a struct used to filter revisions by their version
func (*VersionFilter) ApplyToLabelSelector ¶
func (vf *VersionFilter) ApplyToLabelSelector(selector client.MatchingLabels)
ApplyToLabelSelector applies the VersionFilter to the given MatchingLabels selector
Click to show internal directories.
Click to hide internal directories.