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