Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APICache ¶
type APICache interface { // get cached secrets filtered by label selectors k/v pairs GetSecretsFilteredBy(labelSelectors map[string]string) ([]v1.Secret, error) // get cached pods filtered by label selectors k/v pairs GetPodsFilteredBy(labelSelectors map[string]string) ([]v1.Pod, error) }
APICache continuously queries the kubernetes api and caches secret and pod information in the current implementation this way dashboards can be build faster
type ByCreation ¶ added in v0.16.0
ByCreation sorts secrets by their creation timestamp.
func (ByCreation) Len ¶ added in v0.16.0
func (b ByCreation) Len() int
Len returns the length of the secrets slice.
func (ByCreation) Less ¶ added in v0.16.0
func (b ByCreation) Less(i, j int) bool
Less tests that i is less than j.
func (ByCreation) Swap ¶ added in v0.16.0
func (b ByCreation) Swap(i, j int)
Swap swaps the position of two indices.
Click to show internal directories.
Click to hide internal directories.