client-gok8s.io/client-go/util/apply Index | Files

package apply

import "k8s.io/client-go/util/apply"

Index

Functions

func NewRequest

func NewRequest(client rest.Interface, applyConfiguration interface{}) (*rest.Request, error)

NewRequest builds a new server-side apply request. The provided apply configuration object will be marshalled to the request's body using the default encoding, and the Content-Type header will be set to application/apply-patch with the appropriate structured syntax name suffix (today, either +yaml or +cbor, see https://www.iana.org/assignments/media-type-structured-suffix/media-type-structured-suffix.xhtml).

Source Files

apply.go

Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
6 packages
Last checked
8 hours ago

Tools for package owners.