From c80ad61bbcb176129a3c2fed0edd2d5b720a5831 Mon Sep 17 00:00:00 2001 From: codegold79 <17328443+codegold79@users.noreply.github.com> Date: Mon, 1 Mar 2021 10:24:11 -0800 Subject: [PATCH] Update in-code documentation to show resources can be specified with group name (#3498) Signed-off-by: F. Gold --- pkg/plugin/velero/shared.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkg/plugin/velero/shared.go b/pkg/plugin/velero/shared.go index 668161728..138de4886 100644 --- a/pkg/plugin/velero/shared.go +++ b/pkg/plugin/velero/shared.go @@ -32,15 +32,15 @@ type ResourceSelector struct { // All namespaces in IncludedNamespaces, *except* those in // this slice, will be matched. ExcludedNamespaces []string - // IncludedResources is a slice of resources to match. Resources - // may be specified as full names (e.g. "services") or abbreviations - // (e.g. "svc"). All resources in this slice, except those in - // ExcludedResources, will be matched. A nil/empty slice matches + // IncludedResources is a slice of resources to match. Resources may be specified + // as full names (e.g. "services"), abbreviations (e.g. "svc"), or with the + // groups they are in (e.g. "ingresses.extensions"). All resources in this slice, + // except those in ExcludedResources, will be matched. A nil/empty slice matches // all resources. IncludedResources []string - // ExcludedResources is a slice of resources to exclude. - // Resources may be specified as full names (e.g. "services") or - // abbreviations (e.g. "svc"). All resources in IncludedResources, + // ExcludedResources is a slice of resources to exclude. Resources may be specified + // as full names (e.g. "services"), abbreviations (e.g. "svc"), or with the + // groups they are in (e.g. "ingresses.extensions"). All resources in IncludedResources, // *except* those in this slice, will be matched. ExcludedResources []string // LabelSelector is a string representation of a selector to apply