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.
Click to show internal directories.
Click to hide internal directories.