Documentation ¶
Index ¶
- Variables
- func Contains(ss []string, s string) bool
- func EqualIPsUnsorted(s1, s2 []net.IP) bool
- func EqualKeyUsagesUnsorted(s1, s2 []cmapi.KeyUsage) bool
- func EqualSorted(s1, s2 []string) bool
- func EqualURLsUnsorted(s1, s2 []*url.URL) bool
- func EqualUnsorted(s1 []string, s2 []string) bool
- func OnlyOneNotNil(items ...interface{}) (any bool, one bool)
- func RandStringRunes(n int) string
- func Subset(set, subset []string) bool
- type Version
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AppGitState = "" AppGitCommit = "" AppVersion = "canary" )
This variable block holds information used to build up the version string
View Source
var CertManagerUserAgent = "cert-manager/" + version()
CertManagerUserAgent is the user agent that http clients in this codebase should use
Functions ¶
func EqualIPsUnsorted ¶ added in v0.9.0
Test for equal IP slices even if unsorted
func EqualKeyUsagesUnsorted ¶ added in v0.15.0
Test for equal KeyUsage slices even if unsorted
func EqualSorted ¶ added in v0.10.0
func EqualURLsUnsorted ¶ added in v0.9.0
Test for equal URL slices even if unsorted. Panics if any element is nil
func EqualUnsorted ¶
func OnlyOneNotNil ¶
func RandStringRunes ¶
Types ¶
type Version ¶ added in v0.15.0
type Version struct { GitVersion string `json:"gitVersion"` GitCommit string `json:"gitCommit"` GitTreeState string `json:"gitTreeState"` GoVersion string `json:"goVersion"` Compiler string `json:"compiler"` Platform string `json:"platform"` }
func VersionInfo ¶ added in v0.15.0
func VersionInfo() Version
Directories ¶
Path | Synopsis |
---|---|
Package coverage provides tools for coverage-instrumented binaries to collect and flush coverage information.
|
Package coverage provides tools for coverage-instrumented binaries to collect and flush coverage information. |
Click to show internal directories.
Click to hide internal directories.