Documentation ¶
Index ¶
- func FromKubeMeta(meta metav1.ObjectMeta, copyOwnerReferences bool) *core.Metadata
- func HasSelector(listOpts clients.ListOpts) bool
- func ToKubeMeta(meta *core.Metadata) metav1.ObjectMeta
- func ToKubeMetaMaintainNamespace(meta *core.Metadata) metav1.ObjectMeta
- func ToLabelSelector(listOpts clients.ListOpts) (labels.Selector, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromKubeMeta ¶
func FromKubeMeta(meta metav1.ObjectMeta, copyOwnerReferences bool) *core.Metadata
func HasSelector ¶ added in v0.34.3
HasSelector returns true if the ListOpts contains a selector (which may be either an equality-based selector or set-based expression selector).
func ToKubeMeta ¶
func ToKubeMeta(meta *core.Metadata) metav1.ObjectMeta
func ToKubeMetaMaintainNamespace ¶ added in v0.10.18
func ToKubeMetaMaintainNamespace(meta *core.Metadata) metav1.ObjectMeta
func ToLabelSelector ¶ added in v0.34.3
ToLabelSelector converts the selector specified by the ListOpts into an apimachinery label selector. If both ExpressionSelector and Selector are specified in the opts, only ExpressionSelector is used.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.