restrictions

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRestrictedContainerFields

func GetRestrictedContainerFields(workspace *common.DevWorkspaceWithConfig) []string

func GetRestrictedPodFields

func GetRestrictedPodFields(workspace *common.DevWorkspaceWithConfig) []string

func RestrictContainer

func RestrictContainer(container *corev1.Container, restrictedFields []string) error

func RestrictPod

func RestrictPod(pod *corev1.PodSpec, restrictedFields []string) error

func RestrictPodAndContainers

func RestrictPodAndContainers(pod *corev1.PodSpec, restrictedPodFields []string, restrictedContainerFields []string) error

Types

type FieldRestriction

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

Jump to

Keyboard shortcuts

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