Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kubernetes_apis/builtin/policy@v1beta1/structs.ts

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Go to Latest
import * as kubernetesApis from "https://deno.land/x/kubernetes_apis@v0.3.2/builtin/policy@v1beta1/structs.ts";

Functions

Interfaces

AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.

AllowedFlexVolume represents a single Flexvolume that is allowed to be used.

AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.

FSGroupStrategyOptions defines the strategy type and options used to create the strategy.

HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.

IDRange provides a min/max of an allowed range of IDs.

PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods

PodDisruptionBudgetList is a collection of PodDisruptionBudgets.

PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.

PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.

PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated in 1.21.

PodSecurityPolicyList is a list of PodSecurityPolicy objects.

PodSecurityPolicySpec defines the policy enforced.

RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.

RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.

RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.

SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.

SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.