poddisruptionbudget

package
v3.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 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, ctx context.Context) ([]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