poddisruptionbudget

package
v1.5.2-0...-73c76f7 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Name     string
	Kind     string
	Replicas int
}

Item item

type PolicyInvalidPodDisruptionBudget

type PolicyInvalidPodDisruptionBudget struct {
	// contains filtered or unexported fields
}

PolicyInvalidPodDisruptionBudget type

func NewPolicyInvalidPodDisruptionBudget

func NewPolicyInvalidPodDisruptionBudget() (PolicyInvalidPodDisruptionBudget, error)

NewPolicyInvalidPodDisruptionBudget new

func (PolicyInvalidPodDisruptionBudget) GetMatchingItems

func (p PolicyInvalidPodDisruptionBudget) GetMatchingItems(namespace string, labelSelector *metav1.LabelSelector) ([]Item, error)

GetMatchingItems find all deployments, replicasets, and statefulsets which match the pdb labelselector

func (PolicyInvalidPodDisruptionBudget) Name

Name name

func (PolicyInvalidPodDisruptionBudget) Validate

Validate poddisruptionbudget checks

Jump to

Keyboard shortcuts

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