Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Append ¶ added in v0.78.1
func Append[T any](target []T, src []T) []T
Append appends elements in src to target. We have this function because of how append() treats nil slices the same as empty slices. An empty array in YAML like below is not the same as when the array is not specified.
spec: collectors: []
func EstimateNumberOfLines ¶ added in v0.69.2
func IsInCluster ¶ added in v0.79.0
func IsInCluster() bool
IsInCluster returns true if the code is running within a process inside a kubernetes pod
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.