Class NamespaceSelector
NamespaceSelector is a selector for selecting either all namespaces or a list of namespaces. If any is true, it takes precedence over matchNames. If matchNames is empty and any is false, it means that the objects are selected from the current namespace.
Namespace: Neon.Kube.Resources.Prometheus
Assembly: Neon.Kube.Resources.dll
Syntax
public class NamespaceSelector
Constructors
NamespaceSelector()
Constructor.
Declaration
public NamespaceSelector()
Properties
Any
Boolean describing whether all namespaces are selected in contrast to a list restricting them.
Declaration
public bool Any { get; set; }
Property Value
Type | Description |
---|---|
bool |
MatchNames
List of namespace names to select from.
Declaration
public List<string> MatchNames { get; set; }
Property Value
Type | Description |
---|---|
List<string> |