type imageFsInfoProvider … // ImageFsInfoLabel returns the image fs label for the configured runtime. // For remote runtimes, it handles additional runtimes natively understood by cAdvisor. func (i *imageFsInfoProvider) ImageFsInfoLabel() (string, error) { … } // ContainerFsInfoLabel returns the container fs label for the configured runtime. // For remote runtimes, it handles addition runtimes natively understood by cAdvisor. func (i *imageFsInfoProvider) ContainerFsInfoLabel() (string, error) { … } // This is a temporary workaround to get stats for cri-o from cadvisor // and should be removed. // Related to https://github.com/kubernetes/kubernetes/issues/51798 func detectCrioWorkaround(i *imageFsInfoProvider) bool { … } // NewImageFsInfoProvider returns a provider for the specified runtime configuration. func NewImageFsInfoProvider(runtimeEndpoint string) ImageFsInfoProvider { … }