kubectlk8s.io/kubectl/pkg/rawhttp Index | Files

package rawhttp

import "k8s.io/kubectl/pkg/rawhttp"

Index

Functions

func RawDelete

func RawDelete(restClient *rest.RESTClient, streams genericiooptions.IOStreams, url, filename string) error

RawDelete uses the REST client to DELETE content

func RawGet

func RawGet(restClient *rest.RESTClient, streams genericiooptions.IOStreams, url string) error

RawGet uses the REST client to GET content

func RawPost

func RawPost(restClient *rest.RESTClient, streams genericiooptions.IOStreams, url, filename string) error

RawPost uses the REST client to POST content

func RawPut

func RawPut(restClient *rest.RESTClient, streams genericiooptions.IOStreams, url, filename string) error

RawPut uses the REST client to PUT content

Source Files

raw.go

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

Tools for package owners.