mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-17 17:52:12 +00:00
Complete WNode implementation.
This commit is contained in:
@@ -163,13 +163,13 @@ func (wn *WNode) MarshalJSON() ([]byte, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// MatchesAnnotationSelector implements ifc.Kunstructured.
|
// MatchesAnnotationSelector implements ifc.Kunstructured.
|
||||||
func (wn *WNode) MatchesAnnotationSelector(string) (bool, error) {
|
func (wn *WNode) MatchesAnnotationSelector(selector string) (bool, error) {
|
||||||
panic("TODO(#WNode) MatchesAnnotationSelector; implement or drop from API")
|
return wn.node.MatchesAnnotationSelector(selector)
|
||||||
}
|
}
|
||||||
|
|
||||||
// MatchesLabelSelector implements ifc.Kunstructured.
|
// MatchesLabelSelector implements ifc.Kunstructured.
|
||||||
func (wn *WNode) MatchesLabelSelector(string) (bool, error) {
|
func (wn *WNode) MatchesLabelSelector(selector string) (bool, error) {
|
||||||
panic("TODO(#WNode) MatchesLabelSelector; implement or drop from API")
|
return wn.node.MatchesLabelSelector(selector)
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetAnnotations implements ifc.Kunstructured.
|
// SetAnnotations implements ifc.Kunstructured.
|
||||||
|
|||||||
Reference in New Issue
Block a user