Documentation ¶
Index ¶
- type DeploymentFilter
- type Filter
- func (f Filter) FilterExcludeAnnotations(objects []metav1.Object) []metav1.Object
- func (f Filter) FilterExcludeLabels(objects []metav1.Object) []metav1.Object
- func (f Filter) FilterExcludeNamespace(objects []metav1.Object) []metav1.Object
- func (f Filter) FilterIncludeNamespace(objects []metav1.Object) []metav1.Object
- func (f Filter) FilterObjects(objects []metav1.Object) []metav1.Object
- type PodFilter
- type StatefulsetFilter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentFilter ¶
type DeploymentFilter struct {
Filter `yaml:",inline"`
}
func (DeploymentFilter) FilterDeployments ¶
func (f DeploymentFilter) FilterDeployments(deployments []appsv1.Deployment) []appsv1.Deployment
type Filter ¶
type Filter struct { IncludeNamespaces []string `yaml:"include_namespaces"` ExcludeNamespaces []string `yaml:"exclude_namespaces"` ExcludeAnnotations map[string]string `yaml:"exclude_annotations"` ExcludeLabels map[string]string `yaml:"exclude_labels"` }
func (Filter) FilterExcludeAnnotations ¶
func (Filter) FilterExcludeLabels ¶
func (Filter) FilterExcludeNamespace ¶
func (Filter) FilterIncludeNamespace ¶
type PodFilter ¶
func (PodFilter) FilterExcludeJobs ¶
type StatefulsetFilter ¶
type StatefulsetFilter struct {
Filter `yaml:",inline"`
}
func (StatefulsetFilter) FilterStatefulSets ¶
func (f StatefulsetFilter) FilterStatefulSets(statefulSets []appsv1.StatefulSet) []appsv1.StatefulSet
Click to show internal directories.
Click to hide internal directories.