Documentation ¶
Overview ¶
Package types contains some type definitions that are used in various places.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeSelector ¶
NodeSelector is a set of unique keys and their values.
func (*NodeSelector) MatchesLabels ¶
func (n *NodeSelector) MatchesLabels(labels map[string]string) bool
MatchesLabels returns true if all key/value pairs in the selector are set in the labels.
func (*NodeSelector) Set ¶
func (n *NodeSelector) Set(value string) error
Set converts a JSON representation into a NodeSelector.
func (*NodeSelector) String ¶
func (n *NodeSelector) String() string
String converts into the JSON representation expected by Set.
Click to show internal directories.
Click to hide internal directories.