- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for statusMap (0.1 sec)
-
pkg/kubelet/types/types_test.go
var tests = []struct { containers []v1.Container statusMap map[string]*v1.ContainerStatus expectStatuses []v1.ContainerStatus }{ { containers: []v1.Container{{Name: "first"}, {Name: "second"}, {Name: "third"}, {Name: "fourth"}}, expectStatuses: []v1.ContainerStatus{{Name: "first"}, {Name: "second"}, {Name: "third"}, {Name: "fourth"}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 19 08:28:25 UTC 2022 - 6.2K bytes - Viewed (0) -
pkg/kubelet/types/types.go
// in the order that they appear in its spec. func SortStatusesOfInitContainers(p *v1.Pod, statusMap map[string]*v1.ContainerStatus) []v1.ContainerStatus { containers := p.Spec.InitContainers statuses := []v1.ContainerStatus{} for _, container := range containers { if status, found := statusMap[container.Name]; found { statuses = append(statuses, *status) } } return statuses }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 13:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
pkg/webhooks/validation/server/monitoring.go
ResourceTag = monitoring.CreateLabel(resourceTag) // ReasonTag holds the error reason for the context. ReasonTag = monitoring.CreateLabel(reason) // StatusTag holds the error code for the context. StatusTag = monitoring.CreateLabel(status) ) var ( metricValidationPassed = monitoring.NewSum( "galley_validation_passed", "Resource is valid", )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 09 16:50:34 UTC 2023 - 2.6K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/graph_populator.go
} func resourceClaimStatusesEqual(statusA, statusB []corev1.PodResourceClaimStatus) bool { if len(statusA) != len(statusB) { return false } // In most cases, status entries only get added once and not modified. // But this cannot be guaranteed, so for the sake of correctness in all // cases this code here has to check. for i := range statusA { if statusA[i].Name != statusB[i].Name { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 6.5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultColorMap.java
import static org.gradle.internal.logging.text.StyledTextOutput.Style.UserInput; public class DefaultColorMap implements ColorMap { private static final String STATUS_BAR = "statusbar"; private static final String BOLD = "bold"; private static final String COLOR_DIVIDER = "-"; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 9.4K bytes - Viewed (0)