Affected by GO-2022-0617
and 18 other vulnerabilities
GO-2022-0617 : WITHDRAWN: Potential proxy IP restriction bypass in Kubernetes in k8s.io/kubernetes
GO-2022-0782 : Symlink Attack in kubectl cp in k8s.io/kubernetes
GO-2022-0885 : Improper Authentication in Kubernetes in k8s.io/kubernetes
GO-2022-0890 : Server Side Request Forgery (SSRF) in Kubernetes in k8s.io/kubernetes
GO-2022-0907 : Access Restriction Bypass in kube-apiserver in k8s.io/kubernetes
GO-2022-0910 : Files or Directories Accessible to External Parties in kubernetes in k8s.io/kubernetes
GO-2022-0983 : kubectl ANSI escape characters not filtered in k8s.io/kubernetes
GO-2023-1864 : Kubelet vulnerable to bypass of seccomp profile enforcement in k8s.io/kubernetes
GO-2023-1891 : kube-apiserver vulnerable to policy bypass in k8s.io/kubernetes
GO-2023-1892 : Kubernetes mountable secrets policy bypass in k8s.io/kubernetes
GO-2023-1985 : Kubernetes in OpenShift3 Access Control Misconfiguration in k8s.io/kubernetes
GO-2023-2159 : Kube-proxy may unintentionally forward traffic in k8s.io/kubernetes
GO-2023-2170 : Kubernetes privilege escalation vulnerability in k8s.io/kubernetes
GO-2023-2330 : Kubernetes privilege escalation vulnerability in k8s.io/kubernetes
GO-2023-2341 : Kubernetes Improper Input Validation vulnerability in k8s.io/kubernetes
GO-2024-2748 : Privilege Escalation in Kubernetes in k8s.io/apimachinery
GO-2024-2754 : Sensitive Information leak via Log File in Kubernetes in k8s.io/kubernetes
GO-2024-2755 : Sensitive Information leak via Log File in Kubernetes in k8s.io/kubernetes
GO-2024-2994 : Kubernetes sets incorrect permissions on Windows containers logs in k8s.io/kubernetes
Discover Packages
k8s.io/kubernetes
Godeps
_workspace
src
github.com
kr
text
package
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: Dec 2, 2014
License: MIT, Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
This is a Go package for manipulating paragraphs of text.
See http://go.pkgdoc.org/github.com/kr/text for full documentation.
Expand ▾
Collapse ▴
Documentation
¶
Package text provides rudimentary functions for manipulating text in
paragraphs.
Indent inserts prefix at the beginning of each non-empty line of s. The
end-of-line marker is NL.
func IndentBytes(b, prefix []byte ) []byte
IndentBytes inserts prefix at the beginning of each non-empty line of b.
The end-of-line marker is NL.
NewIndentWriter makes a new write filter that indents the input
lines. Each line is prefixed in order with the corresponding
element of pre. If there are more lines than elements, the last
element of pre is repeated for each subsequent line.
Wrap wraps s into a paragraph of lines of length lim, with minimal
raggedness.
WrapBytes wraps b into a paragraph of lines of length lim, with minimal
raggedness.
func WrapWords(words [][]byte , spc, lim, pen int ) [][][]byte
WrapWords is the low-level line-breaking algorithm, useful if you need more
control over the details of the text wrapping process. For most uses, either
Wrap or WrapBytes will be sufficient and more convenient.
WrapWords splits a list of words into lines with minimal "raggedness",
treating each byte as one unit, accounting for spc units between adjacent
words on each line, and attempting to limit lines to lim units. Raggedness
is the total error over all lines, where error is the square of the
difference of the length of the line and lim. Too-long lines (which only
happen when a single word is longer than lim units) have pen penalty units
added to the error.
Source Files
¶
Directories
¶
Package colwriter provides a write filter that formats input lines in multiple columns.
Package colwriter provides a write filter that formats input lines in multiple columns.
Command mc prints in multiple columns.
Command mc prints in multiple columns.
Click to show internal directories.
Click to hide internal directories.