kubernetes

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyDeploymentOverrides added in v0.13.0

func ApplyDeploymentOverrides(deployment *appsv1.Deployment, override *v1beta1.DeploymentOverride) error

ApplyDeploymentOverrides applies the provided DeploymentOverride to the provided Deployment.

func ApplyPodTemplateSpecOverrides added in v0.13.0

func ApplyPodTemplateSpecOverrides(podTemplate *corev1.PodTemplateSpec, override *v1beta1.PodTemplateSpecOverride) error

ApplyPodTemplateOverrides applies the provided PodTemplateOverride to the provided PodTemplateSpec.

func PatchPodSpecWithOverride added in v0.13.0

func PatchPodSpecWithOverride(spec, override *corev1.PodSpec) (*corev1.PodSpec, error)

PatchPodSpecWithOverride patches the provided pod spec with the provided pod spec override.

Types

type SecretCopier added in v0.11.0

type SecretCopier struct {
	client.Client
	// contains filtered or unexported fields
}

func NewSecretCopier added in v0.11.0

func NewSecretCopier(c client.Client, scheme *runtime.Scheme) *SecretCopier

func (*SecretCopier) Copy added in v0.11.0

func (c *SecretCopier) Copy(ctx context.Context, owner client.Object, original client.ObjectKey, destinationNS string) error

Jump to

Keyboard shortcuts

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