// buildKubeGenericName creates a name which can be reversed to identify container/sandbox name.
// This function returns the unique name.
buildKubeGenericName creates a name which can be reversed to identify container/sandbox name.
This function returns the unique name.
// buildKubeGenericName creates a name which can be reversed to identify container / sandbox name . // This function returns the unique name .
func buildKubeGenericName(sandboxConfig *kubeapi.PodSandboxConfig, containerName string) string {
	stableName := fmt.Sprintf("%s_%s_%s_%s_%s",
		kubePrefix,
		containerName,
		sandboxConfig.GetMetadata().Name,
		sandboxConfig.GetMetadata().Namespace,
		sandboxConfig.GetMetadata().Uid,
	)
	UID := fmt.Sprintf("%08x", rand.Uint32())
	return fmt.Sprintf("%s_%s", stableName, UID)
}
func buildKubeGenericName ( sandboxConfig * kubeapi . PodSandboxConfig , containerName string ) string { stableName := fmt . Sprintf ( " " , kubePrefix , containerName , sandboxConfig . GetMetadata ( ) . Name , sandboxConfig . GetMetadata ( ) . Namespace , sandboxConfig . GetMetadata ( ) . Uid , ) UID := fmt . Sprintf ( " " , rand . Uint32 ( ) ) return fmt . Sprintf ( " " , stableName , UID ) }
buildKubeGenericName creates a name which can be reversed to identify container/sandbox name.
buildKubeGenericName creates a name which can be reversed to identify container / sandbox name .