Documentation
¶
Index ¶
- func GetRestrictedContainerFields(workspace *common.DevWorkspaceWithConfig) []string
- func GetRestrictedPodFields(workspace *common.DevWorkspaceWithConfig) []string
- func RestrictContainer(container *corev1.Container, restrictedFields []string) error
- func RestrictPod(pod *corev1.PodSpec, restrictedFields []string) error
- func RestrictPodAndContainers(pod *corev1.PodSpec, restrictedPodFields []string, ...) error
- type FieldRestriction
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 ¶
Types ¶
type FieldRestriction ¶
type FieldRestriction struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.