INNER CODE UNIT · Go

func

evryfs/github-actions-runner-operator · controllers/podrunner_types.go:20

func (r *podRunnerPair) getNamespacedName() string {
	return fmt.Sprintf("%s/%s", r.pod.Namespace, r.pod.Name)
}

type podRunnerPairList struct {
	pairs   []podRunnerPair
	podList corev1.PodList
	runners []*github.Runner
}

func from(podList *corev1.PodList, runners []*github.Runner) podRunnerPairList {
	runnersByName := make(map[string]github.Runner)
	for _, runner := range runners {
		runnersByName[runner.GetName()] = *runner
	}

	podRunnerPairs := podRunnerPairList{
		podList: *podList,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…