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.32.0-rc.0
Published
Nov 27, 2024
Platform
js/wasm
Imports
6 packages
Last checked
1 minute ago

Tools for package owners.