Documentation ¶
Overview ¶
Package inject provides utility functions for sidecar injection.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildMultipartRequestBody ¶
func BuildMultipartRequestBody(values map[string][]int, body []byte, filename string) (io.Reader, string, error)
BuildMultipartRequestBody builds a multipart/form-data request to be used in the inject request.
func CreateFileFromSTDIN ¶
CreateFileFromSTDIN creates a temporary file from the data contained in stdin and returns the data and file pointer.
func ReadFileOrURL ¶
ReadFileOrURL returns the body from a local or remote file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.