overrides

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyContainerOverrides

func ApplyContainerOverrides(component *dw.Component, container *corev1.Container) (*corev1.Container, error)

func ApplyPodOverrides

func ApplyPodOverrides(workspace *common.DevWorkspaceWithConfig, deployment *appsv1.Deployment) (*appsv1.Deployment, error)

func GetVolumesFromOverrides added in v0.26.0

func GetVolumesFromOverrides(workspace *dw.DevWorkspaceTemplateSpec) (map[string]bool, error)

func NeedsContainerOverride

func NeedsContainerOverride(component *dw.Component) bool

func NeedsPodOverrides

func NeedsPodOverrides(workspace *common.DevWorkspaceWithConfig) bool

NeedsPodOverrides returns whether the current DevWorkspace defines pod overrides via an attribute attribute.

Types

This section is empty.

Jump to

Keyboard shortcuts

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