INNER CODE UNIT · Go

timeout

kubernetes-sigs/aws-ebs-csi-driver · hack/generate-volume-limits-table/main.go:32

	timeout       = 5 * time.Minute
	hypervisorXen = "xen"
)

type instanceData struct {
	MaxAttachments int32
	AttachmentType string
	Hypervisor     string
	MaxEbsCards    *int32
}

type templateData struct {
	NonNitroInstances []string
	VolumeLimits      map[string]instanceData
	EbsCardCounts     map[string]int32
}

const outputTemplate = `// Code generated by hack/generate-volume-limits-table.go. DO NOT EDIT.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…