MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / Len

Method Len

pkg/postgres/status.go:270–272  ·  view source on GitHub ↗

Len implements sort.Interface extracting the length of the list

()

Source from the content-addressed store, hash-verified

268
269// Len implements sort.Interface extracting the length of the list
270func (list *PostgresqlStatusList) Len() int {
271 return len(list.Items)
272}
273
274// Swap swaps two elements, implements sort.Interface
275func (list *PostgresqlStatusList) Swap(i, j int) {

Callers 12

setFencedInstancesFunction · 0.45
removeFencedInstanceFunction · 0.45
ensurePodIsFencedMethod · 0.45
reconciler_test.goFile · 0.45
IsUniformMethod · 0.45
isRecordRelevantMethod · 0.45
printBasicInfoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected