Help us shape the future of Go! Take the 2026 Go Developer Survey

containers

package
v0.38.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ResourceTypeName = "Applications.Core/containers"
)

Variables

This section is empty.

Functions

func ValidateAndMutateRequest

func ValidateAndMutateRequest(ctx context.Context, newResource, oldResource *datamodel.ContainerResource, options *controller.Options) (rest.Response, error)

ValidateAndMutateRequest checks if the newResource has a user-defined identity and if so, returns a bad request response, otherwise it sets the identity of the newResource to the identity of the oldResource if it exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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