filters

package
v0.0.0-...-72d948e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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 (f Filter) FilterExcludeAnnotations(objects []metav1.Object) []metav1.Object

func (Filter) FilterExcludeLabels

func (f Filter) FilterExcludeLabels(objects []metav1.Object) []metav1.Object

func (Filter) FilterExcludeNamespace

func (f Filter) FilterExcludeNamespace(objects []metav1.Object) []metav1.Object

func (Filter) FilterIncludeNamespace

func (f Filter) FilterIncludeNamespace(objects []metav1.Object) []metav1.Object

func (Filter) FilterObjects

func (f Filter) FilterObjects(objects []metav1.Object) []metav1.Object

type PodFilter

type PodFilter struct {
	Filter      `yaml:",inline"`
	ExcludeJobs bool `yaml:"exclude_jobs"`
}

func (PodFilter) FilterExcludeJobs

func (f PodFilter) FilterExcludeJobs(objects []metav1.Object) []metav1.Object

func (PodFilter) FilterPods

func (f PodFilter) FilterPods(pods []apiv1.Pod) []apiv1.Pod

type StatefulsetFilter

type StatefulsetFilter struct {
	Filter `yaml:",inline"`
}

func (StatefulsetFilter) FilterStatefulSets

func (f StatefulsetFilter) FilterStatefulSets(statefulSets []appsv1.StatefulSet) []appsv1.StatefulSet

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL